python - File I/O has caused a "[Conflict]" -


i wrote small program supposed run continuously analyzing data. let run in background on computer. couple of times now, have come computer notice program had stopped running. eventually, noticed in same directory .csv file use store data in ("data.csv"), there named file "data[conflict].csv", suspect has program mysteriously crashing.

i tried googling "python '[conflict]'" in addition several other similar phrases, have been unable find regarding this. in code did attempt read or write file name, know functionality must somewhere part of python's standard libraries. unfortunately, in order debug error, sort of need know might produce sort of output. (alternatively, stare @ program hours on end waiting crash see if revealing occurs, have better things time.) idea might causing behavior?

for it's worth, without going details of data i'm analyzing, "data.csv":

  • when program starts, open data buffer, verify integrity (the entries in .csv time-stamped, check see if entries chronological)
  • i pull new data server, write end of buffer, , analysis.
  • roughly every 5 minutes or so, verify integrity of buffer, write new data end of locally-stored data file, re-verify integrity of data, pull new data server, , repeat.

i using 64-bit python 3.3.1 windows.


Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -