[Cubicweb] Yesterday's ValueError solved! - new bug in fyzz

Dr.Leo stefan.pankoke at googlemail.com
Mon Sep 13 21:00:13 CEST 2010


  Hi,

I have tracked down the ValueError reported yesterday. In MANIFEST.in, 
lines 33 and 34 just delete the final '/', and it works here (win32 XP, 
python 2.6.5). Maybe setuptools is pickier on Windows regarding the 
MANIFEST.in syntax than on Linux.

But there is another bug, namely in fyzz (see below).

At least I can get going now with cubicweb; don't need fyzz at this stage.

Thanks for all your help so far!

Leo




Installed c:\python26\lib\site-packages\cubicweb-3.9.6-py2.6.egg
Processing dependencies for cubicweb==3.9.6
Searching for pysqlite>=2.5.5
Reading http://pypi.python.org/simple/pysqlite/
Reading http://pysqlite.googlecode.com/
Reading http://code.google.com/p/pysqlite/downloads/list
Best match: pysqlite 2.6.0
Downloading 
http://pysqlite.googlecode.com/files/pysqlite-2.6.0.win32-py2.6.exe
Processing pysqlite-2.6.0.win32-py2.6.exe
WARNING: can't process DATA/pysqlite2-doc/default.css
WARNING: can't process DATA/pysqlite2-doc/docutils.css
WARNING: can't process DATA/pysqlite2-doc/install-source.txt
creating 
'c:\dokume~1\stefan\lokale~1\temp\easy_install-slajls\pysqlite-2.6.0-py
2.6-win32.egg' and adding 
'c:\dokume~1\stefan\lokale~1\temp\easy_install-slajls\
pysqlite-2.6.0-py2.6-win32.egg.tmp' to it
Moving pysqlite-2.6.0-py2.6-win32.egg to c:\python26\lib\site-packages
Adding pysqlite 2.6.0 to easy-install.pth file

Installed c:\python26\lib\site-packages\pysqlite-2.6.0-py2.6-win32.egg
Searching for fyzz>=0.1.0
Reading http://pypi.python.org/simple/fyzz/
Reading http://www.logilab.org/project/fyzz
Best match: fyzz 0.1.0
Downloading 
http://pypi.python.org/packages/source/f/fyzz/fyzz-0.1.0.tar.gz#md5=
16d225cf2d3eaa389934449d11c84db5
Processing fyzz-0.1.0.tar.gz
Running fyzz-0.1.0\setup.py -q bdist_egg --dist-dir 
c:\dokume~1\stefan\lokale~1\
temp\easy_install-btr2ep\fyzz-0.1.0\egg-dist-tmp-m9s0aa
Traceback (most recent call last):
   File "setup.py", line 196, in <module>
     install()
   File "setup.py", line 192, in install
     **kwargs
   File "c:\python26\lib\distutils\core.py", line 152, in setup
     dist.run_commands()
   File "c:\python26\lib\distutils\dist.py", line 975, in run_commands
     self.run_command(cmd)
   File "c:\python26\lib\distutils\dist.py", line 995, in run_command
     cmd_obj.run()
   File "c:\python26\lib\site-packages\setuptools\command\install.py", 
line 76, i
n run
     self.do_egg_install()
   File "c:\python26\lib\site-packages\setuptools\command\install.py", 
line 104,
in do_egg_install
     cmd.run()
   File 
"c:\python26\lib\site-packages\setuptools\command\easy_install.py", line
211, in run
     self.easy_install(spec, not self.no_deps)
   File 
"c:\python26\lib\site-packages\setuptools\command\easy_install.py", line
427, in easy_install
     return self.install_item(None, spec, tmpdir, deps, True)
   File 
"c:\python26\lib\site-packages\setuptools\command\easy_install.py", line
478, in install_item
     self.process_distribution(spec, dist, deps)
   File 
"c:\python26\lib\site-packages\setuptools\command\easy_install.py", line
519, in process_distribution
     [requirement], self.local_index, self.easy_install
   File "c:\python26\lib\site-packages\pkg_resources.py", line 563, in 
resolve
     dist = best[req.key] = env.best_match(req, self, installer)
   File "c:\python26\lib\site-packages\pkg_resources.py", line 799, in 
best_match

     return self.obtain(req, installer) # try and download/install
   File "c:\python26\lib\site-packages\pkg_resources.py", line 811, in 
obtain
     return installer(requirement)
   File 
"c:\python26\lib\site-packages\setuptools\command\easy_install.py", line
446, in easy_install
     return self.install_item(spec, dist.location, tmpdir, deps)
   File 
"c:\python26\lib\site-packages\setuptools\command\easy_install.py", line
476, in install_item
     dists = self.install_eggs(spec, download, tmpdir)
   File 
"c:\python26\lib\site-packages\setuptools\command\easy_install.py", line
655, in install_eggs
     return self.build_and_install(setup_script, setup_base)
   File 
"c:\python26\lib\site-packages\setuptools\command\easy_install.py", line
930, in build_and_install
     self.run_setup(setup_script, setup_base, args)
   File 
"c:\python26\lib\site-packages\setuptools\command\easy_install.py", line
919, in run_setup
     run_setup(setup_script, args)
   File "c:\python26\lib\site-packages\setuptools\sandbox.py", line 62, 
in run_se
tup
     lambda: execfile(
   File "c:\python26\lib\site-packages\setuptools\sandbox.py", line 105, 
in run
     return func()
   File "c:\python26\lib\site-packages\setuptools\sandbox.py", line 64, 
in <lambd
a>
     {'__file__':setup_script, '__name__':'__main__'}
   File "setup.py", line 29, in <module>
     try:
ImportError: cannot import name short_desc





More information about the Cubicweb mailing list