> I wonder why have you encountered this error if you "use schooltool
> every day".
>
> "flourish" series is in development still, so you would be installing
> this version only if you want to help us test that the new user
> interface. It is usable, but we are still fixing important bugs like
> this one.
Some days ago I upgraded to Ubuntu 11.10. After the upgrade schooltool didn't
start up anymore, because of the failing evolving. That's why I installed what
I thought of being the actual version (1.9.1). There are some days left,
because we have still autumn vacations here. But in the next week I will need
it badly again.
So which is the production version for "Oneiric ocelot"? Where should I get
the packages?
I did the compiling as you pointed me to, but the instance could not be
evolved (output see below).
Thank you very much for your support.
Andrej Keiper
---------------------------------------------------------------------------------------------------------------
root@aduola:/usr/src/flourish# make run
bin/start-schooltool-instance instance
Reading configuration from /usr/src/flourish/instance/schooltool.conf
2011-10-20 17:24:58,056 main db: evolving in mode EVOLVEMINIMUM
2011-10-20 17:24:58,057 main db/schooltool: currently at generation 35,
targetting generation 37
2011-10-20 17:24:58,106 Couldn't load state for 0x26
Traceback (most recent call last):
File "/usr/src/flourish/eggs/ZODB3-3.9.7-py2.7-linux-
x86_64.egg/ZODB/Connection.py", line 851, in setstate
self._setstate(obj)
File "/usr/src/flourish/eggs/ZODB3-3.9.7-py2.7-linux-
x86_64.egg/ZODB/Connection.py", line 919, in _setstate
self._reader.setGhostState(obj, p)
File "/usr/src/flourish/eggs/ZODB3-3.9.7-py2.7-linux-
x86_64.egg/ZODB/serialize.py", line 630, in setGhostState
obj.__setstate__(state)
File "/usr/src/flourish/eggs/zope.component-3.10.0-
py2.7.egg/zope/component/persistentregistry.py", line 40, in __setstate__
self._createLookup()
File "/usr/src/flourish/eggs/zope.interface-3.6.1-py2.7-linux-
x86_64.egg/zope/interface/adapter.py", line 91, in _createLookup
self._v_lookup = self.LookupClass(self)
File "/usr/src/flourish/eggs/zope.interface-3.6.1-py2.7-linux-
x86_64.egg/zope/interface/adapter.py", line 439, in __init__
self.init_extendors()
File "/usr/src/flourish/eggs/zope.interface-3.6.1-py2.7-linux-
x86_64.egg/zope/interface/adapter.py", line 476, in init_extendors
self.add_extendor(p)
File "/usr/src/flourish/eggs/zope.interface-3.6.1-py2.7-linux-
x86_64.egg/zope/interface/adapter.py", line 480, in add_extendor
for i in provided.__iro__:
AttributeError: type object 'ICustomScoreSystem' has no attribute '__iro__'
2011-10-20 17:24:58,111 main db/schooltool: failed to evolve to generation 36
Traceback (most recent call last):
File "/usr/src/flourish/eggs/zope.app.generations-3.6.0-
py2.7.egg/zope/app/generations/generations.py", line 494, in evolve
manager.evolve(context, generation)
File "/usr/src/flourish/eggs/zope.app.generations-3.6.0-
py2.7.egg/zope/app/generations/generations.py", line 145, in evolve
evolver.evolve(context)
File "/usr/src/flourish/src/schooltool/generations/evolve36/__init__.py",
line 37, in evolve
evolveTimetables(app)
File "/usr/src/flourish/src/schooltool/generations/evolve36/evolve.py", line
51, in evolveTimetables
builder.read(app, BuildContext())
File
"/usr/src/flourish/src/schooltool/generations/evolve36/timetable_builders.py",
line 486, in read
schoolyear = getUtility(IIntIds).queryObject(year_int_id)
File "/usr/src/flourish/eggs/zope.component-3.10.0-
py2.7.egg/zope/component/_api.py", line 166, in getUtility
utility = queryUtility(interface, name, context=context)
File "/usr/src/flourish/eggs/zope.component-3.10.0-
py2.7.egg/zope/component/_api.py", line 172, in queryUtility
return getSiteManager(context).queryUtility(interface, name, default)
File "/usr/src/flourish/eggs/zope.component-3.10.0-
py2.7.egg/zope/component/registry.py", line 163, in queryUtility
return self.utilities.lookup((), provided, name, default)
File "/usr/src/flourish/eggs/ZODB3-3.9.7-py2.7-linux-
x86_64.egg/ZODB/Connection.py", line 851, in setstate
self._setstate(obj)
File "/usr/src/flourish/eggs/ZODB3-3.9.7-py2.7-linux-
x86_64.egg/ZODB/Connection.py", line 919, in _setstate
self._reader.setGhostState(obj, p)
File "/usr/src/flourish/eggs/ZODB3-3.9.7-py2.7-linux-
x86_64.egg/ZODB/serialize.py", line 630, in setGhostState
obj.__setstate__(state)
File "/usr/src/flourish/eggs/zope.component-3.10.0-
py2.7.egg/zope/component/persistentregistry.py", line 40, in __setstate__
self._createLookup()
File "/usr/src/flourish/eggs/zope.interface-3.6.1-py2.7-linux-
x86_64.egg/zope/interface/adapter.py", line 91, in _createLookup
self._v_lookup = self.LookupClass(self)
File "/usr/src/flourish/eggs/zope.interface-3.6.1-py2.7-linux-
x86_64.egg/zope/interface/adapter.py", line 439, in __init__
self.init_extendors()
File "/usr/src/flourish/eggs/zope.interface-3.6.1-py2.7-linux-
x86_64.egg/zope/interface/adapter.py", line 476, in init_extendors
self.add_extendor(p)
File "/usr/src/flourish/eggs/zope.interface-3.6.1-py2.7-linux-
x86_64.egg/zope/interface/adapter.py", line 480, in add_extendor
for i in provided.__iro__:
AttributeError: type object 'ICustomScoreSystem' has no attribute '__iro__'
Traceback (most recent call last):
File "bin/start-schooltool-instance", line 146, in <module>
schooltool.paste.run.main()
File "/usr/src/flourish/src/schooltool/paste/run.py", line 120, in main
paste.script.command.run(['serve', conf_file] + extra_options)
File "/usr/src/flourish/eggs/PasteScript-1.7.3-
py2.7.egg/paste/script/command.py", line 84, in run
invoke(command, command_name, options, args[1:])
File "/usr/src/flourish/eggs/PasteScript-1.7.3-
py2.7.egg/paste/script/command.py", line 123, in invoke
exit_code = runner.run(args)
File "/usr/src/flourish/eggs/PasteScript-1.7.3-
py2.7.egg/paste/script/command.py", line 218, in run
result = self.command()
File "/usr/src/flourish/eggs/PasteScript-1.7.3-
py2.7.egg/paste/script/serve.py", line 276, in command
relative_to=base, global_conf=vars)
File "/usr/src/flourish/eggs/PasteScript-1.7.3-
py2.7.egg/paste/script/serve.py", line 313, in loadapp
**kw)
File "/usr/src/flourish/eggs/PasteDeploy-1.5.0-
py2.7.egg/paste/deploy/loadwsgi.py", line 247, in loadapp
return loadobj(APP, uri, name=name, **kw)
File "/usr/src/flourish/eggs/PasteDeploy-1.5.0-
py2.7.egg/paste/deploy/loadwsgi.py", line 272, in loadobj
return context.create()
File "/usr/src/flourish/eggs/PasteDeploy-1.5.0-
py2.7.egg/paste/deploy/loadwsgi.py", line 710, in create
return self.object_type.invoke(self)
File "/usr/src/flourish/eggs/PasteDeploy-1.5.0-
py2.7.egg/paste/deploy/loadwsgi.py", line 146, in invoke
return fix_call(context.object, context.global_conf, **context.local_conf)
File "/usr/src/flourish/eggs/PasteDeploy-1.5.0-
py2.7.egg/paste/deploy/util.py", line 56, in fix_call
val = callable(*args, **kw)
File "/usr/src/flourish/src/schooltool/paste/main.py", line 48, in
schooltool_app_factory
os.path.join(global_conf['here'], config_file))
File "/usr/src/flourish/src/schooltool/paste/main.py", line 37, in __init__
db = self.setup(options)
File "/usr/src/flourish/src/schooltool/app/main.py", line 707, in setup
notify(DatabaseOpened(db))
File "/usr/src/flourish/eggs/zope.event-3.5.0_1-
py2.7.egg/zope/event/__init__.py", line 23, in notify
subscriber(event)
File "/usr/src/flourish/eggs/zope.component-3.10.0-
py2.7.egg/zope/component/event.py", line 24, in dispatch
zope.component.subscribers(event, None)
File "/usr/src/flourish/eggs/zope.component-3.10.0-
py2.7.egg/zope/component/_api.py", line 136, in subscribers
return sitemanager.subscribers(objects, interface)
File "/usr/src/flourish/eggs/zope.component-3.10.0-
py2.7.egg/zope/component/registry.py", line 321, in subscribers
return self.adapters.subscribers(objects, provided)
File "/usr/src/flourish/eggs/zope.interface-3.6.1-py2.7-linux-
x86_64.egg/zope/interface/adapter.py", line 585, in subscribers
subscription(*objects)
File "/usr/src/flourish/eggs/zope.app.appsetup-3.14.0-
py2.7.egg/zope/app/appsetup/bootstrap.py", line 175, in bootStrapSubscriber
zope.event.notify(zope.processlifetime.DatabaseOpenedWithRoot(db))
File "/usr/src/flourish/eggs/zope.event-3.5.0_1-
py2.7.egg/zope/event/__init__.py", line 23, in notify
subscriber(event)
File "/usr/src/flourish/eggs/zope.component-3.10.0-
py2.7.egg/zope/component/event.py", line 24, in dispatch
zope.component.subscribers(event, None)
File "/usr/src/flourish/eggs/zope.component-3.10.0-
py2.7.egg/zope/component/_api.py", line 136, in subscribers
return sitemanager.subscribers(objects, interface)
File "/usr/src/flourish/eggs/zope.component-3.10.0-
py2.7.egg/zope/component/registry.py", line 321, in subscribers
return self.adapters.subscribers(objects, provided)
File "/usr/src/flourish/eggs/zope.interface-3.6.1-py2.7-linux-
x86_64.egg/zope/interface/adapter.py", line 585, in subscribers
subscription(*objects)
File "/usr/src/flourish/eggs/zope.app.generations-3.6.0-
py2.7.egg/zope/app/generations/generations.py", line 521, in
evolveMinimumSubscriber
evolve(event.database, EVOLVEMINIMUM)
File "/usr/src/flourish/eggs/zope.app.generations-3.6.0-
py2.7.egg/zope/app/generations/generations.py", line 506, in evolve
manager.generation)
zope.app.generations.interfaces.UnableToEvolve: (36, u'schooltool', 37)
make: *** [run] Fehler 1
--------------------------------------------------------------------------------------------------------------------
Hi, everybody!
> I wonder why have you encountered this error if you "use schooltool
> every day".
>
> "flourish" series is in development still, so you would be installing
> this version only if you want to help us test that the new user
> interface. It is usable, but we are still fixing important bugs like
> this one.
Some days ago I upgraded to Ubuntu 11.10. After the upgrade schooltool didn't
start up anymore, because of the failing evolving. That's why I installed what
I thought of being the actual version (1.9.1). There are some days left,
because we have still autumn vacations here. But in the next week I will need
it badly again.
So which is the production version for "Oneiric ocelot"? Where should I get
the packages?
I did the compiling as you pointed me to, but the instance could not be
evolved (output see below).
Thank you very much for your support.
Andrej Keiper
------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------ /usr/src/ flourish# make run schooltool- instance instance flourish/ instance/ schooltool. conf flourish/ eggs/ZODB3- 3.9.7-py2. 7-linux- egg/ZODB/ Connection. py", line 851, in setstate _setstate( obj) flourish/ eggs/ZODB3- 3.9.7-py2. 7-linux- egg/ZODB/ Connection. py", line 919, in _setstate _reader. setGhostState( obj, p) flourish/ eggs/ZODB3- 3.9.7-py2. 7-linux- egg/ZODB/ serialize. py", line 630, in setGhostState __setstate_ _(state) flourish/ eggs/zope. component- 3.10.0- zope/component/ persistentregis try.py" , line 40, in __setstate__ _createLookup( ) flourish/ eggs/zope. interface- 3.6.1-py2. 7-linux- egg/zope/ interface/ adapter. py", line 91, in _createLookup s(self) flourish/ eggs/zope. interface- 3.6.1-py2. 7-linux- egg/zope/ interface/ adapter. py", line 439, in __init__ init_extendors( ) flourish/ eggs/zope. interface- 3.6.1-py2. 7-linux- egg/zope/ interface/ adapter. py", line 476, in init_extendors add_extendor( p) flourish/ eggs/zope. interface- 3.6.1-py2. 7-linux- egg/zope/ interface/ adapter. py", line 480, in add_extendor stem' has no attribute '__iro__' flourish/ eggs/zope. app.generations -3.6.0- zope/app/ generations/ generations. py", line 494, in evolve evolve( context, generation) flourish/ eggs/zope. app.generations -3.6.0- zope/app/ generations/ generations. py", line 145, in evolve evolve( context) flourish/ src/schooltool/ generations/ evolve36/ __init_ _.py", ables(app) flourish/ src/schooltool/ generations/ evolve36/ evolve. py", line read(app, BuildContext()) flourish/ src/schooltool/ generations/ evolve36/ timetable_ builders. py", IIntIds) .queryObject( year_int_ id) flourish/ eggs/zope. component- 3.10.0- zope/component/ _api.py" , line 166, in getUtility interface, name, context=context) flourish/ eggs/zope. component- 3.10.0- zope/component/ _api.py" , line 172, in queryUtility context) .queryUtility( interface, name, default) flourish/ eggs/zope. component- 3.10.0- zope/component/ registry. py", line 163, in queryUtility lookup( (), provided, name, default) flourish/ eggs/ZODB3- 3.9.7-py2. 7-linux- egg/ZODB/ Connection. py", line 851, in setstate _setstate( obj) flourish/ eggs/ZODB3- 3.9.7-py2. 7-linux- egg/ZODB/ Connection. py", line 919, in _setstate _reader. setGhostState( obj, p) flourish/ eggs/ZODB3- 3.9.7-py2. 7-linux- egg/ZODB/ serialize. py", line 630, in setGhostState __setstate_ _(state) flourish/ eggs/zope. component- 3.10.0- zope/component/ persistentregis try.py" , line 40, in __setstate__ _createLookup( ) flourish/ eggs/zope. interface- 3.6.1-py2. 7-linux- egg/zope/ interface/ adapter. py", line 91, in _createLookup s(self) flourish/ eggs/zope. interface- 3.6.1-py2. 7-linux- egg/zope/ interface/ adapter. py", line 439, in __init__ init_extendors( ) flourish/ eggs/zope. interface- 3.6.1-py2. 7-linux- egg/zope/ interface/ adapter. py", line 476, in init_extendors add_extendor( p) flourish/ eggs/zope. interface- 3.6.1-py2. 7-linux- egg/zope/ interface/ adapter. py", line 480, in add_extendor stem' has no attribute '__iro__' schooltool- instance" , line 146, in <module> paste.run. main() flourish/ src/schooltool/ paste/run. py", line 120, in main script. command. run(['serve' , conf_file] + extra_options) flourish/ eggs/PasteScrip t-1.7.3- paste/script/ command. py", line 84, in run flourish/ eggs/PasteScrip t-1.7.3- paste/script/ command. py", line 123, in invoke flourish/ eggs/PasteScrip t-1.7.3- paste/script/ command. py", line 218, in run flourish/ eggs/PasteScrip t-1.7.3- paste/script/ serve.py" , line 276, in command to=base, global_conf=vars) flourish/ eggs/PasteScrip t-1.7.3- paste/script/ serve.py" , line 313, in loadapp flourish/ eggs/PasteDeplo y-1.5.0- paste/deploy/ loadwsgi. py", line 247, in loadapp flourish/ eggs/PasteDeplo y-1.5.0- paste/deploy/ loadwsgi. py", line 272, in loadobj flourish/ eggs/PasteDeplo y-1.5.0- paste/deploy/ loadwsgi. py", line 710, in create type.invoke( self) flourish/ eggs/PasteDeplo y-1.5.0- paste/deploy/ loadwsgi. py", line 146, in invoke context. object, context. global_ conf, **context. local_conf) flourish/ eggs/PasteDeplo y-1.5.0- paste/deploy/ util.py" , line 56, in fix_call flourish/ src/schooltool/ paste/main. py", line 48, in app_factory path.join( global_ conf['here' ], config_file)) flourish/ src/schooltool/ paste/main. py", line 37, in __init__ flourish/ src/schooltool/ app/main. py", line 707, in setup DatabaseOpened( db)) flourish/ eggs/zope. event-3. 5.0_1- zope/event/ __init_ _.py", line 23, in notify event) flourish/ eggs/zope. component- 3.10.0- zope/component/ event.py" , line 24, in dispatch component. subscribers( event, None) flourish/ eggs/zope. component- 3.10.0- zope/component/ _api.py" , line 136, in subscribers subscribers( objects, interface) flourish/ eggs/zope. component- 3.10.0- zope/component/ registry. py", line 321, in subscribers subscribers( objects, provided) flourish/ eggs/zope. interface- 3.6.1-py2. 7-linux- egg/zope/ interface/ adapter. py", line 585, in subscribers n(*objects) flourish/ eggs/zope. app.appsetup- 3.14.0- zope/app/ appsetup/ bootstrap. py", line 175, in bootStrapSubscriber event.notify( zope.processlif etime.DatabaseO penedWithRoot( db)) flourish/ eggs/zope. event-3. 5.0_1- zope/event/ __init_ _.py", line 23, in notify event) flourish/ eggs/zope. component- 3.10.0- zope/component/ event.py" , line 24, in dispatch component. subscribers( event, None) flourish/ eggs/zope. component- 3.10.0- zope/component/ _api.py" , line 136, in subscribers subscribers( objects, interface) flourish/ eggs/zope. component- 3.10.0- zope/component/ registry. py", line 321, in subscribers subscribers( objects, provided) flourish/ eggs/zope. interface- 3.6.1-py2. 7-linux- egg/zope/ interface/ adapter. py", line 585, in subscribers n(*objects) flourish/ eggs/zope. app.generations -3.6.0- zope/app/ generations/ generations. py", line 521, in bscriber event.database, EVOLVEMINIMUM) flourish/ eggs/zope. app.generations -3.6.0- zope/app/ generations/ generations. py", line 506, in evolve generation) generations. interfaces. UnableToEvolve: (36, u'schooltool', 37) ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ------- ----
root@aduola:
bin/start-
Reading configuration from /usr/src/
2011-10-20 17:24:58,056 main db: evolving in mode EVOLVEMINIMUM
2011-10-20 17:24:58,057 main db/schooltool: currently at generation 35,
targetting generation 37
2011-10-20 17:24:58,106 Couldn't load state for 0x26
Traceback (most recent call last):
File "/usr/src/
x86_64.
self.
File "/usr/src/
x86_64.
self.
File "/usr/src/
x86_64.
obj.
File "/usr/src/
py2.7.egg/
self.
File "/usr/src/
x86_64.
self._v_lookup = self.LookupClas
File "/usr/src/
x86_64.
self.
File "/usr/src/
x86_64.
self.
File "/usr/src/
x86_64.
for i in provided.__iro__:
AttributeError: type object 'ICustomScoreSy
2011-10-20 17:24:58,111 main db/schooltool: failed to evolve to generation 36
Traceback (most recent call last):
File "/usr/src/
py2.7.egg/
manager.
File "/usr/src/
py2.7.egg/
evolver.
File "/usr/src/
line 37, in evolve
evolveTimet
File "/usr/src/
51, in evolveTimetables
builder.
File
"/usr/src/
line 486, in read
schoolyear = getUtility(
File "/usr/src/
py2.7.egg/
utility = queryUtility(
File "/usr/src/
py2.7.egg/
return getSiteManager(
File "/usr/src/
py2.7.egg/
return self.utilities.
File "/usr/src/
x86_64.
self.
File "/usr/src/
x86_64.
self.
File "/usr/src/
x86_64.
obj.
File "/usr/src/
py2.7.egg/
self.
File "/usr/src/
x86_64.
self._v_lookup = self.LookupClas
File "/usr/src/
x86_64.
self.
File "/usr/src/
x86_64.
self.
File "/usr/src/
x86_64.
for i in provided.__iro__:
AttributeError: type object 'ICustomScoreSy
Traceback (most recent call last):
File "bin/start-
schooltool.
File "/usr/src/
paste.
File "/usr/src/
py2.7.egg/
invoke(command, command_name, options, args[1:])
File "/usr/src/
py2.7.egg/
exit_code = runner.run(args)
File "/usr/src/
py2.7.egg/
result = self.command()
File "/usr/src/
py2.7.egg/
relative_
File "/usr/src/
py2.7.egg/
**kw)
File "/usr/src/
py2.7.egg/
return loadobj(APP, uri, name=name, **kw)
File "/usr/src/
py2.7.egg/
return context.create()
File "/usr/src/
py2.7.egg/
return self.object_
File "/usr/src/
py2.7.egg/
return fix_call(
File "/usr/src/
py2.7.egg/
val = callable(*args, **kw)
File "/usr/src/
schooltool_
os.
File "/usr/src/
db = self.setup(options)
File "/usr/src/
notify(
File "/usr/src/
py2.7.egg/
subscriber(
File "/usr/src/
py2.7.egg/
zope.
File "/usr/src/
py2.7.egg/
return sitemanager.
File "/usr/src/
py2.7.egg/
return self.adapters.
File "/usr/src/
x86_64.
subscriptio
File "/usr/src/
py2.7.egg/
zope.
File "/usr/src/
py2.7.egg/
subscriber(
File "/usr/src/
py2.7.egg/
zope.
File "/usr/src/
py2.7.egg/
return sitemanager.
File "/usr/src/
py2.7.egg/
return self.adapters.
File "/usr/src/
x86_64.
subscriptio
File "/usr/src/
py2.7.egg/
evolveMinimumSu
evolve(
File "/usr/src/
py2.7.egg/
manager.
zope.app.
make: *** [run] Fehler 1
-------