[Cubicweb] pip-install of cubicweb sources exits with ValueError

Dr.Leo stefan.pankoke at googlemail.com
Sun Sep 12 10:27:19 CEST 2010


  Hi,

see log below. This might be a Python2.5/2.6 incompatibility... It 
should not occur anyway.

Leo



   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 96, i
n do_egg_install
     self.run_command('bdist_egg')
   File "c:\python26\lib\distutils\cmd.py", line 333, in run_command
     self.distribution.run_command(command)
   File "c:\python26\lib\distutils\dist.py", line 995, in run_command
     cmd_obj.run()
   File "c:\python26\lib\site-packages\setuptools\command\bdist_egg.py", 
line 167
, in run
     self.run_command("egg_info")
   File "c:\python26\lib\distutils\cmd.py", line 333, in run_command
     self.distribution.run_command(command)
   File "c:\python26\lib\distutils\dist.py", line 995, in run_command
     cmd_obj.run()
   File "c:\python26\lib\site-packages\setuptools\command\egg_info.py", 
line 177,
  in run
     self.find_sources()
   File "c:\python26\lib\site-packages\setuptools\command\egg_info.py", 
line 252,
  in find_sources
     mm.run()
   File "c:\python26\lib\site-packages\setuptools\command\egg_info.py", 
line 308,
  in run
     self.read_template()
   File "c:\python26\lib\site-packages\setuptools\command\sdist.py", 
line 157, in
  read_template
     _sdist.read_template(self)
   File "c:\python26\lib\distutils\command\sdist.py", line 336, in 
read_template
     self.filelist.process_template_line(line)
   File "c:\python26\lib\distutils\filelist.py", line 129, in 
process_template_li
ne
     (action, patterns, dir, dir_pattern) = self._parse_template_line(line)
   File "c:\python26\lib\distutils\filelist.py", line 112, in 
_parse_template_lin
e
     dir_pattern = convert_path(words[1])
   File "c:\python26\lib\distutils\util.py", line 202, in convert_path
     raise ValueError, "path '%s' cannot end with '/'" % pathname
ValueError: path 'doc/book/en/.static/' cannot end with '/'

C:\Dokumente und Einstellungen\stefan\Eigene Dateien\dev\cubicweb>cd ..

C:\Dokumente und Einstellungen\stefan\Eigene Dateien\dev>
C:\Dokumente und Einstellungen\stefan\Eigene Dateien\dev>pip install 
cubicwebg
Downloading/unpacking cubicwebg
   Could not find any downloads that satisfy the requirement cubicwebg
No distributions at all found for cubicwebg
Storing complete log in ./pip-log.txt

C:\Dokumente und Einstellungen\stefan\Eigene Dateien\dev>pip install 
cubicweb
Downloading/unpacking cubicweb
   Downloading cubicweb-3.9.5.tar.gz (4.7Mb): 4.7Mb downloaded
   Running setup.py egg_info for package cubicweb
     package init file '.\devtools\test\__init__.py' not found (or not a 
regular
file)
     package init file '.\entities\test\__init__.py' not found (or not a 
regular
file)
     package init file '.\etwist\test\__init__.py' not found (or not a 
regular fi
le)
     package init file '.\ext\test\__init__.py' not found (or not a 
regular file)

     package init file '.\goa\test\__init__.py' not found (or not a 
regular file)

     package init file '.\hooks\test\__init__.py' not found (or not a 
regular fil
e)
     package init file '.\server\test\__init__.py' not found (or not a 
regular fi
le)
     package init file '.\sobjects\test\__init__.py' not found (or not a 
regular
file)
     package init file '.\test\__init__.py' not found (or not a regular 
file)
     package init file '.\web\test\__init__.py' not found (or not a 
regular file)

     warning: no files found matching 'README' under directory 'doc'
     warning: no files found matching 'makefile' under directory 'doc'
     warning: no files found matching 'external_resources' under 
directory 'web\d
ata'
     warning: no files found matching 'ChangeLog*' under directory 
'web\wdoc'
     warning: no files found matching 'bootstrap_cubes' under directory 
'test\dat
a'
     warning: no files found matching 'bootstrap_cubes' under directory 
'entities
\test\data'
     warning: no files found matching 'bootstrap_cubes' under directory 
'sobjects
\test\data'
     warning: no files found matching 'bootstrap_cubes' under directory 
'hooks\te
st\data'
     warning: no files found matching '*.py' under directory 
'hooks\test\data'
     warning: no files found matching 'bootstrap_cubes' under directory 
'server\t
est\data'
     warning: no files found matching 'source*' under directory 
'server\test\data
'
     warning: no files found matching 'bootstrap_cubes' under directory 
'devtools
\test\data'
     warning: no files found matching 'bootstrap_cubes' under directory 
'web\test
\data'
     warning: no files found matching 'pouet.css' under directory 
'web\test\data'

     warning: no files found matching '*.css' under directory 
'web\test\jstests'
     warning: no files found matching 'compat' under directory 'skeleton'
     Traceback (most recent call last):
       File "<string>", line 14, in <module>
       File "C:\Dokumente und Einstellungen\stefan\Eigene 
Dateien\dev\build\cubic
web\setup.py", line 196, in <module>
         install()
       File "C:\Dokumente und Einstellungen\stefan\Eigene 
Dateien\dev\build\cubic
web\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 "<string>", line 12, in replacement_run
       File 
"c:\python26\lib\site-packages\setuptools\command\egg_info.py", line
252, in find_sources
         mm.run()
       File 
