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
  Can't get graph code to work properly. KDDDC2DS 1 733 Sep-16-2024, 09:17 PM
Last Post: deanhystad
  I can't for the life of me get this basic If statement code to work CandleType1a 8 2,520 May-21-2024, 03:58 PM
Last Post: CandleType1a
  hi need help to make this code work correctly atulkul1985 5 2,093 Nov-20-2023, 04:38 PM
Last Post: deanhystad
  My code works on Jupyter Lab/Notebook, but NOT on Visual Code Editor jst 4 4,869 Nov-15-2023, 06:56 PM
Last Post: jst
  newbie question - can't make code work tronic72 2 1,623 Oct-22-2023, 09:08 PM
Last Post: tronic72
  Code works but doesn't give the right results colin_dent 2 1,487 Jun-22-2023, 06:04 PM
Last Post: jefsummers
  Beginner: Code not work when longer list raiviscoding 2 1,823 May-19-2023, 11:19 AM
Last Post: deanhystad
  Why doesn't this code work? What is wrong with path? Melcu54 7 3,779 Jan-29-2023, 06:24 PM
Last Post: Melcu54
  color code doesn't work harryvl 1 1,937 Dec-29-2022, 08:59 PM
Last Post: deanhystad
  Something the code dont work AlexPython 13 4,648 Oct-17-2022, 08:34 PM
Last Post: AlexPython

Forum Jump:

User Panel Messages

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