scottrice / Ice

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

ConfigError is not defined #162

Closed scottrice closed 10 years ago

scottrice commented 10 years ago

Reported by oleost on Steam.

Traceback (most recent call last):
  File "C:\Emulators_and_Ice\Ice\ice.py", line 41, in <module>
    main()
  File "C:\Emulators_and_Ice\Ice\ice.py", line 36, in main
    grid_manager.update_user_images(user_id,roms)
  File "C:\Emulators_and_Ice\Ice\ice\grid_image_manager.py", line 59, in update_user_images
    path = self.image_for_rom(rom)
  File "C:\Emulators_and_Ice\Ice\ice\grid_image_manager.py", line 43, in image_for_rom
    (path, error) = provider.image_for_rom(rom)
  File "C:\Emulators_and_Ice\Ice\ice\gridproviders\consolegrid_provider.py", line 62, in image_for_rom
    path = self.download_image(rom)
  File "C:\Emulators_and_Ice\Ice\ice\gridproviders\consolegrid_provider.py", line 54, in download_image
    image_url = self.find_url_for_rom(rom)
  File "C:\Emulators_and_Ice\Ice\ice\gridproviders\consolegrid_provider.py", line 47, in find_url_for_rom
    raise ConfigError("Grid Images", "Source", "The source of game images is unavailable.")
NameError: global name 'ConfigError' is not defined

Close the window, or hit enter to exit...
saftle commented 10 years ago

I'm having the same issue. I originally only had PS2 and Gamecube emulation working. And once I added Wii and specified the dolphin emulator, added the roms folder, etc. Then I ended up with this error. Please let me know if there are any extra details that I can provide in order to help reproduce the issue.

marcusmoller commented 10 years ago

@scottrice You don't ever import the config_error.py module in consolegrid_provide.py if I am looking at the right spot.

You only import the ProviderError here: https://github.com/scottrice/Ice/blob/master/ice/gridproviders/consolegrid_provider.py#L16