I tried the workaround, but it doesn't work (dzhandle of deb zope-common
fails):

$ sudo dzhandle -z2.10 make-instance test_instance -m all
Traceback (most recent call last):
  File "/usr/bin/dzhandle", line 2497, in ?
    main()
  File "/usr/bin/dzhandle", line 2492, in main
    rv = action.run(global_options)
  File "/usr/bin/dzhandle", line 1531, in run
    rv = subprocess.call(cmd)
  File "/usr/lib/python2.4/subprocess.py", line 413, in call
    return Popen(*args, **kwargs).wait()
  File "/usr/lib/python2.4/subprocess.py", line 543, in __init__
    errread, errwrite)
  File "/usr/lib/python2.4/subprocess.py", line 975, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

Unfortunately /usr/lib/zope.210/bin/mkzopeinstance.py fails too
(checkinstall deb package build according to the posted workaround):

$ sudo /usr/lib/zope.210/bin/mkzopeinstance.py 
Please choose a directory in which you'd like to install
Zope "instance home" files such as database files, configuration
files, etc.

Directory: /var/www/zope2.10.4
Please choose a username and password for the initial user.
These will be the credentials you use to initially manage
your new Zope instance.

Username: admin
Password: 
Verify password: 
Traceback (most recent call last):
  File "/usr/lib/zope.210/bin/mkzopeinstance.py", line 178, in ?
    main()
  File "/usr/lib/zope.210/bin/mkzopeinstance.py", line 124, in main
    copyzopeskel.copyskel(skelsrc, skeltarget, None, None, **kw)
  File "/usr/lib/zope.210/bin/copyzopeskel.py", line 178, in copyskel
    os.chdir(sourcedir)
OSError: [Errno 2] No such file or directory: '/usr/lib/zope.210/skel'

$ find /usr/lib/zope.210/ -iname skel
$

$ dpkg -L zope-2.10.4-final|grep skel
/usr/lib/zope.210/bin/copyzopeskel.py
/usr/lib/zope.210/lib/python/Interface/pyskel.py
/usr/lib/zope.210/lib/python/Interface/pyskel.pyc
/skel
/skel/bin

OOPS! checkinstall or make install put it into the root of my system!

$ sudo ln -s /skel /usr/lib/zope.210/skel

Now it works, but dzhandle failed again.

-- 
Update to 2.10.4 to support Plone 3 and others
https://bugs.launchpad.net/bugs/138772
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to