NetLogo / Python-Extension

Python extension for NetLogo
26 stars 15 forks source link

Improve error messages when Python path is wrong. #18

Closed qiemem closed 4 years ago

qiemem commented 4 years ago

This significantly improves the error messages when the Python path is configured incorrectly. Previously, the message erroneously stated that there was a bug in the extension. Now, the extension distinguishes between several problematic cases:

The error message also supplies a tip for how to fix. Finally, the error message for when you supply an executable but it's not Python was improved.

Tested each case manually (though only on Linux).