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

Not all session data is imported
#1
Not all session data is imported
Hi,

Oscar does not seem to import all my session data for some reason. I noticed today that my session started at 01:55 which was surprising as I went to bed at 23:30. It does however coincide with a short bathroom break so a session stop was expected.

   

Oscar does display sessions 19, 20 and 21 for 27/9 but it then jumps to session 24 for 28/9.

I am 99,999999% sure that I have not fiddled with any settings. And 100% sure no settings have changed the past 5 days. I am currently importing daily.

Code:
File | Preferences | Import

Combine Close Sessions: 240
Ignore Short Sessions: 5
Day Split Time: 12:00
Don't Split...: Enabled

When looking at the SD card I can find data which should be the missing sessions. Session 22 is likely so short it was exluded. Session 23 does however look to be there and it looks to have enough data to not be excluded. And the write time 01:49 fits nicely with the short break 01:49 - 01:55.


Code:
 Directory of D:\0026408497\20230927\0001

27-09-2023  22:03    <DIR>          .
27-09-2023  22:03    <DIR>          ..
28-09-2023  02:04           466.240 signal_019.wmedf
28-09-2023  02:04            13.456 event_019.xml
28-09-2023  06:18           475.872 signal_020.wmedf
28-09-2023  06:18            17.037 event_020.xml
28-09-2023  07:31           131.552 signal_021.wmedf
28-09-2023  07:31             7.094 event_021.xml
28-09-2023  07:37             3.456 signal_022.wmedf
28-09-2023  07:37             2.006 event_022.xml

 Directory of D:\0026408497\20230928\0001

28-09-2023  23:45    <DIR>          .
28-09-2023  23:45    <DIR>          ..
29-09-2023  01:49           242.880 signal_023.wmedf
29-09-2023  01:49            10.798 event_023.xml
29-09-2023  06:42           555.872 signal_024.wmedf
29-09-2023  06:42            21.019 event_024.xml

This is with Oscar 1.5.0 and a Löwensten Prisma Smart Plus.

Have I missed something obvious?

Kind Regards
clan
Post Reply Post Reply
#2
RE: Not all session data is imported
The plot thickens. Today it only imported session 26 and skipped 25 which is there:

Code:
Directory of D:\0026408497\20230929\0001

30-09-2023  00:58    <DIR>          .
30-09-2023  00:58    <DIR>          ..
30-09-2023  04:31           412.352 signal_025.wmedf
30-09-2023  04:31            20.020 event_025.xml
30-09-2023  07:01           157.664 signal_026.wmedf
30-09-2023  07:01             7.617 event_026.xml


But after fooling a little around I suddenly noticed that session 23 was now shown properly!!!

In the debug log I noticed I still got the Summaries error on startup which I reported in "Small unicode and parse issue in 1.5.0"

Code:
00725: Debug:    Logging device connections to C:/Users/clan/Documents/OSCAR_Data/logs/connections/devices.xml
00726: Debug:    Opening  C:/Users/clan/Documents/OSCAR_Data/Profiles/Claus/Profile.xml
00745: Debug:    Opening  C:/Users/clan/Documents/OSCAR_Data/Profiles/Claus (L�wenstein Prisma Smart Plus)/Profile.xml
01025: Debug:    Opening profile "Claus (Löwenstein Prisma Smart Plus)"
01040: Debug:    Loading Journal record: C:/Users/clan/Documents/OSCAR_Data/Profiles/Claus (L�wenstein Prisma Smart Plus)/Journal_00007e55/
01040: Debug:    Loading C:/Users/clan/Documents/OSCAR_Data/Profiles/Claus (L�wenstein Prisma Smart Plus)/Journal_00007e55/Summaries.xml.gz
01082: Warning:  Invalid XML Content in "C:/Users/clan/Documents/OSCAR_Data/Profiles/Claus (Löwenstein Prisma Smart Plus)/Journal_00007e55/Summaries.xml.gz"
01082: Warning:  Error line 1 : "unexpected end of file"
01082: Debug:    Recreating the Summary index XML file
01105: Debug:    Reading summary files (.000)
01121: Debug:    Saving "OSCAR" "Journal" Summaries
01122: Debug:    Loaded Journal data in 37 ms
01122: Debug:    Loading Session Info
01123: Debug:    Loading Prisma record: C:/Users/clan/Documents/OSCAR_Data/Profiles/Claus (L�wenstein Prisma Smart Plus)/Prisma_0x192f631/
01124: Debug:    Loading C:/Users/clan/Documents/OSCAR_Data/Profiles/Claus (L�wenstein Prisma Smart Plus)/Prisma_0x192f631/Summaries.xml.gz
01127: Warning:  Invalid XML Content in "C:/Users/clan/Documents/OSCAR_Data/Profiles/Claus (Löwenstein Prisma Smart Plus)/Prisma_0x192f631/Summaries.xml.gz"
01127: Warning:  Error line 1 : "unexpected end of file"
01127: Debug:    Recreating the Summary index XML file
01131: Debug:    Reading summary files (.000)
01144: Debug:    Saving "Löwenstein" "Prisma Smart" Summaries
01146: Debug:    Loaded Prisma Smart data in 17 ms
01146: Debug:    Loading Session Info

I did another import of the SD card to see if it fixed the problem - but no:
Code:
281223: Debug:    Found "Prisma" datacard at "D:/"
281243: Debug:    PeekInfo  "D:/"
281243: Debug:    PeekInfo  "D:/"
283098: Debug:    PeekInfo  "D:/"
283104: Debug:    Prisma opening "D:/"
283120: Debug:    "Backup Path is C:/Users/clan/Documents/OSCAR_Data/Profiles/Claus (Löwenstein Prisma Smart Plus)/Prisma_0x192f631/Backup/"
283143: Debug:    SCANFILES "D:/\\0026408497"
283143: Debug:    INFO   1663927200   false
283604: Debug:    Task count  27
283611: Debug:    MachineLoader::runTasks MLtasklist size is 27
283611: Debug:    PRISMA IMPORT 23
283619: Debug:    SIZE 19
283625: Debug:    PRISMA IMPORT 20
283640: Debug:    SIZE 27
283640: Debug:    Unordered time detected in AddEvent() 2 "2023-09-28T04:06:08" "2023-09-28T03:14:03" 13
283651: Debug:    PRISMA IMPORT 21
283656: Debug:    SIZE 21
283660: Debug:    PRISMA IMPORT 18
283669: Debug:    SIZE 24
283676: Debug:    PRISMA IMPORT 19
283690: Debug:    SIZE 24
283697: Debug:    PRISMA IMPORT 16
283700: Debug:    SIZE 15
283706: Debug:    PRISMA IMPORT 17
283719: Debug:    SIZE 25
283719: Debug:    Unordered time detected in AddEvent() 1 "2023-09-27T05:33:20" "2023-09-27T02:15:45" 10
283726: Debug:    PRISMA IMPORT 14
283744: Debug:    SIZE 24
283745: Debug:    Unordered time detected in AddEvent() 3 "2023-09-26T03:19:25" "2023-09-26T00:42:41" 10
283759: Debug:    PRISMA IMPORT 15
283770: Debug:    SIZE 27
283777: Debug:    PRISMA IMPORT 12
283784: Debug:    SIZE 16
283792: Debug:    PRISMA IMPORT 13
283799: Debug:    SIZE 18
283803: Debug:    PRISMA IMPORT 10
283825: Debug:    SIZE 22
283826: Debug:    Unordered time detected in AddEvent() 2 "2023-09-25T02:55:23" "2023-09-25T00:54:30" 14
283839: Debug:    PRISMA IMPORT 11
283842: Debug:    SIZE 13
283845: Debug:    PRISMA IMPORT 8
283849: Debug:    SIZE 18
283856: Debug:    PRISMA IMPORT 9
283863: Debug:    SIZE 21
283868: Debug:    PRISMA IMPORT 6
283869: Debug:    SIZE 5
283873: Debug:    PRISMA IMPORT 7
283888: Debug:    SIZE 21
283888: Debug:    Unordered time detected in AddEvent() 1 "2023-09-24T05:16:12" "2023-09-24T03:37:51" 10
283895: Debug:    PRISMA IMPORT 4
283901: Debug:    SIZE 13
283906: Debug:    PRISMA IMPORT 5
283912: Debug:    SIZE 19
283916: Debug:    PRISMA IMPORT 2
283924: Debug:    SIZE 14
283933: Debug:    PRISMA IMPORT 3
283943: Debug:    SIZE 23
283944: Debug:    Unordered time detected in AddEvent() 1 "2023-09-23T01:13:47" "2023-09-22T23:42:49" 11
283949: Debug:    PRISMA IMPORT 0
283950: Debug:    SIZE 8
283954: Debug:    PRISMA IMPORT 1
283954: Debug:    SIZE 5
283957: Debug:    PRISMA IMPORT 26
283962: Debug:    SIZE 20
283970: Debug:    PRISMA IMPORT 24
283987: Debug:    SIZE 21
283988: Debug:    Unordered time detected in AddEvent() 1 "2023-09-29T02:26:11" "2023-09-29T02:10:43" 13
283996: Debug:    PRISMA IMPORT 25
284009: Debug:    SIZE 21
284018: Debug:    PRISMA IMPORT 22
284018: Debug:    SIZE 5
284028: Critical: Machine::AddSession called with duplicate session 1 "[jan 01, 1970 01:00:01]" for machine "0x192f631"
284028: Warning:  Session 1 was not addded
284028: Critical: Machine::AddSession called with duplicate session 2 "[jan 01, 1970 01:00:02]" for machine "0x192f631"
284028: Warning:  Session 2 was not addded
284028: Critical: Machine::AddSession called with duplicate session 3 "[jan 01, 1970 01:00:03]" for machine "0x192f631"
284028: Warning:  Session 3 was not addded
284028: Critical: Machine::AddSession called with duplicate session 4 "[jan 01, 1970 01:00:04]" for machine "0x192f631"
284028: Warning:  Session 4 was not addded
284028: Critical: Machine::AddSession called with duplicate session 5 "[jan 01, 1970 01:00:05]" for machine "0x192f631"
284028: Warning:  Session 5 was not addded
284028: Critical: Machine::AddSession called with duplicate session 6 "[jan 01, 1970 01:00:06]" for machine "0x192f631"
284028: Warning:  Session 6 was not addded
284028: Critical: Machine::AddSession called with duplicate session 7 "[jan 01, 1970 01:00:07]" for machine "0x192f631"
284028: Warning:  Session 7 was not addded
284028: Critical: Machine::AddSession called with duplicate session 8 "[jan 01, 1970 01:00:08]" for machine "0x192f631"
284028: Warning:  Session 8 was not addded
284028: Critical: Machine::AddSession called with duplicate session 9 "[jan 01, 1970 01:00:09]" for machine "0x192f631"
284028: Warning:  Session 9 was not addded
284028: Critical: Machine::AddSession called with duplicate session 10 "[jan 01, 1970 01:00:10]" for machine "0x192f631"
284028: Warning:  Session 10 was not addded
284028: Critical: Machine::AddSession called with duplicate session 11 "[jan 01, 1970 01:00:11]" for machine "0x192f631"
284028: Warning:  Session 11 was not addded
284028: Critical: Machine::AddSession called with duplicate session 12 "[jan 01, 1970 01:00:12]" for machine "0x192f631"
284028: Warning:  Session 12 was not addded
284028: Critical: Machine::AddSession called with duplicate session 13 "[jan 01, 1970 01:00:13]" for machine "0x192f631"
284028: Warning:  Session 13 was not addded
284028: Critical: Machine::AddSession called with duplicate session 14 "[jan 01, 1970 01:00:14]" for machine "0x192f631"
284028: Warning:  Session 14 was not addded
284028: Critical: Machine::AddSession called with duplicate session 15 "[jan 01, 1970 01:00:15]" for machine "0x192f631"
284028: Warning:  Session 15 was not addded
284028: Critical: Machine::AddSession called with duplicate session 16 "[jan 01, 1970 01:00:16]" for machine "0x192f631"
284028: Warning:  Session 16 was not addded
284028: Critical: Machine::AddSession called with duplicate session 17 "[jan 01, 1970 01:00:17]" for machine "0x192f631"
284028: Warning:  Session 17 was not addded
284028: Critical: Machine::AddSession called with duplicate session 18 "[jan 01, 1970 01:00:18]" for machine "0x192f631"
284028: Warning:  Session 18 was not addded
284028: Critical: Machine::AddSession called with duplicate session 19 "[jan 01, 1970 01:00:19]" for machine "0x192f631"
284028: Warning:  Session 19 was not addded
284029: Critical: Machine::AddSession called with duplicate session 20 "[jan 01, 1970 01:00:20]" for machine "0x192f631"
284029: Warning:  Session 20 was not addded
284029: Critical: Machine::AddSession called with duplicate session 21 "[jan 01, 1970 01:00:21]" for machine "0x192f631"
284029: Warning:  Session 21 was not addded
284029: Critical: Machine::AddSession called with duplicate session 22 "[jan 01, 1970 01:00:22]" for machine "0x192f631"
284029: Warning:  Session 22 was not addded
284029: Critical: Machine::AddSession called with duplicate session 23 "[jan 01, 1970 01:00:23]" for machine "0x192f631"
284029: Warning:  Session 23 was not addded
284029: Critical: Machine::AddSession called with duplicate session 24 "[jan 01, 1970 01:00:24]" for machine "0x192f631"
284029: Warning:  Session 24 was not addded
284029: Critical: Machine::AddSession called with duplicate session 25 "[jan 01, 1970 01:00:25]" for machine "0x192f631"
284029: Warning:  Session 25 was not addded
284029: Critical: Machine::AddSession called with duplicate session 26 "[jan 01, 1970 01:00:26]" for machine "0x192f631"
284029: Warning:  Session 26 was not addded
284066: Debug:    Finished Importing data 27
284067: Debug:    Saving "Löwenstein" session info "Prisma"
284067: Debug:    Done Saving "Löwenstein" session info
284067: Debug:    Saving "Löwenstein" "Prisma Smart" Summaries
284091: Debug:    Daily::Load called for "fr sep 29 2023" using "MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0"
284091: Debug:    Setting App font in Daily::Load
284091: Debug:    Application font starts out as QFont(MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0)
284091: Debug:    Application font set to QFont(MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0)
284091: Debug:    Application font reads back as QFont(MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0)
284091: Debug:    system font is "MS Shell Dlg 2"

