Hi,
I'm writing an app in python, using pygtk and pangocairo modules.
In the app, I show a dialog to user, to set printing parameters such
as paper type, printer name and page orientation. I create this dialog
using function below:

     page_setup = gtk.print_run_page_setup_dialog()

and then assign it to my print_operation:

     print_operation.set_default_page_setup(page_setup)

But when I call get_cairo_context() function to start drawing pages,
This error appears:

     cairo.Error: invalid matrix (not invertible)

And page drawing stops.
But I printing was OK before I use gtk.print_run_page_setup_dialog() function.
The interesting part is, when I log in as a different user and execute
the code, everything works correctly, with no error!

I tried removing all configuration directories and files (all which
start with '.' ) in my home directory, But it didn't help.

When this error happens? Is there any configuration option for each
user, somewhere out of home directory?
_______________________________________________
pygtk mailing list   [email protected]
http://www.daa.com.au/mailman/listinfo/pygtk
Read the PyGTK FAQ: http://faq.pygtk.org/

Reply via email to