Actually, my point still stands. An exception dialog should not show up,
we should inform the user of the problem instead.

** Changed in: openlp
       Status: Won't Fix => Confirmed

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

Title:
  Not Handling OSErrors

Status in OpenLP:
  Confirmed

Bug description:
  We don't handle OSErrors. Things like "No space left on device" or
  "Permission denied (read only file)".

  
  Traceback (most recent call last):
    File "openlp/core/ui/servicemanager.py", line 720, in decide_save_method
    File "openlp/core/ui/servicemanager.py", line 497, in save_file
    File "tempfile.py", line 278, in mkstemp
    File "tempfile.py", line 207, in _mkstemp_inner
  OSError: [Errno 28] No space left on device: 
'/var/folders/j2/wmnnfhhn7j32slfp0t7zfy6h0000gn/T/openlp_rap_a2ly.osz'

  
  Traceback (most recent call last):
    File 
"D:\OpenLP_Development\OpenLP_Code\2.2\openlp\core\ui\servicemanager.py", line 
723, in decide_save_method
    File 
"D:\OpenLP_Development\OpenLP_Code\2.2\openlp\core\ui\servicemanager.py", line 
662, in save_local_file
    File "c:\Python33\lib\shutil.py", line 227, in copy
    File "c:\Python33\lib\shutil.py", line 110, in copyfile
  PermissionError: [Errno 13] Permission denied: 
'C:\\Users\\NCF-AV\\Documents\\OpenLP\\Services\\(template).oszl'

To manage notifications about this bug go to:
https://bugs.launchpad.net/openlp/+bug/1650910/+subscriptions

_______________________________________________
Mailing list: https://launchpad.net/~openlp-core
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~openlp-core
More help   : https://help.launchpad.net/ListHelp

Reply via email to