CMDR-Kiel42 / EDMC_SpanshRouter

A plugin for EDMC to make your life easier when using Spansh
47 stars 18 forks source link

Python error upon EDMC startup #20

Closed ghost closed 4 years ago

ghost commented 4 years ago

From %temp%/EDMarketConnector.log on Windows 10, EDMC 3.46, plugin version 3.0.2

loading plugin SpanshRouter from "C:\Users\ue\AppData\Local\EDMarketConnector\plugins\SpanshRouter\load.py" No previously saved route. !! Traceback (most recent call last): !! File "C:\Users\ue\AppData\Local\EDMarketConnector\plugins\SpanshRouter\SpanshRouter\SpanshRouter.py", line 276, in open_last_route !! File "C:\Users\ue\AppData\Local\EDMarketConnector\plugins\SpanshRouter\SpanshRouter\SpanshRouter.py", line 288, in copy_waypoint !! AttributeError: 'NoneType' object has no attribute 'clipboard_clear'

The message "no previously saved route" is strange because there is a route and it is displayed in the UI, and things are working properly.

CMDR-Kiel42 commented 4 years ago

That's odd, from the logs it looks like the "copy to clipboard" feature doesn't work anymore. Are the waypoints properly copied to your clipboard when you run the plugin?

Edit: Can reproduce, will try to fix this today

CMDR-Kiel42 commented 4 years ago

Fixed in this commit. This will be added to the next release.

ghost commented 4 years ago

Yes, the clipboard is still working. Thank you for the quick fix.

CMDR-Kiel42 commented 4 years ago

Fixed in release 3.0.3