Notices


Reply
Thread Tools
Posts: 6 | Thanked: 1 time | Joined on Apr 2008
#151
Hi all,
just wanted to say thanks for this awesome app. Took me some (wel with my linux knoledge lots) of fiddling but i got it to work.

Here were some of the problems i ran into.
- i copied the sms.csv and smsimporter to the mydocuments folder, then tried to add the -x (with chmod) but turns out that won't work in the mydocs folder so i had to copy it to /home/user/
- After i imported the messages lots of them wouldn't work, turned out nokia messaging center saved some of them, not with the phone number but just the contact name. These turned up as doubles in my conversations app on the n900 and wouldnt open (it gave me the message invalid number). What i did was open up the sms.csv with notepad++ and checked all of the entries, if i found one with a name instead of number i selected it ->ctrl+f -> replace all with the correct number (of course keeping the "" intact). luckily i made a backup before importing all the messages the first time, so i deleted all of them in the conversations app, restored the backup and imported them again with the self-corrected sms.csv file (which took a while with 1000+ messages ) but this time importing worked like a charm!

Thanks again for this app, somehow i just love to keep my messages with me all of the time (a)
 

The Following User Says Thank You to cuberob For This Useful Post:
Posts: 88 | Thanked: 84 times | Joined on Apr 2010
#152
Can anyone please say how the sms.csv should like in notepad?
I will import the messages from the N95 again, convert it right with notepad and then try again.
 
Posts: 6 | Thanked: 1 time | Joined on Apr 2008
#153
@robnas
for me it worked when it looked like this:

Code:
sms;deliver;"+31600000000";"";"";"2010.03.15 11:18";"";"this is an example received message"
sms;submit;"";"+31600000000";"";"2010.04.14 21:16";"";"and another example of a send message"
hope it helps. (i edited it with notepad++, the normal notepad screwed everything up because it didn't put every message entry on its own line, it just became one long string)
 
Posts: 88 | Thanked: 84 times | Joined on Apr 2010
#154
Still no succes.
The text is right, the number of " is right, utf8 no BOM is used, everything is copied to /home/user (I haven't tried that before). No result. Maybe I will try it later with less sms's
 
Posts: 22 | Thanked: 17 times | Joined on Apr 2010
#155
Hi there!

Brand new N900 owner here!

Just spend hours typing over the messages from my previous phone (Click the link and you will realize why I had to type them, btw, that was the 2nd phone I ever owned, see my first phone. Tbh: N900 was the first smartphone that really spiked my attention, yay!)

I did an export first (I had some messages already on the N900), with the binary from the first post. And then added my old messages (in the correct order). Then I deleted all conversations and imported the csv file with my old and new messages, using the binaries from post #104.

Using | as delimiter and a proper editor (Vim), this was a hassle free experience. Except of course for the hours of typing because my old phone only showed 10 words on 1 screen and I had to go up and down to read the rest of the text, the phone number and the timestamp...

It also helps massively if you have previous Linux/Unix experience, I can see why other people on this thread get confused or frustrated with the process. If any of you still have questions: shoot and I'll try to answer them!

Hopla
 

The Following User Says Thank You to hopla For This Useful Post:
Posts: 1 | Thanked: 0 times | Joined on Apr 2010
#156
ok I've done every single thing - NO FLAWS / ERROR MESSAGES........... but none of the messages were in the Conversation area.

any ideas on what could possible have gone wrong?
 
Posts: 22 | Thanked: 17 times | Joined on Apr 2010
#157
Originally Posted by goldfries View Post
ok I've done every single thing - NO FLAWS / ERROR MESSAGES........... but none of the messages were in the Conversation area.

any ideas on what could possible have gone wrong?
I have no idea man :s Without any error messages or any other clue, it gets really hard to guess :s
 
Posts: 13 | Thanked: 0 times | Joined on May 2010
#158
Originally Posted by hopla View Post
Hi there!

Brand new N900 owner here!

Just spend hours typing over the messages from my previous phone (Click the link and you will realize why I had to type them, btw, that was the 2nd phone I ever owned, see my first phone. Tbh: N900 was the first smartphone that really spiked my attention, yay!)

I did an export first (I had some messages already on the N900), with the binary from the first post. And then added my old messages (in the correct order). Then I deleted all conversations and imported the csv file with my old and new messages, using the binaries from post #104.

Using | as delimiter and a proper editor (Vim), this was a hassle free experience. Except of course for the hours of typing because my old phone only showed 10 words on 1 screen and I had to go up and down to read the rest of the text, the phone number and the timestamp...

It also helps massively if you have previous Linux/Unix experience, I can see why other people on this thread get confused or frustrated with the process. If any of you still have questions: shoot and I'll try to answer them!

Hopla
Thanks! Your description made me get it to work! Thanks to all developers and bug reporters!
 
Posts: 1 | Thanked: 0 times | Joined on May 2010 @ Isfahan , IRAN
#159
Hi All Dear Friends

I do Import SMS from N97 To N900 Successfully , And I See all SMS in Conversation , but when i read old sms , closed conversation windows and show "Internal Error application "Conversation" closed"

did you tell me why show me this error

Best REGARDS
 
Posts: 43 | Thanked: 45 times | Joined on May 2010
#160
Ok adding my story. I just imported it for the first time and all seems well (backup works too).

I did all my steps on linux except using PC Suite to extract the SMS from my 5800XM.

To edit the files I used the kate editor. It doesn't mess with the utf-8 encoding (I have lots of sms that use complex chars), and it has highlight on find, making some things a lot easier.

So, steps I followed:
  • First I corrected the csv files to use | as a separator, after checking that none of the sms I had before used that character.
  • Then I corrected instances where " was used inside messages, and nokia pc suite escapes it as "", I just replaced it with ' .
  • Then I made a little program that chronologically merged my Inbox and Sent. (see below)
  • Then I inverted the output of my app so that the sms were sorted from oldest to newest. (see below)
  • Finally, I imported with smsimporter from post #104.

The invert and merge I am not fully sure that they are needed, but from reading the discussions it seemed that the insertion order is being used and not the original dates, so I based myself on that assumption.

Ok so now for the meaty part. My little app is attached (source and binary for x86). You use it like this:
Code:
./merger path-to-file1 path-to-file2 >> MergedOutput.csv
If you want to merge multiple csv's, run it multiple times with the output from previous rounds.

To invert the file I used:
Code:
perl  -e 'print reverse <>' < MergedOutput.csv >> SortedMergedOutput.csv
P.s.: Note that my app assumes | as a divider, but it should complain if something's amiss.
Attached Files
File Type: tar merger-1.0.tar (220.0 KB, 125 views)
 
Reply


 
Forum Jump


All times are GMT. The time now is 17:51.