Closed Bug 523680 Opened 15 years ago Closed 11 years ago

Thunderbird 3.0pre cannot print email to a printer (IPP or local)

Categories

(MailNews Core :: Printing, defect)

1.9.1 Branch
x86
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: mike.cloaked, Unassigned)

Details

(Whiteboard: [workaround comment 16])

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.3) Gecko/20090909 Fedora/3.5.3-1.fc11 Firefox/3.5.3
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.5pre) Gecko/20091018 Lightning/1.0pre Shredder/3.0pre

Highlight an email - try to print it. No printer is available to print to and only "Print to File" is on the dialog box that pops up.

Reproducible: Always

Steps to Reproduce:
1. Highlight an email say in the inbox
2. Push the print icon
3. Notice that the dialog box that pops up has not printers whether local or shared on the network.
Actual Results:  
Cannot print an email to a printer

Expected Results:  
Printer selection should be available and printing of email should work.

For an office environment this failure is not a trivial bug and should be fixed as soon as possible.
I have same problem - none of the network printers are available. Only print to file. (Fedora 10, Fedora 11)

Work around is print to PDF file and then use PDF reader to send to printer.

Also, if you highlight 2 (or more) messages and print to a file - it prints each message but of course at the end only the last one printed is in the PDF. This should append the PDF with each message not replace. Is this a known bug already ?
Guys, 

Anything in Tools -> Error console ? 

Andything in your system syslogs when this happens ?
Component: General → Printing
Product: Thunderbird → MailNews Core
QA Contact: general → printing
Version: unspecified → 1.9.1 Branch
To be clear - when pressing print - the list of printers is empty except for print to file.

The error console has only GLODA errors (which is odd as I have it turned off).

But no messages in console regarding the missing printers.
Same here - Error console remains empty and there are no lines sent to /var/log/messages, or /var/log/maillog or any other log files that are in /var/log but the list of printers is empty just as genec says.
I'm a bit dry on linux - so I don't have much to say on where to look :-(
Attached file non-reproducer
Cannot reproduce here on Fedora/Rawhide with thunderbird-3.0-3.9.b4.fc12.x86_64

Does printing in other Gnome applications (e.g., gedit) works?
(yes, I printed this to file, but printer on the other computer was usable in the printer dialog as well; and yes the other computer is also Fedora with CUPS)
we are discussing 3.0 pre version from mozilla.org - prev poster is using  beta 4 distro version. 

My version is:

Mozilla/5.0 (X11; U; Linux i686 (x86_64); en-US; rv:1.9.1.5pre) Gecko/20091018 Shredder/3.0pre ID:20091018030508

So it is possible this bug (absence of any printers listed) is post beta4 ?
Perhaps you (devs) can check the changelog between beta 4 and 10/18 to see what changed - if someone can confirm that beta 4 is ok (mozilla version) - then it should be possible to bisect to find what build caused this to break.

If someone is willing to download and test older versions to find the break.
Also is it worth running an strace output?
(In reply to comment #10)
> Also is it worth running an strace output?

Yes that would be useful.
I'll try and find time to do an strace in the next day or so.
Given that the need to print email to a printer is a high priority need for many users would this bug be a release blocker?
This is an strace output for the situation where Thunderbird was started, then the print icon was clicked. The print dialog opened with only "Print to File" available and no printers.
I have very similar issue on linux (gentoo) on AMD64 but using thunderbird-bin-3.0_beta4 on a system without gnome.
However I do have error messages in the terminal when the dialog box pops up without printer:
thunderbird-bin:13941): Gtk-WARNING **: /usr/lib64/gtk-2.0/2.10.0/printbackends/libprintbackend-file.so: mauvaise classe ELF : ELFCLASS64
(thunderbird-bin:13941): Gtk-WARNING **: /usr/lib64/gtk-2.0/2.10.0/printbackends/libprintbackend-file.so: mauvaise classe ELF : ELFCLASS64
(thunderbird-bin:13941): Gtk-WARNING **: /usr/lib64/gtk-2.0/2.10.0/printbackends/libprintbackend-cups.so: mauvaise classe ELF : ELFCLASS64
(thunderbird-bin:13941): Gtk-WARNING **: /usr/lib64/gtk-2.0/2.10.0/printbackends/libprintbackend-cups.so: mauvaise classe ELF : ELFCLASS64 
So for me my  issue is clearly related to some GTK libraries found in 64 bit instead of 32bit;
I have tried to overcome the problem by forcing GTK_PATH launching tb by: 
GTK_PATH=/usr/lib32/gtk-2.0 thunderbird-bin -P tb3beta4  --jsconsole --safe-mode &
In this configuration, printing works, but it seems I have other side issues .;
I consider my printing problem as a gentoo (installation/configuration cohabitation 32 bit/64bit) problem, and I have posted with some details in gentoo forums.
http://forums.gentoo.org/viewtopic-t-799942.html
But I can raise a new bugzilla case if you think it is needed.
I have the exact same problem and a fix.

Here's the output when I try to print an email using Beta4:

(thunderbird-bin:3476): Gtk-WARNING **: /usr/lib64/thunderbird-3.0b4/libfreebl3.so: version `NSSRAWHASH_3.12.3' not found (required by /lib/libcrypt.so.1)


I copied the fedora11 libfreebl3.so to /usr/lib64/thunderbird-3.0b4/ and the printers now show up as expected, and there is no more error output from thunderbird.
Jan can you try to figure what causes this issue ? and update this bug accordingly ?
Whiteboard: [workaround comment 16]
I am running Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.5) Gecko/20091123 Lightning/1.0pre Shredder/3.0.1pre

and libfreebl3.so is already in place in the main directory - but printing still does not work.
The libfreebl3.so that comes with thunderbird is broken. You need to copy
the one in /lib/libfreebl3.so into the thunderbird folder (or possibly just remove the one in the thunderbird folder).
Yes that workaround does fix it for me.  I copied /usr/lib/libfreebl3.so to the main thunderbird directory and printing now works. This is in a Fedora f11 system. So I agree that this file is broken in TB3.0.1pre
On my 64 bit fedora install, I dont have a 32 bit libfreebl3.so only a 64 bit so I cannot use this work around.
I also run 64-bit fedora. You should be running a 64-bit version of TB (maybe you already are?).
(In reply to comment #22)

  1) The mozilla folks are not yet convinced code is 64 bit clean

  2) TB team do not build a 64 bit version (i am using 3.0.1pre)

  3) firefox team only offer 64 bit builds as test (for reason (1))

  4) Add-ins are not often 64 bit built either

  5) I had problems with fedora built version (which is why I'm running mozilla nightly)

  6) I do believe  given the uibiquity of core duo, 64 bit linux and now win 7 64 bit is getting wide distribution - that a supported 64 bit version of TB and firefox is seriously overdue.
surely this is a core issue?
Is this still seen with version 17?
With version 23 beta?  http://www.mozilla.org/thunderbird/channel/
Flags: needinfo?(mike.cloaked)
Flags: needinfo?(aprusso)
I am running Thunderbird 24a2 x86_64 and have no problems with printing at all.  This report probably should have been closed years ago!  I am closing the report, but if someone else still has this problem then please open a new bug.
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Flags: needinfo?(mike.cloaked)
Resolution: --- → WORKSFORME
Flags: needinfo?(aprusso)
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: