schooltool-developers team mailing list archive
-
schooltool-developers team
-
Mailing list archive
-
Message #00374
Re: SchoolTool fails on Ubuntu upgrade to Natty
It seems that the other problem that Filip and I both get is not being
able to do a make run because of a not fond error on paste.ini. After
copying the file from another instance, we both were able to proceed,
but that is definitely a bug in the build process, and it is not only
on natty. Please advise.
On Mon, May 2, 2011 at 7:58 PM, Filip Sufitchi <fsufitchi@xxxxxxxxx> wrote:
> The traceback is below. Something about i18n failing? I am currently
> re-running make after running "make realclean". I will update with the
> results from that when it finishes.
>
>> fsufitch@callisto:~/schooltool.courseinfo$ make run
>> bin/start-schooltool-instance instance
>> Reading configuration from
>> /home/fsufitch/schooltool.courseinfo/instance/schooltool.conf
>> Traceback (most recent call last):
>> File "bin/start-schooltool-instance", line 162, in <module>
>> schooltool.paste.run.main()
>> File
>> "/home/fsufitch/schooltool.courseinfo/eggs/schooltool-1.5.4dev_r2748-py2.6.egg/schooltool/paste/run.py",
>> line 73, in main
>> paste.script.command.run(['serve', conf_file] + extra_options)
>> File
>> "/home/fsufitch/schooltool.courseinfo/eggs/PasteScript-1.7.3-py2.6.egg/paste/script/command.py",
>> line 84, in run
>> invoke(command, command_name, options, args[1:])
>> File
>> "/home/fsufitch/schooltool.courseinfo/eggs/PasteScript-1.7.3-py2.6.egg/paste/script/command.py",
>> line 123, in invoke
>> exit_code = runner.run(args)
>> File
>> "/home/fsufitch/schooltool.courseinfo/eggs/PasteScript-1.7.3-py2.6.egg/paste/script/command.py",
>> line 218, in run
>> result = self.command()
>> File
>> "/home/fsufitch/schooltool.courseinfo/eggs/PasteScript-1.7.3-py2.6.egg/paste/script/serve.py",
>> line 276, in command
>> relative_to=base, global_conf=vars)
>> File
>> "/home/fsufitch/schooltool.courseinfo/eggs/PasteScript-1.7.3-py2.6.egg/paste/script/serve.py",
>> line 313, in loadapp
>> **kw)
>> File
>> "/home/fsufitch/schooltool.courseinfo/eggs/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/loadwsgi.py",
>> line 204, in loadapp
>> return loadobj(APP, uri, name=name, **kw)
>> File
>> "/home/fsufitch/schooltool.courseinfo/eggs/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/loadwsgi.py",
>> line 225, in loadobj
>> return context.create()
>> File
>> "/home/fsufitch/schooltool.courseinfo/eggs/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/loadwsgi.py",
>> line 625, in create
>> return self.object_type.invoke(self)
>> File
>> "/home/fsufitch/schooltool.courseinfo/eggs/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/loadwsgi.py",
>> line 110, in invoke
>> return fix_call(context.object, context.global_conf,
>> **context.local_conf)
>> File
>> "/home/fsufitch/schooltool.courseinfo/eggs/PasteDeploy-1.3.3-py2.6.egg/paste/deploy/util/fixtypeerror.py",
>> line 57, in fix_call
>> val = callable(*args, **kw)
>> File
>> "/home/fsufitch/schooltool.courseinfo/eggs/schooltool-1.5.4dev_r2748-py2.6.egg/schooltool/paste/main.py",
>> line 48, in schooltool_app_factory
>> os.path.join(global_conf['here'], config_file))
>> File
>> "/home/fsufitch/schooltool.courseinfo/eggs/schooltool-1.5.4dev_r2748-py2.6.egg/schooltool/paste/main.py",
>> line 37, in __init__
>> db = self.setup(options)
>> File
>> "/home/fsufitch/schooltool.courseinfo/eggs/schooltool-1.5.4dev_r2748-py2.6.egg/schooltool/app/main.py",
>> line 690, in setup
>> self.configure(options)
>> File
>> "/home/fsufitch/schooltool.courseinfo/eggs/schooltool-1.5.4dev_r2748-py2.6.egg/schooltool/app/main.py",
>> line 517, in configure
>> self.siteConfigFile, context=context)
>> File
>> "/home/fsufitch/schooltool.courseinfo/eggs/zope.configuration-3.7.4-py2.6.egg/zope/configuration/xmlconfig.py",
>> line 649, in file
>> include(context, name, package)
>> File
>> "/home/fsufitch/schooltool.courseinfo/eggs/zope.configuration-3.7.4-py2.6.egg/zope/configuration/xmlconfig.py",
>> line 548, in include
>> processxmlfile(f, context)
>> File
>> "/home/fsufitch/schooltool.courseinfo/eggs/zope.configuration-3.7.4-py2.6.egg/zope/configuration/xmlconfig.py",
>> line 380, in processxmlfile
>> parser.parse(src)
>> File
>> "/home/fsufitch/schooltool.courseinfo/python/lib/python2.6/xml/sax/expatreader.py",
>> line 107, in parse
>> xmlreader.IncrementalParser.parse(self, source)
>> File
>> "/home/fsufitch/schooltool.courseinfo/python/lib/python2.6/xml/sax/xmlreader.py",
>> line 123, in parse
>> self.feed(buffer)
>> File
>> "/home/fsufitch/schooltool.courseinfo/python/lib/python2.6/xml/sax/expatreader.py",
>> line 207, in feed
>> self._parser.Parse(data, isFinal)
>> File
>> "/home/fsufitch/schooltool.courseinfo/python/lib/python2.6/xml/sax/expatreader.py",
>> line 349, in end_element_ns
>> self._cont_handler.endElementNS(pair, None)
>> File
>> "/home/fsufitch/schooltool.courseinfo/eggs/zope.configuration-3.7.4-py2.6.egg/zope/configuration/xmlconfig.py",
>> line 359, in endElementNS
>> self.context.end()
>> File
>> "/home/fsufitch/schooltool.courseinfo/eggs/zope.configuration-3.7.4-py2.6.egg/zope/configuration/config.py",
>> line 558, in end
>> self.stack.pop().finish()
>> File
>> "/home/fsufitch/schooltool.courseinfo/eggs/zope.configuration-3.7.4-py2.6.egg/zope/configuration/config.py",
>> line 706, in finish
>> actions = self.handler(context, **args)
>> File
>> "/home/fsufitch/schooltool.courseinfo/eggs/zope.configuration-3.7.4-py2.6.egg/zope/configuration/xmlconfig.py",
>> line 548, in include
>> processxmlfile(f, context)
>> File
>> "/home/fsufitch/schooltool.courseinfo/eggs/zope.configuration-3.7.4-py2.6.egg/zope/configuration/xmlconfig.py",
>> line 380, in processxmlfile
>> parser.parse(src)
>> File
>> "/home/fsufitch/schooltool.courseinfo/python/lib/python2.6/xml/sax/expatreader.py",
>> line 107, in parse
>> xmlreader.IncrementalParser.parse(self, source)
>> File
>> "/home/fsufitch/schooltool.courseinfo/python/lib/python2.6/xml/sax/xmlreader.py",
>> line 123, in parse
>> self.feed(buffer)
>> File
>> "/home/fsufitch/schooltool.courseinfo/python/lib/python2.6/xml/sax/expatreader.py",
>> line 207, in feed
>> self._parser.Parse(data, isFinal)
>> File
>> "/home/fsufitch/schooltool.courseinfo/python/lib/python2.6/xml/sax/expatreader.py",
>> line 349, in end_element_ns
>> self._cont_handler.endElementNS(pair, None)
>> File
>> "/home/fsufitch/schooltool.courseinfo/eggs/zope.configuration-3.7.4-py2.6.egg/zope/configuration/xmlconfig.py",
>> line 359, in endElementNS
>> self.context.end()
>> File
>> "/home/fsufitch/schooltool.courseinfo/eggs/zope.configuration-3.7.4-py2.6.egg/zope/configuration/config.py",
>> line 558, in end
>> self.stack.pop().finish()
>> File
>> "/home/fsufitch/schooltool.courseinfo/eggs/zope.configuration-3.7.4-py2.6.egg/zope/configuration/config.py",
>> line 706, in finish
>> actions = self.handler(context, **args)
>> File
>> "/home/fsufitch/schooltool.courseinfo/eggs/zope.configuration-3.7.4-py2.6.egg/zope/configuration/xmlconfig.py",
>> line 548, in include
>> processxmlfile(f, context)
>> File
>> "/home/fsufitch/schooltool.courseinfo/eggs/zope.configuration-3.7.4-py2.6.egg/zope/configuration/xmlconfig.py",
>> line 380, in processxmlfile
>> parser.parse(src)
>> File
>> "/home/fsufitch/schooltool.courseinfo/python/lib/python2.6/xml/sax/expatreader.py",
>> line 107, in parse
>> xmlreader.IncrementalParser.parse(self, source)
>> File
>> "/home/fsufitch/schooltool.courseinfo/python/lib/python2.6/xml/sax/xmlreader.py",
>> line 123, in parse
>> self.feed(buffer)
>> File
>> "/home/fsufitch/schooltool.courseinfo/python/lib/python2.6/xml/sax/expatreader.py",
>> line 207, in feed
>> self._parser.Parse(data, isFinal)
>> File
>> "/home/fsufitch/schooltool.courseinfo/python/lib/python2.6/xml/sax/expatreader.py",
>> line 349, in end_element_ns
>> self._cont_handler.endElementNS(pair, None)
>> File
>> "/home/fsufitch/schooltool.courseinfo/eggs/zope.configuration-3.7.4-py2.6.egg/zope/configuration/xmlconfig.py",
>> line 359, in endElementNS
>> self.context.end()
>> File
>> "/home/fsufitch/schooltool.courseinfo/eggs/zope.configuration-3.7.4-py2.6.egg/zope/configuration/config.py",
>> line 558, in end
>> self.stack.pop().finish()
>> File
>> "/home/fsufitch/schooltool.courseinfo/eggs/zope.configuration-3.7.4-py2.6.egg/zope/configuration/config.py",
>> line 705, in finish
>> args = toargs(context, *self.argdata)
>> File
>> "/home/fsufitch/schooltool.courseinfo/eggs/zope.configuration-3.7.4-py2.6.egg/zope/configuration/config.py",
>> line 1397, in toargs
>> args[str(name)] = field.fromUnicode(s)
>> File
>> "/home/fsufitch/schooltool.courseinfo/eggs/zope.configuration-3.7.4-py2.6.egg/zope/configuration/fields.py",
>> line 227, in fromUnicode
>> v = vt.fromUnicode(s)
>> File
>> "/home/fsufitch/schooltool.courseinfo/eggs/zope.configuration-3.7.4-py2.6.egg/zope/configuration/fields.py",
>> line 137, in fromUnicode
>> value = self.context.resolve(name)
>> File
>> "/home/fsufitch/schooltool.courseinfo/eggs/zope.configuration-3.7.4-py2.6.egg/zope/configuration/config.py",
>> line 179, in resolve
>> mod = __import__(mname, *_import_chickens)
>> File
>> "/home/fsufitch/schooltool.courseinfo/eggs/zope.ucol-1.0.2-py2.6-linux-i686.egg/zope/ucol/__init__.py",
>> line 21, in <module>
>> from _zope_ucol import Collator
>> zope.configuration.xmlconfig.ZopeXMLConfigurationError: File
>> "/home/fsufitch/schooltool.courseinfo/instance/school.zcml", line 4.2-4.44
>> ZopeXMLConfigurationError: File
>> "/home/fsufitch/schooltool.courseinfo/eggs/schooltool-1.5.4dev_r2748-py2.6.egg/schooltool/stapp2007/configure.zcml",
>> line 8.2-8.41
>> ZopeXMLConfigurationError: File
>> "/home/fsufitch/schooltool.courseinfo/eggs/schooltool-1.5.4dev_r2748-py2.6.egg/schooltool/common/configure.zcml",
>> line 37.2-41.8
>> ImportError: libicui18n.so.42: cannot open shared object file: No such
>> file or directory
>> make: *** [run] Error 1
>
>
> Filip Sufitchi
>
> http://www.opensourcenerd.com
>
> _______________________________________________
> Mailing list: https://launchpad.net/~schooltool-developers
> Post to : schooltool-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~schooltool-developers
> More help : https://help.launchpad.net/ListHelp
>
>
References