JSON read issue
Posted: 12 Nov 2014, 13:44
Hello,
I am having an issue that is probably not Ventuz specific but I wondered if you had any ideas to avoid it. An external application is writing a JSON file, that I am reading into a Ventuz JSON node via a Text File node. Quite often I get the error "Failed to read Text File: The process cannot access the file 'XXX.json' because it is being used by another process" which causes the content to momentarily disappear. I guess it's Ventuz trying to read the file at the same time as it's being written. Other than putting a buffer on the JSON data, is there a nice solution to this?
Many thanks
Paul
I am having an issue that is probably not Ventuz specific but I wondered if you had any ideas to avoid it. An external application is writing a JSON file, that I am reading into a Ventuz JSON node via a Text File node. Quite often I get the error "Failed to read Text File: The process cannot access the file 'XXX.json' because it is being used by another process" which causes the content to momentarily disappear. I guess it's Ventuz trying to read the file at the same time as it's being written. Other than putting a buffer on the JSON data, is there a nice solution to this?
Many thanks
Paul