Comment 0 for bug 418859

Revision history for this message
Frank Zwart (fzwart) wrote :

Package: http://edge.launchpad.net/lottanzb/0.5/0.4.95/+download/lottanzb_0.4.95-1_all.deb
Platform: Ubunty Jaunty Jackalope

I upgraded from lottanzb 0.4.1 to 0.4.95, and ran into a problem. Lottanzb wouldn't start up, because the directory /home/<user>/.local/lottanzb/plugins did not exist. Lottanzb hangs, displaying the error (on console startup)

Traceback (most recent call last):
  File "/usr/bin/lottanzb", line 7, in <module>
    app.run()
  File "/var/lib/python-support/python2.6/lottanzb/core.py", line 355, in run
    sys.exit(self.main(sys.argv))
  File "/var/lib/python-support/python2.6/lottanzb/core.py", line 324, in main
    self.launch()
  File "/var/lib/python-support/python2.6/lottanzb/core.py", line 188, in launch
    self.plugin_manager = PluginManager(self, self.config.plugins)
  File "/var/lib/python-support/python2.6/lottanzb/plugins/__init__.py", line 544, in __init__
    self._find_plugins()
  File "/var/lib/python-support/python2.6/lottanzb/plugins/__init__.py", line 550, in _find_plugins
    for name in listdir(path):
OSError: [Errno 2] No such file or directory: '/home/frank/.local/share/lottanzb/plugins'

Easily worked around by manually creating the plugins directory.