Python Forum
script closed before i can see the error that occurs?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
script closed before i can see the error that occurs?
#9
Thank you for the explanation. I tried that and it did not work but in a different way. There are a lot of iso in the folder. about 600. That error only come up with about 1 in 5 iso. When I run it, it skipps the ones already done normally. I run it. when it hits an error, I move that iso out of that folder and start again. This time with the changes, I left the iso in there that called issues. It did not skip the done iso this time, and went straight to an error. Different error.

Forgot to include error.

Error:
I:\wii\games\zzzz>script.py Reading file: ./Pokemon Box - Ruby & Sapphire (USA).iso Traceback (most recent call last):   File "I:\wii\games\zzzz\script.py", line 19, in <module>     header = f.read(7)   File "C:\Users\Arcade\AppData\Local\Programs\Python\Python35-32\lib\codecs.py" , line 321, in decode     (result, consumed) = self._buffer_decode(data, self.errors, final) UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc2 in position 28: invalid  continuation byte
Reply


Messages In This Thread
RE: Script help - by micseydel - Dec-01-2016, 05:30 PM
RE: Script help - by wrestlemy69 - Dec-01-2016, 05:38 PM
RE: Script help - by nilamo - Dec-01-2016, 06:03 PM
RE: Script help - by snippsat - Dec-01-2016, 06:21 PM
RE: script closed before i can see the error that occurs? - by wrestlemy69 - Dec-01-2016, 11:35 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  [closed] check whether an integer is 32 or 64 bits paul18fr 4 280 May-27-2024, 04:55 PM
Last Post: deanhystad
  This result object does not return rows. It has been closed automatically dawid294 6 1,667 Mar-30-2024, 03:08 AM
Last Post: NolaCuriel
  OSError occurs in Linux. anna17 2 483 Mar-23-2024, 10:00 PM
Last Post: snippsat
  A question about 'Event loop is closed' fc5igm 2 2,402 Oct-05-2021, 02:00 AM
Last Post: fc5igm
  ValueError: I/O operation on closed file problem aliwien 0 2,193 Apr-23-2021, 05:50 PM
Last Post: aliwien
  Run an app in a standalone terminal and wait until it's closed glestwid 2 2,627 Aug-30-2020, 08:14 AM
Last Post: glestwid
  how do i loop a "def ..." when error occurs? Stan2292 0 1,683 Aug-12-2019, 05:28 AM
Last Post: Stan2292
  Inclusive (closed) range with float numbers mapg 4 4,164 Apr-27-2019, 09:09 PM
Last Post: Gribouillis
  New df from existing when condition occurs Devilish 0 1,427 Jan-10-2019, 12:03 AM
Last Post: Devilish
  VMware View - Session opened/closed? hhh 0 2,396 May-31-2018, 10:10 AM
Last Post: hhh

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020