Hi I've got the following error during mechanize buildout: %<-------------------- Getting distribution for 'mechanize'. warning: no files found matching '0.1.0-changes.txt' no previously-included directories found matching 'docs-in-progress' File "build\bdist.win32\egg\mechanize\_firefox3cookiejar.py", line 95 yield row SyntaxError: 'yield' not allowed in a 'try' block with a 'finally' clause Got mechanize 0.1.8. %<-------------------- I think this is not comming from our zope repos, right? Regards Roger Ineichen _____________________________ Projekt01 GmbH www.projekt01.ch Boesch 65 6331 Hünenberg phone +41 (0)41 781 01 78 mobile +41 (0)79 340 52 32 fax +41 (0)41 781 00 78 email roger.ineichen@projekt01.ch _____________________________ END OF MESSAGE
Roger Ineichen, on 2008-09-16:
Hi
I've got the following error during mechanize buildout:
%<-------------------- Getting distribution for 'mechanize'. warning: no files found matching '0.1.0-changes.txt' no previously-included directories found matching 'docs-in-progress' File "build\bdist.win32\egg\mechanize\_firefox3cookiejar.py", line 95 yield row SyntaxError: 'yield' not allowed in a 'try' block with a 'finally' clause Got mechanize 0.1.8. %<--------------------
I think this is not comming from our zope repos, right?
Correct. Martijn Faassen saw this earlier, and I commented on it in the grok-dev list: http://www.nabble.com/grokproject-buildout-problems-td19291140.html The SyntaxError only happens with python 2.4. And that part of the code is only executed when you run it with python 2.5. So I do not think anything can be done about that. The warning is from an error in MANIFEST.in. Same for another line you may have spotted: no previously-included directories found matching 'docs-in-progress' I just contacted the author about that. -- Maurits van Rees | http://maurits.vanrees.org/ Work | http://zestsoftware.nl/ "This is your day, don't let them take it away." [Barlow Girl]
participants (2)
-
Maurits van Rees -
Roger Ineichen