I just changed from Mageia 9 to Cauldron because I want to run a later version of Cinnamon. The upgrade ran fine and everything is working very well (so far) but I had one small problem with printing. The printer was set up correctly and everything works, but apparently, somewhere in a configuration file the printer test page image location must have changed because when I try to print the test page while setting up a printer, an error message is returing stating "There was an error during the CUPS operation. 'No such file or directory". Please fix and roll out a patch such that "Print Test Page" is found and works correctly.
Just to add, the printers are being set up correctly and work fine when printing from browsers, apps, etc.
In an older, but up-to-date cauldron, I now get a different test page than I used to. I used to get the one that /usr/share/cups/data/testprint-mga.ps links to, so I used to get /usr/share/printer-testpages/testprint.ps What I now get is the Mageia testpage, which is much better, of course :-) : /usr/share/printer-testpages/testprint-a4.ps This revision caused the improvement: https://svnweb.mageia.org/packages?view=revision&revision=2081835 However I don't have a clue why you can't print a test page. Please do, in a konsole/terminal: rpm -qa | grep system-config-printer and copy the output into a comment here. CC'ing daviddavid
Source RPM: (none) => system-config-printerCC: (none) => geiger.david68210, marja11
Status: NEW => NEEDINFO
The following is the output: [root@localhost alben]# rpm -qa | grep system-config-printer system-config-printer-libs-1.5.18-3.mga10 system-config-printer-udev-1.5.18-3.mga10 system-config-printer-1.5.18-3.mga10 [root@localhost alben]# I double checked and the "print test page" still isn't working. It did before I updated to Cauldron. The printer does work and I can print test pages from web sites but something seems to be pointing to a non-existing file. This is what happens. 1. Go to Mageia Control Center 2. Select "Hardware" from the left panel 3. From right side, select under *Configure printing and scanning "Set up the printer(s), the print job queues..." 4. After adding the printer (that part works fine), opening the printer icon 5. Select "Print test page" The above steps give a popup that says "CUPS server error" followed by "There was an error during the CUPS operation: 'No such file or directory' Again, the printer works fine when I print to it but since I had received the error, I was worried and thought printing was broken and it was a problem with the CUPS server. Then it occurred to me that since the setup process worked fine I should just try to print something and it worked but I wanted to report it. The same thing happened on two different computers I updated from Mageia 9. One is an old 3rd generation i5 HP laptop and the other is an old Chromebook I converted using mrchromebox.tech that has a ntel© Celeron© 3205U @ 1.50GHz × 2 processor. You may want to ask someone on the Cauldron team to update from a Mageia 9 installation to see if you can replicate the problem since it could become a problem in Mageia 10.
@ alben Thanks for your reply! I had hoped to do some testing, but am too short on time and energy. Please give the output of: ls -al /usr/share/printer-testpages/ If there is nothing there, then please install printer-testpages-2024-1.mga10.noarch.
Status comment: (none) => Reproduced (issue present on 3 different systems)
(In reply to Marja Van Waes from comment #4) > @ alben > > Thanks for your reply! I had hoped to do some testing, but am too short on > time and energy. > > Please give the output of: > > ls -al /usr/share/printer-testpages/ > > If there is nothing there, then please install > > printer-testpages-2024-1.mga10.noarch. Also install that package if testpage-a4.ps is missing in that directory
The files are there. Below is the output: [alben@localhost ~]$ ls -al /usr/share/printer-testpages/ total 1184 drwxr-xr-x 2 root root 4096 Sep 4 17:41 ./ drwxr-xr-x 342 root root 12288 Sep 4 17:48 ../ -rw-r--r-- 1 root root 598930 Jul 17 00:32 photo-testpage.jpg -rw-r--r-- 1 root root 192256 Jul 17 00:32 testpage-a4.ps -rw-r--r-- 1 root root 626 Jul 17 00:32 testpage.asc -rw-r--r-- 1 root root 192028 Jul 17 00:32 testpage.ps -rw-r--r-- 1 root root 200973 Jul 17 00:32 testprint.ps [alben@localhost ~]$ Thank you, Maria. Still not sure what's happening, here. Any other suggestions?
* I am on mga9 only, but anyway: * (In reply to Marja Van Waes from comment #2) > What I now get is the Mageia testpage, which is much better, of course :-) : > /usr/share/printer-testpages/testprint-a4.ps Um.. on mga9 that page is written "Mandriva" ! And it is not used when doing test print. I believe the package printer-testpages and these files are never used on mga9? Actually I renamed /usr/share/printer-testpages to something else and still same CUPS test page is printed OK. But, if I rename /usr/share/cups/data/default-testpage.pdf to something else, test print fails with lots of messages from cups in system journal. But I get no error message popup, just the normal message that test page was sent... @ Alben, do you have /usr/share/cups/data/default-testpage.pdf ? From package cups-filters. The page is used as a template and CUPS fill in printer details text. (In reply to alben roland from comment #3) > The above steps give a popup that says "CUPS server error" followed by > "There was an error during the CUPS operation: 'No such file or directory' In an attempt to get more info: In a terminal, launch journalctl -f and keep terminal open to see system log messages in real time. In another terminal start system-config-printer and try to print the test page. - Do there appear some interesting messages in system log or terminal?
CC: (none) => fri
(In reply to alben roland from comment #0) > when I try to print the test page while setting up a printer, an > error message is returing stating "There was an error during the CUPS > operation. 'No such file or directory". Is that a pop up message, or where is it output? I wonder if it could be specific to the printer. Please try the virtual printer, our package boomaga, to see if it shows the same behaviour.
Hi Morgan, In response to the following: > @ Alben, do you have /usr/share/cups/data/default-testpage.pdf ? > From package cups-filters. No, that file is missing. There are only two files in the folder: self-portrait.out.gz and testprint-mga.ps Thanks, Alben
I opened the journal and and did the printer config. The same error came up but no error message appeared in the journal so there's nothing to report, there. Maybe it is the missing default-testpage.pdf ?
Do you have the package cups-filters installed? If not, install it and see if that helps. If not, some on mga10, or know what changed from mga9 to 10 need to help out
Yes, cups-filters is installed.
I copied a default-testpage.pdf file from another distro and added it to the folder and I still get the same error so it's more than just the missing file. But if I understand correctly, that file is supposed to be generated when I click "print test page".
At least on mga9, default-testpage.pdf is like a blanket (open and see for yourself), and cups add text regarding printer and settings. Seems something have been intentionally altered but is not working/finished. (In reply to alben roland from comment #0) > I just changed from Mageia 9 to Cauldron because I want to run a later > version of Cinnamon. The upgrade ran fine and everything is working So before we hand it to cups maintainers/packagers, (daviddavid per c2?) just to be sure no old files/packages interfere: Have you verified this problem on a clean Cauldron install? Almost as good, you can execute a distro sync, see https://wiki.mageia.org/en/Using_DNF#Synchronize_with_repos
Whoever rolled out some patches, thank you!!! I just saw that there were updates related to CUPS. I insalled them on both computers and now "print test page" works. Alben
Great then :)
Resolution: (none) => FIXEDComponent: Installer => RPM PackagesStatus: NEEDINFO => RESOLVED
Yes it is fixed with cups-2.4.10-4.mga10!