WineHQ
Bug Tracking Database – Bug 13437

 Bugzilla

 

Last modified: 2014-02-07 13:05:29 UTC  

Eudora 7.1.0.9 can't open attachments

Bug 13437 - Eudora 7.1.0.9 can't open attachments
Eudora 7.1.0.9 can't open attachments
Status: CLOSED FIXED
AppDB: Show Apps affected by this bug
Product: Wine
Classification: Unclassified
Component: -unknown
1.0-rc2
x86 Linux
: P2 minor
: ---
Assigned To: Mr. Bugs
http://www.eudora.com/download/eudora...
: download
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2008-05-26 03:09 UTC by Wendy
Modified: 2014-02-07 13:05 UTC (History)
4 users (show)

See Also:
Regression SHA1:
Fixed by SHA1:
Distribution: ---
Staged patchset:


Attachments
Trying to open a text file attachment (72.85 KB, image/png)
2011-06-29 18:01 UTC, MestreLion
Details
Relay dump showing Eudora trying to open the file, and Messagebox saying it can't, with a possible workaround (773.10 KB, text/plain)
2011-06-30 18:14 UTC, MestreLion
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Wendy 2008-05-26 03:09:48 UTC
+++ This bug was initially created as a clone of Bug #13429 +++

It was not possible to open attachments to an email in Wine 0.9.x versions; in the Wine 1.0 RC-versions 1 and 2  this remains impossible.

Under Windows XP (SP1 and SP2) it was possible to click on an attachment in an email, and it would be opened with the proper application.  In Ubuntu (7.04, 7.10 and 8.04) under Wine (0.8.x, 0.9.x and 1.0 RC1/2) clicking on the link to an attachment in an email message results in no activity.  No error message either.  Just nothing happens.
Comment 1 Robert Millan 2008-05-26 03:18:35 UTC
The beta builds (8.x) of Eudora are free software.  If this bug can be reproduced with them, source code availability will probably make it much easier to fix in wine.
Comment 2 Wendy 2008-05-26 03:26:44 UTC
@Robert Millan: Eudora 8 is in no way related to Eudora 7.1.0.9.  It is an adaptation to Thunderbird.
Comment 3 Dan Kegel 2008-05-26 10:28:10 UTC
Fixing summary and product, adding download link.
Comment 4 Austin English 2009-01-03 14:21:55 UTC
I couldn't get Eudora to work with my POP3 mailbox. Please retest in current (1.1.12 or newer) wine.
Comment 5 Wendy 2009-05-29 04:27:07 UTC
Wine version 1.1.20, Ubuntu 9.04, Eudora 7.1.0.9
The problem still exists. Trying to open any attachment from any email results in no action, no file opened. I have to go to a file manager to open the attachments.
Comment 6 Dmitry Timoshkov 2009-05-29 04:32:09 UTC
Please don't change the version field.
Comment 7 snejjj 2011-05-18 12:26:12 UTC
is this still an issue in 1.3.20?
Comment 8 snejjj 2011-05-19 05:25:40 UTC
just tried to test with wine 1.3.20, but couldn't open any e-mails. just got an empty window and finally eudora crashes with an "unhandled exception page fault".

I'll add an error log as soon as I have time to repeat my test.
Comment 9 MestreLion 2011-06-29 18:01:59 UTC
Created attachment 35365 [details]
Trying to open a text file attachment

The same error happens regardless of the filetype
Comment 10 MestreLion 2011-06-29 18:11:00 UTC
I can confirm this bug. Using Linux Mint 10, Wine version wine-1.2.2

If i try to open ANY attachment, I get an error dalog "There is no Windows program configured to open this type of file."

This happens regardless of filetype, be it registered (like .TXT, .BMP) or not (.PDF, .XLS, etc) within wine. All files have their mime types correctly configured in my system (outside wine)

This happens for attachments both received AND sent.

Also, RMB > "Send to Browser" does not work (same message)