I quit Oscar and started it again. It is important to note that session 25 was not available. Did another import and this time session 25 was added properly. My suspicion it that this then is related to the Summaries which are recreated when starting. This time I saved the full log:
Code:
00000: Debug:    Started logging thread
00000: Debug:    OSCAR starting lø sep 30 07:57:39 2023
00000: Debug:    APP-NAME: "OSCAR"
00000: Debug:    APP-PATH: "C:/Program Files/OSCAR"
00000: Debug:    Trying "C:/Program Files/OSCAR/Translations/oscar_qt_fr.qm"
00000: Debug:    APP-RESOURCES: "C:/Program Files/OSCAR"
00000: Debug:    OSCAR 1.5.0+master-c2a7e2b0 (winnt x86_64)
00000: Debug:    Built with Qt 5.15.2 on Aug 31 2023 21:24:06
00000: Debug:    system locale date format "d. MMMM yyyy"
00000: Debug:    shortened date format "d. MMM yyyy" dayFirst true
00000: Debug:    number of built-in *.qm files 0
00000: Debug:    Inbuilt Translations: en_US
00000: Debug:    number of external *.qm files 57
00000: Debug:    Number of external translations is 32
00000: Debug:    Extra Translations: af, ar, bg, cz, da, de, el, en_UK, es, es_MX, fi, fil, fr, he, hu, it, ja, ko, nl, no, ph, pl, pt, pt_BR, ro, ru, sv, th, tr, zh, zh_CN, zh_TW
00000: Debug:    Loading "English (UK)" QT translation oscar_qt_en.qm from C:/Program Files/OSCAR/Translations
00001: Warning:  Could not load QT translation "oscar_qt_en.qm" reverting to english :(
00001: Debug:    Loading "English (UK)" OSCAR translation English.en_UK.qm from C:/Program Files/OSCAR/Translations
00458: Debug:    Logging UI initialized
00459: Debug:    Using System Tray for Menu
00610: Debug:    OSCAR 1.5.0+master-c2a7e2b0 (winnt x86_64)
00610: Debug:    Built with Qt 5.15.2 on Aug 31 2023 21:24:06
00610: Debug:    
00610: Debug:    Operating system: Windows 10 Version 2009
00610: Debug:    Graphics Engine: 4.6.0 Compatibility Profile Context 22.20.27.09.230330
00610: Debug:    Graphics Engine type: OpenGL
00610: Debug:    Compiler: MINGW64:8.1.0
00610: Debug:    
00610: Debug:    AppData folder already exists, so ...
00610: Debug:    Using C:/Users/clan/Documents/OSCAR_Data as OSCAR data folder
00614: Debug:    Logging to C:/Users/clan/Documents/OSCAR_Data/logs/debug.txt
00615: Debug:    Opening  C:/Users/clan/Documents/OSCAR_Data/Preferences.xml
00615: Debug:    App font before Prefs setting QFont(MS Shell Dlg 2,8.25,-1,5,50,0,0,0,0,0)
00615: Debug:    validateFont found 391 installed font families
00615: Debug:    "Application" Preferences font is "MS Shell Dlg 2"
00615: Debug:    "Application" font set to "MS Shell Dlg 2" at size QVariant(int, 10)
00615: Debug:    validateFont found 391 installed font families
00615: Debug:    "Graph" Preferences font is "MS Shell Dlg 2"
00615: Debug:    "Graph" font set to "MS Shell Dlg 2" at size QVariant(int, 10)
00615: Debug:    validateFont found 391 installed font families
00616: Debug:    "Title" Preferences font is "MS Shell Dlg 2"
00616: Debug:    "Title" font set to "MS Shell Dlg 2" at size QVariant(int, 12)
00616: Debug:    validateFont found 391 installed font families
00616: Debug:    "Big" Preferences font is "MS Shell Dlg 2"
00616: Debug:    "Big" font set to "MS Shell Dlg 2" at size QVariant(int, 35)
00616: Debug:    Application font starts out as QFont(MS Shell Dlg 2,8.25,-1,5,50,0,0,0,0,0)
00619: Debug:    Application font set to QFont(MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0)
00619: Debug:    Application font reads back as QFont(MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0)
00619: Debug:    system font is "MS Shell Dlg 2"
00619: Debug:    Opening  ":/docs/channels.xml"
00620: Debug:    Processing xml file: "channels" "en" "1.0"
00620: Debug:    Registering PRS1Loader
00630: Debug:    Registering ResmedLoader
00636: Debug:    Registering IntellipapLoader
00640: Debug:    Registering F&P Sleepstyle Loader
00640: Debug:    Registering F&P Icon Loader
00640: Debug:    Registering WeinmannLoader
00640: Debug:    Registering CMS50Loader
00640: Debug:    cms50f37 - Registering CMS50F37Loader
00640: Debug:    Registering MD300W1Loader
00640: Debug:    Registering ViatomLoader
00640: Debug:    Registering PrismaLoader
00640: Debug:    Registering ResventLoader
00648: Debug:    Logging device connections to C:/Users/clan/Documents/OSCAR_Data/logs/connections/devices.xml
00649: Debug:    Opening  C:/Users/clan/Documents/OSCAR_Data/Profiles/Claus/Profile.xml
00650: Debug:    Opening  C:/Users/clan/Documents/OSCAR_Data/Profiles/Claus (L�wenstein Prisma Smart Plus)/Profile.xml
00921: Debug:    Opening profile "Claus (Löwenstein Prisma Smart Plus)"
00933: Debug:    Loading Journal record: C:/Users/clan/Documents/OSCAR_Data/Profiles/Claus (L�wenstein Prisma Smart Plus)/Journal_00007e55/
00934: Debug:    Loading C:/Users/clan/Documents/OSCAR_Data/Profiles/Claus (L�wenstein Prisma Smart Plus)/Journal_00007e55/Summaries.xml.gz
00965: Warning:  Invalid XML Content in "C:/Users/clan/Documents/OSCAR_Data/Profiles/Claus (Löwenstein Prisma Smart Plus)/Journal_00007e55/Summaries.xml.gz"
00965: Warning:  Error line 1 : "unexpected end of file"
00965: Debug:    Recreating the Summary index XML file
00986: Debug:    Reading summary files (.000)
00988: Debug:    Saving "OSCAR" "Journal" Summaries
00989: Debug:    Loaded Journal data in 20 ms
00989: Debug:    Loading Session Info
01001: Debug:    Loading Prisma record: C:/Users/clan/Documents/OSCAR_Data/Profiles/Claus (L�wenstein Prisma Smart Plus)/Prisma_0x192f631/
01001: Debug:    Loading C:/Users/clan/Documents/OSCAR_Data/Profiles/Claus (L�wenstein Prisma Smart Plus)/Prisma_0x192f631/Summaries.xml.gz
01005: Warning:  Invalid XML Content in "C:/Users/clan/Documents/OSCAR_Data/Profiles/Claus (Löwenstein Prisma Smart Plus)/Prisma_0x192f631/Summaries.xml.gz"
01005: Warning:  Error line 1 : "unexpected end of file"
01005: Debug:    Recreating the Summary index XML file
01014: Debug:    Reading summary files (.000)
01030: Debug:    Saving "Löwenstein" "Prisma Smart" Summaries
01031: Debug:    Loaded Prisma Smart data in 20 ms
01032: Debug:    Loading Session Info
01034: Debug:    Loading channel.dat States
01071: Debug:    Creating new Daily object
01084: Debug:    Daily Left Panel Width is  407
01120: Debug:    Daily::Load called for "fr sep 29 2023" using "MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0"
01120: Debug:    Setting App font in Daily::Load
01120: Debug:    Application font starts out as QFont(MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0)
01120: Debug:    Application font set to QFont(MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0)
01120: Debug:    Application font reads back as QFont(MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0)
01120: Debug:    system font is "MS Shell Dlg 2"
01178: Debug:    Finished opening Profile
48401: Debug:    Adding "" on "D:/" to drivelist
48401: Debug:    Adding "Google Drive" on "G:/" to drivelist
48401: Debug:    Drive list size: 2
48546: Debug:    Found "Prisma" datacard at "D:/"
48569: Debug:    PeekInfo  "D:/"
48569: Debug:    PeekInfo  "D:/"
51944: Debug:    PeekInfo  "D:/"
51950: Debug:    Prisma opening "D:/"
51962: Debug:    "Backup Path is C:/Users/clan/Documents/OSCAR_Data/Profiles/Claus (Löwenstein Prisma Smart Plus)/Prisma_0x192f631/Backup/"
51972: Debug:    SCANFILES "D:/\\0026408497"
51972: Debug:    INFO   1663927200   false
51987: Debug:    Task count  27
51996: Debug:    MachineLoader::runTasks MLtasklist size is 27
51996: Debug:    PRISMA IMPORT 17
52009: Debug:    SIZE 25
52010: Debug:    Unordered time detected in AddEvent() 1 "2023-09-27T05:33:20" "2023-09-27T02:15:45" 10
52020: Debug:    PRISMA IMPORT 16
52022: Debug:    SIZE 15
52033: Debug:    PRISMA IMPORT 19
52047: Debug:    SIZE 24
52055: Debug:    PRISMA IMPORT 18
52065: Debug:    SIZE 24
52076: Debug:    PRISMA IMPORT 25
52090: Debug:    SIZE 21
52098: Debug:    PRISMA IMPORT 24
52115: Debug:    SIZE 21
52116: Debug:    Unordered time detected in AddEvent() 1 "2023-09-29T02:26:11" "2023-09-29T02:10:43" 13
52130: Debug:    PRISMA IMPORT 26
52136: Debug:    SIZE 20
52141: Debug:    PRISMA IMPORT 5
52147: Debug:    SIZE 19
52158: Debug:    PRISMA IMPORT 4
52163: Debug:    SIZE 13
52168: Debug:    PRISMA IMPORT 7
52184: Debug:    SIZE 21
52184: Debug:    Unordered time detected in AddEvent() 1 "2023-09-24T05:16:12" "2023-09-24T03:37:51" 10
52198: Debug:    PRISMA IMPORT 6
52198: Debug:    SIZE 5
52201: Debug:    PRISMA IMPORT 1
52202: Debug:    SIZE 5
52208: Debug:    PRISMA IMPORT 0
52209: Debug:    SIZE 8
52212: Debug:    PRISMA IMPORT 3
52223: Debug:    SIZE 23
52223: Debug:    Unordered time detected in AddEvent() 1 "2023-09-23T01:13:47" "2023-09-22T23:42:49" 11
52236: Debug:    PRISMA IMPORT 2
52243: Debug:    SIZE 14
52249: Debug:    PRISMA IMPORT 13
52256: Debug:    SIZE 18
52264: Debug:    PRISMA IMPORT 12
52271: Debug:    SIZE 16
52277: Debug:    PRISMA IMPORT 15
52287: Debug:    SIZE 27
52297: Debug:    PRISMA IMPORT 14
52316: Debug:    SIZE 24
52316: Debug:    Unordered time detected in AddEvent() 3 "2023-09-26T03:19:25" "2023-09-26T00:42:41" 10
52326: Debug:    PRISMA IMPORT 9
52334: Debug:    SIZE 21
52342: Debug:    PRISMA IMPORT 8
52347: Debug:    SIZE 18
52351: Debug:    PRISMA IMPORT 11
52354: Debug:    SIZE 13
52361: Debug:    PRISMA IMPORT 10
52384: Debug:    SIZE 22
52384: Debug:    Unordered time detected in AddEvent() 2 "2023-09-25T02:55:23" "2023-09-25T00:54:30" 14
52396: Debug:    PRISMA IMPORT 21
52400: Debug:    SIZE 21
52410: Debug:    PRISMA IMPORT 20
52425: Debug:    SIZE 27
52426: Debug:    Unordered time detected in AddEvent() 2 "2023-09-28T04:06:08" "2023-09-28T03:14:03" 13
52435: Debug:    PRISMA IMPORT 23
52443: Debug:    SIZE 19
52454: Debug:    PRISMA IMPORT 22
52454: Debug:    SIZE 5
52470: Critical: Machine::AddSession called with duplicate session 1 "[jan 01, 1970 01:00:01]" for machine "0x192f631"
52470: Warning:  Session 1 was not addded
52470: Critical: Machine::AddSession called with duplicate session 2 "[jan 01, 1970 01:00:02]" for machine "0x192f631"
52470: Warning:  Session 2 was not addded
52470: Critical: Machine::AddSession called with duplicate session 3 "[jan 01, 1970 01:00:03]" for machine "0x192f631"
52470: Warning:  Session 3 was not addded
52470: Critical: Machine::AddSession called with duplicate session 4 "[jan 01, 1970 01:00:04]" for machine "0x192f631"
52470: Warning:  Session 4 was not addded
52470: Critical: Machine::AddSession called with duplicate session 5 "[jan 01, 1970 01:00:05]" for machine "0x192f631"
52470: Warning:  Session 5 was not addded
52470: Critical: Machine::AddSession called with duplicate session 6 "[jan 01, 1970 01:00:06]" for machine "0x192f631"
52470: Warning:  Session 6 was not addded
52470: Critical: Machine::AddSession called with duplicate session 7 "[jan 01, 1970 01:00:07]" for machine "0x192f631"
52470: Warning:  Session 7 was not addded
52470: Critical: Machine::AddSession called with duplicate session 8 "[jan 01, 1970 01:00:08]" for machine "0x192f631"
52470: Warning:  Session 8 was not addded
52470: Critical: Machine::AddSession called with duplicate session 9 "[jan 01, 1970 01:00:09]" for machine "0x192f631"
52470: Warning:  Session 9 was not addded
52470: Critical: Machine::AddSession called with duplicate session 10 "[jan 01, 1970 01:00:10]" for machine "0x192f631"
52470: Warning:  Session 10 was not addded
52470: Critical: Machine::AddSession called with duplicate session 11 "[jan 01, 1970 01:00:11]" for machine "0x192f631"
52470: Warning:  Session 11 was not addded
52470: Critical: Machine::AddSession called with duplicate session 12 "[jan 01, 1970 01:00:12]" for machine "0x192f631"
52470: Warning:  Session 12 was not addded
52471: Critical: Machine::AddSession called with duplicate session 13 "[jan 01, 1970 01:00:13]" for machine "0x192f631"
52471: Warning:  Session 13 was not addded
52471: Critical: Machine::AddSession called with duplicate session 14 "[jan 01, 1970 01:00:14]" for machine "0x192f631"
52471: Warning:  Session 14 was not addded
52471: Critical: Machine::AddSession called with duplicate session 15 "[jan 01, 1970 01:00:15]" for machine "0x192f631"
52471: Warning:  Session 15 was not addded
52471: Critical: Machine::AddSession called with duplicate session 16 "[jan 01, 1970 01:00:16]" for machine "0x192f631"
52471: Warning:  Session 16 was not addded
52471: Critical: Machine::AddSession called with duplicate session 17 "[jan 01, 1970 01:00:17]" for machine "0x192f631"
52471: Warning:  Session 17 was not addded
52471: Critical: Machine::AddSession called with duplicate session 18 "[jan 01, 1970 01:00:18]" for machine "0x192f631"
52471: Warning:  Session 18 was not addded
52471: Critical: Machine::AddSession called with duplicate session 19 "[jan 01, 1970 01:00:19]" for machine "0x192f631"
52471: Warning:  Session 19 was not addded
52471: Critical: Machine::AddSession called with duplicate session 20 "[jan 01, 1970 01:00:20]" for machine "0x192f631"
52471: Warning:  Session 20 was not addded
52471: Critical: Machine::AddSession called with duplicate session 21 "[jan 01, 1970 01:00:21]" for machine "0x192f631"
52471: Warning:  Session 21 was not addded
52471: Critical: Machine::AddSession called with duplicate session 22 "[jan 01, 1970 01:00:22]" for machine "0x192f631"
52471: Warning:  Session 22 was not addded
52471: Critical: Machine::AddSession called with duplicate session 23 "[jan 01, 1970 01:00:23]" for machine "0x192f631"
52471: Warning:  Session 23 was not addded
52471: Critical: Machine::AddSession called with duplicate session 24 "[jan 01, 1970 01:00:24]" for machine "0x192f631"
52471: Warning:  Session 24 was not addded
52471: Critical: Machine::AddSession called with duplicate session 25 "[jan 01, 1970 01:00:25]" for machine "0x192f631"
52471: Warning:  Session 25 was not addded
52471: Critical: Machine::AddSession called with duplicate session 26 "[jan 01, 1970 01:00:26]" for machine "0x192f631"
52471: Warning:  Session 26 was not addded
52494: Debug:    Finished Importing data 27
52494: Debug:    Saving "Löwenstein" session info "Prisma"
52495: Debug:    Done Saving "Löwenstein" session info
52495: Debug:    Saving "Löwenstein" "Prisma Smart" Summaries
52513: Debug:    Daily::Load called for "fr sep 29 2023" using "MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0"
52513: Debug:    Setting App font in Daily::Load
52513: Debug:    Application font starts out as QFont(MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0)
52513: Debug:    Application font set to QFont(MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0)
52513: Debug:    Application font reads back as QFont(MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0)
52513: Debug:    system font is "MS Shell Dlg 2"

As a test I created a new profile and did a Import. Session 23 and 25 was imported cleanly:

Code:
00000: Debug:    Started logging thread
00000: Debug:    OSCAR starting lø sep 30 07:57:39 2023
00000: Debug:    APP-NAME: "OSCAR"
00000: Debug:    APP-PATH: "C:/Program Files/OSCAR"
00000: Debug:    Trying "C:/Program Files/OSCAR/Translations/oscar_qt_fr.qm"
00000: Debug:    APP-RESOURCES: "C:/Program Files/OSCAR"
00000: Debug:    OSCAR 1.5.0+master-c2a7e2b0 (winnt x86_64)
00000: Debug:    Built with Qt 5.15.2 on Aug 31 2023 21:24:06
00000: Debug:    system locale date format "d. MMMM yyyy"
00000: Debug:    shortened date format "d. MMM yyyy" dayFirst true
00000: Debug:    number of built-in *.qm files 0
00000: Debug:    Inbuilt Translations: en_US
00000: Debug:    number of external *.qm files 57
00000: Debug:    Number of external translations is 32
00000: Debug:    Extra Translations: af, ar, bg, cz, da, de, el, en_UK, es, es_MX, fi, fil, fr, he, hu, it, ja, ko, nl, no, ph, pl, pt, pt_BR, ro, ru, sv, th, tr, zh, zh_CN, zh_TW
00000: Debug:    Loading "English (UK)" QT translation oscar_qt_en.qm from C:/Program Files/OSCAR/Translations
00001: Warning:  Could not load QT translation "oscar_qt_en.qm" reverting to english :(
00001: Debug:    Loading "English (UK)" OSCAR translation English.en_UK.qm from C:/Program Files/OSCAR/Translations
00458: Debug:    Logging UI initialized
00459: Debug:    Using System Tray for Menu
00610: Debug:    OSCAR 1.5.0+master-c2a7e2b0 (winnt x86_64)
00610: Debug:    Built with Qt 5.15.2 on Aug 31 2023 21:24:06
00610: Debug:    
00610: Debug:    Operating system: Windows 10 Version 2009
00610: Debug:    Graphics Engine: 4.6.0 Compatibility Profile Context 22.20.27.09.230330
00610: Debug:    Graphics Engine type: OpenGL
00610: Debug:    Compiler: MINGW64:8.1.0
00610: Debug:    
00610: Debug:    AppData folder already exists, so ...
00610: Debug:    Using C:/Users/clan/Documents/OSCAR_Data as OSCAR data folder
00614: Debug:    Logging to C:/Users/clan/Documents/OSCAR_Data/logs/debug.txt
00615: Debug:    Opening  C:/Users/clan/Documents/OSCAR_Data/Preferences.xml
00615: Debug:    App font before Prefs setting QFont(MS Shell Dlg 2,8.25,-1,5,50,0,0,0,0,0)
00615: Debug:    validateFont found 391 installed font families
00615: Debug:    "Application" Preferences font is "MS Shell Dlg 2"
00615: Debug:    "Application" font set to "MS Shell Dlg 2" at size QVariant(int, 10)
00615: Debug:    validateFont found 391 installed font families
00615: Debug:    "Graph" Preferences font is "MS Shell Dlg 2"
00615: Debug:    "Graph" font set to "MS Shell Dlg 2" at size QVariant(int, 10)
00615: Debug:    validateFont found 391 installed font families
00616: Debug:    "Title" Preferences font is "MS Shell Dlg 2"
00616: Debug:    "Title" font set to "MS Shell Dlg 2" at size QVariant(int, 12)
00616: Debug:    validateFont found 391 installed font families
00616: Debug:    "Big" Preferences font is "MS Shell Dlg 2"
00616: Debug:    "Big" font set to "MS Shell Dlg 2" at size QVariant(int, 35)
00616: Debug:    Application font starts out as QFont(MS Shell Dlg 2,8.25,-1,5,50,0,0,0,0,0)
00619: Debug:    Application font set to QFont(MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0)
00619: Debug:    Application font reads back as QFont(MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0)
00619: Debug:    system font is "MS Shell Dlg 2"
00619: Debug:    Opening  ":/docs/channels.xml"
00620: Debug:    Processing xml file: "channels" "en" "1.0"
00620: Debug:    Registering PRS1Loader
00630: Debug:    Registering ResmedLoader
00636: Debug:    Registering IntellipapLoader
00640: Debug:    Registering F&P Sleepstyle Loader
00640: Debug:    Registering F&P Icon Loader
00640: Debug:    Registering WeinmannLoader
00640: Debug:    Registering CMS50Loader
00640: Debug:    cms50f37 - Registering CMS50F37Loader
00640: Debug:    Registering MD300W1Loader
00640: Debug:    Registering ViatomLoader
00640: Debug:    Registering PrismaLoader
00640: Debug:    Registering ResventLoader
00648: Debug:    Logging device connections to C:/Users/clan/Documents/OSCAR_Data/logs/connections/devices.xml
00649: Debug:    Opening  C:/Users/clan/Documents/OSCAR_Data/Profiles/Claus/Profile.xml
00650: Debug:    Opening  C:/Users/clan/Documents/OSCAR_Data/Profiles/Claus (L�wenstein Prisma Smart Plus)/Profile.xml
00921: Debug:    Opening profile "Claus (Löwenstein Prisma Smart Plus)"
00933: Debug:    Loading Journal record: C:/Users/clan/Documents/OSCAR_Data/Profiles/Claus (L�wenstein Prisma Smart Plus)/Journal_00007e55/
00934: Debug:    Loading C:/Users/clan/Documents/OSCAR_Data/Profiles/Claus (L�wenstein Prisma Smart Plus)/Journal_00007e55/Summaries.xml.gz
00965: Warning:  Invalid XML Content in "C:/Users/clan/Documents/OSCAR_Data/Profiles/Claus (Löwenstein Prisma Smart Plus)/Journal_00007e55/Summaries.xml.gz"
00965: Warning:  Error line 1 : "unexpected end of file"
00965: Debug:    Recreating the Summary index XML file
00986: Debug:    Reading summary files (.000)
00988: Debug:    Saving "OSCAR" "Journal" Summaries
00989: Debug:    Loaded Journal data in 20 ms
00989: Debug:    Loading Session Info
01001: Debug:    Loading Prisma record: C:/Users/clan/Documents/OSCAR_Data/Profiles/Claus (L�wenstein Prisma Smart Plus)/Prisma_0x192f631/
01001: Debug:    Loading C:/Users/clan/Documents/OSCAR_Data/Profiles/Claus (L�wenstein Prisma Smart Plus)/Prisma_0x192f631/Summaries.xml.gz
01005: Warning:  Invalid XML Content in "C:/Users/clan/Documents/OSCAR_Data/Profiles/Claus (Löwenstein Prisma Smart Plus)/Prisma_0x192f631/Summaries.xml.gz"
01005: Warning:  Error line 1 : "unexpected end of file"
01005: Debug:    Recreating the Summary index XML file
01014: Debug:    Reading summary files (.000)
01030: Debug:    Saving "Löwenstein" "Prisma Smart" Summaries
01031: Debug:    Loaded Prisma Smart data in 20 ms
01032: Debug:    Loading Session Info
01034: Debug:    Loading channel.dat States
01071: Debug:    Creating new Daily object
01084: Debug:    Daily Left Panel Width is  407
01120: Debug:    Daily::Load called for "fr sep 29 2023" using "MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0"
01120: Debug:    Setting App font in Daily::Load
01120: Debug:    Application font starts out as QFont(MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0)
01120: Debug:    Application font set to QFont(MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0)
01120: Debug:    Application font reads back as QFont(MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0)
01120: Debug:    system font is "MS Shell Dlg 2"
01178: Debug:    Finished opening Profile
48401: Debug:    Adding "" on "D:/" to drivelist
48401: Debug:    Adding "Google Drive" on "G:/" to drivelist
48401: Debug:    Drive list size: 2
48546: Debug:    Found "Prisma" datacard at "D:/"
48569: Debug:    PeekInfo  "D:/"
48569: Debug:    PeekInfo  "D:/"
51944: Debug:    PeekInfo  "D:/"
51950: Debug:    Prisma opening "D:/"
51962: Debug:    "Backup Path is C:/Users/clan/Documents/OSCAR_Data/Profiles/Claus (Löwenstein Prisma Smart Plus)/Prisma_0x192f631/Backup/"
51972: Debug:    SCANFILES "D:/\\0026408497"
51972: Debug:    INFO   1663927200   false
51987: Debug:    Task count  27
51996: Debug:    MachineLoader::runTasks MLtasklist size is 27
51996: Debug:    PRISMA IMPORT 17
52009: Debug:    SIZE 25
52010: Debug:    Unordered time detected in AddEvent() 1 "2023-09-27T05:33:20" "2023-09-27T02:15:45" 10
52020: Debug:    PRISMA IMPORT 16
52022: Debug:    SIZE 15
52033: Debug:    PRISMA IMPORT 19
52047: Debug:    SIZE 24
52055: Debug:    PRISMA IMPORT 18
52065: Debug:    SIZE 24
52076: Debug:    PRISMA IMPORT 25
52090: Debug:    SIZE 21
52098: Debug:    PRISMA IMPORT 24
52115: Debug:    SIZE 21
52116: Debug:    Unordered time detected in AddEvent() 1 "2023-09-29T02:26:11" "2023-09-29T02:10:43" 13
52130: Debug:    PRISMA IMPORT 26
52136: Debug:    SIZE 20
52141: Debug:    PRISMA IMPORT 5
52147: Debug:    SIZE 19
52158: Debug:    PRISMA IMPORT 4
52163: Debug:    SIZE 13
52168: Debug:    PRISMA IMPORT 7
52184: Debug:    SIZE 21
52184: Debug:    Unordered time detected in AddEvent() 1 "2023-09-24T05:16:12" "2023-09-24T03:37:51" 10
52198: Debug:    PRISMA IMPORT 6
52198: Debug:    SIZE 5
52201: Debug:    PRISMA IMPORT 1
52202: Debug:    SIZE 5
52208: Debug:    PRISMA IMPORT 0
52209: Debug:    SIZE 8
52212: Debug:    PRISMA IMPORT 3
52223: Debug:    SIZE 23
52223: Debug:    Unordered time detected in AddEvent() 1 "2023-09-23T01:13:47" "2023-09-22T23:42:49" 11
52236: Debug:    PRISMA IMPORT 2
52243: Debug:    SIZE 14
52249: Debug:    PRISMA IMPORT 13
52256: Debug:    SIZE 18
52264: Debug:    PRISMA IMPORT 12
52271: Debug:    SIZE 16
52277: Debug:    PRISMA IMPORT 15
52287: Debug:    SIZE 27
52297: Debug:    PRISMA IMPORT 14
52316: Debug:    SIZE 24
52316: Debug:    Unordered time detected in AddEvent() 3 "2023-09-26T03:19:25" "2023-09-26T00:42:41" 10
52326: Debug:    PRISMA IMPORT 9
52334: Debug:    SIZE 21
52342: Debug:    PRISMA IMPORT 8
52347: Debug:    SIZE 18
52351: Debug:    PRISMA IMPORT 11
52354: Debug:    SIZE 13
52361: Debug:    PRISMA IMPORT 10
52384: Debug:    SIZE 22
52384: Debug:    Unordered time detected in AddEvent() 2 "2023-09-25T02:55:23" "2023-09-25T00:54:30" 14
52396: Debug:    PRISMA IMPORT 21
52400: Debug:    SIZE 21
52410: Debug:    PRISMA IMPORT 20
52425: Debug:    SIZE 27
52426: Debug:    Unordered time detected in AddEvent() 2 "2023-09-28T04:06:08" "2023-09-28T03:14:03" 13
52435: Debug:    PRISMA IMPORT 23
52443: Debug:    SIZE 19
52454: Debug:    PRISMA IMPORT 22
52454: Debug:    SIZE 5
52470: Critical: Machine::AddSession called with duplicate session 1 "[jan 01, 1970 01:00:01]" for machine "0x192f631"
52470: Warning:  Session 1 was not addded
52470: Critical: Machine::AddSession called with duplicate session 2 "[jan 01, 1970 01:00:02]" for machine "0x192f631"
52470: Warning:  Session 2 was not addded
52470: Critical: Machine::AddSession called with duplicate session 3 "[jan 01, 1970 01:00:03]" for machine "0x192f631"
52470: Warning:  Session 3 was not addded
52470: Critical: Machine::AddSession called with duplicate session 4 "[jan 01, 1970 01:00:04]" for machine "0x192f631"
52470: Warning:  Session 4 was not addded
52470: Critical: Machine::AddSession called with duplicate session 5 "[jan 01, 1970 01:00:05]" for machine "0x192f631"
52470: Warning:  Session 5 was not addded
52470: Critical: Machine::AddSession called with duplicate session 6 "[jan 01, 1970 01:00:06]" for machine "0x192f631"
52470: Warning:  Session 6 was not addded
52470: Critical: Machine::AddSession called with duplicate session 7 "[jan 01, 1970 01:00:07]" for machine "0x192f631"
52470: Warning:  Session 7 was not addded
52470: Critical: Machine::AddSession called with duplicate session 8 "[jan 01, 1970 01:00:08]" for machine "0x192f631"
52470: Warning:  Session 8 was not addded
52470: Critical: Machine::AddSession called with duplicate session 9 "[jan 01, 1970 01:00:09]" for machine "0x192f631"
52470: Warning:  Session 9 was not addded
52470: Critical: Machine::AddSession called with duplicate session 10 "[jan 01, 1970 01:00:10]" for machine "0x192f631"
52470: Warning:  Session 10 was not addded
52470: Critical: Machine::AddSession called with duplicate session 11 "[jan 01, 1970 01:00:11]" for machine "0x192f631"
52470: Warning:  Session 11 was not addded
52470: Critical: Machine::AddSession called with duplicate session 12 "[jan 01, 1970 01:00:12]" for machine "0x192f631"
52470: Warning:  Session 12 was not addded
52471: Critical: Machine::AddSession called with duplicate session 13 "[jan 01, 1970 01:00:13]" for machine "0x192f631"
52471: Warning:  Session 13 was not addded
52471: Critical: Machine::AddSession called with duplicate session 14 "[jan 01, 1970 01:00:14]" for machine "0x192f631"
52471: Warning:  Session 14 was not addded
52471: Critical: Machine::AddSession called with duplicate session 15 "[jan 01, 1970 01:00:15]" for machine "0x192f631"
52471: Warning:  Session 15 was not addded
52471: Critical: Machine::AddSession called with duplicate session 16 "[jan 01, 1970 01:00:16]" for machine "0x192f631"
52471: Warning:  Session 16 was not addded
52471: Critical: Machine::AddSession called with duplicate session 17 "[jan 01, 1970 01:00:17]" for machine "0x192f631"
52471: Warning:  Session 17 was not addded
52471: Critical: Machine::AddSession called with duplicate session 18 "[jan 01, 1970 01:00:18]" for machine "0x192f631"
52471: Warning:  Session 18 was not addded
52471: Critical: Machine::AddSession called with duplicate session 19 "[jan 01, 1970 01:00:19]" for machine "0x192f631"
52471: Warning:  Session 19 was not addded
52471: Critical: Machine::AddSession called with duplicate session 20 "[jan 01, 1970 01:00:20]" for machine "0x192f631"
52471: Warning:  Session 20 was not addded
52471: Critical: Machine::AddSession called with duplicate session 21 "[jan 01, 1970 01:00:21]" for machine "0x192f631"
52471: Warning:  Session 21 was not addded
52471: Critical: Machine::AddSession called with duplicate session 22 "[jan 01, 1970 01:00:22]" for machine "0x192f631"
52471: Warning:  Session 22 was not addded
52471: Critical: Machine::AddSession called with duplicate session 23 "[jan 01, 1970 01:00:23]" for machine "0x192f631"
52471: Warning:  Session 23 was not addded
52471: Critical: Machine::AddSession called with duplicate session 24 "[jan 01, 1970 01:00:24]" for machine "0x192f631"
52471: Warning:  Session 24 was not addded
52471: Critical: Machine::AddSession called with duplicate session 25 "[jan 01, 1970 01:00:25]" for machine "0x192f631"
52471: Warning:  Session 25 was not addded
52471: Critical: Machine::AddSession called with duplicate session 26 "[jan 01, 1970 01:00:26]" for machine "0x192f631"
52471: Warning:  Session 26 was not addded
52494: Debug:    Finished Importing data 27
52494: Debug:    Saving "Löwenstein" session info "Prisma"
52495: Debug:    Done Saving "Löwenstein" session info
52495: Debug:    Saving "Löwenstein" "Prisma Smart" Summaries
52513: Debug:    Daily::Load called for "fr sep 29 2023" using "MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0"
52513: Debug:    Setting App font in Daily::Load
52513: Debug:    Application font starts out as QFont(MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0)
52513: Debug:    Application font set to QFont(MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0)
52513: Debug:    Application font reads back as QFont(MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0)
52513: Debug:    system font is "MS Shell Dlg 2"
260271: Debug:    Daily::Load called for "fr sep 22 2023" using "MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0"
260271: Debug:    Setting App font in Daily::Load
260271: Debug:    Application font starts out as QFont(MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0)
260271: Debug:    Application font set to QFont(MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0)
260271: Debug:    Application font reads back as QFont(MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0)
260271: Debug:    system font is "MS Shell Dlg 2"
260312: Debug:    Page change time (in ms): Unload = 0 Load = 41 Other = 0
261041: Debug:    Daily::Load called for "fr sep 29 2023" using "MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0"
261041: Debug:    Setting App font in Daily::Load
261041: Debug:    Application font starts out as QFont(MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0)
261042: Debug:    Application font set to QFont(MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0)
261042: Debug:    Application font reads back as QFont(MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0)
261042: Debug:    system font is "MS Shell Dlg 2"
261076: Debug:    Page change time (in ms): Unload = 0 Load = 34 Other = 0
325019: Debug:    Daily::Load called for "to sep 28 2023" using "MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0"
325019: Debug:    Setting App font in Daily::Load
325019: Debug:    Application font starts out as QFont(MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0)
325019: Debug:    Application font set to QFont(MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0)
325019: Debug:    Application font reads back as QFont(MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0)
325019: Debug:    system font is "MS Shell Dlg 2"
325056: Debug:    Page change time (in ms): Unload = 0 Load = 37 Other = 0
326019: Debug:    Daily::Load called for "fr sep 29 2023" using "MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0"
326019: Debug:    Setting App font in Daily::Load
326019: Debug:    Application font starts out as QFont(MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0)
326020: Debug:    Application font set to QFont(MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0)
326020: Debug:    Application font reads back as QFont(MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0)
326020: Debug:    system font is "MS Shell Dlg 2"
326054: Debug:    Page change time (in ms): Unload = 0 Load = 34 Other = 0
1370920: Debug:    Saving "Daily" settings
1370956: Debug:    Saving "Overview" settings
1370958: Debug:    Saving "Löwenstein" session info "Prisma"
1370958: Debug:    Done Saving "Löwenstein" session info
1370961: Debug:    In ChannelList::Save() saving  "C:/Users/clan/Documents/OSCAR_Data/Profiles/Claus (Löwenstein Prisma Smart Plus)/channels.xml"
1370966: Debug:    Saving Channel States
1370969: Warning:  QTextBrowser: No document for about:blank
1411298: Debug:    Opening  C:/Users/clan/Documents/OSCAR_Data/Profiles/Test/Profile.xml
1411298: Warning:  Could not open preferences file for reading, error code 5 "Den angivne fil blev ikke fundet."
1411298: Warning:  Could not open C:/Users/clan/Documents/OSCAR_Data/Profiles/Test/machines.xml for reading, error code 5 "Den angivne fil blev ikke fundet."
1411318: Debug:    Opening profile "Test"
1411325: Debug:    No devices in profile
1411326: Debug:    Loading Journal record: C:/Users/clan/Documents/OSCAR_Data/Profiles/Test/Journal_00005a70/
1411404: Debug:    No devices in Profile
1411404: Debug:    Creating new Daily object
1411414: Debug:    Daily Left Panel Width is  407
1411441: Debug:    Daily::Load called for "lø sep 30 2023" using "MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0"
1411441: Debug:    Setting App font in Daily::Load
1411441: Debug:    Application font starts out as QFont(MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0)
1411441: Debug:    Application font set to QFont(MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0)
1411441: Debug:    Application font reads back as QFont(MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0)
1411441: Debug:    system font is "MS Shell Dlg 2"
1411463: Debug:    Finished opening Profile
1411465: Debug:    Couldn't find device info for "Test"
1497189: Debug:    Adding "" on "D:/" to drivelist
1497189: Debug:    Adding "Google Drive" on "G:/" to drivelist
1497189: Debug:    Drive list size: 2
1497386: Debug:    Found "Prisma" datacard at "D:/"
1497400: Debug:    PeekInfo  "D:/"
1497400: Debug:    PeekInfo  "D:/"
1507552: Debug:    PeekInfo  "D:/"
1507559: Debug:    Prisma opening "D:/"
1507573: Debug:    "Backup Path is C:/Users/clan/Documents/OSCAR_Data/Profiles/Test/Prisma_0x192f631/Backup/"
1507850: Debug:    SCANFILES "D:/\\0026408497"
1507851: Debug:    INFO   1664532000   false
1508099: Debug:    Task count  27
1508103: Debug:    MachineLoader::runTasks MLtasklist size is 27
1508103: Debug:    PRISMA IMPORT 17
1508117: Debug:    SIZE 25
1508117: Debug:    Unordered time detected in AddEvent() 1 "2023-09-27T05:33:20" "2023-09-27T02:15:45" 10
1508132: Debug:    PRISMA IMPORT 16
1508135: Debug:    SIZE 15
1508140: Debug:    PRISMA IMPORT 19
1508154: Debug:    SIZE 24
1508166: Debug:    PRISMA IMPORT 18
1508176: Debug:    SIZE 24
1508183: Debug:    PRISMA IMPORT 25
1508196: Debug:    SIZE 21
1508207: Debug:    PRISMA IMPORT 24
1508225: Debug:    SIZE 21
1508225: Debug:    Unordered time detected in AddEvent() 1 "2023-09-29T02:26:11" "2023-09-29T02:10:43" 13
1508235: Debug:    PRISMA IMPORT 26
1508240: Debug:    SIZE 20
1508252: Debug:    PRISMA IMPORT 5
1508258: Debug:    SIZE 19
1508264: Debug:    PRISMA IMPORT 4
1508269: Debug:    SIZE 13
1508277: Debug:    PRISMA IMPORT 7
1508292: Debug:    SIZE 21
1508293: Debug:    Unordered time detected in AddEvent() 1 "2023-09-24T05:16:12" "2023-09-24T03:37:51" 10
1508302: Debug:    PRISMA IMPORT 6
1508303: Debug:    SIZE 5
1508309: Debug:    PRISMA IMPORT 1
1508310: Debug:    SIZE 5
1508313: Debug:    PRISMA IMPORT 0
1508314: Debug:    SIZE 8
1508325: Debug:    PRISMA IMPORT 3
1508336: Debug:    SIZE 23
1508336: Debug:    Unordered time detected in AddEvent() 1 "2023-09-23T01:13:47" "2023-09-22T23:42:49" 11
1508343: Debug:    PRISMA IMPORT 2
1508351: Debug:    SIZE 14
1508360: Debug:    PRISMA IMPORT 13
1508366: Debug:    SIZE 18
1508372: Debug:    PRISMA IMPORT 12
1508379: Debug:    SIZE 16
1508388: Debug:    PRISMA IMPORT 15
1508399: Debug:    SIZE 27
1508406: Debug:    PRISMA IMPORT 14
1508424: Debug:    SIZE 24
1508425: Debug:    Unordered time detected in AddEvent() 3 "2023-09-26T03:19:25" "2023-09-26T00:42:41" 10
1508440: Debug:    PRISMA IMPORT 9
1508448: Debug:    SIZE 21
1508454: Debug:    PRISMA IMPORT 8
1508458: Debug:    SIZE 18
1508469: Debug:    PRISMA IMPORT 11
1508472: Debug:    SIZE 13
1508476: Debug:    PRISMA IMPORT 10
1508498: Debug:    SIZE 22
1508499: Debug:    Unordered time detected in AddEvent() 2 "2023-09-25T02:55:23" "2023-09-25T00:54:30" 14
1508516: Debug:    PRISMA IMPORT 21
1508520: Debug:    SIZE 21
1508526: Debug:    PRISMA IMPORT 20
1508541: Debug:    SIZE 27
1508542: Debug:    Unordered time detected in AddEvent() 2 "2023-09-28T04:06:08" "2023-09-28T03:14:03" 13
1508554: Debug:    PRISMA IMPORT 23
1508562: Debug:    SIZE 19
1508569: Debug:    PRISMA IMPORT 22
1508570: Debug:    SIZE 5
1508585: Debug:    Finished Importing data 27
1508586: Debug:    Saving "Löwenstein" session info "Prisma"
1508586: Debug:    Done Saving "Löwenstein" session info
1508586: Debug:    Saving "Löwenstein" "Prisma Smart" Summaries
1508603: Debug:    Could not open "C:/Users/clan/Documents/OSCAR_Data/Profiles/Test/RXChanges.cache" for reading, error code 5 "Den angivne fil blev ikke fundet."
1508626: Debug:    Daily::Load called for "fr sep 29 2023" using "MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0"
1508626: Debug:    Setting App font in Daily::Load
1508626: Debug:    Application font starts out as QFont(MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0)
1508626: Debug:    Application font set to QFont(MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0)
1508626: Debug:    Application font reads back as QFont(MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0)
1508626: Debug:    system font is "MS Shell Dlg 2"
1517583: Debug:    Set current Widget to Daily

After restart summaries load without error:

Code:
01001: Debug:    Loading C:/Users/clan/Documents/OSCAR_Data/Profiles/Test/Prisma_0x192f631/Summaries.xml.gz


So this seem to be a profile issue and Oscar is capable of almost but not quite repairing itself. Time will show if subsequent imports will break summaries again.
Post Reply Post Reply
#3
RE: Not all session data is imported
Slept badly so I added another session for the day.

1) Opened Oscar - my primary profile load.
2) Imported SD Card - Session 27 not shown!
3) Changed to Test profile
4) Imported SD Card - Session 27 not shown!!!
5) Quit Oscar
6) Opened Oscar - Test profile load.
7) Imported SD Card - Session 27 not shown!!!
8) Changed to primary profile
9) Imported SD Card - Session 27 not shown!!!
10) Created Test 2 profile
11) Imported SD Card - Session 27 imported with the rest into the new profile
12) Changed to primary profile
13) Imported SD Card - Session 27 imported...

After this I have changed frequently between the 4 profiles I have (Philips and 3 Prisma). Data looks correct. I have deliberately not done a new import on Test again and session 27 is still not shown there. Will be interesting tomorrow.

Session summaries does not seem to be related to this issue as only my primary profile have notes and disply the loading error in the debug log.

Even though the previous sessions where second to last and session 27 is the last this could hopefully be an off by one error somewhere. That could easily be missed by the initial developer.
Post Reply Post Reply
#4
RE: Not all session data is imported
If you imported data for that day, and then create a new session, you will have to purge that day's data before reimporting with the new session.

- Red
Crimson Nape
Apnea Board Moderator
Project Manager for OSCAR - Open Source CPAP Analysis Reporter
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
#5
RE: Not all session data is imported
While it does not sound quite unreasonable I am wondering if this is a workaround which has then become gospel? Just like "reboot" back in the Windows 95 era.

Notice that I have not purged data at any time. But on 2 seperate days have been able to add sessions anyway. On day 1 it was the first of 2 session which was missed. On day 2 it was the 3rd and last.
Post Reply Post Reply
#6
RE: Not all session data is imported
I'm ignorant as to how the Prisma loader was written. The code used by OSCAR to determine data for a day is from its days of being Sleepyhead code. Once a date is flagged, it will not look for any newer sessions. That is why you have to purge that day. It resets the imported-data flag for that date.

