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

OSCAR not importing today's data
#41
RE: OSCAR not importing today's data
After further thought, I don't think that is the problem. If it were, there would have been a warning message, and there weren't any.

Your debug log says "ends QDate(2020-11-16)", implying that data from the 17th was not on the SD card. Is there any possibility you somehow tested with the wrong data?

Could you send me the log from your successful import?

And when you test tomorrow, please start a fresh copy of OSCAR and not one that is already running.
Useful links
Download OSCAR (current version is 1.5.1)
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
#42
RE: OSCAR not importing today's data
ok, try this version of resmed_loader.cpp in the morning: https://www.dropbox.com/s/nctx80ymw4lrxr...r.cpp?dl=0

(This may be the same URL, but I updated the code at 4:15 MST.)

I've updated the tests and warning messages.
Useful links
Download OSCAR (current version is 1.5.1)
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
#43
RE: OSCAR not importing today's data
Downloaded and will rebuild OSCAR.  Will test out tomorrow.
Post Reply Post Reply
#44
RE: OSCAR not importing today's data
It imported the data!  Hooray.  Woke up at 6:35AM EST, did the import with OSCAR at 6:48AM EST.  Here is the datalog.
Code:
00000: Debug: Started logging thread
00000: Debug: OSCAR starting Thu Nov 19 06:42:27 2020
00000: Debug: APP-NAME: "OSCAR-master"
00000: Debug: APP-PATH: "/home/xxx/Apps/OSCAR/build/oscar"
00000: Debug: Trying "/home/xxx/Apps/OSCAR/build/oscar/Translations/oscar_qt_fr.qm"
00000: Debug: APP-RESOURCES: "/home/xxx/Apps/OSCAR/build/oscar"
00000: Debug: OSCAR 1.2.1-alpha.0+master-fac78038-plus (linux x86_64)
00000: Debug: Built with Qt 5.12.8 on Nov 18 2020 19:00:09
00000: Debug: system locale date format "dddd, MMMM d, yyyy"
00000: Debug: shortened date format "ddd MMM d yyyy" dayFirst false
00001: Debug: number of built-in *.qm files 0
00001: Debug: Inbuilt Translations: en_US
00001: Debug: number of external *.qm files 48
00001: Debug: Number of external translations is 26
00001: Debug: Extra Translations: af, ar, bg, da, de, el, en_UK, es, es_MX, fi, fr, he, hu, it, ko, nl, no, ph, pl, pt, pt_BR, ro, sv, th, tr, zh
00001: Debug: Using default language en_US
00148: Debug: Logging UI initialized
00158: Debug: Using System Tray for Menu
00319: Debug: OSCAR 1.2.1-alpha.0+master-fac78038-plus (linux x86_64)
00319: Debug: Built with Qt 5.12.8 on Nov 18 2020 19:00:09
00319: Debug:
00319: Debug: Operating system: Ubuntu 20.04.1 LTS
00319: Debug: Graphics Engine: 4.6.0 NVIDIA 455.38
00319: Debug: Graphics Engine type: OpenGL
00319: Debug:
00319: Debug: App key: OSCAR-master
00320: Debug: AppData folder already exists, so ...
00320: Debug: Using /home/xxx/Documents/OSCAR_Data as OSCAR data folder
00320: Debug: Logging to /home/xxx/Documents/OSCAR_Data/logs/debug.txt
00320: Debug: Opening  /home/xxx/Documents/OSCAR_Data/Preferences.xml
00321: Debug: validateFont found 627 installed font families
00334: Debug: Opening  ":/docs/channels.xml"
00334: Debug: Processing xml file: "channels" "en" "1.0"
00334: Debug: Registering PRS1Loader
00344: Debug: Registering ResmedLoader
00350: Debug: Registering IntellipapLoader
00354: Debug: Registering F&P Icon Loader
00354: Debug: Registering WeinmannLoader
00354: Debug: Registering CMS50Loader
00355: Debug: cms50f37 - Registering CMS50F37Loader
00355: Debug: Registering MD300W1Loader
00355: Debug: Registering ViatomLoader
00355: Debug: Logging device connections to /home/xxx/Documents/OSCAR_Data/logs/connections/devices.xml
00355: Debug: Opening  /home/xxx/Documents/OSCAR_Data/Profiles/xxx yyyy/Profile.xml
00446: Debug: Opening profile "xxx yyyy"
00455: Debug: ResMed machine found.. locking OSCAR preferences to suit it's summary system
00455: Debug: Loading Journal record: /home/xxx/Documents/OSCAR_Data/Profiles/xxx yyyy/Journal_5d63b445/
00456: Debug: Loading /home/xxx/Documents/OSCAR_Data/Profiles/xxx yyyy/Journal_5d63b445/Summaries.xml.gz
00529: Debug: PreloadSummaries is false
00529: Debug: Queue task loader is not  available
00531: Debug: Loading Summary Data
00532: Debug: No tasks in m_tasklist
00535: Debug: Loaded Journal data in 79 ms
00535: Debug: Loading Session Info
00537: Debug: Loading CMS50F37 record: /home/xxx/Documents/OSCAR_Data/Profiles/xxx yyyy/CMS50F37_58600bca/
00537: Debug: Loading /home/xxx/Documents/OSCAR_Data/Profiles/xxx yyyy/CMS50F37_58600bca/Summaries.xml.gz
00559: Debug: PreloadSummaries is false
00560: Debug: Queue task loader is  available
00561: Debug: Loading Summary Data
00562: Debug: MachineLoader::runTasks MLtasklist size is 0
00564: Debug: Loaded CMS50F data in 27 ms
00565: Debug: Loading Session Info
00566: Debug: Loading ResMed record: /home/xxx/Documents/OSCAR_Data/Profiles/xxx yyyy/ResMed_23151928951/
00566: Debug: Loading /home/xxx/Documents/OSCAR_Data/Profiles/xxx yyyy/ResMed_23151928951/Summaries.xml.gz
00573: Debug: PreloadSummaries is false
00573: Debug: Queue task loader is  available
00573: Debug: Loading Summary Data
00574: Debug: MachineLoader::runTasks MLtasklist size is 0
00577: Debug: Loaded AirCurve 10 VAuto data in 11 ms
00577: Debug: Loading Session Info
00578: Debug: Loading PRS1 record: /home/xxx/Documents/OSCAR_Data/Profiles/xxx yyyy/PRS1_P131660625673/
00578: Debug: Loading /home/xxx/Documents/OSCAR_Data/Profiles/xxx yyyy/PRS1_P131660625673/Summaries.xml.gz
00696: Debug: PreloadSummaries is false
00696: Debug: Queue task loader is  available
00732: Debug: Loading Summary Data
00732: Debug: MachineLoader::runTasks MLtasklist size is 0
00735: Debug: Loaded REMstar Auto (System One 60 Series) data in 157 ms
00741: Debug: Loading Session Info
00781: Debug: Loading channel.dat States
00823: Debug: Creating new Daily object
00837: Debug: Daily Left Panel Width is  466
00845: Debug: Loading ResMed Events: /home/xxx/Documents/OSCAR_Data/Profiles/xxx yyyy/ResMed_23151928951/Events/5fb4a4ec.001
01105: Debug: Overview range combo from QDate("2020-10-18") to QDate("2020-11-17") with 30 days
01160: Debug: Finished opening Profile
13503: Debug: Adding "" on "/media/xxx/0123-4567" to drivelist
13503: Debug: Drive list size: 1
13507: Debug: Found "ResMed" datacard at "/media/xxx/0123-4567"
21497: Debug: Starting ResmedLoader::Open( with  "/media/xxx/0123-4567" )
21497: Debug: Parsing Identification File  "/media/xxx/0123-4567/Identification.tgt"
21497: Debug: Info: "AirCurve 10" "AirCurve 10 VAuto" "37051" "23151928951"
21497: Debug: We have seen this machime
21497: Debug: First day to import:  "Tue Nov 17 2020"
21498: Debug: "Backup Path is /home/xxx/Documents/OSCAR_Data/Profiles/xxx yyyy/ResMed_23151928951/Backup/"
21501: Debug: Starting backupSTRfiles during new IMPORT
21502: Debug: Adding "ResMed_23151928951/Backup/STR.edf" with 26 days as "/STR_Backup/STR-20201023.edf" to STRmap
21502: Debug: Finished backupSTRfiles during new IMPORT
21515: Debug: "xxx/0123-4567/STR.edf" starts at QDate("2020-10-23") for 27 ends QDate("2020-11-18")
21515: Debug: xxx/0123-4567/STR.edf overlaps /STR_Backup/STR-20201023.edf for 27 days, ends QDate(2020-11-18)
21515: Debug: Removing "/STR_Backup/STR-20201023.edf" with 26 days from STRmap
21516: Debug: Adding "/media/xxx/0123-4567/STR.edf" to STRmap as "/home/xxx/Documents/OSCAR_Data/Profiles/xxx yyyy/ResMed_23151928951/Backup/STR.edf"
21516: Debug: Add files in STR_Backup to STRmap (unless they are already there)
21516: Debug: Backup/STR_Backup/STR-20201023.edf overlaps ResMed_23151928951/Backup/STR.edf for 26 ends QDate(2020-11-17)
21516: Debug: Skipping "Backup/STR_Backup/STR-20201023.edf"
21516: Debug: Starting ProcessSTRfiles
21574: Debug: Finished ProcessSTR
21574: Debug: Starting scan of DATALOG
21574: Debug: "Backup Path is /home/xxx/Documents/OSCAR_Data/Profiles/xxx yyyy/ResMed_23151928951/Backup/"
21575: Debug: Generating list of EDF files
21575: Debug: First Import date is  QDate("2020-11-17")
21576: Debug: Generating EDF files list took 1 ms
21576: Debug: EDFfiles list size is  16
21576: Debug: Scanning  16  EDF files
21583: Debug: Starting EDF duration scan pass
21842: Debug: Scanning EDF files took 266 ms
21842: Debug: resdayList size is  2
21842: Debug: Finished DATALOG scan
21843: Debug: About to call runTasks()
21843: Debug: MachineLoader::runTasks MLtasklist size is 1
21897: Debug: Finshed runTasks() with 1 new sessions
21899: Debug: About to call finishAddingSessions()
21899: Debug: Finshed finishedAddingSessions() with 1 new sessions
21899: Debug: Performance / Efficiency Information
21899: Debug: "Time-Delta conversion for Leak Rate cost 18288 bytes and took 0.0001s"
21899: Debug: "Time-Delta conversion for Snore cost 30312 bytes and took 0.0000s"
21899: Debug: "Time-Delta conversion for Minute Vent. saved 1260 bytes and took 0.0002s"
21899: Debug: "Time-Delta conversion for Flow Limit. cost 29490 bytes and took 0.0000s"
21900: Debug: "Time-Delta conversion for Tidal Volume cost 12414 bytes and took 0.0001s"
21900: Debug: "Time-Delta conversion for Mask Pressure saved 55584 bytes and took 0.0005s"
21900: Debug: "Time-Delta conversion for EPAP cost 27264 bytes and took 0.0000s"
21900: Debug: "Time-Delta conversion for Pressure cost 27264 bytes and took 0.0000s"
21900: Debug: Total toTimeDelta function usage: 88188 in 0.00108428 seconds
21900: Debug: Total CPU time in EDF Open 4
21900: Debug: Total CPU time in EDF Parser 13
21900: Debug: Total CPU time in LoadBRP 9
21900: Debug: Total CPU time in LoadPLD 2
21900: Debug: Total CPU time in LoadSAD 0
21900: Debug: Total CPU time in LoadEVE 0
21900: Debug: Total CPU time in LoadCSL 0
21900: Debug: Total CPU time in (BRP) AddWaveform 9
21900: Debug: Total CPU time in TimeDelta function 0
21900: Debug: Total Events  0
21900: Debug: Total new Sessions  1
22048: Debug: Finished Importing data 1
22049: Debug: Saving "ResMed" session info "ResMed"
22049: Debug: Done Saving "ResMed" session info
22049: Debug: Saving "ResMed" "AirCurve 10 VAuto" Summaries
22051: Debug: Saving "Philips Respironics" session info "PRS1"
22052: Debug: Done Saving "Philips Respironics" session info
22052: Debug: Saving "Philips Respironics" "REMstar Auto (System One 60 Series)" Summaries
22234: Debug: Overview range combo from QDate("2020-10-19") to QDate("2020-11-18") with 30 days
22235: Debug: Loading ResMed Events: /home/xxx/Documents/OSCAR_Data/Profiles/xxx yyyy/ResMed_23151928951/Events/5fb5edfc.001
Not sure if the log is exactly you expect, but the import result seems good.
Post Reply Post Reply
#45
RE: OSCAR not importing today's data
OSCAR does not import data from my Wife's RESMed Airsense 10 Autoset for her this morning.  This happened after installing 1.4.0.  The diagnostic is:
...
03688: Debug: Finished opening Profile
11513: Debug: Adding "CJM RESMED" on "/Volumes/CJM RESMED" to drivelist
11513: Debug: Drive list size: 1
11551: Debug: Found "ResMed" datacard at "/Volumes/CJM RESMED"
39245: Debug: Starting ResmedLoader::Open( with  "/Volumes/CJM RESMED" )
39246: Debug: Failed to parse Identification file
39532: Debug: Finished Importing data -1
...
1. She is using an iMac running MacOS Catalina version 10.15.7
2. The same release of OSCAR on my iMac Pro running MacOS Monterey had no problem importing data from the same card
3. I re-installed OSCAR 1.4.0 with the same result.
4. I remove the identification crc and tgt files, and generated new ones from the CPAP machine, with the same results.

