Printing issue - GnomePrint (critical) warnings

Linux specific forum
User avatar
bbanelli
Enthusiast
Enthusiast
Posts: 544
Joined: Tue May 28, 2013 10:51 pm
Location: Europe
Contact:

Printing issue - GnomePrint (critical) warnings

Post by bbanelli »

Greetings to all,

I followed this tutorial and up to now, didn't have any problems with Ubuntu 12.04 LTS and PB 5.3.

http://www.sinistersoft.com/downloads/P ... inners.pdf

However, I needed to do some printout and the following warning showed. In addition, I have yellow exclamation marks on PrinterRequest(), StartPrinting() and StopPrinting() function.

Code: Select all

[12:15:24] [WARNING] PDF417Generator.pb (Line: 483)
[12:15:24] [WARNING] Gtk (WARNING): GtkSpinButton: setting an adjustment with non-zero page size is deprecated
[12:15:24] [WARNING] PDF417Generator.pb (Line: 483)
[12:15:24] [WARNING] GLib-GObject (CRITICAL): g_object_set: assertion `G_IS_OBJECT (object)' failed
[12:15:24] [WARNING] PDF417Generator.pb (Line: 483)
[12:15:24] [WARNING] GnomePrint (CRITICAL): gnome_print_filter_reset: assertion `GNOME_IS_PRINT_FILTER (f)' failed
[12:15:24] [WARNING] PDF417Generator.pb (Line: 483)
[12:15:24] [WARNING] GLib-GObject (CRITICAL): g_object_set: assertion `G_IS_OBJECT (object)' failed
[12:15:38] [WARNING] PDF417Generator.pb (Line: 508)
[12:15:38] [WARNING] CRITICAL: gpa_node_get_path_value: assertion `node != NULL' failed
[12:15:38] [WARNING] PDF417Generator.pb (Line: 508)
[12:15:38] [WARNING] GnomePrint (CRITICAL): gnome_print_context_close: assertion `pc != NULL' failed
[12:15:38] [WARNING] PDF417Generator.pb (Line: 508)
[12:15:38] [WARNING] GLib-GObject (CRITICAL): g_object_unref: assertion `G_IS_OBJECT (object)' failed
[12:15:38] [WARNING] PDF417Generator.pb (Line: 508)
[12:15:38] [WARNING] GLib-GObject (WARNING): invalid uninstantiatable type `(null)' in cast to `GObject'
[12:15:38] [WARNING] PDF417Generator.pb (Line: 508)
[12:15:38] [WARNING] GLib-GObject (CRITICAL): g_object_unref: assertion `G_IS_OBJECT (object)' failed
[12:15:38] The Program execution has finished.
Same thing happens with default PB Printing example from Examples folder.

Naturally, I can't print anything (PDF printer has no output and HP LaserJet 1200 PCL XL error.

Can anyone advise what do I miss?
"If you lie to the compiler, it will get its revenge."
Henry Spencer
https://www.pci-z.com/
User avatar
langinagel
Enthusiast
Enthusiast
Posts: 131
Joined: Fri Jan 28, 2005 11:53 pm
Location: Germany
Contact:

Re: Printing issue - GnomePrint (critical) warnings

Post by langinagel »

Sorry, I cannot mitigate your situation, but I can confirm same behavior on Ubuntu 14.04 with PB 5.30x86.
I installed many libs-dev about gnome, printing, GObject etc. Nothing helped so far.

It is highest time to update checkinstall.sh .

I thought Purebasic would be a fine platform to reach out on Windows, Linux and Mac. Maybe I have to reconsider.
https://www.doerpsoft.org

Boost. Work. Efficiency.
Fred
Administrator
Administrator
Posts: 18350
Joined: Fri May 17, 2002 4:39 pm
Location: France
Contact:

Re: Printing issue - GnomePrint (critical) warnings

Post by Fred »

The linux printer lib has been reworked for the next major version, so it should solve these issue (won't use gnomeprint anymore)
User avatar
bbanelli
Enthusiast
Enthusiast
Posts: 544
Joined: Tue May 28, 2013 10:51 pm
Location: Europe
Contact:

Re: Printing issue - GnomePrint (critical) warnings

Post by bbanelli »

Fred wrote:The linux printer lib has been reworked for the next major version, so it should solve these issue (won't use gnomeprint anymore)
Yeeeeeeey! :D

But I suppose syntax will remain intact to maintain backward compatibility with the code from previous PB versions?
"If you lie to the compiler, it will get its revenge."
Henry Spencer
https://www.pci-z.com/
Post Reply