gnumeric doesn't do print preview or pdf printing

Bug #478818 reported by Erwin Olario
32
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Gnumeric
Invalid
Undecided
Unassigned
gnumeric (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

Binary package hint: gnumeric

Gnumeric is running from a clean install of 64-bit Ubuntu 9.10. I couldn't print preview my spreadsheets, nor could I generate them as PDF/PS/SVG files by printing.

No error messages are displayed. I didn't experience this in Ubuntu 9.04.

ProblemType: Bug
Architecture: amd64
Date: Mon Nov 9 09:07:01 2009
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release amd64 (20091027)
Package: gnumeric 1.9.9-1ubuntu2
ProcEnviron:
 LANG=en_PH.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-14.48-generic
SourcePackage: gnumeric
Uname: Linux 2.6.31-14-generic x86_64

Revision history for this message
Erwin Olario (gowin) wrote :
Revision history for this message
Jim Tarvid (tarvid) wrote :

gnumeric and dependencies from Sid fixes this problem for me.

Revision history for this message
Erwin Olario (gowin) wrote :

Care to add details on how you went about to fixing it? How blood was it? ;-)

Revision history for this message
Jim Tarvid (tarvid) wrote :

Download the following packages from http://packages.debian.org/sid/amd64/ - make sure the architecture matches. Put in them in a directory by themselves

gnumeric_1.9.15-1_amd64.deb libgoffice-0-8-common_0.7.15-1_all.deb
gnumeric-common_1.9.15-1_all.deb libgsf-1-114_1.14.16-1_amd64.deb
gnumeric-doc_1.9.15-1_all.deb libgsf-1-common_1.14.16-1_all.deb
libgoffice-0-8_0.7.15-1_amd64.deb

sudo dpkg -i *

An hour or so.

Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

Thank you for your bug report. This bug has been reported to the developers of the software. You can track it and make comments at: https://bugzilla.gnome.org/show_bug.cgi?id=533795

Revision history for this message
Andreas J Guelzow (aguelzow) wrote :

Regarding Charlie's comment: The upstream bug report https://bugzilla.gnome.org/show_bug.cgi?id=533795 is a MS Windows specific bug that has nothing to do with what you experience.

Note the error messages:
(gnumeric:4654): Gtk-WARNING **: no pages to print
(gnumeric:4849): Gtk-WARNING **: no pages to print
(gnumeric:4849): Gtk-WARNING **: no pages to print
(gnumeric:4849): Gtk-WARNING **: no pages to print
(gnumeric:4849): Gtk-WARNING **: no pages to print

so I would be wondering whether you have an invalid printarea set. Check "insert->names->define". To see the specification for the printarea.

In any case according to "Jim" this works fine in a recent version of Gnumeric.

(I am one of the upstream developers of Gnumeric.)

Revision history for this message
Andreas J Guelzow (aguelzow) wrote :

According to the NEWS file for 1.9.10:
Morten:
     Fix problem with print area.

Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

Thank you, Andreas. I would expect to see this is fixed in lucid, then, which has gnumeric 1.9.17 now. It would help us greatly if you could test with it so we can work on getting it fixed in the next release of Ubuntu. You can find out more about the development release at http://www.ubuntu.com/testing/ . Thanks again and we appreciate your help.

Changed in gnumeric:
importance: Unknown → Undecided
status: Unknown → New
Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. However, I am closing it because the bug has been fixed in the latest development version of Ubuntu - Lucid Lynx. It won't be fixed in previous versions of Ubuntu because the package doesn't fit the requirements for backporting. See https://help.ubuntu.com/community/UbuntuBackports for more information.

Changed in gnumeric:
status: New → Invalid
Changed in gnumeric (Ubuntu):
status: New → Fix Released
Revision history for this message
Wojciech Bober (wojciech-bober) wrote :

The problem still persists in LucidLynx

Changed in gnumeric (Ubuntu):
status: Fix Released → New
Revision history for this message
Wojciech Bober (wojciech-bober) wrote :

The preview does not show up. I was successful, however, when running gumeric as super user. I have tried to change data directory, but it didn't help.

Revision history for this message
Andreas J Guelzow (aguelzow) wrote :

wojciech,

what is the content of your .gtkrc-2.0 and/or .gtkrc.mine files?

Revision history for this message
Wojciech Bober (wojciech-bober) wrote :

I don't have any of these. I've checked my ~ folder and did a system wide search.

Revision history for this message
Andreas J Guelzow (aguelzow) wrote :

