Python Forum
Code used to work 100%, now sometimes works!
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Code used to work 100%, now sometimes works!
#3
(Jan-08-2023, 10:32 PM)deanhystad Wrote: Are you getting "Moved" log messages for the files that are skipped?
Yes, and the file is in fact copied to the correct location.

I'm wondering if it may be type of race condition. Where maybe it is trying to run the external apps, but for some reason the file isn't finalized or something. I did a test file, and the first time it failed to do comskip and ccextractor, but the 2nd time I tried, it worked fine. Same file.

I added a sleep command between the move command and the Popen command to see if it helps.
Reply


Messages In This Thread
RE: Code used to work 100%, now sometimes works! - by muzicman0 - Jan-08-2023, 10:52 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  I can't for the life of me get this basic If statement code to work CandleType1a 8 401 May-21-2024, 03:58 PM
Last Post: CandleType1a
  hi need help to make this code work correctly atulkul1985 5 940 Nov-20-2023, 04:38 PM
Last Post: deanhystad
  My code works on Jupyter Lab/Notebook, but NOT on Visual Code Editor jst 4 1,321 Nov-15-2023, 06:56 PM
Last Post: jst
  newbie question - can't make code work tronic72 2 790 Oct-22-2023, 09:08 PM
Last Post: tronic72
  Code works but doesn't give the right results colin_dent 2 813 Jun-22-2023, 06:04 PM
Last Post: jefsummers
  Beginner: Code not work when longer list raiviscoding 2 924 May-19-2023, 11:19 AM
Last Post: deanhystad
  Why doesn't this code work? What is wrong with path? Melcu54 7 2,007 Jan-29-2023, 06:24 PM
Last Post: Melcu54
  color code doesn't work harryvl 1 990 Dec-29-2022, 08:59 PM
Last Post: deanhystad
  Something the code dont work AlexPython 13 2,489 Oct-17-2022, 08:34 PM
Last Post: AlexPython
  cannot get code to work Led_Zeppelin 10 2,630 Jun-30-2022, 06:28 PM
Last Post: deanhystad

Forum Jump:

User Panel Messages

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