qtnc/6pad2

Errors in extension are only detected in last loaded extension

Opened this issue · 0 comments

When 6pad++.ini file has two or more lines to specify extensions, only the last extension’s errors are detected and displayed in the python console.
Example :
If 6pad++.ini has the following lines :
extension=test1.py
extension=test2.py

Let’s say that test1 has the following code :

Beginning of test1.py

raise Exception('This is an error in test1')
import sixpad
sixpad.say('Message not spoken')

end of test1.py

And let’s say that the code of test2.py is the following :

Beginning of test2.py

import sixpad
sixpad.say('hello world')

end of test2.py

Then the error raised in test1.py will not be displayed in the console whereas it should.