Just for a sanity check, I would run a checksum on the OSCAR installation file, if you still have it

- Red
Crimson Nape
Apnea Board Moderator
Project Manager for OSCAR - Open Source CPAP Analysis Reporter
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
#7
RE: Not all session data is imported
30/9 update
Last session in Oscar primary profile is session 27 (as expected)
Import SD card.
No sessions added. This means the 2 last sessions are missing.

Two sessions verified to be available on the card:

Code:
Directory of D:\0026408497\20230930\0001

01-10-2023  00:04    <DIR>          .
01-10-2023  00:04    <DIR>          ..
01-10-2023  04:29           512.480 signal_028.wmedf
01-10-2023  04:29            13.948 event_028.xml
01-10-2023  07:11           301.504 signal_029.wmedf
01-10-2023  07:11            10.313 event_029.xml

Could not purge the day as nothing has been imported for the day. (Did not want to either for this profile - as I am not sure I can replicate the error). I will try a full purge later on a seperate system to see if notes are properly handled (Another issue with issue).

Switched to "Test 2" profile which was current and had session 27.
Import SD card
Session 28 and 29 added correctly. AHI 0.86 - only one 16 L leak and awakening. The best I have been feeling for years. Oscar is really a godsend!

Switched back to primay profile (did not quit Oscar). Verified 28 and 29 was missing. Import. Oscar says 30 sessions imported. Session 28 and 29 now available.

