2.7.0-b2 install failure (setup.py defect, I think)
I've been using 2.7.0-b1 for a while, so I figured I'd take a look at b2 now. However : $ python2.3 setup.py install --prefix /usr/local/opt/zope-2.7.0-b2 running install running build running build_py running build_ext running install_lib running install_data running install running build running build_py running install_lib running install running build running build_scripts error: mkpath: 'name' must be a string (got None) $ The build succeeds but the install fails. Is something wrong on my system or has the setup.py script changed in some way? -D PS. This is on a debian testing/unstable system. PPS. You don't see any actions in the steps that didn't fail because they already completed successfully the first time. If you want to see more output I can clean out the build and run it again. -- In his heart a man plans his course, but the Lord determines his steps. Proverbs 16:9 http://dman13.dyndns.org/~dman/
Derrick, I was able to replicate the problem. This is likely due to the custom "install scheme" imposed by Zope (to work around some distutils deficiences, ie. being unable to specify the "real" install directory in a x-platform way). I didn't dig into the underlying problem because your method of installation isn't really supported. But if you do the installation in the way explained in doc/INSTALL.txt, everything does work. ./configure --with-python=/some/python --prefix=/some/path make make install HTH, - C On Wed, 2003-08-27 at 00:13, Derrick 'dman' Hudson wrote:
I've been using 2.7.0-b1 for a while, so I figured I'd take a look at b2 now. However :
$ python2.3 setup.py install --prefix /usr/local/opt/zope-2.7.0-b2 running install running build running build_py running build_ext running install_lib running install_data running install running build running build_py running install_lib running install running build running build_scripts error: mkpath: 'name' must be a string (got None)
$
The build succeeds but the install fails. Is something wrong on my system or has the setup.py script changed in some way?
-D
PS. This is on a debian testing/unstable system.
PPS. You don't see any actions in the steps that didn't fail because they already completed successfully the first time. If you want to see more output I can clean out the build and run it again.
On Wed, 27 Aug 2003 00:13:51 -0400 Derrick 'dman' Hudson <dman@dman13.dyndns.org> wrote:
I've been using 2.7.0-b1 for a while, so I figured I'd take a look at b2 now. However :
$ python2.3 setup.py install --prefix /usr/local/opt/zope-2.7.0-b2 running install running build running build_py running build_ext running install_lib running install_data running install running build running build_py running install_lib running install running build running build_scripts error: mkpath: 'name' must be a string (got None)
$
The build succeeds but the install fails. Is something wrong on my system or has the setup.py script changed in some way?
-D
PS. This is on a debian testing/unstable system.
This works on Debian sid: ./configure --with-python=/usr/bin/python2.2 \ --prefix=/home/zopes/instance; # you need to be root to add some stuff in /lib/python2.2/site-package sudo make;sudo make install; /home/zopes/instance/bin/mkzopeinstance.py \ -d /home/zopes/instance -u user:password; cd /home/zopes/instance; ./bin/zopectl start; ./bin/zopectl logtail& Check your /home/zopes/instance/etc/zope.conf for this stuff debug-mode on locale fr_FR port-base 500 # 8000 + port-base <eventlog> level all <logfile> path $INSTANCE/log/event.log level info </logfile> # add for debug <logfile> path $INSTANCE/log/all.log level all </logfile> # end </eventlog> A lot of logs are generated because of depreciation warning on i18n:attributes, it can overload your CPU. -- Encolpe DEGOUTE, Ingénieur Logiciel, Nuxeo SARL: Zope Service Provider. Mail: edegoute@nuxeo.com - Tel: +33 (0)1 40 33 79 18 Nuxeo Collaborative Portal Server: http://www.nuxeo.com/cps Gestion de contenu web / portail collaboratif / groupware / open source
On Wed, Aug 27, 2003 at 12:13:51AM -0400, Derrick 'dman' Hudson wrote: | $ python2.3 setup.py install --prefix /usr/local/opt/zope-2.7.0-b2 | running build_scripts | error: mkpath: 'name' must be a string (got None) | The build succeeds but the install fails. Is something wrong on my | system or has the setup.py script changed in some way? chrism kindly presented me with a cluestick off-list -- if I follow the [configure - make - make install] process described in INSTALL.txt instead of trying to use distutils directly then all is well. -D -- Yes, Java is so bulletproofed that to a C programmer it feels like being in a straightjacket, but it's a really comfy and warm straightjacket, and the world would be a safer place if everyone was straightjacketed most of the time. -- Mark 'Kamikaze' Hughes http://dman13.dyndns.org/~dman/
participants (3)
-
Chris McDonough -
Derrick 'dman' Hudson -
Encolpe DEGOUTE