Python Forum
That compression method is not supported
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
That compression method is not supported
#8
you are right, it is the case:
'That compression method is not supported? If the message starts with "Bad ZIP found", your exception handler caught the error. If it doesn't, the exception was not caught'

I added one more exception, and the script does not stop anymore.
        except BadZipfile as er :
            print(f" Bad ZIP found -> {er}")
            continue 
        except RuntimeError:
           continue 
Thank you for your help! Dance
I really appreciate it...
Reply


Messages In This Thread
RE: That compression method is not supported - by tester_V - Jan-31-2023, 05:05 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  compression module for lz4? Skaperen 1 1,641 Oct-27-2021, 01:47 PM
Last Post: DeaD_EyE
  CPC File Format (Cartesian Perceptual Compression) - Can Python Convert / Handle Them PSKrieger 2 2,561 Nov-11-2020, 02:57 PM
Last Post: PSKrieger
  Rebuild LZ compression from C code via Python's LZMA module TD2 0 1,911 Apr-25-2019, 02:42 PM
Last Post: TD2
  problem with lambda and list compression Prince_Bhatia 1 2,408 Aug-06-2018, 11:50 AM
Last Post: ichabod801
  Compression/Decompression Code not working Zanbezi 3 3,793 May-10-2017, 04:46 PM
Last Post: nilamo

Forum Jump:

User Panel Messages

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