On Wed, 2011-11-16 at 05:39 -0800, czam wrote:
> Hi list, I got a strange error starting with the wiki tutorial at
> http://docs.pylonsproject.org/projects/pyramid/dev/tutorials/wiki2/installation.html
> Seems to be a problem in the webob egg...
> Just 2 days before I got the tutorial working on another Win7-64bit, I
> am using Python 2.5.4 and everything is setup exactly as stated in the
> tutorial.
> 
> d:\pyramid\pyramidtut>Scripts\paster.exe create -t
> pyramid_routesalchemy tutoria
> l
> Traceback (most recent call last):
>   File "d:\pyramid\pyramidtut\Scripts\paster-script.py", line 8, in
> <module>
>     load_entry_point('pastescript==1.7.5', 'console_scripts', 'paster')
> ()
>   File "d:\pyramid\pyramidtut\lib\site-packages\pastescript-1.7.5-
> py2.5.egg\past
> e\script\command.py", line 104, in run
>     invoke(command, command_name, options, args[1:])
>   File "d:\pyramid\pyramidtut\lib\site-packages\pastescript-1.7.5-
> py2.5.egg\past
> e\script\command.py", line 143, in invoke
>     exit_code = runner.run(args)
>   File "d:\pyramid\pyramidtut\lib\site-packages\pastescript-1.7.5-
> py2.5.egg\past
> e\script\command.py", line 238, in run
>     result = self.command()
>   File "d:\pyramid\pyramidtut\lib\site-packages\pastescript-1.7.5-
> py2.5.egg\past
> e\script\create_distro.py", line 73, in command
>     self.extend_templates(templates, tmpl_name)
>   File "d:\pyramid\pyramidtut\lib\site-packages\pastescript-1.7.5-
> py2.5.egg\past
> e\script\create_distro.py", line 262, in extend_templates
>     tmpl = entry.load()(entry.name)
>   File "d:\pyramid\pyramidtut\lib\site-packages\setuptools-0.6c11-
> py2.5.egg\pkg_
> resources.py", line 1954, in load
>   File "d:\pyramid\pyramidtut\lib\site-packages\pyramid-1.2.1-py2.5.egg
> \pyramid\
> __init__.py", line 1, in <module>
>     from pyramid.request import Request
>   File "d:\pyramid\pyramidtut\lib\site-packages\pyramid-1.2.1-py2.5.egg
> \pyramid\
> request.py", line 6, in <module>
>     from webob import BaseRequest
>   File "build\bdist.win32\egg\webob\__init__.py", line 1, in <module>
>   File "build\bdist.win32\egg\webob\datetime_utils.py", line 18, in
> <module>
>   File "d:\pyramid\pyramidtut\lib\site-packages\webob-1.2b2-py2.5.egg
> \webob\comp
> at.py", line 89
>     return b''
>              ^
> SyntaxError: invalid syntax
> 
> d:\pyramid\pyramidtut>
> 
> Any ideas?
> 


WebOb 1.2 doesn't work under Python 2.5.  I'd try to use Python 2.6 or
better for the tutorial.

- C


-- 
You received this message because you are subscribed to the Google Groups 
"pylons-devel" group.
To post to this group, send email to pylons-devel@googlegroups.com.
To unsubscribe from this group, send email to 
pylons-devel+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/pylons-devel?hl=en.

Reply via email to