[Zope] Zope startup problem: AttributeError: 'module' object has no attribute 'loadSchema'

Peter Bengtsson peterbe at gmail.com
Fri Sep 2 08:36:07 EDT 2005


Interesting. ZConfig is a folder which contains a file __init__.py
that imports the loadSchema function.
This is a perfectly valid way of doing it but personally I never use
it because I think it's more confusing that import the files directly
instead of using the __init__ magic.
Perhaps you should file a bug report for python for the Solaris 8.

On 9/2/05, Paul Sue <Paul.Sue at telus.com> wrote:
> Hi,
> 
> Found a spare Solaris 8 server, so I thought I'd tried building Zope/Plone on it.
> 
> Built python 2.3.4, Zope 2.7.4 OK.  When I start up zope, I get:
> 
> Traceback (most recent call last):
>   File "/space/users/zope/Zope274/lib/python/Zope/Startup/run.py", line 50, in ?
>     run()
>   File "/space/users/zope/Zope274/lib/python/Zope/Startup/run.py", line 18, in run
>     opts = _setconfig()
>   File "/space/users/zope/Zope274/lib/python/Zope/Startup/run.py", line 42, in _setconfig
>     opts.realize(doc="Sorry, no option docs yet.")
>   File "/space/users/zope/Zope274/lib/python/zdaemon/zdoptions.py", line 271, in realize
>     self.load_schema()
>   File "/space/users/zope/Zope274/lib/python/zdaemon/zdoptions.py", line 312, in load_schema
>     self.schema = ZConfig.loadSchema(self.schemafile)
> AttributeError: 'module' object has no attribute 'loadSchema'
> 
> Any pointers would be greatly appreciated.
> 
> Thanks,
> 
> Paul
> _______________________________________________
> Zope maillist  -  Zope at 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 )
> 


-- 
Peter Bengtsson, 
work www.fry-it.com
home www.peterbe.com
hobby www.issuetrackerproduct.com


More information about the Zope mailing list