Page 1 of 1

Printing issue - GnomePrint (critical) warnings

Posted: Wed Oct 08, 2014 11:43 am
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?

Re: Printing issue - GnomePrint (critical) warnings

Posted: Mon Nov 10, 2014 4:26 pm
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.

Re: Printing issue - GnomePrint (critical) warnings

Posted: Mon Nov 10, 2014 5:52 pm
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)

Re: Printing issue - GnomePrint (critical) warnings

Posted: Mon Nov 10, 2014 10:44 pm
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?