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

Small unicode and parse issue in 1.5.0
#1
Small unicode and parse issue in 1.5.0
A very small Unicode issue. As you can see in entry 01052 the log can handle "ö" when displaying the profile name. And it is able to handle the "ö" in a filepath as you see with 01093. but several other log lines show "�" in the filepath which usually is a hint of problems when handling unicode/other codepages:


Code:
00809: Debug: Opening C:/Users/clan/Documents/OSCAR_Data/Profiles/Claus/Profile.xml
00809: Debug: Resetting import warnings: version "1.4.0+e35d47b3" to "1.5.0+master-c2a7e2b0"
00810: Debug: Opening C:/Users/clan/Documents/OSCAR_Data/Profiles/Claus (L�wenstein Prisma Smart Plus)/Profile.xml
01052: Debug: Opening profile "Claus (Löwenstein Prisma Smart Plus)"
01063: Debug: Loading Journal record: C:/Users/clan/Documents/OSCAR_Data/Profiles/Claus (L�wenstein Prisma Smart Plus)/Journal_00007e55/
01064: Debug: Loading Prisma record: C:/Users/clan/Documents/OSCAR_Data/Profiles/Claus (L�wenstein Prisma Smart Plus)/Prisma_0x192f631/
01064: Debug: Loading C:/Users/clan/Documents/OSCAR_Data/Profiles/Claus (L�wenstein Prisma Smart Plus)/Prisma_0x192f631/Summaries.xml.gz
01093: Warning: Invalid XML Content in "C:/Users/clan/Documents/OSCAR_Data/Profiles/Claus (Löwenstein Prisma Smart Plus)/Prisma_0x192f631/Summaries.xml.gz"
01093: Warning: Error line 1 : "unexpected end of file"
01093: Debug: Recreating the Summary index XML file

When looking in the filesystem things thankfully looks correct:


Code:
C:\Users\clan>dir "C:/Users/clan/Documents/OSCAR_Data/Profiles/"
 Volume in drive C has no label.
 Volume Serial Number is 76EC-6F89

 Directory of C:\Users\clan\Documents\OSCAR_Data\Profiles

23-09-2023  07:06    <DIR>          .
23-09-2023  07:06    <DIR>          ..
24-11-2020  21:22            27.851 channels.dat
24-11-2020  21:22            34.660 channels.xml
23-09-2023  07:05    <DIR>          Claus
24-09-2023  07:21    <DIR>          Claus (Löwenstein Prisma Smart Plus)
24-11-2020  21:22               352 machines.xml
24-11-2020  21:22             4.443 Profile.xml

And then as part of the same log snippet when can see there is a XML parse error. No idea if the file is simply truncated or the Prisma is outputting crappy XML. I know the Prisma support is very recent and still might be worked on.

When looking at the gz file it does contain a xml file which I am able to extract and it looks good. It is so small I dare to paste it here:

Code:
<!DOCTYPE OSCAR_SessionIndex>
<sessions profile="Claus (Löwenstein Prisma Smart Plus)" version="1" count="6" loader="Prisma" serial="0x192f631">
<session first="1695414186000" last="1695424438000" enabled="1" events="1" id="3">
 <channels>e44c,e44d,e44a,e44b,e448,1106,e449,1006,1105,1007,1004,1103,1100,1005,1002,1101,1003,110e,1000,1001,110d,110a,110b,1108,1116,e446,e447,e444,1158,e442,e443,e440,e441</channels>
 <settings>e408,e40c,e403,1021,e402,1020,1200,e401,e400,e406,e405,e404</settings>
</session>
<session first="1695387239000" last="1695394306000" enabled="1" events="1" id="2">
 <channels>e44c,e44d,e44a,e44b,e448,1106,e449,1006,1105,1007,1004,1103,1100,1005,1002,1101,1003,110e,1000,1001,110d,110a,110b,1108,1116,e446,e447,e444,e442,e443,e440,e441</channels>
 <settings>e408,e40c,e403,1021,e402,1020,1200,e401,e400,e406,e405,e404</settings>
</session>
<session first="1695386028000" last="1695386030000" enabled="1" events="1" id="1">
 <channels>e44c,e44d,e44a,e44b,e448,e449,1006,1007,1004,1100,1005,1002,1101,1003,110e,1000,1001,110d,1108,1116,e446,e447,e444,e442,e443,e440,e441</channels>
 <settings>e408,e40c,e403,1021,e402,1020,1200,e401,e400,e406,e405,e404</settings>
</session>
<session first="1695444665000" last="1695444666000" enabled="1" events="1" id="6">
 <channels>e44c,e44d,e44a,e44b,e448,e449,1006,1007,1004,1100,1005,1002,1101,1003,110e,1000,1001,110d,1108,1116,e446,e447,e444,e442,e443,e440,e441</channels>
 <settings>e408,e40c,e403,1021,e402,1020,1200,e401,e400,e406,e405,e404</settings>
</session>
<session first="1695438996000" last="1695444641000" enabled="1" events="1" id="5">
 <channels>e44c,e44d,e44a,e44b,e448,1106,e449,1006,1105,1007,1004,1103,1100,1005,1002,1101,1003,110e,1000,1001,110d,110a,110b,1108,1116,e446,e447,e444,e442,e443,e440,e441</channels>
 <settings>e408,e40c,e403,1021,e402,1020,1200,e401,e400,e406,e405,e404</settings>
</session>
<session first="1695425461000" last="1695430253000" enabled="1" events="1" id="4">
 <channels>e44c,e44d,e44a,e44b,e448,1106,e449,1006,1105,1007,1004,1103,1100,1005,1002,1101,1003,110e,1000,1001,110d,110a,110b,1108,1116,e446,e447,e444,e442,e443,e440,e441</channels>
 <settings>e408,e40c,e403,1021,e402,1020,1200,e401,e400,e406,e405,e404</settings>
</session>
</sessions>


I wanted to attach both the gz (437 bytes) and the xml version (2285 bytes) but am unable to. I think even as a new user I am allowed 3 attachments but am unsure if it is limited to image extensions.

Let me know if I can do anything else?

Kind Regards,
clan
Post Reply Post Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  OSCAR Re Installation Issue PhilipLJackson 1 126 12-09-2024, 04:10 AM
Last Post: PhilipLJackson
  MacBook Pro Sporadic Track Pad Scrolling Issue RayBee 3 378 08-19-2024, 12:00 AM
Last Post: Crimson Nape
  OSCAR 1.5.3 Import issue. kayak1 2 407 08-08-2024, 01:21 PM
Last Post: kayak1
  OSCAR issue: Adobe not supported Vickil 2 443 05-26-2024, 02:55 PM
Last Post: Vickil
Sad Instructions do NOT address hours used issue Plmnb 15 1,181 03-19-2024, 10:55 PM
Last Post: Plmnb
  Issue: Oscar imported session partially alexroz 3 871 11-04-2023, 04:15 AM
Last Post: alexroz
  IBreeze import issue Gideon 4 928 10-23-2023, 01:19 PM
Last Post: guzzle


New Posts   Today's Posts


About Apnea Board

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