"c:\python26\lib\site-packages\setuptools\command\egg_info.py", line
308, in run
         self.read_template()
       File "c:\python26\lib\site-packages\setuptools\command\sdist.py", 
line 157
, in read_template
         _sdist.read_template(self)
       File "c:\python26\lib\distutils\command\sdist.py", line 336, in 
read_templ
ate
         self.filelist.process_template_line(line)
       File "c:\python26\lib\distutils\filelist.py", line 129, in 
process_templat
e_line
         (action, patterns, dir, dir_pattern) = 
self._parse_template_line(line)
       File "c:\python26\lib\distutils\filelist.py", line 112, in 
_parse_template
_line
         dir_pattern = convert_path(words[1])
       File "c:\python26\lib\distutils\util.py", line 202, in convert_path
         raise ValueError, "path '%s' cannot end with '/'" % pathname
     ValueError: path 'doc/book/en/.static/' cannot end with '/'
     Complete output from command python setup.py egg_info:
     running egg_info

creating pip-egg-info\cubicweb.egg-info

writing requirements to pip-egg-info\cubicweb.egg-info\requires.txt

writing pip-egg-info\cubicweb.egg-info\PKG-INFO

writing top-level names to pip-egg-info\cubicweb.egg-info\top_level.txt

writing dependency_links to 
pip-egg-info\cubicweb.egg-info\dependency_links.txt

writing requirements to pip-egg-info\cubicweb.egg-info\requires.txt

writing pip-egg-info\cubicweb.egg-info\PKG-INFO

writing top-level names to pip-egg-info\cubicweb.egg-info\top_level.txt

writing dependency_links to 
pip-egg-info\cubicweb.egg-info\dependency_links.txt

writing manifest file 'pip-egg-info\cubicweb.egg-info\SOURCES.txt'

package init file '.\devtools\test\__init__.py' not found (or not a 
regular file
)

package init file '.\entities\test\__init__.py' not found (or not a 
regular file
)

package init file '.\etwist\test\__init__.py' not found (or not a 
regular file)

package init file '.\ext\test\__init__.py' not found (or not a regular file)

package init file '.\goa\test\__init__.py' not found (or not a regular file)

package init file '.\hooks\test\__init__.py' not found (or not a regular 
file)

package init file '.\server\test\__init__.py' not found (or not a 
regular file)

package init file '.\sobjects\test\__init__.py' not found (or not a 
regular file
)

package init file '.\test\__init__.py' not found (or not a regular file)

package init file '.\web\test\__init__.py' not found (or not a regular file)

reading manifest file 'pip-egg-info\cubicweb.egg-info\SOURCES.txt'

reading manifest template 'MANIFEST.in'

warning: no files found matching 'README' under directory 'doc'

warning: no files found matching 'makefile' under directory 'doc'

warning: no files found matching 'external_resources' under directory 
'web\data'


warning: no files found matching 'ChangeLog*' under directory 'web\wdoc'

warning: no files found matching 'bootstrap_cubes' under directory 
'test\data'

warning: no files found matching 'bootstrap_cubes' under directory 
'entities\tes
t\data'

warning: no files found matching 'bootstrap_cubes' under directory 
'sobjects\tes
t\data'

warning: no files found matching 'bootstrap_cubes' under directory 
'hooks\test\d
ata'

warning: no files found matching '*.py' under directory 'hooks\test\data'

warning: no files found matching 'bootstrap_cubes' under directory 
'server\test\
data'

warning: no files found matching 'source*' under directory 
'server\test\data'

warning: no files found matching 'bootstrap_cubes' under directory 
'devtools\tes
t\data'

warning: no files found matching 'bootstrap_cubes' under directory 
'web\test\dat
a'

warning: no files found matching 'pouet.css' under directory 'web\test\data'

warning: no files found matching '*.css' under directory 'web\test\jstests'

warning: no files found matching 'compat' under directory 'skeleton'

warning: manifest_maker: standard file '-c' not found

Traceback (most recent call last):

   File "<string>", line 14, in <module>

   File "C:\Dokumente und Einstellungen\stefan\Eigene 
Dateien\dev\build\cubicweb\
setup.py", line 196, in <module>

     install()

   File "C:\Dokumente und Einstellungen\stefan\Eigene 
Dateien\dev\build\cubicweb\
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 "<string>", line 12, in replacement_run

   File "c:\python26\lib\site-packages\setuptools\command\egg_info.py", 
line 252,
  in find_sources

     mm.run()

   File "c:\python26\lib\site-packages\setuptools\command\egg_info.py", 
line 308,
  in run

     self.read_template()

   File "c:\python26\lib\site-packages\setuptools\command\sdist.py", 
line 157, in
  read_template

     _sdist.read_template(self)

   File "c:\python26\lib\distutils\command\sdist.py", line 336, in 
read_template

     self.filelist.process_template_line(line)

   File "c:\python26\lib\distutils\filelist.py", line 129, in 
process_template_li
ne

     (action, patterns, dir, dir_pattern) = self._parse_template_line(line)

   File "c:\python26\lib\distutils\filelist.py", line 112, in 
_parse_template_lin
e

     dir_pattern = convert_path(words[1])

   File "c:\python26\lib\distutils\util.py", line 202, in convert_path

     raise ValueError, "path '%s' cannot end with '/'" % pathname

ValueError: path 'doc/book/en/.static/' cannot end with '/'

----------------------------------------
Command python setup.py egg_info failed with error code 1
Storing complete log in ./pip-log.txt





More information about the Cubicweb mailing list