[Grok-dev] grok ubuntu tutorial problem
Glyn
glynnyth at gmail.com
Wed Nov 3 02:30:19 EDT 2010
Hi Jan-Wijbrand,
1) I use python as installed by Ubuntu 10.04. It is version:
Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56)
[GCC 4.4.3] on linux2
2) I installed grokproject via commands:
sudo apt-get install python-setuptools
sudo easy_install grokproject
3) I invoked grokproject via command:
grokproject Sample
Output of last command:
tom at tom-laptop:~$ grokproject Sample
Enter user (Name of an initial administrator user): admin
Enter passwd (Password for the initial administrator user):
Determining current grok version...
Replace 1212 bytes with 1212 bytes (1/33 lines changed)
Overwrite ./Sample/etc/site.zcml.in [y/n/d/B/?] y
Running /usr/bin/python -S /home/tom/Sample/bootstrap.py...
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/tmp3rci5Y/setuptools-0.6c11-py2.6.egg/setuptools/command/easy_install.py",
line 1712, in main
File
"/tmp/tmp3rci5Y/setuptools-0.6c11-py2.6.egg/setuptools/command/easy_install.py",
line 1700, in with_ei_usage
File
"/tmp/tmp3rci5Y/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/tmp3rci5Y/setuptools-0.6c11-py2.6.egg/setuptools/command/easy_install.py",
line 211, in run
File
"/tmp/tmp3rci5Y/setuptools-0.6c11-py2.6.egg/setuptools/command/easy_install.py",
line 446, in easy_install
File
"/tmp/tmp3rci5Y/setuptools-0.6c11-py2.6.egg/setuptools/command/easy_install.py",
line 476, in install_item
File
"/tmp/tmp3rci5Y/setuptools-0.6c11-py2.6.egg/setuptools/command/easy_install.py",
line 655, in install_eggs
File
"/tmp/tmp3rci5Y/setuptools-0.6c11-py2.6.egg/setuptools/command/easy_install.py",
line 930, in build_and_install
File
"/tmp/tmp3rci5Y/setuptools-0.6c11-py2.6.egg/setuptools/command/easy_install.py",
line 919, in run_setup
File "/tmp/tmp3rci5Y/setuptools-0.6c11-py2.6.egg/setuptools/sandbox.py",
line 52, 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
Thx,
Tom
Jan-Wijbrand Kolman-3 wrote:
>
> 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
>
>
> _______________________________________________
> Grok-dev mailing list
> Grok-dev at zope.org
> https://mail.zope.org/mailman/listinfo/grok-dev
>
>
--
View this message in context: http://old.nabble.com/grok-ubuntu-tutorial-problem-tp30118214p30120288.html
Sent from the Grok mailing list archive at Nabble.com.
More information about the Grok-dev
mailing list