perryhuynh / kcauto

kcauto, the successor to kancolle-auto, a Kantai Collection (Kancolle) bot/automation tool
GNU General Public License v3.0
68 stars 23 forks source link

Expeditions not being refreshed after being sent out #437

Open 1Azami1 opened 4 years ago

1Azami1 commented 4 years ago

Please make sure you are on the latest version of kcauto, and that there is not already a ticket open for your issue.

Please remove sections of this template you do not find relevant when creating your ticket.

Environment details

Issue variability

Is the issue consistent (can be reproduced consistently) or is it intermittent (only happens sometimes)?: Consistent

Issue

As the title says. Kcauto does not refresh expeditions after sending them out. It sends them out just once after the start up then does nothing whatsoever even though the expeditions are coming back.

Also it is interesting to point out that kcauto itself doesn't stop or crash, it merely does nothing but is still showing up as running.

Log

Irrelevant, nothing unusual shows up in the logs, it just stops
mrmin123 commented 4 years ago

Are any other modules active besides Expedition?

1Azami1 commented 4 years ago

Expedition is the only module active

1Azami1 commented 4 years ago

yes

1Azami1 commented 4 years ago

I guess this shall remain unanswered forevermore

lhc-clover commented 4 years ago

I also have that problem. And I think I found something might help. Looper in kcauto_wrapper.py supposed to be a timer to check status per 20s, but it stuck when run into Log.log_success(self.rsc) (stats_core.py:103).

Functioning normally by commenting that line.

I will test it for a while. I use Win7 in Parallels by the way.

lhc-clover commented 4 years ago

Oh, it seems to be caused by the char Δ in rsc.py. I'm not good at python, please check this when necessary.