Reply
Visitor
Pre 2 p102eww (Verizon)
Greg7
Posts: 4
Registered: 07-01-2011
0

Re: pre2 - unable to retrieve email text.....

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.

 

 

Visitor
Pre 2 p102eww (Verizon)
Greg7
Posts: 4
Registered: 07-01-2011
0

Re: pre2 - unable to retrieve email text.....

Nevermind... I had to be in developer mode.  Let's see what kind of damage I can do....  :smileyhappy:

 

I can still always do a reset if I get it too messed up I suppose, but I'll tread lightly.

Contributor
HP Pre 3 (Unlocked EU)
kaidoloor
Posts: 34
Registered: 04-11-2010
0

Re: pre2 - unable to retrieve email text.....

[ Edited ]

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

Visitor
Pre 2 p102eww (Verizon)
Greg7
Posts: 4
Registered: 07-01-2011
0

Re: pre2 - unable to retrieve email text.....

Let us know what you find. I haven't started playing with it yet myself. Maybe later today. If I find anything worth posting, I will.
Contributor
HP Pre 3 (Unlocked EU)
kaidoloor
Posts: 34
Registered: 04-11-2010
0

Re: pre2 - unable to retrieve email text.....

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

 

Visitor
Pre 2 p102eww (Verizon)
ralex
Posts: 1
Registered: 07-28-2011
0

Re: pre2 - unable to retrieve email text.....

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

Newbie
Pre 2 p102eww (Verizon)
borthwi
Posts: 1
Registered: 08-11-2011
0

Re: pre2 - unable to retrieve email text.....

Hello, I am having the same issue with reading exchange email and sending as well. How do I get access to the /var for removing files? I was unable to via USB to computer. thanks for you assistance.
Contributor
HP Pre 3 (Unlocked EU)
kaidoloor
Posts: 34
Registered: 04-11-2010
0

Re: pre2 - unable to retrieve email text.....

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

Contributor
HP TouchPad (WiFi)
CWFlink
Posts: 31
Registered: 07-09-2011
0

Re: pre2 - unable to retrieve email text.....

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 ???

Regular Visitor
Pre 2 p102eww (Verizon)
moorek
Posts: 7
Registered: 03-30-2011
0

Re: pre2 - unable to retrieve email text.....

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.