Exception during startup
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
arte +7 recorder |
New
|
Undecided
|
Unassigned |
Bug Description
Hello,
using trunk version of arte+7recorder branch, on debian wheezy I get an unhandled exception :
--8<---
Traceback (most recent call last):
File "arte7recorder.py", line 493, in <module>
app = GUI()
File "arte7recorder.py", line 174, in __init__
self.
File "arte7recorder.py", line 428, in dl_resume
data_time = self.dureeRE.
AttributeError: 'NoneType' object has no attribute 'group'
--8<---
without looking for root cause, I've corrected the problem by modifying lignes 428+ of arte7recorder.py :
--8<---
try:
data_time = self.dureeRE.
except:
data_time = ""
--8<---
with this ugly correction everything seems to work well.
I have the same problem on Ubuntu 11.10 and tried your workaround, but after editing the lines it shows me the error:
------- ------- ------- ------- ------- ------- ------- ------- --
File "arte7recorder.py", line 422 ------- ------- ------- ------- ------- ------- ------- --
try:
^
IndentationError: unindent does not match any outer indentation level
-------
How does your code looks before and behind the posted lines?