[Zope3-Users] problems getting started under Ubuntu 5.10

Brad Allen brad at allendev.com
Mon Oct 17 23:32:24 EDT 2005


Hi, I'm trying to get started with Zope3 under Ubuntu 5.10. 
The package manager for Ubuntu installed Zope 3.1.0-1.
The first problem I had was creating a Zope instance.
Here is what happened:

----------------------------------------------------------------
ballen at ubu:/usr/lib/zope3/bin$ ./mkzopeinstance --dir=$HOME/myzope
--user=admin:mypwd
Traceback (most recent call last):
  File "./mkzopeinstance", line 45, in ?
    sys.exit(main(from_checkout=from_checkout))
  File
"/usr/lib/python2.4/site-packages/zope/app/server/mkzopeinstance.py",
line 48, in main
    return app.process()
  File
"/usr/lib/python2.4/site-packages/zope/app/server/mkzopeinstance.py",
line 111, in process
    os.chown(options.destination, uid, gid)
OSError: [Errno 1] Operation not permitted: '/home/ballen/myzope'

-------------------------------------------------------------------

Ok, so I thought maybe I need to perform the operation under sudo.
That seemed to work, though I was a little worried because I had
read on the mailing list that Zope3 shouldn't be started or run
as the root user.

Next, I wanted to start up the Zope instance. See transcript below:

--------------------------------------------------------------------

ballen at ubu:~/myzope$ ./bin/runzope
Traceback (most recent call last):
  File "./bin/runzope", line 48, in ?
    run()
  File "./bin/runzope", line 44, in run
    main(["-C", CONFIG_FILE] + sys.argv[1:])
  File "/usr/lib/python2.4/site-packages/zope/app/server/main.py", line
58, in main
    setup(load_options(args))
  File "/usr/lib/python2.4/site-packages/zope/app/server/main.py", line
166, in setup
    options.eventlog()
  File
"/usr/lib/python2.4/site-packages/ZConfig/components/logger/factory.py",
line 32, in __call__
    self.instance = self.create()
  File
"/usr/lib/python2.4/site-packages/ZConfig/components/logger/logger.py",
line 42, in create
    handler = handler_factory()
  File
"/usr/lib/python2.4/site-packages/ZConfig/components/logger/factory.py",
line 32, in __call__
    self.instance = self.create()
  File
"/usr/lib/python2.4/site-packages/ZConfig/components/logger/handlers.py", line 69, in create
    logger = self.create_loghandler()
  File
"/usr/lib/python2.4/site-packages/ZConfig/components/logger/handlers.py", line 87, in create_loghandler
    handler = loghandler.FileHandler(path)
  File
"/usr/lib/python2.4/site-packages/ZConfig/components/logger/loghandler.py", line 34, in __init__
    StreamHandler.__init__(self, open(filename, mode))
IOError: [Errno 13] Permission denied: '/home/ballen/myzope/log/z3.log'
ballen at ubu:~/myzope$

---------------------------------------------------------------------

Ok, that didn't work. So, I tried starting Zope as sudo, which also
didn't work. Here is the transcript:

----------------------------------------------------------------------
ballen at ubu:~/myzope$ sudo ./bin/runzope
Password:
Traceback (most recent call last):
  File "./bin/runzope", line 48, in ?
    run()
  File "./bin/runzope", line 44, in run
    main(["-C", CONFIG_FILE] + sys.argv[1:])
  File "/usr/lib/python2.4/site-packages/zope/app/server/main.py", line
58, in main
    setup(load_options(args))
  File "/usr/lib/python2.4/site-packages/zope/app/server/main.py", line
169, in setup
    zope.app.appsetup.config(options.site_definition)
  File "/usr/lib/python2.4/site-packages/zope/app/appsetup/appsetup.py",
line 52, in config
    context = xmlconfig.file(file, execute=execute)
  File
"/usr/lib/python2.4/site-packages/zope/configuration/xmlconfig.py", line
557, in file
    context.execute_actions()
  File "/usr/lib/python2.4/site-packages/zope/configuration/config.py",
line 622, in execute_actions
    callable(*args, **kw)
  File
"/usr/lib/python2.4/site-packages/zope/app/onlinehelp/onlinehelp.py",
line 123, in registerHelpTopic
    raise ConfigurationError(
zope.configuration.config.ConfigurationExecutionError:
zope.configuration.exceptions.ConfigurationError: Help Topic
definition /usr/lib/zope3/lib/python/zope/interface/README.txt does not
exist
  in:
  File "/usr/lib/zope3/lib/python/zope/app/apidoc/bookmodule/book.zcml",
line 11.4-16.10
      <bookchapter
          id="interface"
          title="Interfaces"
          doc_path="README.txt"
          parent="ifaceschema"
          />
------------------------------------------------------------------------

So, I'm stuck. Any help on this would be much appreciated.






More information about the Zope3-users mailing list