Tornith / CHSplit

A tool to help with score grinds in Clone Hero
GNU General Public License v3.0
8 stars 1 forks source link

"Failed to execute script CHSplit" #7

Open grizzogor opened 4 years ago

grizzogor commented 4 years ago

When launching the app, it brings up a blank CHSplit window (as in, no text telling you to wait until the game starts). After a few seconds, it brings up a window saying "Fatal Error: Failed to execute script CHSplit".

To Reproduce Steps to reproduce the behavior:

  1. If CHSplit is working currently, go into a song, have it paused for an hour to a few hours
  2. It brings up the "Fatal Error"
  3. CHSplit now can't launch properly

Expected behavior Having CHSplit launch properly.

Screenshots https://i.grizz.club/CHSplit_1581909232.png

Desktop Specs and Other Information:

Logs Every launch, it puts this in the latest.log file.

2020-02-16 22:07:17,694  INFO     Manual data request: offset_list
2020-02-16 22:07:33,052  INFO     State: pregame, call: on_exit
2020-02-16 22:07:33,128  INFO     State: pregame, call: on_exit
Tornith commented 4 years ago

Interesting, sounds like the backup doesn't get properly shut down. I'll look into once I can

Jademalo commented 4 years ago

Having the same issue, here's my log and a screenshot

image


2020-02-27 13:39:45,259  INFO     Main loop started
2020-02-27 13:39:45,259  INFO     State: preinit, call: on_entry
2020-02-27 13:39:45,404  INFO     Manual data request: state
2020-02-27 13:39:45,461  INFO     State: preinit, call: on_exit
2020-02-27 13:39:45,461  INFO     State: init, call: on_entry
2020-02-27 13:39:45,545  INFO     Comparing offset file (23_2_2) version
2020-02-27 13:39:45,553  INFO     Manual data request: offset_list
2020-02-27 13:39:46,803  INFO     Successfully attached to the game process. Base address: 7ff775da0000
2020-02-27 13:39:46,803  INFO     State: init, call: on_exit
2020-02-27 13:39:46,803  INFO     State: menu, call: on_entry
2020-02-27 13:39:59,285  INFO     State: menu, call: on_exit
2020-02-27 13:39:59,285  INFO     State: pregame, call: on_entry
2020-02-27 13:39:59,394  INFO     Song info: {'modifiers': 1, 'name': u'Chasing Cars', 'difficulty': 3, 'instrument': 0, 'length': 273.41700680272106, 'chart_path': u'g:\\clone hero\\songs\\c3\\songs\\snow patrol - chasing cars/notes.mid', 'speed': 100}
2020-02-27 13:39:59,730  INFO     Chart hash: NGE4MjQxMzZkZmQwM2Y0NTk3N2ZiNDgyMzcwY2IwZDg=
2020-02-27 13:39:59,730  INFO     Chart sections: [(3840, u'intro'), (7680, u'verse_1a'), (23040, u'verse_1b'), (38400, u'chorus_1'), (53760, u'verse_2a'), (69120, u'verse_2b'), (84480, u'chorus_2a'), (99840, u'chorus_2b'), (115200, u'alt_verse_a'), (130560, u'alt_verse_b'), (145920, u'chorus_3a'), (161280, u'chorus_3b'), (176640, u'chorus_3c'), (192000, u'chorus_3d'), (207360, u'outro_chorus')]
2020-02-27 13:39:59,730  INFO     State: pregame, call: on_exit
2020-02-27 13:39:59,730  INFO     State: game, call: on_entry
2020-02-27 13:40:10,464  INFO     Split: 3840 with score 1150
2020-02-27 13:40:29,039  INFO     Split: 7680 with score 13350
2020-02-27 13:40:47,415  INFO     Split: 23040 with score 26350
2020-02-27 13:41:05,898  INFO     Split: 38400 with score 64550
2020-02-27 13:41:24,365  INFO     Split: 53760 with score 77350
2020-02-27 13:41:42,854  INFO     Split: 69120 with score 90350
2020-02-27 13:42:01,338  INFO     Split: 84480 with score 128750
2020-02-27 13:42:19,724  INFO     Split: 99840 with score 154150
2020-02-27 13:42:38,184  INFO     Split: 115200 with score 172550
2020-02-27 13:42:56,661  INFO     Split: 130560 with score 203950
2020-02-27 13:43:15,134  INFO     Split: 145920 with score 242350
2020-02-27 13:43:33,611  INFO     Split: 161280 with score 284950
2020-02-27 13:43:52,086  INFO     Split: 176640 with score 334150
2020-02-27 13:44:10,555  INFO     Split: 192000 with score 369750
2020-02-27 13:44:35,240  ERROR    Couldn't retrieve game data: Score
2020-02-27 13:44:35,240  INFO     State: game, call: on_exit
2020-02-27 13:44:35,240  INFO     State: endscreen, call: on_entry
2020-02-27 13:44:35,240  INFO     Split: 207360 with score 382350
2020-02-27 13:44:35,242  INFO     Successfully saved splits file at G:\CHSplit/splits/ChasingCars_100.NGE4MjQx.splits
2020-02-27 13:44:46,776  INFO     State: endscreen, call: on_exit
2020-02-27 13:44:46,776  INFO     Clearing song data...
2020-02-27 13:44:46,776  INFO     Clearing game data...
2020-02-27 13:44:46,776  INFO     Clearing split file data...
2020-02-27 13:44:46,776  INFO     State: menu, call: on_entry
2020-02-27 13:44:53,141  INFO     State: menu, call: on_exit
2020-02-27 13:44:53,141  INFO     State: pregame, call: on_entry
2020-02-27 13:44:53,246  INFO     Song info: {'modifiers': 1, 'name': u'Flashbulb Eyes', 'difficulty': 3, 'instrument': 0, 'length': 165.60555555555555, 'chart_path': u'g:\\clone hero\\songs\\c3\\songs\\arcade fire - flashbulb eyes/notes.mid', 'speed': 100}
2020-02-27 14:04:41,142  INFO     State: pregame, call: on_exit
2020-02-27 14:04:41,171  INFO     State: pregame, call: on_exit
2020-02-27 14:04:51,752  INFO     Manual data request: state
2020-02-27 14:04:51,779  INFO     Manual data request: offset_list
2020-02-27 14:18:31,634  INFO     State: pregame, call: on_exit
2020-02-27 14:18:31,673  INFO     State: pregame, call: on_exit
2020-02-27 14:18:48,391  INFO     Manual data request: state
2020-02-27 14:18:48,417  INFO     Manual data request: offset_list```

It just randomly went blank after playing a song, noticed it wasn't there on the song I did after chasing cars. After that, it just got stuck and my PC needs a reboot to fix it.
paulogeneses commented 4 years ago

I just had the same problem and got it solved. Maybe this could help others:

Look in Task Manager for processes related to CHSplit still running (probably they got lost somewhere):

image

Also check the "Details" tab just to make sure: image

Close them all.

Also I cleaned the temp folder (there's how I noticed those processes were still running, cause I couldn't delete the files).

  1. Press WindowsKey+R and type %temp%.
  2. Press Enter.
  3. Select all files in that folder and press Del

Note: Windows will probably fail to delete some files in that folder saying that they are in use. Just press ignore for all of them.

Warning: although unusual, some program may fail after you do this. I didn't have any problems, but if anything happens with you, restart the computer and you should be fine.

PS.: I don't know if the problem resides in those process still running or because of some unfinished file located in temp folder (in that case, I think that the unfinished file causes errors in the program when it tries to read them. I don't know).