Skip to content
This repository was archived by the owner on Jan 29, 2018. It is now read-only.

Errors in extension are only detected in last loaded extension #3

Open
CyrilleB79 opened this issue Feb 21, 2016 · 0 comments
Open

Comments

@CyrilleB79
Copy link

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.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant