scottrice / Ice

Application to automatically add ROMs to Steam
http://scottrice.github.io/Ice/
MIT License
835 stars 96 forks source link

invalid literal for int() with base 10: 'anonymous' #282

Open TmB2084 opened 9 years ago

TmB2084 commented 9 years ago

What's the problem? I don't understand it. ICE works not longer for me. :(

[05/04/15 20:00:51] =========================Starting Ice [05/04/15 20:00:51] Detected Emulator: VisualBoyAdvance [05/04/15 20:00:51] Detected Emulator: Project64 [05/04/15 20:00:51] Detected Emulator: ZSNES [05/04/15 20:00:51] Emulator '' not found for Nintendo DS. Ignoring [05/04/15 20:00:51] Emulator '' not found for Playstation 2. Ignoring [05/04/15 20:00:51] Emulator '' not found for Playstation 1. Ignoring [05/04/15 20:00:51] Emulator '' not found for Nintendo Entertainment System. Ignoring [05/04/15 20:00:51] Emulator '' not found for Sega Dreamcast. Ignoring [05/04/15 20:00:51] Emulator '' not found for Sega Genesis. Ignoring [05/04/15 20:00:51] Emulator '' not found for Nintendo Gamecube. Ignoring [05/04/15 20:00:52] Emulator '' not found for Nintendo Wii. Ignoring [05/04/15 20:00:52] Detected Console: Super Nintendo => ZSNES [05/04/15 20:00:52] Detected Console: Gameboy Advance => VisualBoyAdvance [05/04/15 20:00:52] Detected Console: Nintendo 64 => Project64 [05/04/15 20:00:52] Detected Console: Nintendo Gameboy => VisualBoyAdvance [05/04/15 20:00:52] #################################### [05/04/15 20:00:52] An Error has occurred: [05/04/15 20:00:52] invalid literal for int() with base 10: 'anonymous' Traceback (most recent call last): File "", line 45, in File "", line 24, in main File "c:\Users\Scott.Scott-PC\Development\Projects\Ice\build\ice\out00-PYZ.pyz\ice.steam_user_manager", line 180, in user_ids_on_this_machine ValueError: invalid literal for int() with base 10: 'anonymous' [05/04/15 20:00:52] ####################################

markubiak commented 9 years ago

I am getting this same issue

brentax commented 9 years ago

I'm seeing the same as well.

Traceback (most recent call last):
  File "E:\Brent\Documents\Code\ice\src\ice.py", line 11, in <module>
    runner.run(sys.argv)
  File "E:\Brent\Documents\Code\ice\src\ice\runners\command_line_runner.py", line 27, in run
    emulators_override=options.emulators,
  File "E:\Brent\Documents\Code\ice\src\ice\runners\ice_engine.py", line 50, in __init__
    self.users = self.steam.local_users()
  File "C:\Python27\lib\site-packages\pysteam-0.1.3-py2.7.egg\pysteam\steam.py", line 77, in local_users
    u = user.User(self, int(entry))
ValueError: invalid literal for int() with base 10: 'anonymous'
DIYglenn commented 8 years ago

I seem to have the same problem. Some details:

Run Ice from D:\Games\Ice:

=========================Starting Ice
Creating ROMs directory at D:\Games\ROMs
####################################
An Error has occurred:
invalid literal for int() with base 10: 'anonymous'
####################################

Close the window, or hit enter to exit...

The folders are created. I tried deleting and re-running as administrator, no difference unfortunately, it still stops with the same error after creating the folder. The permissions seems to be correct on the folders created.

Any idea why I can't make it run?

vidje commented 8 years ago

@DIYglenn had the same problem, basically the program is looking for integer (aka numbers in your userdata folder) but finds a string (anonymous) and breaks.

what i suggest doing is delete all the folders inside and just log in with the account you want to use ice with. exit, set up your configs, re-run ice and it should work.

ghost commented 8 years ago

Hello, I looked through the source code and found the issue in the "pystream" library. If you have a user called "anonymous" in your steam's userdata folder (C:\Program Files (x86)\Steam\userdata on my machine) this will occur.

The temporary fix is thankfully very easy -- delete the "anonymous" folder in "userdata"!