cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
vishwasanj
Level V

IO problem

Hi All,

I am trying to understand the source of this in my log.

 

I/O problem.
Unable to open in ReadWrite mode.
The system cannot find the file specified.

 

It compiles and executes fine. 

 

These were the 2 discussions I came across.

 https://community.jmp.com/t5/Discussions/I-O-Problem/td-p/40248 ( I am making sure I have nosave everywhere)

 

https://community.jmp.com/t5/Discussions/Reason-Unable-to-open-in-ReadWrite-mode/td-p/13519 ( I did remove the backslash just in case so that I don't point to the wrong directory)

http://www.jmp.com/support/notes/20/473.html ( Is this true that if I use save text and have double quotes inside it, I see this problem)

 

I still see this issue. Any idea what I am missing?

 

Thanks

1 REPLY 1
David_Burnham
Super User (Alumni)

Re: IO problem

I think you are saying that the code seems to work correctly but at some point you get those error messages in log window.  

Obviously the error relates to file IO, so that should give you a clue as to where the problem is. However, if there is still ambiguity you can try the followingdebugging techniques:

1. Use the debugger to step through your code to see the point at which the error gets raised

2. Pop some 'show' statements in your code: I just do, show("a"),show("b"), etc, and see where the error occurs with respect to my show statements

3. Pop a Throw statement in yoiu code.  Keep moving it downwards until you get to the point where the error occurs.

 

 

-Dave