← Back to team overview

openlp-core team mailing list archive

[Bug 706202] [NEW] Available check of BaseDirectory dosen't catch all calls

 

Public bug reported:

The import of BaseDirectory fails, but it is still called. So openlp
dosen't start

Traceback (most recent call last):
  File "Qt/OpenLP/trunk/openlp.pyw", line 283, in <module>
    main()
  File "Qt/OpenLP/trunk/openlp.pyw", line 245, in main
    log_path = AppLocation.get_directory(AppLocation.CacheDir)
  File "/home/meinert/Qt/OpenLP/trunk/openlp/core/utils/__init__.py", line 148, in get_directory
    os.path.join(BaseDirectory.xdg_cache_home, u'openlp'),
NameError: global name 'BaseDirectory' is not defined

** Affects: openlp
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of OpenLP
Core, which is subscribed to OpenLP.
https://bugs.launchpad.net/bugs/706202

Title:
  Available check of BaseDirectory dosen't catch all calls

Status in OpenLP - Worship Presentation Software:
  New

Bug description:
  The import of BaseDirectory fails, but it is still called. So openlp
  dosen't start

  Traceback (most recent call last):
    File "Qt/OpenLP/trunk/openlp.pyw", line 283, in <module>
      main()
    File "Qt/OpenLP/trunk/openlp.pyw", line 245, in main
      log_path = AppLocation.get_directory(AppLocation.CacheDir)
    File "/home/meinert/Qt/OpenLP/trunk/openlp/core/utils/__init__.py", line 148, in get_directory
      os.path.join(BaseDirectory.xdg_cache_home, u'openlp'),
  NameError: global name 'BaseDirectory' is not defined





Follow ups

References