[Grok-dev] grok ubuntu tutorial problem

Jan-Wijbrand Kolman janwijbrand at gmail.com
Tue Nov 2 18:22:59 EDT 2010


Hi Glyn,

No, this has not been asked before, and it is something to do with the 
latest grokproject component that got released last week. Apparently 
something is a bit brittle in it...

Could you post the commands + output leading up to the "... Downloading" 
output you sent?

I'm especially curious 1) if you use Ubuntu's python install (and what 
version is that?) and 2) how you installed the grokproject tool itself 
and 3) how you invoked the grokproject command.

I hope I can help you further tracking down the issue...

Thanks for reporting this, kind regards,
jw

On 11/2/10 23:12 PM, Glyn wrote:
>
> Hi,
>
> This has probably been asked before, but I didn't find an easy solution.
> When trying out grok on ubuntu 10 and following the online tutorial, I get
> the following error when executing grokproject Sample:
> ....
> Downloading
> http://pypi.python.org/packages/2.6/s/setuptools/setuptools-0.6c11-py2.6.egg
> Traceback (most recent call last):
>    File "<string>", line 1, in<module>
>    File
> "/tmp/tmpJj58jW/setuptools-0.6c11-py2.6.egg/setuptools/command/easy_install.py",
> line 1712, in main
>
>    File
> "/tmp/tmpJj58jW/setuptools-0.6c11-py2.6.egg/setuptools/command/easy_install.py",
> line 1700, in with_ei_usage
>
>    File
> "/tmp/tmpJj58jW/setuptools-0.6c11-py2.6.egg/setuptools/command/easy_install.py",
> line 1716, in<lambda>
>
>    File "/usr/lib/python2.6/distutils/core.py", line 152, in setup
>      dist.run_commands()
>    File "/usr/lib/python2.6/distutils/dist.py", line 975, in run_commands
>      self.run_command(cmd)
>    File "/usr/lib/python2.6/distutils/dist.py", line 995, in run_command
>      cmd_obj.run()
>    File
> "/tmp/tmpJj58jW/setuptools-0.6c11-py2.6.egg/setuptools/command/easy_install.py",
> line 211, in run
>
>    File
> "/tmp/tmpJj58jW/setuptools-0.6c11-py2.6.egg/setuptools/command/easy_install.py",
> line 446, in easy_install
>
>    File
> "/tmp/tmpJj58jW/setuptools-0.6c11-py2.6.egg/setuptools/command/easy_install.py",
> line 476, in install_item
>
>    File
> "/tmp/tmpJj58jW/setuptools-0.6c11-py2.6.egg/setuptools/command/easy_install.py",
> line 655, in install_eggs
>
>    File
> "/tmp/tmpJj58jW/setuptools-0.6c11-py2.6.egg/setuptools/command/easy_install.py",
> line 930, in build_and_install
>
>    File
> "/tmp/tmpJj58jW/setuptools-0.6c11-py2.6.egg/setuptools/command/easy_install.py",
> line 919, in run_setup
> AttributeError: 'module' object has no attribute '__getstate__'
> An error occurred when trying to install zc.buildout. Look above this
> message for any errors that were output by easy_install.
> Running /home/tom/Sample/bin/buildout...
> /bin/sh: /home/tom/Sample/bin/buildout: not found
>
> Any help would be very appreciated.
>
> Thanks,
>
> Tom




More information about the Grok-dev mailing list