The *only* thing that works is clicking an URL (http://www.xxx.com). That correctly opens my FireFox outside Wine.
Comment 11 MestreLion 2011-06-30 12:56:18 UTC
I've spent the last 20+ hours carefully studying WINEDEBUGGER=+relay 1.3GB logs, and I've found the bug! And a way to workaround this issue that has been tormenting me for the last 3 years! :D

The culprit (I guess) is this line:

0009:Call advapi32.RegQueryValueW(80000000,0033b9a0 L"txtfile\\shell\\\\command",0033ada0,0033a52c) ret=7e9a3c04
0009:Ret  advapi32.RegQueryValueW() retval=00000002 ret=7e9a3c04

Notice the (weird) absence of "Open" in "txtfile\\shell\\\\command". The function, obviously, returns 0x2 (ERROR_FILE_NOT_FOUND)

So if I duplicate the registry "command" key right under shell (instead of under "open"), the attachment opens perfectly!

Right now I'm documenting all the steps. I dont know if this is the best and/or only solution, so I would *really* appreciate a closer help by *any* developer familiar with Wine.

Can any one contact me for further investigation? its " wine (a.t.) rodrigosilva (d.o.t) com " (yes, trust me, it works, i own the domain)

Thanks!
Comment 12 MestreLion 2011-06-30 18:14:18 UTC
Created attachment 35382 [details]
Relay dump showing Eudora trying to open the file, and Messagebox saying it can't, with a possible workaround

- In order to minimize API calls and considerably reduce the log (original was 1.3GB!), Eudora was previously set to File > Work Offline. Also, I've sent myself an email with several attachments. The received email was already opened and maximized, all other emails and mailboxes were closed.

- Ive launched Eudora with the command:

	env WINEPREFIX="/home/rodrigo/.wine" WINEDEBUG=+relay wine C:\\Program\ Files\\Qualcomm\\Eudora\\eudora.exe 2> dump.txt

- As suggested by http://wiki.winehq.org/DebugChannels , the most frequent (or distracting) calls were excluded in Registry HKCU\Software\Wine\Debug\RelayExclude. Hope none are relevant to the bug. They were:
	KERNEL32.SetLastError;KERNEL32.GetLastError;KERNEL32.FlsGetValue;ntdll.RtlEnterCriticalSection;ntdll.RtlLeaveCriticalSection;ntdll.RtlFreeHeap;ntdll.RtlAllocateHeap;KERNEL32.TlsGetValue;KERNEL32.GlobalUnlock;KERNEL32.GlobalLock;KERNEL32.lstrlenA;user32.CallWindowProcA;user32.SendMessageA;KERNEL32.lstrcpyA;user32.GetWindowLongW;KERNEL32.GetTickCount;

- Eudora was launched, the test email already showed up, maximized. The only operations done were:

	- Click the "teste.mdb" attachment (MDB was not associated in Wine). Used as a lower bound "flag" to trim the log
	- Click the "carro.txt" attachment (TXT associated with notepad). The actual test case
	- Click the "teste.mdb" attachment again, as an "upper bound" to trim the log
	
- The 3 operations showed a "There is no Windows program configured to open this type of file." MessageBox

- Log was trimmed: Deleted everything before the first MessageBox (from the 1st click on teste.mdb), and after the second MessageBox (log went from 25MB to ~6MB). Then further trimmed to ~750K by deleting everything before the first occurrence of "carro.txt"

- Relevant log entries, in my opinion, are the very last ones:

0009:Call advapi32.RegQueryValueW(80000000,0033b5dc L".txt",0033b9a0,0033bbac) ret=7e9a6c7a
0009:Ret  advapi32.RegQueryValueW() retval=00000000 ret=7e9a6c7a
0009:Call advapi32.RegOpenKeyExW(80000000,0033b9a0 L"txtfile",00000000,02000000,0033a528) ret=7e9a3b66
0009:Ret  advapi32.RegOpenKeyExW() retval=00000000 ret=7e9a3b66
0009:Call advapi32.RegCloseKey(000000d4) ret=7e9a3bbc
0009:Ret  advapi32.RegCloseKey() retval=00000000 ret=7e9a3bbc
0009:Call advapi32.RegQueryValueW(80000000,0033b9a0 L"txtfile\\shell\\\\command",0033ada0,0033a52c) ret=7e9a3c04
0009:Ret  advapi32.RegQueryValueW() retval=00000002 ret=7e9a3c04
0009:Call shlwapi.PathIsDirectoryW(0033e464 L"D:\\Arquivos\\Email\\attach\\carro.txt") ret=7e9a8a26
0009:Call KERNEL32.GetFileAttributesW(0033e464 L"D:\\Arquivos\\Email\\attach\\carro.txt") ret=7eb47738
0009:Ret  KERNEL32.GetFileAttributesW() retval=00000020 ret=7eb47738
0009:Ret  shlwapi.PathIsDirectoryW() retval=00000000 ret=7e9a8a26
0009:Call shlwapi.PathIsURLW(0033e464 L"D:\\Arquivos\\Email\\attach\\carro.txt") ret=7e9a8e68
0009:Ret  shlwapi.PathIsURLW() retval=00000000 ret=7e9a8e68
0009:Call user32.LoadStringW(7e950000,000000a4,0033abb0,00000800) ret=7e9a3ac2
0009:Ret  user32.LoadStringW() retval=00000041 ret=7e9a3ac2
0009:Call user32.MessageBoxW(000100c4,0033abb0 L"There is no Windows program configured to open this type of file.",00000000,00000010) ret=7e9a3a84

The "txtfile\\shell\\\\command" suggests that Eudora, somehow, is not accessing the right path (it should be ""txtfile\\shell\\open\\command"). So duplicating the "command" key entry directly under "shell" fixes the problem, but i think this non-standard workaround misses the point, since it works perfectly in XP.
Comment 13 Bruno Jesus 2014-01-20 18:48:45 UTC
I can see this issue in wine 1.3.22, and no longer in wine 1.7.11 (attachment is opened correctly). Assuming fixed, if anyone is still able to reproduce feel free to reopen.
Comment 14 Alexandre Julliard 2014-02-07 13:05:29 UTC
Closing bugs fixed in 1.7.12.


Privacy Policy
If you have a privacy inquiry regarding this site, please write to [email protected]

Hosted By CodeWeavers