Autor Thema: Smartphone run-time error  (Gelesen 4722 mal)

Offline pzsysa

  • Jr. Member
  • **
  • Beiträge: 10
Smartphone run-time error
« am: September 29, 2005, 09:37 »
Hi Alf,

My German just does'nt cut it.... tried to read the other forums to find a similar issue  :)

Just installed SiDiary on my i-mate SP3i smartphone.
As soon as I start the app the SiDiary welcome screen appears : (version 5.0.122)

What I could figure out is that it is the locale settings. My locale on my notebook is set to South African English.
There is no such locale on the smartphone but I used UK English and formatted dates and times  etc. exactly the same on the phone and PC.

I then get the following error :

An unexpected error has occurred in SiDiarySmp.exe
Select Quit and then restart this program.

Details :

SiDiarySmp.exe
FormatException

Double::Parse+0x77
Double::Parse+0xc
Convert::ToDouble+0x13
Conversion::Val+0x314
mGlobSub::gtFormatUhrzeit
...
...


My Device info:
Maker : SP3i
Processor : ARM
O.S.: Windows CE
Version : 4.21 (Build 1088)

Any ideas ???

Thanks,

Jaco Oosthuyzen.

Offline Joerg Moeller

  • Administrator
  • Special Member
  • *****
  • Beiträge: 15993
  • Country: de
  • Ohana heißt "Familie"...
    • Diabetesinfo
  • Diabetestyp: DM 1
  • Therapie: Insulin-Pumpe
Re: Smartphone run-time error
« Antwort #1 am: September 29, 2005, 12:01 »
Hi pzsysa,

I'm sorry but Alf is out for Holidays 'till middle of October. Please be patient for a while, he surely will help you when he's back.
Meine Seite über Diabetes: http://www.diabetesinfo.de/
Meine Facebook-Seite: https://www.facebook.com/Diabetesinfo.de/

Offline Alf

  • Administrator
  • Special Member
  • *****
  • Beiträge: 6174
  • Country: 00
  • Mein Name ist Shumway. Gordon Shumway.
    • Diabetikertagebuch
  • Diabetestyp: ---
  • Therapie: ---
Re: Smartphone run-time error
« Antwort #2 am: Oktober 11, 2005, 16:24 »
Hi Jaco,

assuming that you can still reproduce the FormatException I would like to know how this phrase is continued:

Zitat
Details :
SiDiarySmp.exe
FormatException

Double::Parse+0x77
Double::Parse+0xc
Convert::ToDouble+0x13
Conversion::Val+0x314
mGlobSub::gtFormatUhrzeit
...
...

Hopefully I can find the right place in the sourcecode with the following information from the callstack after the last given line with mGlobSub:gtFormatUhrzeit

Thanks in advance!

Cheers, Alf.
DM 1, ICT mit Lantus/Humalog/Insuman Rapid, Freestyle Libre, SiDiary Win & Android
Diabetes Software, Windhorst, Helden der Kindheit

Offline pzsysa

  • Jr. Member
  • **
  • Beiträge: 10
Re: Smartphone run-time error
« Antwort #3 am: Oktober 17, 2005, 17:54 »
Hi Alf,

I can reproduce this every time.
This seems to  happen as soon as I copy the .ini file from my PC to my iPaq....

Here goes (from previous post) :

mGlobSub::gtFormatUhrzeit
mGlobSub::gtGetUhrzeit+0x
mGlobSub::gWerteLesen+0x
frmUebersicht::frmMain_Load
Form::OnLoad+0x15
Form::_SetVisibleNotify+0x
Control::set_visible+0x1f
Form::ShowDialog+0x21
cNavigation::StartApp+0x39
mGLobSub::Main+0x37

Unfortunately I cannot scroll across, so some of the addresses are incomplete.

Hope this helps,

Jaco.

Offline pzsysa

  • Jr. Member
  • **
  • Beiträge: 10
Re: Smartphone run-time error
« Antwort #4 am: Oktober 17, 2005, 18:32 »
Alf,

Maybe I should just change the default .ini file on the smartphone.
All I want to do is change the units from md/dl to mmol.
Perphaps there is one entry I can add ... everything works fine except the units.

Thanks,

Jaco.

Offline Alf

  • Administrator
  • Special Member
  • *****
  • Beiträge: 6174
  • Country: 00
  • Mein Name ist Shumway. Gordon Shumway.
    • Diabetikertagebuch
  • Diabetestyp: ---
  • Therapie: ---
