First Time Wizard fails when there is no internet connection

Bug #738706 reported by Andreas Preikschat
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenLP
Fix Released
Critical
Unassigned

Bug Description

Hello

System does not matter, was able to reproduce on XP as well as on xubuntu.

When there is no internet connection while running the first time wizard, the exception dialog opens with a traceback [1]. If you close the exception dialog, openlp will crash/close. There is no way around this, next time you run openlp the wizard starts again. The only way to pass this is to create and set the "has run wizard" to true.

Cheers

log: http://pastebin.com/vTXPb5aR

[1]
Traceback (most recent call last):
  File "openlp.pyw", line 298, in <module>
    main()
  File "openlp.pyw", line 292, in main
    sys.exit(app.run())
  File "openlp.pyw", line 195, in run
    self.mainWindow.firstTime()
  File "/home/andreas/Projekte/openlp/trunk/openlp/core/ui/mainwindow.py", line 683, in firstTime
    plugin.firstTime()
  File "/home/andreas/Projekte/openlp/trunk/openlp/plugins/songs/songsplugin.py", line 234, in firstTime
    for sfile in os.listdir(db_dir):
OSError: [Errno 2] Datei oder Verzeichnis nicht gefunden: '/tmp/openlp'

Related branches

Changed in openlp:
assignee: Raoul Snyman (raoul-snyman) → Andreas Preikschat (googol-hush)
status: Confirmed → Fix Committed
Changed in openlp:
status: Fix Committed → In Progress
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.