Switched to "Test" profile. Verified that last session was 26 and even 27 was missing here. Imported 30 sessions. Session 27 was added correctly to 29/9 which already had 2 sessions. 28 and 29 was added to 30/9.

I think this confirms that the import truly is idempotent. Purge is then "only a workaround".

Unfortunately I ususally ignore the Windows notification center (Win+A) so I did not notice it actually contained the total session count after import until the second import. I think it said 30 but cannot be sure at all and I did not pay attention.

I spent some time examining "prisma_loader.(h|cpp)" yesterday. My suspicion is more targeted at "day.cpp".

QT is new to me so I have not gotten a build going yet and the debugger is new to me. I need a block of contiguous time to dive deeper.
Post Reply Post Reply
#8
RE: Not all session data is imported
Hi Red,

Interesting! That does not quite add up with my experience. Sometimes it would maybe look like it. Session 27 is an edge case. The session was finished around 11:30 and the day wraps at noon. You could argue that it would not re-import on the "same day" and the reason it worked later was because we passed Noon. But the smoking gun is then on the 29/9. Session 25 was clearly skipped and 26 was imported. Later same day it did import (cause unknown). And again today for 30/9. No import at first and the succesful import after switching back and forth from another profile.

I will take your word for it but I am really puzzled as why the import would not be idempotent and refuse to run multiple times. I'd really like to examine that.

A quick look at the git history for "day.cpp" does however show several changes since Mark in 2018. But nothing obvious.

It is most likely Prisma specific espscially as it is new. But if people always has been told to purge we might have a more general edge case. Interesting none the least.

As for the installer it would be a rather interesting bit flip to cause this. I have found no published hash to verify against. And it seems that the code is not signed due to principle. But I can do one better:  I have not one but two copies of the 1.5.0 installer (OSCAR-1.5.0-Win64.exe and OSCAR-1.5.0-Win64(1).exe) Too-funny . Both of them with a  CRC32 of 95C8EB0D and SHA256 as 72AC52F4F063948BB957FB7921E8A1A3C5BD11F8EECF9CC33B8D7384A927F7EB.

Kind regards
clan
Post Reply Post Reply
#9
RE: Not all session data is imported
I just ran a SH256 checksum on the same OSCAR-1.5.0-Win64.exe. Here is the SHA256 checksum I received:
72ac52f4f063948bb957fb7921e8a1a3c5bd11f8eecf9cc33b8d7384a927f7eb

I would recommend that you download the newer 1.5.1. Its download page has the SHA256 checksums under the "Documents", below the O/S listings. Here is the link:
https://www.apneaboard.com/OSCAR/OSCAR-1...cksums.txt

- Red
Crimson Nape
Apnea Board Moderator
Project Manager for OSCAR - Open Source CPAP Analysis Reporter
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
#10
RE: Not all session data is imported
3/10 (Did not import yesterday)

