Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 521996 - net-print/hplip-3.14.1 - HP Laserjet M1212nf fails to print: cgiSetArray: job_printer_state_message[0]="Filter failed"
Summary: net-print/hplip-3.14.1 - HP Laserjet M1212nf fails to print: cgiSetArray: job...
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Daniel Pielmeier
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-09-02 18:59 UTC by Yuriy Rusinov
Modified: 2017-09-26 17:45 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Log of errors (cups_error_log,116.42 KB, text/plain)
2014-09-02 19:00 UTC, Yuriy Rusinov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Yuriy Rusinov 2014-09-02 18:59:16 UTC
After updating my hplip driver printer stop print, error "Filter failed",

[ebuild   R    ] net-print/hplip-3.14.1  USE="X fax hpcups kde libnotify qt4 scanner snmp -doc -hpijs -libusb0 -minimal -parport -policykit -static-ppds" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7" 0 kB 

Reproducible: Always

Steps to Reproduce:
1. emerge -av net-print/hplip
2. hp-setup -r
3. hp-setup -i
4. hp-plugin
5. hp-testpage
Actual Results:  
Error "Filter failed"

Expected Results:  
Normal print
Comment 1 Yuriy Rusinov 2014-09-02 19:00:23 UTC
Created attachment 384128 [details]
Log of errors
Comment 2 Daniel Pielmeier gentoo-dev 2014-09-04 16:24:24 UTC
E [01/Sep/2014:23:13:25 +0400] [Job 2516] Job stopped due to filter errors; please consult the error_log file for details.

Can you provide this one?
Comment 3 Yuriy Rusinov 2014-09-04 16:30:30 UTC
(In reply to Daniel Pielmeier from comment #2)
> E [01/Sep/2014:23:13:25 +0400] [Job 2516] Job stopped due to filter errors;
> please consult the error_log file for details.
> 
> Can you provide this one?

It is in attachment.
Comment 4 Daniel Pielmeier gentoo-dev 2014-09-04 18:33:17 UTC
(In reply to Yuriy Rusinov from comment #3)
> (In reply to Daniel Pielmeier from comment #2)
> > E [01/Sep/2014:23:13:25 +0400] [Job 2516] Job stopped due to filter errors;
> > please consult the error_log file for details.
> > 
> > Can you provide this one?
> 
> It is in attachment.

So the error_log tells you to look into itself. Strange

Is the printer connected by USB or network?
What was the last working version?
There were no other errors, especially when installing the plugin?

Can you try if recompiling cups and cups-filters helps.
Comment 5 Yuriy Rusinov 2014-09-04 18:45:22 UTC
(In reply to Daniel Pielmeier from comment #4)
> (In reply to Yuriy Rusinov from comment #3)
> > (In reply to Daniel Pielmeier from comment #2)
> > > E [01/Sep/2014:23:13:25 +0400] [Job 2516] Job stopped due to filter errors;
> > > please consult the error_log file for details.
> > > 
> > > Can you provide this one?
> > 
> > It is in attachment.
> 
> So the error_log tells you to look into itself. Strange
> 
> Is the printer connected by USB or network?
> What was the last working version?
> There were no other errors, especially when installing the plugin?
> 
> Can you try if recompiling cups and cups-filters helps.

Printer connected by network, last working version was 3.11, I try to recompile cups and cups-filters, but this did not help.
Comment 6 Daniel Pielmeier gentoo-dev 2014-09-04 19:12:32 UTC
(In reply to Yuriy Rusinov from comment #5)
> (In reply to Daniel Pielmeier from comment #4)
> > (In reply to Yuriy Rusinov from comment #3)
> > > (In reply to Daniel Pielmeier from comment #2)
> > > > E [01/Sep/2014:23:13:25 +0400] [Job 2516] Job stopped due to filter errors;
> > > > please consult the error_log file for details.
> > > > 
> > > > Can you provide this one?
> > > 
> > > It is in attachment.
> > 
> > So the error_log tells you to look into itself. Strange
> > 
> > Is the printer connected by USB or network?
> > What was the last working version?
> > There were no other errors, especially when installing the plugin?
> > 
> > Can you try if recompiling cups and cups-filters helps.
> 
> Printer connected by network, last working version was 3.11, I try to
> recompile cups and cups-filters, but this did not help.

You could try 3.14.6.
Comment 7 Yuriy Rusinov 2014-09-05 11:04:46 UTC
(In reply to Daniel Pielmeier from comment #6)
> (In reply to Yuriy Rusinov from comment #5)
> > (In reply to Daniel Pielmeier from comment #4)
> > > (In reply to Yuriy Rusinov from comment #3)
> > > > (In reply to Daniel Pielmeier from comment #2)
> > > > > E [01/Sep/2014:23:13:25 +0400] [Job 2516] Job stopped due to filter errors;
> > > > > please consult the error_log file for details.
> > > > > 
> > > > > Can you provide this one?
> > > > 
> > > > It is in attachment.
> > > 
> > > So the error_log tells you to look into itself. Strange
> > > 
> > > Is the printer connected by USB or network?
> > > What was the last working version?
> > > There were no other errors, especially when installing the plugin?
> > > 
> > > Can you try if recompiling cups and cups-filters helps.
> > 
> > Printer connected by network, last working version was 3.11, I try to
> > recompile cups and cups-filters, but this did not help.
> 
> You could try 3.14.6.

I try it now, but it does not help.
Comment 8 Daniel Pielmeier gentoo-dev 2014-09-13 22:43:28 UTC
Sorry but I can not help you here any further. You can open a bug at https://bugs.launchpad.net/hplip and link to it here. Hopefully the hplip developers are able to help you.
Comment 9 Daniel Pielmeier gentoo-dev 2015-04-04 13:08:05 UTC
From looking at the log file there seems to be an issue with the binary plugin. Unfortunately I can not support installations with binary plugins as I am unable to test such configurations.

D [01/Sep/2014:23:13:11 +0400] [CGI] cgiSetArray: printer_make_and_model[0]="HP LaserJet Professional m1212nf MFP, hpcups 3.14.1, requires proprietary plugin"

D [01/Sep/2014:23:13:15 +0400] [Job 2516] STATE: +hplip.plugin-error
D [01/Sep/2014:23:13:15 +0400] cupsdMarkDirty(P----)
D [01/Sep/2014:23:13:15 +0400] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [01/Sep/2014:23:13:15 +0400] cupsdMarkDirty(---J-)
D [01/Sep/2014:23:13:15 +0400] cupsdSetBusyState: newbusy="Printing jobs and dirty files", busy="Printing jobs and dirty files"
D [01/Sep/2014:23:13:15 +0400] [Job 2516] prnt/hpcups/HPCupsFilter.cpp 456: m_Job initialization failed with error = 48

You can try with he newest version. Also make sure to update the binary plugin as well.
Comment 10 Yuriy Rusinov 2017-09-17 18:12:31 UTC
I resolve this problem this way. In cups web-interface I remove printer, after that I did hp-setup -i and hp-testpage. After this all works fine, but if I try to update hplip or hplip-plugin and modify printer via cups then this problem arise again until I remove and setup printer.
Comment 11 Daniel Pielmeier gentoo-dev 2017-09-26 17:45:12 UTC
Well for hplip hp-setup is recommended especially if binary plugins are involved.