Wojciech, can you create a print preview from evolution? Do you have evince installed? [The print preview in gnumeric is effectively handled by gtk, which uses evince. This is the same setup as in evolution (and most likely any other recent gtk application.)

Revision history for this message
Wojciech Bober (wojciech-bober) wrote :

Yes I can do a print preview from evolution and I have evince installed. As I mentioned before, the problem does not show up when I run gnumeric as super user i.e. sudo gnumeric

Revision history for this message
Andreas J Guelzow (aguelzow) wrote :

The xsession error file above contains
"(gnumeric:4849): Gtk-WARNING **: no pages to print"
this usually means that the intersection of sheet content and printarea is empty.

Wojciech, assuming that you are using the same file for trying to preview as root and as you, this should be some sort of permission issue instead. DO you get any messages when you start gnumeric in a terminal window and try to preview?

Revision history for this message
Wojciech Bober (wojciech-bober) wrote :

Nothing. Is there a way to turn on same sort of verbose output?

Revision history for this message
Bruce Miller (brm0423) wrote :

I am experiencing this bug as well when I try to print. As it happens, I had started gnumeric from a command line:

I was careful within Gnumeric to set a print area.

bruce@Xenophon:~/PDF$ gnumeric ~/Documents/fin/erik-2010.gnumeric &
[1] 6576
bruce@Xenophon:~/PDF$
(gnumeric:6576): Gtk-WARNING **: no pages to print

(gnumeric:6576): Gtk-WARNING **: no pages to print

(gnumeric:6576): Gtk-WARNING **: no pages to print

(gnumeric:6576): Gtk-WARNING **: no pages to print

(gnumeric:6576): Gtk-WARNING **: no pages to print

(gnumeric:6576): Gtk-WARNING **: no pages to print

(gnumeric:6576): Gtk-WARNING **: no pages to print

(gnumeric:6576): Gtk-WARNING **: no pages to print

[1]+ Done gnumeric ~/Documents/fin/erik-2010.gnumeric
bruce@Xenophon:~/PDF$

Revision history for this message
Andreas J Guelzow (aguelzow) wrote :

Bruce, does this happen with every file? (I am unable to replicate in ubuntu 10.4 even trying to make no pages print.)

Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

We'd like to figure out what's causing this bug for you, but we haven't heard back from you in a while. Could you please provide the requested information? Thanks!

Revision history for this message
Erwin Olario (gowin) wrote :

I'm still experiencing the same problem in 64-bit Lucid Lynx. Couldn't preview spreadsheets, no error messages.

Starting gnumeric from the command line I got the following:
** (gnumeric:3904): WARNING **: Unknown namespace uri = 'http://www.w3.org/2003/g/data-view#'

** (gnumeric:3904): WARNING **: Unknown namespace uri = 'http://www.w3.org/1999/xhtml'

** (gnumeric:3904): WARNING **: Unknown namespace uri = 'http://www.w3.org/2003/g/data-view#'

** (gnumeric:3904): WARNING **: Unknown namespace uri = 'http://openoffice.org/2009/table'

** (gnumeric:3904): WARNING **: Unknown namespace uri = 'http://www.w3.org/1999/xhtml'

** (gnumeric:3904): WARNING **: Unknown namespace uri = 'http://www.w3.org/2003/g/data-view#'

** (gnumeric:3904): WARNING **: Unknown namespace uri = 'http://openoffice.org/2009/table'

(gnumeric:3904): Gtk-WARNING **: no pages to print

Revision history for this message
Bruce Miller (brm0423) wrote : Re: [Bug 478818] Re: gnumeric doesn't do print preview or pdf printing

Problem persists in fully updated maverick beta 64-bit.

bruce@Xenophon:~$ gnumeric Documents/fin/erik-2010.gnumeric

(gnumeric:20890): Gtk-WARNING **: no pages to print

(gnumeric:20890): Gtk-WARNING **: no pages to print

(gnumeric:20890): Gtk-WARNING **: no pages to print
bruce@Xenophon:~$ uname -a
Linux Xenophon 2.6.35-22-generic #33-Ubuntu SMP Sun Sep 19 20:32:27 UTC 2010
x86_64 GNU/Linux
bruce@Xenophon:~$ dpkg -l gnumeric
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version
         Description
+++-==========================================-==========================================-====================================================================================================

ii gnumeric 1.10.8-1ubuntu1
         spreadsheet application for GNOME - main program
bruce@Xenophon:~$

Revision history for this message
Bruce Miller (brm0423) wrote :

Tried print preview and print with two other Gnumeric spreadsheets, using 64-bit maverick.

Problem remains as described above

Revision history for this message
Andreas J Guelzow (aguelzow) wrote :

Bruce, would you be able to attach screenshots of the first 3 tabs of the print dialog and the first and last tab of the pagesetup dialog for a failing attempt to print?

Thanks

Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

We'd like to figure out what's causing this bug for you, but we haven't heard back from you in a while. Could you please provide the requested information?
Thanks!

Changed in gnumeric (Ubuntu):
importance: Undecided → Medium
status: New → Incomplete
Revision history for this message
Charlie Kravetz (cjkgeek) wrote :

We are closing this bug report because it lacks the information we need to investigate the problem, as described in the previous comments. Please reopen it if you can give us the missing information, and don't hesitate to submit bug reports in the future. To reopen the bug report you can click on the current status, under the Status column, and change the Status back to "New". Thanks again!

Changed in gnumeric (Ubuntu):
status: Incomplete → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.