Bryce,
> This morning my boss transferred what I think was a notes file from his
> Palm V to my MP-2000u, using SmartDog's ObEx stack (registered version).
> I say 'I think' because I didn't see what he beamed, only that he had
> transferred something that my MP interpreted as a Names record. I
> transferred the record into Names and deleted it from the InBox to
> conserve space. Now I can't open the Notes appliation at all, it errors
> out with a -48418 error. Nothing else appears to be broken, though.
This may be a bit late but might of general interest.
When I saw your message this evening I couldn't believe my eyes as I have
just had this problem a few days ago but was travelling until now so didn't
see your post.
In seven years of Newtoneering I had never seen a -48418 (Unexpected
immediate) and now here it was, preventing me getting to my notepad at a
rather important moment.
The last thing I did before the problem appeared was beaming from my uMP2K
to an eMate, both notes and works. Having quit the two packages, I returned
to the Notepad and got -48418. I also have the Obex components.
I tried all the usual; soft reboot, passes with SBM Doctor (fine), rebootin=
g
extensions off, no cards - Nada. Everything else was fine and there was
plenty of memory (heap & storage) available. Very odd.
Fearing I might have to restore from my last backup, I successfully exporte=
d
the entire Notepad with NCU and all my data was there, including the note I
wrote minutes before the error.
Having secured my data I tried to find out more about the error by
connecting the uMP2K to my PowerBook with Newton Toolkit (NTK) - the Newt's
development environment.
When the error was thrown I saw this debugging info:
Entering break loop: level 1
Frame 2: soundDataDef:functions.BreakLoop -1
Frame 3: soundDataDef:StringExtract 0
Frame 4: Abstract 285
Frame 5: GetTheRightShape 124
Frame 6: SetupAbstracts 161
Frame 7: viewSetupChildrenScript 82
Frame 8: viewSetupChildrenScript 19
Frame 9: NIL 0
Frame 10: Open -1
Frame 11: Toggle 23
Frame 12: ButtonToggle 172
Leaving break loop: level 1
Unexpected immediate nil
evt.ex.fr.type;type.ref.frame
-48418
It seemed to be something to do with sound - which made no sense at all.
To go deeper, I downloaded BugTrap onto the Newt and left it connected to
NTK as otherwise it would generate its error report in a Note - not very
useful!
When I tapped the Notepad again I saw this: (an extract only)
---Stack Trace: functions.StrEqual(NIL, "00:00") <native function> soundDataDef.StringExtract({class: |SoundPaper:NSG|, data: NIL, viewStationery: paperroll, height: 70, title: "What Tune?", _version: 2, timestamp: 50918096, labels: Miscellaneous, _uniqueID: 2349, _modTime: 51629787}, 1):8 (#5DB).Abstract({class: |SoundPaper:NSG|, data: NIL, viewStationery: paperroll, height: 70, title: "What Tune?", _version: 2, timestamp: 50918096, labels: Miscellaneous, _uniqueID: 2349, _modTime: 51629787}, {left: 18, top: 224, right: 320, bottom: 256}):285 (#6454B9).GetTheRightShape({class: |SoundPaper:NSG|, data: NIL, viewStationery: paperroll, height: 70, title: "What Tune?", _version: 2, timestamp: 50918096, labels: Miscellaneous, _uniqueID: 2349, _modTime: 51629787}, {left: 0, top: 224, right: 320, bottom: 256}):124 (#6454B9).SetupAbstracts({_parent: {#633FAD}, tcursor: <CObject, length 16>}):161 (#6454B9).viewSetupChildrenScript():82 (#657).viewSetupChildrenScript():19 root._Open() <native function> (#C62AADD).Open():139 root.Toggle():23 root.ButtonToggle():172
Debugging at stack level: 1
Current Receiver from level: 1 {debug: "soundDataDef", name: "Recording", description: "Recorded Note", } 0: GetVar [ 3 ] 1: Push |SoundPaper:NSG|.soundData.description 2: GetPath 1 3: SetVar [ 5 ] 4: GetVar [ 5 ] 5: Push "00:00" 6: Push 'StrEqual 7: Call 2 8: BranchIfNil 15 11: Push "No recording" 12: Branch 23 15: Push "Playing time:" 16: Push " " 17: GetVar [ 5 ] 18: Push 'Array pc =3D 8
functions.StrEqual(NIL, "00:00") Entering break loop: level 1
---
It clearly indicated a sound note with the title =B3What Tune?=B2 was implicate= d in the problem somehow so I deleted it from the internal store using SBM Utilities and the next time I tapped Notepad it came up normally - problem solved!
It looks like the NIL refered to in the bug reports is for the data slot of this Note - why it got this way is unknown but the Notepad was in the overview of that Note's folder when the Notepad was quit so it may have bee= n the note it was trying to display when launching.
But was beaming with the Obex stack installed a precursor to the problem with the Notepad?
Joel.
-- Read the List FAQ/Etiquette: http://www.newtontalk.net/faq.html Read the Newton FAQ: http://www.guns-media.com/mirrors/newton/faq/ This is the NewtonTalk mailing list - http://www.newtontalk.net
This archive was generated by hypermail 2.1.2 : Sun May 05 2002 - 14:02:44 EDT