Re: Smartphone run-time error
« Antwort #5 am: Oktober 17, 2005, 18:52 »
Hi Jaco,

just to get things clear:
Which ini file did you copy to the Smartphone right before it crashed?  :staun:

If you just want to change the units on your smartphone, you should use the built-in screen (Navigation->Profile) instead of copying ini files... :zwinker:

In case that you would delete the sidiary.ini on your smartphone, it would come up without problems? (ok, you would lose your settings but this would mean that one of the settings are currently incorrect?!)

Meanwhile I've done a bit codereading about this issue and one probable reason could be an invalid default-timeslice setting?! It would be great, if you could provide your ini file by email. I would debug this thing immediately and come back with a workaround or an update!

Thanks in advance!

Cheers, Alf.

DM 1, ICT mit Lantus/Humalog/Insuman Rapid, Freestyle Libre, SiDiary Win & Android
Diabetes Software, Windhorst, Helden der Kindheit

Offline Joerg Moeller

  • Administrator
  • Special Member
  • *****
  • Beiträge: 15993
  • Country: de
  • Ohana heißt "Familie"...
    • Diabetesinfo
  • Diabetestyp: DM 1
  • Therapie: Insulin-Pumpe
Re: Smartphone run-time error
« Antwort #6 am: Oktober 17, 2005, 20:02 »
This seems to  happen as soon as I copy the .ini file from my PC to my iPaq....

iPaq? Isn't that a Pocket PC? I thought you are using a smartphone? :kratz:
Meine Seite über Diabetes: http://www.diabetesinfo.de/
Meine Facebook-Seite: https://www.facebook.com/Diabetesinfo.de/

Offline LordBritish

  • Global Moderator
  • Special Member
  • *****
  • Beiträge: 5672
  • Country: de
  • Diabetestyp: DM 1
  • Therapie: Insulin-Pumpe
Re: Smartphone run-time error
« Antwort #7 am: Oktober 17, 2005, 20:38 »
This seems to  happen as soon as I copy the .ini file from my PC to my iPaq....

iPaq? Isn't that a Pocket PC? I thought you are using a smartphone? :kratz:

iPAQ is a Pocket PC, but the new iPAQ´s from HP i think it was HP iPAQ 6510 is a Mobilephone too.

Offline Alf

  • Administrator
  • Special Member
  • *****
  • Beiträge: 6174
  • Country: 00
  • Mein Name ist Shumway. Gordon Shumway.
    • Diabetikertagebuch
  • Diabetestyp: ---
  • Therapie: ---
Re: Smartphone run-time error
« Antwort #8 am: Oktober 17, 2005, 20:59 »
Well although the Smartphone version will probably run on Windows Mobile 2003 SE powered PPC PE (phone edition) devices as well as on "real Smartphones" it is strictly optimized for the mobiles (screen size, data capturing etc.). So if you want to use SiDiary on an iPaq, the PPC edition (together with the evbRuntime) would be the much better option...

Cheers, Alf.
DM 1, ICT mit Lantus/Humalog/Insuman Rapid, Freestyle Libre, SiDiary Win & Android
Diabetes Software, Windhorst, Helden der Kindheit

Offline pzsysa

  • Jr. Member
  • **
  • Beiträge: 10
Re: Smartphone run-time error
« Antwort #9 am: Oktober 17, 2005, 21:12 »
Jörg, you are right - it is a Smartphone. I do use SiDiary on my PocketPC too. No wonder I am confusing myself   ???
Alf, I have not been very clear. I have now followed the following steps (and wrote them down this time  :rotwerd:)

1) SiDiary not running on my notebook
2) Deleted from Smartphone and restarted phone
3) Deleted all directories and files related to SiDiary.
4) Re-installed SiDiary succesfully.
5) Start SiDiary and get German language. Stop SiDiary, copy langEN.txt and re-start. Now get English language.
5) Went into Profile and changed the units and other relevant info.
6) Went into Settings and changed timeslices to be the same. Check other info...
6) Terminate SiDiary, restart and everything works fine.
7) Start SiDiary on my notebook.
8  SiDiary on the phone notifies of the fact that it is in slave mode.
9) Sync starts on PC
10) SiDiary on phone terminates.
11) Re-start of SiDiary on phone fails with exactly the same message.
12) Remove .ini file from phone and restart SiDiary. The startup screen appears, clears, todays date displays on bottom of screen momentarily and application terminates with same error.

I will e-mail you my ini files from my phone and notebook, and my data file from the notebook.

Hope this info is of more value....

Thank you,

Jaco.