Krishnakant Mane wrote:

I am trying to install pylons 1.0 using easy_install in a vertual environment. I get the error failed to download some packages

No trouble here, but I did it using the go-pylons.py script as the download page suggests. Does that work for you?

But then, heading for the tutorial [1], I find that two of the first four commands are busted...

1) $ easy_install QuickWiki==0.1.6
2) $ paster make-config QuickWiki test.ini
3) $ paster setup-app test.ini
4) $ paster serve test.ini

Namely, 3) fails with:
,----
|     from webhelpers.html.secure_form import secure_form
| ImportError: No module named secure_form
`----
That's because this function has been moved (see [2]). This problem is fixed by following the suggestion (in [1]) to use the latest QuickWiki version from bickbucket. However this creates another at step 4):
,----
| Starting server in PID 2139.
| serving on 0.0.0.0:5000 view at http://127.0.0.1:5000
| Error - <type 'exceptions.ImportError'>: No module named roman
`----
That's because the bickbucket version, QuickWiki-0.1.8dev-py2.6.egg, pulls docutils-0.6 which unlike docutils-0.4, no longer includes 'roman.py' (see [3]). In short, step 1) ought to be replaced by the following which worked for me today:

1a) $ easy_install http://bitbucket.org/bbangert/quickwiki/get/21520a734ca1.gz
1b) $ easy_install roman


----
[1] http://pylonshq.com/docs/en/1.0/tutorials/quickwiki_tutorial/
[2] http://bitbucket.org/bbangert/webhelpers/changeset/92d547cf8812
[3] http://thread.gmane.org/gmane.text.docutils.user/5697/focus=5699

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

Reply via email to