My next test will be to return to an earlier version of OSCAR on her machine.  I shall report!

Jean Bernard Minster
Post Reply Post Reply
#46
RE: OSCAR not importing today's data
Hi Jean Bernard Minster! - Welcome

It appears that you may have a corrupt SD card. OSCAR is having a problem reading the Identification file. The Identification.crc file contains an unsigned 32-bit hexadecimal value of the CRC32 hash of the Identification.tgt file. I would suggest running a CRC hash on this file and compare its value to the one reported in the file.
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
#47
RE: OSCAR not importing today's data
You probably have either a corrupt SD card or a defective card reader.

The message you see is generated under one of two conditions:

1. OSCAR tries to open the identification.tgt file but the operating system fails to open the file.

2. It reads the identification.tgt file and either the read fails or the data in the file is not found.

Another possibility is that there is an identification.json file on the card. This file is generated by an AirSense 11. You cannot have both AirSense 11 and10 data on the same card.
Useful links
Download OSCAR (current version is 1.5.1)
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
#48
RE: OSCAR not importing today's data
Actually:
1. I transferred the data to a brand new card, and got the identification  cards re-generated by the CPAP machine and again, it could not be read under Catalina, but could be read under Monterey.

2. I returned to OSCAR 1.3.1 on Catalina (using the Time machine and both the original card and the new card could be read without difficulty. (Both can be read by OSCAR 1.4.0 under Monterey).

So it looks like 1.4.0 has an incompatibility with Catalina.  Not sure what troubleshooting to try next!  Back to 1.3.1 for the time being.

Bernard
Post Reply Post Reply
#49
RE: OSCAR not importing today's data
I would lean toward possibilities, based on the fact that you are the first to report a problem like this.  First, I'd suspect that your OSCAR installation file may have been corrupted during download.  Second, I believe there is an allowed device settings for apps on a Mac.   Given both possibilities, I'd go with my first one.

To help, here are the following hashes for your version of OSCAR:
 OSCAR-1.4.0.dmg
  • MD5
    9ee71718e84455cfcf59785153d14450

  • SHA1
    8e56d9a32224539c8ee57bb5cf42d570bd37e869

  • SHA256
    dee3693bcf0804f1ddb912031dc7a2940c48abc01909a6d5a1beef94f329ea1

  • CRC32
    22933a65
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
#50
RE: OSCAR not importing today's data
Actually:
1. I transferred the data to a brand new card, and got the identification  cards re-generated by the CPAP machine and again, it could not be read under Catalina, but could be read under Monterey.

2. I returned to OSCAR 1.3.1 on Catalina (using the Time machine and both the original card and the new card could be read without difficulty. (Both can be read by OSCAR 1.4.0 under Monterey).

So it looks like 1.4.0 has an incompatibility with Catalina.  Not sure what troubleshooting to try next!  Back to 1.3.1 for the time being.

Bernard

Thanks for the suggestion, Crimson Nape:  The output of the crc32 hash and the content of the crc file are identical except for word order.

Thanks for the ideas, GuyScharf:  I will try an alternate card reader and will report.
Post Reply Post Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
Question OK TO IMPORT SLEEP DATA FROM OLD SD CARD INTO OSCAR W/O MESSING UP CURRENT DATA? Plmnb 1 78 Today, 01:07 AM
Last Post: Ibrumley
  Trouble importing data to Oscar bubbafoxus 2 88 03-22-2024, 05:40 PM
Last Post: bubbafoxus
  OSCAR Profiles and Combining Different Brand CPAP Data StratCat48 2 49 03-22-2024, 08:00 AM
Last Post: StratCat48
  Where Oscar put the data file? Rosacer24 0 60 03-22-2024, 12:16 AM
Last Post: Rosacer24
  There's 1.5 years of data in my OSCAR, but now there's a problem Snackers 8 223 03-19-2024, 03:36 AM
Last Post: Snackers
  OSCAR v1.5.2- error code 5, unable to write to data directory sleepynotion 2 107 03-18-2024, 12:09 PM
Last Post: sleepynotion
  OSCAR data backup strategy matt2 2 98 03-18-2024, 10:32 AM
Last Post: LoudSnorer


New Posts   Today's Posts


About Apnea Board

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