gfax postinstall script

Bug #589748 reported by cheesyking
16
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gfax (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: gfax

ubuntu 10.04
gfax 0.7.7+ds-1

with the source version gfax 0.7.7 there is a postinstall.sh script that you run to finalise the install.

This script:
- creates /var/spool/gfax and sets its permissions. Without this dir gfax crashes on startup.

- adds a gfax printer to CUPS so users can print from any appliction

- registers gfax in gnome.

0.7.7+ds1from the repository only performs the last action leaving you unable to start gfax and without the printer.

I've seen this both on a 9.10 => 10.04 upgrade (installing gfax for the first time in 10.04) and on a 10.04 clean install.

postinstall.sh is attached. Running the script after installing from repositories (you must also restart cups after running the script) should fix both problems.

Tags: cups gfax printer
Revision history for this message
cheesyking (junk1) wrote :
Revision history for this message
Sebastian Abate (sebastianabate) wrote :

This problem still persist in Maverick 32 bits, with all the updates, but the previous script fails in the last command. In Maverick, the last line must be

gconf-schemas --register /usr/share/gconf/schemas/gfax.schemas

Revision history for this message
FiReSTaRT (dlyh) wrote :

On Maverick 64, GFax won't even start. When I try to run it from the terminal, here's the output that I get:
Unhandled Exception: GLib.GException: Icon 'gtk-info' not present in theme
  at Gtk.IconTheme.LoadIcon (System.String icon_name, Int32 size, IconLookupFlags flags) [0x00000] in <filename unknown>:0
  at gfax.G_ListView.AddColumnIcon (System.String iconname, Int32 col) [0x00000] in <filename unknown>:0
  at gfax.Gfax..ctor (System.String fname, System.String[] args) [0x00000] in <filename unknown>:0
  at gfax.gfax.Main (System.String[] args) [0x00000] in <filename unknown>:0
I'm attaching the strace output. I only scrubbed out my username and replaced it with "username"

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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