Bug 1128798
| Summary: | Error printing: Operation not supported | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Jiri Koten <jkoten> |
| Component: | gtk2 | Assignee: | Marek Kašík <mkasik> |
| Status: | CLOSED ERRATA | QA Contact: | Desktop QE <desktop-qa-list> |
| Severity: | medium | Docs Contact: | |
| Priority: | high | ||
| Version: | 6.6 | CC: | fidencio, mcrha, mkasik, tlavigne, tpelka |
| Target Milestone: | rc | Keywords: | Regression |
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | gtk2-2.24.23-4.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2014-10-14 07:41:20 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Jiri Koten
2014-08-11 14:49:17 UTC
Console output: (evolution:22733): e-utils-WARNING **: Not a valid page setup file (In reply to Jiri Koten from comment #0) > Description of problem: > When I print a Contact or Calendar and use the Print to File it fails with > the dialog: Error printing: Operation not supported. "Operation not supported" typically indicates some missing GVFS component. > When I try it for the second time the fields Name: and Save in Folder are > empty. After filling them out I'm able to proceed and get the pdf file. This is describing the GtkPrintUnixDialog widget in gtk2. Not an Evolution bug, but I'll try investigating this a bit more before reassigning. Printing to a file is implemented as a backend module within gtk2. I suspect the "Operation not supported" call is the result of passing a bad URI to g_file_replace() in this function: https://git.gnome.org/browse/gtk+/tree/modules/printbackends/file/gtkprintbackendfile.c?h=gtk-2-24#n436 It would be instructive if you could run Evolution under gdb and set a breakpoint on that function, execute a "Print to File" to trigger a breakpoint, and step through the function far enough to examine the value of the 'uri' variable. I tried to reproduce the failure but was unable; printing to a file worked correctly for me on the first try. Reassigning to gtk2, although it may just be a user environment issue. Well, it looks like the uri is "empty". (gchar *) 0x2f37150 "" vs. (gchar *) 0x3158d30 "file:///tmp/test". This happens when I start Evolution, in gui it shows test as filename and tmp as dir., but it fails to print (because the uri is actually "empty"). When I open the print dialog again the fields are empty and filling them out fix the issue until the next start. So it seems the default values used from previous run are lost or not propagated even though they are shown in the gui. Thank you for CCing me. This the same problem as the one we've recently fixed in RHEL 7 in the bug #1109100. I've tested the same patch here and it fixes the problem. Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2014-1554.html |