CM Helper Help!

Swank

FGM Sergeant
FGM MEMBER
Joined
Jan 26, 2017
Messages
140
Reaction score
107
Location
Dallas, Texas
Turn Rate
3-5 pw
Games
2-4 games.
Email
derek_s@sbcglobal.net
So... my CM Helper is not loading and a window pops up with the following error message.


Traceback (most recent call last):
File "<string>", line 6, in <module>
File "__main__.py", line 128, in <module>
File "__main__cmh__.py", line 125, in <module>
File "controller.py", line 51, in __init__
File "appstate.py", line 52, in __init__
File "permadict.py", line 29, in __init__
File "permadict.py", line 79, in load
ValueError: File not in a supported format


I tried deleting and re-installing but no change.

Any thoughts?

p.s. manually moving files is such a chore.
 

Mad Mike

FGM Lieutenant
FGM MEMBER
Joined
Oct 28, 2011
Messages
1,715
Reaction score
537
Location
München
Turn Rate
6+ pw
Games
5-8 games.
Email
cm2.pbem@gmail.com
Any thoughts?
From another thread: http://www.thefewgoodmen.com/thefgmforum/threads/cm-helper-is-broken-up.25792/

CM Helper sometimes has a problem like the one you described. It happens very seldom (maybe once per year).

To fix this problem, it is usually enough to close CMH and delete the following file (copied from the log you provided in your post):

C:\\Users\\Jaroslav\\AppData\\Roaming\\GreenAsJade\\CMHelper\\AppState.txt

Then restart CMH and it should work again, without any problems. CMH will just create a new AppState.txt when starting (if there is no pre-existing one), so you don't have to worry about deleting it. Worth a try before you begin uninstalling / re-installing everything.


@Shane @Ithikial

Maybe make this a sticky thread, since it keeps being asked regularly?
 
D

Dallmaier

Guest
Small background software using up precious space in the taskbar. :mad: Is there a way to minimize CMH into systray (Win10)?
 

Badger73

FGM SITE OVERSEER
ADMIN
Joined
Oct 18, 2014
Messages
2,801
Reaction score
2,575
Location
Wisconsin USA
Turn Rate
1-2 pw
Games
None.
Email
mvangroll@msn.com
Small background software using up precious space in the taskbar. :mad: Is there a way to minimize CMH into systray (Win10)?
Do you mean the Taskbar (Win10 menu bar on the the bottom of your desktop screen)? If so,
  1. In the folder containing the CMHelper executable (*.exe file), right click on that file exe file name
  2. In the right clicked window menu, move cursor over "Send to".
  3. Select "Desktop" (create shortcut). This creates a CMHelper application icon on your desktop. Move it where you want.
  4. Right click the CMHelp icon created in step #3.
  5. In the right clicked window menu, left click "Pin to Taskbar". This creates a CMHelper icon in your taskbar to maximize or minimize as desired.
Is that the droid you seek?

 
D

Dallmaier

Guest
@Badger73
that only adds the symbol of CMH to the taskbar permanently.
The systray is the right area with the clock.
 

Badger73

FGM SITE OVERSEER
ADMIN
Joined
Oct 18, 2014
Messages
2,801
Reaction score
2,575
Location
Wisconsin USA
Turn Rate
1-2 pw
Games
None.
Email
mvangroll@msn.com
Right. Even though your post said "systray", I wanted to be certain that is indeed what you meant. (I know people who confuse the two.) I think M$osft disabled this kind of System Tray customization with Win10.
The Taskbar may be your only option for customizing visible apps management. Please let us know if you find a way to do this in the System Tray. Good luck.
 

MeatEtr

FGM Lieutenant
FGM MEMBER
Joined
Oct 7, 2011
Messages
1,937
Reaction score
1,155
Location
South Carolina, USA
Turn Rate
6+ pw
Games
5-8 games.
Email
wings76@windstream.net
Where do I download the latest version of CMH? I checked CMMODS III but no luck there. I do have version 1.2.1 but figured there was a newer version somewhere. Last time I tried CMH gave me lots of problems so I stuck with H2HH 2.9.2 ever since.
 

Jolly Olly

FGM Company Sergeant Major
FGM MEMBER
Joined
Jan 20, 2017
Messages
431
Reaction score
469
Location
United States-Georgia
So... my CM Helper is not loading and a window pops up with the following error message.


Traceback (most recent call last):
File "<string>", line 6, in <module>
File "__main__.py", line 128, in <module>
File "__main__cmh__.py", line 125, in <module>
File "controller.py", line 51, in __init__
File "appstate.py", line 52, in __init__
File "permadict.py", line 29, in __init__
File "permadict.py", line 79, in load
ValueError: File not in a supported format


I tried deleting and re-installing but no change.

Any thoughts?

p.s. manually moving files is such a chore.
So....My CMH decided to crap out on me a few weeks ago. Just getting around to trying to get it working again. My log window gives me the exact same message as @Swank posted last year.

I never saw any definitive resolution to this problem. Curious if anyone else has experienced this and, if so, how did they get it fixed. @Swank.....you got anything useful you could share with me?

I have seen the subsequent posts (and seen elsewhere) reference to deleting the Appstate file. Weird thing is, I cannot even seem to find it, especially where it sounds like it should be. The only place I can even see that this particular file even exists is withing a zip file within CM Helper itself.

I've been using CM Helper for over a year now without issues so I am not sure why it has gone buggy on me. I miss it and want it back!!!! Anybody got anything on this?

Thanks much in advance!
 

MOS:96B2P

FGM Sergeant
FGM MEMBER
Joined
Dec 16, 2013
Messages
185
Reaction score
157
reference to deleting the Appstate file. Weird thing is, I cannot even seem to find it, especially where it sounds like it should be. The only place I can even see that this particular file even exists is withing a zip file within CM Helper itself.
I located and deleted the AppState.txt on a PC by the following:

Double Click: This PC icon.

Double Click: Local Disk C

In the search field (top right corner) type: AppState.txt Then hit Enter

A search result list will appear. Highlight AppState.txt (It will also have a txt icon next to it).

Right Click: AppState.txt

Delete: AppState.txt (The AppState.txt file will not disappear from the search list but it has been moved to the recycle bin)

Hope that helps.
 

Swank

FGM Sergeant
FGM MEMBER
Joined
Jan 26, 2017
Messages
140
Reaction score
107
Location
Dallas, Texas
Turn Rate
3-5 pw
Games
2-4 games.
Email
derek_s@sbcglobal.net
I have no special additional insight except that I have referenced these instructions to delete the .txt file on three separate occasions and each time it has worked.
 

chris_au

FGM New Member
FGM MEMBER
Joined
Nov 14, 2017
Messages
15
Reaction score
8
Location
Adelaide Australia
Turn Rate
3-5 pw
Games
2-4 games.
Email
chris@merchant.on.net
make a copy of the appstate.txt file when CMH is working well, and when/if CMH breaks again, overwrite the file with your copy. That should save having to configure all over again
 

Jolly Olly

FGM Company Sergeant Major
FGM MEMBER
Joined
Jan 20, 2017
Messages
431
Reaction score
469
Location
United States-Georgia
I appreciate the feedback guys! Sadly...I have had no luck with fixing this. I've no clue what the problem is.

I've deleted and reinstalled the app multiple times now trying various install locations. The only place the Appstate file appears is within a zip file (called Library I think)....within the CM Helper folder once you have unzipped CM Helper. I hope that makes sense.

I don't recall ever having to unzip a file within an unzipped file before and do not think I did that when originally installing CMH.

Regardless...I have. And subsequently deleted Appstate. That gets me nowhere.

To me it's like the program is not installing correctly when unzip the CMH download. Seems it should install Appstate somewhere on it's own.

I got nuttin! Nuttin I tell ya. Very frustrating.

Any other suggestions? You all know if GAJ is out there answering inquires about issues with CMH?

Thanks again guys for trying to help!
 

Badger73

FGM SITE OVERSEER
ADMIN
Joined
Oct 18, 2014
Messages
2,801
Reaction score
2,575
Location
Wisconsin USA
Turn Rate
1-2 pw
Games
None.
Email
mvangroll@msn.com
Look here on your PC ("C" is the drive where I installed CMHelper - yours may be different) --> C:\Users\"YOURPCUSERNAME"\AppData\Roaming\GreenAsJade\CMHelper
That directory contains the Appstate file to zap.
 
Last edited:

chris_au

FGM New Member
FGM MEMBER
Joined
Nov 14, 2017
Messages
15
Reaction score
8
Location
Adelaide Australia
Turn Rate
3-5 pw
Games
2-4 games.
Email
chris@merchant.on.net
Note that by default the Appdata folder is hidden. To make it visible you will need to enable view hidden files within the view menu of windows explorer.
 

Jolly Olly

FGM Company Sergeant Major
FGM MEMBER
Joined
Jan 20, 2017
Messages
431
Reaction score
469
Location
United States-Georgia
And.......

It's @chris_au for the save!!!!!! Woohoo!!!

Thank you most kindly sir. I was foiled by the old "hidden files" trick.

The problem does seem to be resolved now per everyone's helpful suggestions.

Feeling a bit not too bright for not thinking of that but happy to have Helper back!

:D
 

Peleliu

FGM Private
FGM MEMBER
Joined
Oct 16, 2018
Messages
36
Reaction score
33
Location
United States
Turn Rate
6+ pw
Games
Usually plays single player.
Email
wbboardman@gmail.com
Just messing around with CMH for the first time. It shows I have CMBN 3.10 installed. I actually have 4.0 installed.

Is this a common error? How do I sync CMH with my active game version or do I even need to worry about it?
 

Rujasu

FGM Private
FGM MEMBER
Joined
Aug 3, 2017
Messages
34
Reaction score
21
Location
Finland
Turn Rate
6+ pw
Games
2-4 games.
As long as launching it opens the right game and the saves go into the right incoming and outgoing folders, I don't think it matters. It just moves files around as far as I know.
 
Top