Verified that signal_00.wmedf - signal_034.wmedf (and event_xxx.xml) was on card. Last session imported to Oscar was #29.

- Primary profile
- Imported 35 sessions
- None added!
- Did not quit
- Imported 35 sessions (retry primary profile)
- None added!
- Did not quit
- Selected "Test 2" profile
- Imported 35 sessions
- Added correctly
- Selected primary profile
- Imported 35 sessions
- Added correctly


First import

58587: Debug:    Task count  35

Unordered:
58590: Debug:    PRISMA IMPORT

The usual duplicates detected
59107: Critical: Machine::AddSession

59107: Warning:  Session 33 was not addded
59150: Debug:    Finished Importing data 35

Notice that Session 33 was last. The last shown in Oscar is 29.

94307: Debug:    Daily::Load called for "ma okt 2 2023" using "MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0"
94336: Debug:    gGraphView: No graphs drawn
94336: Debug:    "gGraphView:There is no data to graph"

96719: Debug:    Daily::Load called for "sø okt 1 2023" using "MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0"
96748: Debug:    gGraphView: No graphs drawn
96748: Debug:    "gGraphView:There is no data to graph"

Second import

PRISMA IMPORT statements in the exact same unordered order.

Something has happened as Session 34 is now also seen as a duplicate:

1132641: Warning:  Session 34 was not addded
1132647: Debug:    Finished Importing data 35

But no new sessions is shown

Third import

1196319: Debug:    Opening profile "Test 2"

The same unordered time detected as usual. They do not vary.
1224977: Debug:    Unordered time detected

PRISMA IMPORT statements in the exact same unordered order.

This time Session 29 is the last duplicate as expected

1225571: Critical: Machine::AddSession called with duplicate session 29 "[jan 01, 1970 01:00:29]" for machine "0x192f631"
1225571: Warning:  Session 29 was not addded
1225578: Debug:    Finished Importing data 35

The graphs are now rendered for:
1225603: Debug:    Daily::Load called for "ma okt 2 2023" using "MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0"
1468287: Debug:    Daily::Load called for "sø okt 1 2023" using "MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0"

Fourth import

1561679: Debug:    Opening profile "Claus (Löwenstein Prisma Smart Plus)"

PRISMA IMPORT statements in the exact same order as previous 3

Duplicates same as second run:

1592990: Warning:  Session 34 was not addded

Graphs now rendered correctly
1593020: Debug:    Daily::Load called for "ma okt 2 2023" using "MS Shell Dlg 2,10,-1,5,50,0,0,0,0,0"

Lessons

- AddSession called with duplicate session XX "[jan 01, 1970 01:00:XX]" does not seem to be the direct cause even though the date is in 1970. This is probably just a unix epoch time. What threw me of is that the hour is 1. But my TZ is CET so that might be connected. Otherwise the seconds matches the session times. That would then be a beautiful hack of keeping the sessions in order with a session number rather than timestamp.
- PRISMA IMPORT is always out of (the same) order.
- Unordered time detected in AddEvent() are always the same.
- "Finished Importing data 35" always seems to be correct and corresponds to the sessions actually available on the card.
- As they have not been seen before it was unexpected that Session 30-33 was detected as duplicates on the first import.
- Even though Session 34 was not detected as duplicate in the first import it was not shown.
- After a profile change (Test 2) Session 29 is the last duplicate and data is shown correctly.
- Changing the profile back (to primary) the last duplicate during import is still Session 34 but data is now shown correct.

My expectation is that differect profiles are completely seperate walled gardens. This however suggests that there is a global variable used with both profiles which does not get set/reset when changing from the primary (probably flawed) profile to the "clean" test profile.

I hope I get time to attach a debugger this weekend to step through the import.

I stick with 1.5.0 as long as I can replicate the problem. The git history does not suggest any changes related to this. When I have time to do a build I will have time to make backup/restores and try moving the version forward. Even if there has been a magic fix it would be nice to know if this version has silent data corruption.

The BB code block worked in preview but not when posted so log is attached as .txt

.txt   20231003.log.txt (Size: 63.01 KB / Downloads: 2)
Post Reply Post Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  OSCAR displaying summary only for 13 out of 16 days imported EnigmaOfSleep 6 285 11-18-2024, 02:40 PM
Last Post: ClaudeL
  Session time timestamps OSCAR 00derek 3 347 07-19-2024, 09:38 AM
Last Post: Crimson Nape
  Session 1 FlowRate chart Missing JoyD. 3 398 06-04-2024, 01:12 PM
Last Post: Crimson Nape
  Imported Wellue O2 Data and Now CPAP Oscar Times Off awarren82 3 417 05-22-2024, 11:30 AM
Last Post: Crimson Nape
  OSCAR Overview ignores unselected parts of session in daily Jan Flikweert 0 414 05-11-2024, 06:18 AM
Last Post: Jan Flikweert
  Missing session Rockster 0 360 04-29-2024, 08:31 PM
Last Post: Rockster
Question OK TO IMPORT SLEEP DATA FROM OLD SD CARD INTO OSCAR W/O MESSING UP CURRENT DATA? Plmnb 3 705 03-29-2024, 11:02 AM
Last Post: Plmnb


New Posts   Today's Posts


About Apnea Board

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