Re: [Zope] Re: 2.9.7 build fails: 'build/lib/linux-i686-2/5/pytz/zoneinfo/Antarctica' does not exist
Maurits van Rees wrote: Mikko Ohtamaa, on 2007-06-13: error: package directory 'build/lib/linux-i686-2/5/pytz/zoneinfo/Antarctica' does not exist make: *** [build] Error 1 Looks like there was python2.5-dev installed (7.04 Feisty Fawn default) though python2.4-dev was required. apt-get install python2.4-dev solved the problem once for all. -- Mikko Ohtamaa Associate, Red Innovation Ltd. +358 40 743 9707 www.redinnovation.com begin:vcard fn:Mikko Ohtamaa n:Ohtamaa;Mikko org:Red Innovation Ltd. adr:;;;Oulu;;;Finland email;internet:[EMAIL PROTECTED] title:CEO tel;cell:+358 40 743 9707 url:http://www.redinnovation.com version:2.1 end:vcard ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] 2.9.7 build fails: 'build/lib/linux-i686-2/5/pytz/zoneinfo/Antarctica' does not exist
Hi, I am trying to build Zope 2.9.7 on Ubuntu Feisty Fawn 7.04. I am probably enjoying some sort of configuration error. Though I have installed python-tz package, the installer barks about missing 'Antarctica'. I haven't seen this error with previous Zope builds. [EMAIL PROTECTED]:~/Zope-2.9.7-final$ make /usr/bin/python2.4 /home/moo/Zope-2.9.7-final/setup.py \ build --build-base=/home/moo/Zope-2.9.7-final/build-base/python-2.4 --build-lib=/home/moo/Zope-2.9.7-final/build-base/python-2.4/build-lib --build-scripts=/home/moo/Zope-2.9.7-final/build-base/python-2.4/build-scripts --build-temp=/home/moo/Zope-2.9.7-final/build-base/python-2.4/build-temp running build running build_py error: package directory 'build/lib/linux-i686-2/5/pytz/zoneinfo/Antarctica' does not exist make: *** [build] Error 1 Any ideas? Cheers, Mikko -- Mikko Ohtamaa Associate, Red Innovation Ltd. +358 40 743 9707 www.redinnovation.com begin:vcard fn:Mikko Ohtamaa n:Ohtamaa;Mikko org:Red Innovation Ltd. adr:;;;Oulu;;;Finland email;internet:[EMAIL PROTECTED] title:CEO tel;cell:+358 40 743 9707 url:http://www.redinnovation.com version:2.1 end:vcard ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Re: 2.9.7 build fails: 'build/lib/linux-i686-2/5/pytz/zoneinfo/Antarctica' does not exist
error: package directory 'build/lib/linux-i686-2/5/pytz/zoneinfo/Antarctica' does not exist make: *** [build] Error 1 Solved it. You must run python setup.py install as root and *do not* run make, configure, etc. before as a normal user. I think installer incorrectly creates something or doesn't fail properly in pre-build steps. I had to manually delete extracted distribution folder and then run it properly to get everything right. rm -rf Zope-2.9.7 tar -xzf Zope-2.9.7.tar sudo python setup.py install --prefix=/opt/Zope-2.9.7 Still getting this: error: mkpath: 'name' must be a string (got None) Cheers, Mikko -- Mikko Ohtamaa Associate, Red Innovation Ltd. +358 40 743 9707 www.redinnovation.com begin:vcard fn:Mikko Ohtamaa n:Ohtamaa;Mikko org:Red Innovation Ltd. adr:;;;Oulu;;;Finland email;internet:[EMAIL PROTECTED] title:CEO tel;cell:+358 40 743 9707 url:http://www.redinnovation.com version:2.1 end:vcard ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] 2.8.5/Win32 image opening error
Hi, I installed Zope 2.8.5 for Windows (to use with Plone, moving from 2.7.4). I cannot start Zope in debug mode since I get errors about missing images. At least SiteErrorLog and OFSP complains about missing icons, though files are there. Looks like Zope just can't find them. IOError: [Errno 2] No such file or directory: 'images/version.gif' This happens on two machines I have tested. I might be doing something wrong in my setup/installation, but don't know what. Any hints to fix it? -Mikko Stdout: NOTICE global_symbols.py:22:Tue Jan 24 12:55:30 2006: 'Starting C:\\runtime- workspace\\hrm\\Data\\Products\\GroupUserFolder at 4 debug level' 2006-01-24 12:55:30 WARNING Init Class Products.GroupUserFolder.GroupUserFolder. GroupUserFolder has a security declaration for nonexistent method 'isLUFMappingCorrect' 2006-01-24 12:55:30 WARNING Init Class Products.GroupUserFolder.GroupUserFolder. GroupUserFolder has a security declaration for nonexistent method 'isLUFMappingCorrect' 2006-01-24 12:55:30 ERROR Zope Could not import Products.OFSP Traceback (most recent call last): File C:\runtime-workspace\hrm\Zope\lib\python\OFS\Application.py, line 698, in import_product product=__import__(pname, global_dict, global_dict, silly) File C:\runtime-workspace\hrm\Zope\lib\python\Products\OFSP\__init__.py, line 43, in ? misc_={ File C:\runtime-workspace\hrm\Python\Lib\site-packages\PIL\ImageFile.py, line 70, in __init__ self.fp = open(fp, rb) IOError: [Errno 2] No such file or directory: 'images/version.gif' Traceback (most recent call last): File C:\runtime-workspace\hrm\Zope\lib\python\Zope2\Startup\run.py, line 56, in ? run() File C:\runtime-workspace\hrm\Zope\lib\python\Zope2\Startup\run.py, line 21, in run starter.prepare() File C:\runtime-workspace\hrm\Zope\lib\python\Zope2\Startup\__init__.py, line 98, in prepare self.startZope() File C:\runtime-workspace\hrm\Zope\lib\python\Zope2\Startup\__init__.py, line 257, in startZope Zope2.startup() File C:\runtime-workspace\hrm\Zope\lib\python\Zope2\__init__.py, line 47, in startup _startup() File C:\runtime-workspace\hrm\Zope\lib\python\Zope2\App\startup.py, line 45, in startup OFS.Application.import_products() File C:\runtime-workspace\hrm\Zope\lib\python\OFS\Application.py, line 675, in import_products import_product(product_dir, product_name, raise_exc=debug_mode) File C:\runtime-workspace\hrm\Zope\lib\python\OFS\Application.py, line 698, in import_product product=__import__(pname, global_dict, global_dict, silly) File C:\runtime-workspace\hrm\Zope\lib\python\Products\OFSP\__init__.py, line 43, in ? misc_={ File C:\runtime-workspace\hrm\Python\Lib\site-packages\PIL\ImageFile.py, line 70, in __init__ self.fp = open(fp, rb) IOError: [Errno 2] No such file or directory: 'images/version.gif' ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )