buggnokii - Bugs: bug #31394, Nokia 2330c: Can't write SM memory...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #31394: Nokia 2330c: Can't write SM memory entry ...

Submitter:  Dennis Schridde <devurandom>
Submitted:  Thu 21 Oct 2010 01:08:08 PM UTC
   
 
Category:  xgnokii Severity:  3 - Normal
Item Group:  major malfunction Status:  Need Info
Privacy:  Public Assigned to:  pkot
Open/Closed:  Open

Jump to the original submission

Wed 23 Mar 2011 05:06:47 AM UTC, comment #8: 

Here is the output from "gnokii --writephonebook -o" with debug=on.

Thank you.

(file #22991)

Glowing Blue Squid <squiddly>
Tue 22 Mar 2011 11:19:05 PM UTC, comment #7: 

Please show the debug output, change debug=off to debug=on in your config to enable it. We need to see the frames that trigger the error you see, the fake entry with abc... is ok if it triggers the error.

You are right that this debug=on thing isn't in man page, it is in the sample gnokiirc and in http://wiki.gnokii.org/index.php/Bug_report

Daniele Forsi <dforsi>
Group administrator
Tue 22 Mar 2011 05:19:57 PM UTC, comment #6: 

I am facing the same kind of error using a Nokia 7210 with a just-compiled-from-git gnokii (master@ab1984c). I loaded a phonebook with no problem, deleted the contacts from the phone, and tried to write them back (through xgnokii first, then through gnokii --writephonebook).

For every contact in the file, I get an error like this:

Write failed (Command failed.): memory type: SM, loc: 205, name: abc, number: +123456789012

Afterwards, the phone and SIM memory remain empty.

The entry in this file that caused the above error looks like this (I have changed the three-letter name to "abc" and the 12-digit number to 123456789012):

abc;+123456789012;SM;205;5;11;0;11;+123456789012

If I take the file and change ";SM;" to ";ME;" and then reissue the "gnokii --writephonebook -o < contacts" command, the contacts are written correctly to the phone. Then I can use the phone's "move contacts" feature to transfer them to the SIM. So my immediate problem is solved, but I wanted to confirm that the bug remains in current versions of gnokii.

I'd be happy to provide any information you need to debug the problem further, if you can give me instructions about how to get the necessary information (neither "gnokii --help all" or "man gnokii" mention "log" or "debug" at all).

Glowing Blue Squid <squiddly>
Wed 26 Jan 2011 11:08:12 PM UTC, comment #5: 

We did several fixes since 0.6.29, so I believe some of the errors would be fixed already. We'd appreciate if you could repeat it with the git gnokii version.

For the remaining errors it would be useful to see the phonebook entries that caused problems.

Preferred method to backup the phonebook is to export them to the file.

Pawel Kot <pkot>
Group administrator
Fri 22 Oct 2010 12:08:40 PM UTC, comment #4: 

P.S. I have a debug log of a session with the 6280, too.

Dennis Schridde <devurandom>
Fri 22 Oct 2010 11:53:23 AM UTC, comment #3: 

(the list of errors below is not complete)

Meanwhile I updated to Ubuntu 10.10 which comes with xgnokii 0.6.29.dfsg-1.

I get very similar messages when trying to write the saved contact list to my Nokia 6280: return codes 20 and 24 with messages "Data format is not valid" and "The current frame isn't handled by the incomming function".

I also produced a debug log during a session with the Nokia 2330c, again trying to change contacts from memory to SIM storage type. This time I only see return code 24 / current frame not handled by incomming function. Noteworthy is that most entries in my contact list (after restarting xgnokii and re-reading the list) are duplicate, while I would expect they move or do not move between storages.
I will send you the debug log encrypted in private when you request it, under the obvious condition of non-disclosure to any 3rd party, etc.

Dennis Schridde <devurandom>
Thu 21 Oct 2010 02:09:19 PM UTC, comment #2: 

Moving contacts from ME to SM usually means some data loss. For the diagnosis we'd need the full debug log to see what is going on (it may contain the sensitive data).

On the other hand version 0.6.28 is pretty old...

Pawel Kot <pkot>
Group administrator
Thu 21 Oct 2010 01:15:06 PM UTC, comment #1: 

This is a DATA-LOSS bug!
The number of contacts was reduced from N/104 to 52/21 (SIM/phone). -> At least 83 contacts were lost in the process, since all the contacts on the SIM are now duplicates with the phone-memory.

Dennis Schridde <devurandom>
Thu 21 Oct 2010 01:08:08 PM UTC, original submission:  

Using version 0.6.28.dfsg-1ubuntu0.1 of xgnokii I get following messages on the commandline when trying to change all my 104 contacts from phone storage type to SIM on my Nokia 2330c:
---
xgnokii_contacts.c: line 2171: Can't write SM memory entry number 65! Error: The current frame isn't handled by the incoming function.
Event 3 failed with return code 1!
xgnokii_contacts.c: line 2171: Can't write SM memory entry number 66! Error: Command failed.
Event 3 failed with return code 24!
xgnokii_contacts.c: line 2171: Can't write SM memory entry number 68! Error: The current frame isn't handled by the incoming function.
Event 3 failed with return code 24!
xgnokii_contacts.c: line 2171: Can't write SM memory entry number 69! Error: The current frame isn't handled by the incoming function.
Event 3 failed with return code 20!
xgnokii_contacts.c: line 2171: Can't write SM memory entry number 72! Error: Data format is not valid.
Event 3 failed with return code 1!
xgnokii_contacts.c: line 2171: Can't write SM memory entry number 73! Error: Command failed.
Event 3 failed with return code 1!
---

Dennis Schridde <devurandom>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attached Files
file #22991:  gn.log added by squiddly (2KiB - text/x-log)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by dforsi (Posted a comment)
  • -email is unavailable- added by squiddly (Posted a comment)
  • -email is unavailable- added by pkot (Posted a comment)
  • -email is unavailable- added by devurandom (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2011-03-23 squiddly Attached File- Added gn.log, #22991
    2011-01-26 pkot StatusNone Need Info
        Assigned toNone pkot

    Back to the top

    Powered by Savane 3.14-8eb0.
    Corresponding source code