09/03/2011, 12:43 PM
|
#62 (permalink) |
|
Member
![]() Join Date: Apr 2008
Posts: 41
Likes Received: 0
Thanks: 7
Thanked 15 Times in 8 Posts
|
I'm currently running this on my Pre+ which I've just upgraded to Webos 2.1.
To make it run I had to change the folder that the script looks for novocom in (was in Palm, Inc\novacom\novacom.exe, rather than just Palm, Inc\novacom.exe), and also change the address for the ins.sh script (remove the ~dp0 bit). Then when I ran it I got a error message per line (I presume saying each line is ok, It didn't stay onscreen long enough for me to read it), and then It pasted screens full of garbage text - I presume this is it sending the import commands to the pre? I'm guessing as long as it says completed successfully, and messages are appearing on the pre it is all ok? Edit: just had to run it again (stoped part way through due to phone restart) - the error message that it gives for each line is: Argument list too long Sounds a bit worrying to me... Last edited by JSladen; 09/03/2011 at 01:25 PM. Reason: More information |
09/04/2011, 03:55 AM
|
#63 (permalink) |
|
Member
![]() Join Date: Apr 2008
Posts: 41
Likes Received: 0
Thanks: 7
Thanked 15 Times in 8 Posts
|
Just been doing a bit more playing, and the full error message is:
/media/internal/ins.sh: line 4: luna-send: Argument list too long I get this error for about 40 lines, and it fails to import most of my messages. Anyone got any ideas of why this might be? or ways of fixing it? |
09/04/2011, 01:54 PM
|
#64 (permalink) |
|
Member
![]() Join Date: Apr 2008
Posts: 41
Likes Received: 0
Thanks: 7
Thanked 15 Times in 8 Posts
|
Right - After going through doing it 75 lines at a time (very slow, but working, and gave me the idea that line length over ~128k in the ins.sh was what was making it fail) I went and did some digging:
sms.js line: 364 changing: (messages.splice(0,100)) to: (messages.splice(0,50)) solves the issue. I also commented out the "cat ins.sh.json.js" (sms.js, line 367) part, as I had been adding mark points to the script to see where it was failing, and that part stopped me being able to see useful output. I suspect that it is worth setting the the splice value to 50 (still gave me line lengths of over 100,000 though...) in the main script, so that other people don't have this issue. I hope this is useful to someone. |
09/04/2011, 08:59 PM
|
#66 (permalink) | |
|
Member
![]() Join Date: Apr 2011
Posts: 41
Likes Received: 2
Thanks: 7
Thanked 21 Times in 5 Posts
|
Quote:
The ins.sh.json.js should contain response message of data insertion. I understand that may cause confusion that those messages just got pumped out, may be I should edit them before I print them on the screen. |
|
09/21/2011, 12:19 AM
|
#68 (permalink) |
|
Member
![]() Join Date: Jan 2010
Posts: 5
Likes Received: 0
Thanks: 1
Thanked 4 Times in 1 Post
|
Hi rcmarvin,
I have been trying to run the script and can't get the 'generate' button in firefox to work. I follow (new method) steps 1-3 and get a successful output message.json file. But when I click 'refresh' the 'generate' button still remains greyed out. Interestingly - the 'generate' button works in Internet Explorer. I am running XP, firefox 6.0.2 and java version 6, update 27 Do you know what I am doing wrong? |
09/21/2011, 01:27 AM
|
#69 (permalink) | |
|
Member
![]() Join Date: Jan 2010
Posts: 5
Likes Received: 0
Thanks: 1
Thanked 4 Times in 1 Post
|
Quote:
Rcmarvin - do you know what number of messages the index.html file is allowed to process at step 4 'generate'? I am going to try and halve the 17,000 msgs in my original batch and see what happens. Thanks so much for the work - brilliant to be able to migrate messages. Oh....and to a touchpad as well (waiting for arrival of pre 3) |
|
12/27/2011, 05:42 PM
|
#70 (permalink) |
|
Member
![]() Join Date: May 2010
Location: California
Posts: 20
Likes Received: 0
Thanks: 10
Thanked 1 Time in 1 Post
|
I had a bit of a problem transferring my sms messages from my Pre+ to my Pre 3. Everything was transferring fine one by one and then I started getting a message saying that the database was almost full. I just kept hitting ignore and eventually a different message came up saying that the database was full and that the phone needed to be restarted. The only problem was that it said it was going to delete everything and I had to log back into my account. So basically I had to go through the whole "First Use" part all over again and start back from scratch.
It's not that big of a deal as I'm barely activating my Pre 3 and didn't have anything on it anyways. I'm just bummed that it couldn't transfer my text messages Has anyone else had this problem? Or is there a solution to this?Here's what was displayed on the terminal. Code:
insResult.push({"errorCode":28,"errorText":"bdb: seq->get - No space left on dev
ice","returnValue":false})
echo Process completed successfully.
Press any key to continue . . .
Last edited by seguardado; 12/27/2011 at 05:48 PM. |
12/31/2011, 08:52 PM
|
#71 (permalink) |
|
Member
![]() Join Date: Apr 2011
Posts: 41
Likes Received: 2
Thanks: 7
Thanked 21 Times in 5 Posts
|
I am not sure there is a limit on parsing JSON file by Firefox on Desktop but I suspected that there may be a message within the JSON file that cause the failure. Any update on the case?
|
05/23/2012, 01:08 PM
|
#76 (permalink) |
|
Member
![]() Join Date: Sep 2009
Posts: 1
Likes Received: 0
Thanks: 0
Thanked 0 Times in 0 Posts
|
Brilliant, indeed! And very well done. Thank you rcmarvin!
I performed this procedure and was able to retrieve SMS threads from 2010. I just have one thing, and I am hoping that I did everything correctly and this issue is actually related to the SMS migration. It seems, now, one has the issue of the “application database is full” warning and the device is constantly asking for restart/restore. Is there a way to rectify that? That warning seems to be related to the /var/db files (mentioned in a separate post, "The application database is almost full"?). Are these db files a product of this migration script? Let me know what you think. |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|



