← Back to team overview

lottanzb team mailing list archive

[Bug 425154] Re: LottaNZB fails to launch on a fresh installation due to missing directory

 

** Changed in: lottanzb
       Status: Fix Committed => Fix Released

-- 
LottaNZB fails to launch on a fresh installation due to missing directory
https://bugs.launchpad.net/bugs/425154
You received this bug notification because you are a member of LottaNZB
Development Team, which is subscribed to LottaNZB.

Status in LottaNZB • Automated Usenet Client: Fix Released

Bug description:
Reported by Marcel de Vries:

"LottaNZB 0.5 fails to start. It can't find ~/.local/share/lottanzb. Creating the directories fixes it.

According to Synaptic I'm running LottaNZB 0.5-1. If I remove lottanzb from ~/.local/share/ it starts flawless. But if I remove either ~/.local or ~/.local/share it doesn't.

---
Traceback (most recent call last):
  File "/usr/bin/lottanzb", line 6, in <module>
    app = App()
  File "/var/lib/python-support/python2.6/lottanzb/util.py", line 59, in __call__
    mcs.__instance = GObjectMeta.__call__(mcs, *args, **kwargs)
  File "/var/lib/python-support/python2.6/lottanzb/core.py", line 113, in __init__
    self.setup_resources()
  File "/var/lib/python-support/python2.6/lottanzb/core.py", line 128, in setup_resources
    resources.create_user_dirs()
  File "/var/lib/python-support/python2.6/lottanzb/resources/__init__.py", line 62, in create_user_dirs
    mkdir(directory)
OSError: [Errno 2] No such file or directory: '/home/xxxxxxxx/.local/share/lottanzb'
---

As you can see it does output ~/.local/share/lottanzb and that is what I saw. But it's just ~/.local and ~/.local/share."