canonn-science / EDMC-Canonn

Project Athens: EDMC plugin to automatically collect accurate science data from the galaxy and coordinate missions
GNU General Public License v3.0
82 stars 12 forks source link

Release: Fetching... doesn't go away #19

Closed NoFoolLikeOne closed 5 years ago

NoFoolLikeOne commented 5 years ago

What version are you running 1.7.2

Describe the bug Under some conditions the release section says fetching and doesn't update

To Reproduce

Unknown

Screenshots If applicable, add screenshots to help explain your problem. screenshot

NoFoolLikeOne commented 5 years ago

I think this should be addressed, but let's see

NoFoolLikeOne commented 5 years ago

Still recieving some reports of this. So keeping open

ghost commented 5 years ago

Having this issue with both 1.9.0 and 1.9.1.` Have debug enabled, EDMC log shows:


loading plugin EDSM-RSE from "C:\Users\ue\AppData\Local\EDMarketConnector\plugins\EDSM-RSE\load.py"
loading plugin huttonhelper from "C:\Users\ue\AppData\Local\EDMarketConnector\plugins\huttonhelper\load.py"
2019-03-26 20:55:20.951000 [EDMC-Canonn.1.9.1] Release: UpdateThread
200 GET http://forthemug.com:4567/news.json/0bb99a8a-b602-4191-b483-aa59a7e8f626 ms=227

200 GET http://hot.forthemug.com/live_plugin_version.json ms=189

2019-03-26 20:55:22.017000 [EDMC-Canonn.1.9.1] Latest is null
Exception in Tkinter callback
Traceback (most recent call last):
  File "Tkinter.pyo", line 1541, in __call__
  File "Tkinter.pyo", line 592, in callit
  File "C:\Users\ue\AppData\Local\EDMarketConnector\plugins\EDMC-Canonn-1.9.1\canonn\release.py", line 156, in release_update
AttributeError: 'str' object has no attribute 'after'
2019-03-26 20:55:22.666000 [EDMC-Canonn.1.9.1] latest release downloaded
2019-03-26 20:55:23.791000 [EDMC-Canonn.1.9.1] sending client report2019-03-26 20:55:23.791000 [EDMC-Canonn.1.9.1] Patrol download cycle commencing

2019-03-26 20:55:23.793000 [EDMC-Canonn.1.9.1] Patrol: UpdateThread
2019-03-26 20:55:23.793000 [EDMC-Canonn.1.9.1] Download Patrol Data2019-03-26 20:55:23.793000 [EDMC-Canonn.1.9.1] Refresshing Patrol (StartUp)```

(and yes, the new lines after "sending client report" and "Download Patrol Data" are missing in the original log already
NoFoolLikeOne commented 5 years ago

Perfect! That is just what I needed!