scottrice / Ice

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

'NoneType' object has no attribute 'exe' #457

Open SakridLyfe opened 7 years ago

SakridLyfe commented 7 years ago

=========================Starting Ice Detected Emulator: mednafen_psx_hw_libretro Detected Emulator: dosbox_libretro Detected Emulator: snes9x_libretro Detected Emulator: bsnes_performance_libretro Detected Emulator: ppsspp_libretro Detected Emulator: reicast_libretro Detected Emulator: nestopia_libretro Detected Emulator: mupen64plus_libretro Detected Console: EMU | Nintendo Entertainment System => nestopia_libretro Detected Console: EMU | Super Nintendo => bsnes_performance_libretro Detected Console: EMU | Nintendo 64 => mupen64plus_libretro ---------------Running for user 78403678 #################################### An Error has occurred: 'NoneType' object has no attribute 'exe' ####################################

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

EDIT: I tried another Steam account and it worked with that one but threw up the same failure as before so I deleted shortcuts.vdf and it worked.

Spiridios commented 7 years ago

This is a dupe of #449 There's a code fix in that issue.

SakridLyfe commented 7 years ago

I have the latest from the site, not sure about versions. Is there a way to download a fixed version? I've never really used github as I don't really have dev experience.

Spiridios commented 7 years ago

The author/maintainer of Ice hasn't worked on the project in nearly a year, so the latest from here is not going to work until he decides to come back or hands the project off. In #449, there's a pull request from another developer that has the fix, but it's code only. If you're comfortable with that, you can pull down his source and run that and you should be good. If not, hopefully someone can build a binary from it and make it available. If they do, it'll probably be linked in #449

azraeldestiny01 commented 7 years ago

I have this problem:

Hi, I came to report an error that happens to ICE. Since a few months (February approximately) Ice gives me an error that I can not solve and that comes to me without modifying any file.

I have not played Ice since December 2016, and in February added to the new games and I threw this error.

-Registration of errors- Tracking (latest calls latest): File "", line 16, in EOFError

-Error Interface- [ERROR] An exception occurred whire running Ice Traceback (last call last): File "ice \ decorators.py", line 9, in wrapped File "ice \ runners \ ice_engine.py" line 131, running File "ice \ runners \ ice_engine.py" line 104, to create backup File "ice \ backups.py". Line 67, in create_backup_of_shorcuts File "pystean \ shortcuts.py", line 30 in write_shortcuts File "pystean \ _horse_generator.py" line 20, in to_string File "pystean \ _horse_generator.py" line 29, in string string generation File "pystean \ _horse_generator.py" line 34, in generate_shortcut_string AttributeError: The 'NoneType' object has no 'name' attribute

How do I solve the error?

The problem is that after re-running once started and closed properly, steam returns to give me the error commented above. PS: I am a Spanish user (I comment on this if it can be for some letter "ñ") although I doubt it and it is some steam update, because as I said this error is appearing now without having modified files in several Months.

kevinhusson1 commented 7 years ago

If you want to correct this error, go to your steamFolder : C:\Program Files (x86)\Steam\userdata\\config\ and delete shortcuts.vdf files and launch again ICE.exe

Spiridios commented 7 years ago

See issue #449 - there is a new build of ICE there that solves the issue. Deleting the shortcuts file is a non-solution for anyone that adds other non-steam games.

TangentFoxy commented 6 years ago

@MicahJon How exactly am I supposed to get this new build? Website linked to doesn't even connect, I could only download the build off of GitHub.

Also, in my experience with the NoneType has no name attribute error, simply deleting the shortcut that Ice had tried and failed to add before re-running it fixed the problem.

Spiridios commented 6 years ago

@Guard13007 Honestly, the developer of ICE is MIA, you should find a new solution, ICE proper will not work correctly until he returns or someone forks it and provides a proper release. Ice.zip was linked in the other thread, I have not tried it but it supposedly works. Also, there's always Steam Rom Manager, which is actively supported and probably where you should go if you want emulators in steam.

Yes, you can delete the problem shortcuts, but you're letting ICE create an older version of the shortcuts file that Steam will then update to the newest version if you touch shortcuts in any way via steam. You will not be able to put the "problem" shortcut back, or any non-ICE shortcut for that matter, and have ICE work. If you're happy deleting and re-adding shortcuts every time you run ICE, then this is a solution.

TangentFoxy commented 6 years ago

Well then, thank you, I will check out that other product.

On Nov 12, 2017 23:12, "MicahJon" notifications@github.com wrote:

@Guard13007 https://github.com/guard13007 Honestly, the developer of ICE is MIA, you should find a new solution, ICE proper will not work correctly until he returns or someone forks it and provides a proper release. Ice.zip https://github.com/scottrice/Ice/files/884095/Ice.zip was linked in the other thread, I have not tried it but it supposedly works. Also, there's always Steam Rom Manager https://steamcommunity.com/groups/SteamRomManager, which is actively supported and probably where you should go if you want emulators in steam.

Yes, you can delete the problem shortcuts, but you're letting ICE create an older version of the shortcuts file that Steam will then update to the newest version if you touch shortcuts in any way via steam. You will not be able to put the "problem" shortcut back, or any non-ICE shortcut for that matter, and have ICE work. If you're happy deleting and re-adding shortcuts every time you run ICE, then this is a solution.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/scottrice/Ice/issues/457#issuecomment-343832550, or mute the thread https://github.com/notifications/unsubscribe-auth/AOZPPzE0w4tH6PRQqovUnWonBlcn59mpks5s1-vGgaJpZM4Mqrv9 .