Hello Guest, Welcome to Apnea Board !
As a guest, you are limited to certain areas of the board and there are some features you can't use.
To post a message, you must create a free account using a valid email address.

or Create an Account


New Posts   Today's Posts

Using old SD in new machine: Oscar stalls
#1
Using old SD in new machine: Oscar stalls
It was awhile until I had a replacement for my recalled DreamStation. I moved the SD card from the old machine before filing it up last night. I could see that the data has been successfully read by OSCAR. I was puzzled by OSAQCR ver. 1.2.0 highlighting my profile but not proceeding to the Views. OSCAR ver. 1.3.0 won't even reach that point: it immediately pops up an error message (code 5) complaining about its inability to write to the OSCAR_Data directory, though I can see it in Windows Explorer filled with data under Documents > OSCAR_Data>Profiles  (a screenshot attached). 

What is the best way to untangle this gridlock?


Attached Files Thumbnail(s)
   
Post Reply Post Reply






Donate to Apnea Board  
#2
RE: Using old SD in new machine: Oscar stalls
Did you reformat the SD card prior to use in the new machine? If not, that is your problem.
Crimson Nape
Apnea Board Moderator
www.ApneaBoard.com
___________________________________
Useful Links -or- When All Else Fails:
The Guide to Understanding OSCAR
OSCAR Chart Organization
Attaching Images and Files on Apnea Board
Apnea Helpful Tips

INFORMATION ON APNEA BOARD FORUMS OR ON APNEABOARD.COM SHOULD NOT BE CONSIDERED AS MEDICAL ADVICE. ALWAYS SEEK THE ADVICE OF A PHYSICIAN BEFORE SEEKING TREATMENT FOR MEDICAL CONDITIONS, INCLUDING SLEEP APNEA. INFORMATION POSTED ON THE APNEA BOARD WEB SITE AND FORUMS ARE PERSONAL OPINION ONLY AND NOT NECESSARILY A STATEMENT OF FACT.
Post Reply Post Reply
#3
RE: Using old SD in new machine: Oscar stalls
No, that's only a Resmed problem. You don't need to reformat PRS1 cards.

This is a Windows problem with accessing OSCAR_Data.
Post Reply Post Reply
#4
RE: Using old SD in new machine: Oscar stalls
What OSCAR does at startup is test to see if it can write to your data directory. It does this by trying to open a file named "testfile.txt" for read/write access in the OSCAR_Data directory. If OSCAR is unable to do that, it shows the message about being unable to write to the OSCAR data directory and terminates.

The usual cause is some kind of permissions problem. One difference between OSCAR 1.3.0 and 1.2.0 is that it checks for such problems instead of just not working.

Is this the same machine you ran OSCAR on successfully before? And with the same Windows user name as you used before? Mixed Windows account ownership will cause problems.

Look in the OSCAR_Data directory. Is there a file named testfile.txt there? Can you delete it? If not there, can you create a file of that (or any other) name and copy data to it?
Useful links
Download OSCAR (current version is 1.3.0)
Best way to organize charts
How to attach charts to your post

Apnea Board Monitors are members who help oversee the smooth functioning of the Board. They are also members of the Advisory Committee which helps shape Apnea Board's rules & policies. Membership in the Advisory Members group does not imply medical expertise or qualification for advising Sleep Apnea patients concerning their treatment.
Post Reply Post Reply






Donate to Apnea Board  
#5
RE: Using old SD in new machine: Oscar stalls
(12-19-2021, 07:17 PM)GuyScharf Wrote: What OSCAR does at startup is test to see if it can write to your data directory. It does this by trying to open a file named "testfile.txt" for read/write access in the OSCAR_Data directory. If OSCAR is unable to do that, it shows the message about being unable to write to the OSCAR data directory and terminates.

The usual cause is some kind of permissions problem.  One difference between OSCAR 1.3.0 and 1.2.0 is that it checks for such problems instead of just not working.

Is this the same machine you ran OSCAR on successfully before?  And with the same Windows user name as you used before?  Mixed Windows account ownership will cause problems.

Look in the OSCAR_Data directory. Is there a file named testfile.txt there? Can you delete it? If not there, can you create a file of that (or any other) name and copy data to i
The same machine and Windows account; just a new BiPAP device... 
Even with Oscar not running, I could not reliably switch the files underneath OSCAR_Data to being not read-only, like if some live process was immediately switching them back.
I am OK with clearing the entire history. I am wondering if I have a better chance by just deleting the OSCAR_Data forlder tree or by just reformatting the SD (I can backup it as well). If doing both is my only way to deal with it, I'll erase both.
Thank you.
Post Reply Post Reply
#6
RE: Using old SD in new machine: Oscar stalls
I can see that Windows Security blocks OSCAR from writing into the OSCAR_Data directory (located under Documents). That is causes OSCAR to exit with Error code 5.
Post Reply Post Reply
#7
RE: Using old SD in new machine: Oscar stalls
(01-01-2022, 04:47 PM)apnero Wrote: I can see that Windows Security blocks OSCAR from writing into the OSCAR_Data directory (located under Documents). That is causes OSCAR to exit with Error code 5.

Yes, that is exactly what will happen if Windows Security is blocking access. Check your security properties for OSCAR_Data and make sure that Authenticated Users have Full Control. If your username is listed, make sure it has Full Control. If that does not do it, try setting Users to have Full Control.

Or, if it is Windows Defender or other anti-virus program blocking access, add OSCAR to the list of exceptions.
Useful links
Download OSCAR (current version is 1.3.0)
Best way to organize charts
How to attach charts to your post

Apnea Board Monitors are members who help oversee the smooth functioning of the Board. They are also members of the Advisory Committee which helps shape Apnea Board's rules & policies. Membership in the Advisory Members group does not imply medical expertise or qualification for advising Sleep Apnea patients concerning their treatment.
Post Reply Post Reply






Donate to Apnea Board  


Possibly Related Threads...
Thread Author Replies Views Last Post
Exclaimation CPAP Machine Choices - read this before you accept a new machine SuperSleeper 228 205,580 01-11-2022, 07:10 PM
Last Post: Sleeprider
  I like Oscar 1.2.0. Can I turn off Oscar New Version Notifications E.W. 1 202 10-25-2021, 06:51 PM
Last Post: GuyScharf
  Breathing not Detected and Discrepancy in AHI on Oscar and Machine planetf1 4 295 06-03-2021, 04:10 PM
Last Post: planetf1
  [Equipment] High RDI low AHI. Overwhelmed with machine choices, OSCAR data, etc.. ldinks 8 1,073 12-02-2020, 02:51 PM
Last Post: Sleeprider
  Oscar [Do I need a "chip" to connect to Oscar?] LarryM 6 1,143 06-20-2020, 12:57 PM
Last Post: Dormeo
  Turn Machine "on" and off" OSCAR Pat Knoll 15 1,251 01-13-2020, 04:27 PM
Last Post: Pat Knoll
  machine died! Now new doctor and new machine Bjazzman 14 4,741 06-27-2019, 10:51 PM
Last Post: camper2


New Posts   Today's Posts






About Apnea Board

Apnea Board is an educational web site designed to empower Sleep Apnea patients.