07-02-2011 03:13 PM
Having a little trouble with the webos window:
I have Windows Vista:
C:\>\"program files"\"palm, Inc"\novacom -t open tty://
unable to find device
The Pre2 is connected and "Just Charging."
"novacom -l" doesn't list any devices either.
WebOS 2.0.1.
07-02-2011 03:57 PM
Nevermind... I had to be in developer mode. Let's see what kind of damage I can do.... ![]()
I can still always do a reset if I get it too messed up I suppose, but I'll tread lightly.
07-03-2011 12:18 PM - last edited on 07-03-2011 12:31 PM
Deleting /var/file-cache/email might not be a good idea. I am now unable to send e-mails (press send button, text appears 'sending "<subject>"', but e-mail compose window stays open, e-mail is not received at recipient), /var/log/messages says:
2011-07-03T18:59:35.710937Z [539] palm-webos user.crit LunaSysMgr: {LunaSysMgrJS
}: com.palm.app.email: Sending mail - _id: undefined, editedOriginal: true, cont
entLen: 320, originalMsgId: undefined, subjectLen: 4, palmInitFramework298:14
2011-07-03T18:59:35.938781Z [539] palm-webos user.info mojomail-smtp[2157]: [com
.palm.smtp] Creating SmtpClient
2011-07-03T18:59:35.939086Z [539] palm-webos user.info mojomail-smtp[2157]: [com
.palm.smtp] Setting smtp client with account id
2011-07-03T18:59:35.953430Z [539] palm-webos user.err filecache[1175]: [filecach
e.categoryhandler] InsertCacheObject: No type 'email' defined.
2011-07-03T18:59:35.957794Z [539] palm-webos user.err mojomail-smtp[2157]: [com.
palm.smtp] Error: InsertCacheObject: No type 'email' defined. (MojErr -200) -- s
rc/commands/SaveEmailCommand.cpp:165
2011-07-03T18:59:35.958068Z [539] palm-webos user.info mojomail-smtp[2157]: [com
.palm.smtp] Completing command, removing aux
2011-07-03T18:59:35.958190Z [539] palm-webos user.info mojomail-smtp[2157]: [com
.palm.smtp] Checking SMTP clients to see if SMTP service can be shutdown
2011-07-03T18:59:35.958282Z [539] palm-webos user.info mojomail-smtp[2157]: [com
.palm.smtp] Setting up SMTP shutdown callback
I am not sure what the above means, but it seems the e-mail send command is now unable to save the e-mail to /var/file-cache/email, and the SMTP is unable to send the file, as it does not exist.
E-mails are either blackboxed or 'unable to download message' (list view of messages works).
Will be a long evening..
Kaido
07-03-2011 12:33 PM
07-03-2011 02:00 PM
Took a fresh start with 'Erase apps and data'. /var/file-cache/email has developed a number of subfolders and a file:
root@[snip] - Palm Pre:/var/file-cache/email# ls
ls
A H O U c
B I P W d
C J Q X e
D K R Y f
E L S Z
F M T a
G N Type.defaults b
root@[snip] - Palm Pre:/var/file-cache/email#
root@[snip] - Palm Pre:/var/file-cache/email#
and sending e-mails works now.
Now when I think about error messages in the /var/log/messages I sent before, maybe I should have retained the Type.defaults file. Mine contains:
cat Type.defaults
loWatermark 10489856
hiWatermark 52432896
defaultSize 0
defaultCost 0
defaultLifetime 1
dirType 0
br,
Kaido
07-28-2011 03:47 PM
Since /media/internal has a ton of free space and /var/file-cache is so abysmally small I did the following:
root@[ohyeah]:/var/file-cache# tar -czf /media/internal/file-cache-email.tgz email
root@[ohyeah]:/var/file-cache# tar -czf /media/internal/file-cache-attachment.tgz attachment
root@[ohyeah]:/var/file-cache# mkdir /media/internal/email-files
root@[ohyeah]:/var/file-cache# mv email /media/internal/email-files/
root@[ohyeah]:/var/file-cache# mv attachment /media/internal/email-files/
root@[ohyeah]:/var/file-cache# ln -s /media/internal/email-files/email
root@[ohyeah]:/var/file-cache# ln -s /media/internal/email-files/attachment
This did not fix the problem and I ended up resetting my phone.
After reset all the pictures from the bodies of email show up in my Photo Roll. Recursively removing the /media/internal/email-files got rid of all the mess in Photo Roll.
So for now I'm g2g
08-11-2011 06:11 AM
08-11-2011 01:35 PM
accessing file system on Pre is described in the thread, basically make sure you are in developer mode, connect usb cable, just charge, from PC command prompt use the command line shown in thread (novacom ...). This should give you webos prompt.
actually, could smbd write a simple app to do this deletion?
please report us if this fixed or not your emails.
kaido
11-04-2011 07:02 PM
I have this problem on a TouchPad under 3.0.4 and erased all the /var/email/[A-z] and corresponding ...attachment directories and it did not fix the problem. Found a message in a Touchpad forum somewhere that said doing the "restart erasing apps and data" only temporarily fixed the problem... i.e. it came back. ??? fixed the symptom but not the cause ???
11-05-2011 04:15 AM
In Preware, there is a tweak called Emergency Filecache Wipe. I run this when I can't get e-mail text to display. Always fixes it but it usually comes back in a month or so.