dymo-cups-drivers icon indicating copy to clipboard operation
dymo-cups-drivers copied to clipboard

ERROR:Unable to open raster file: No such file or directory

Open jensolsson opened this issue 4 years ago • 5 comments

When I try to print from macOS towards the CUPS server the error message in the print queue is ERROR:Unable to open raster file: No such file or directory. Any ideas?

Kind regards Jens

jensolsson avatar Jul 16 '20 21:07 jensolsson

What kind of printer did you use? How is it connected to the PC? How did you install it / set it up? Which version of CUPS are you using? Which OS version are you using? What did you try to print and how? What do you mean by "message in the print queue"? Apart from the error message, what other messages do you get?

matthiasbock avatar Jul 17 '20 09:07 matthiasbock

Thank you very much for the reply. Answers are below On 17 Jul 2020, 11:23 +0200, Matthias [email protected], wrote:

What kind of printer did you use? Dymo LabelWriter 450 How is it connected to the PC? It is connected via USB to a VMWare ESXi host and forwarded to an Ubuntu guest which then has direct access. A bit odd setup but I doubt it is the problem. How did you install it / set it up? Followed your instructions for building and installing the driver. Build and sudo make install.  I then addes it to cups using the web gui. The printer was listed in the top. Which version of CUPS are you using?

2.2.7

Which OS version are you using? Ubuntu 18.04 and I did apt update; apt upgrade What did you try to print and how? I connected to the printer from macOS. Using IPP. The address of the cups server and thenpribrer name in Queue. It seem to have foundnit since the blie button on the printer lights ip briefly when I try to print. What do you mean by "message in the print queue"? It was displayed uner Jobs in the cups web gui. Apart from the error message, what other messages do you get? State in jobs is set to stopped "Unable to open raster file - : No such file or directory" Macos sais ”stopped on server”

Here is from cups log  E [17/Jul/2020:09:37:09 +0000] [Job 10] Unable to open raster file - : No such file or directory E [17/Jul/2020:09:37:18 +0000] [Job 10] Job stopped due to filter errors; please consult the error_log file for details. D [17/Jul/2020:09:37:18 +0000] [Job 10] The following messages were recorded from 09:37:09 AM to 09:37:18 AM D [17/Jul/2020:09:37:18 +0000] [Job 10] Applying default options... D [17/Jul/2020:09:37:18 +0000] [Job 10] Adding start banner page "none". D [17/Jul/2020:09:37:18 +0000] [Job 10] Queued on "DYMO_LabelWriter_450" by "deadlock". D [17/Jul/2020:09:37:18 +0000] [Job 10] File of type application/vnd.cups-raster queued by "deadlock". D [17/Jul/2020:09:37:18 +0000] [Job 10] Adding end banner page "none". D [17/Jul/2020:09:37:18 +0000] [Job 10] time-at-processing=1594978629 D [17/Jul/2020:09:37:18 +0000] [Job 10] 1 filters for job: D [17/Jul/2020:09:37:18 +0000] [Job 10] raster2dymolw (application/vnd.cups-raster to printer/DYMO_LabelWriter_450, cost 0) D [17/Jul/2020:09:37:18 +0000] [Job 10] job-sheets=none,none D [17/Jul/2020:09:37:18 +0000] [Job 10] argv[0]="DYMO_LabelWriter_450" D [17/Jul/2020:09:37:18 +0000] [Job 10] argv[1]="10" D [17/Jul/2020:09:37:18 +0000] [Job 10] argv[2]="deadlock" D [17/Jul/2020:09:37:18 +0000] [Job 10] argv[3]="Untitled" D [17/Jul/2020:09:37:18 +0000] [Job 10] argv[4]="1" D [17/Jul/2020:09:37:18 +0000] [Job 10] argv[5]="job-uuid=urn:uuid:7552297e-e591-3424-5b51-b4a6020f670c job-originating-host-name=10.0.83.8 date-time-at-creation= date-time-at-processing= time-at-creation=1594978629 time-at-processing=1594978629" D [17/Jul/2020:09:37:18 +0000] [Job 10] argv[6]="/var/spool/cups/d00010-001" D [17/Jul/2020:09:37:18 +0000] [Job 10] envp[0]="CUPS_CACHEDIR=/var/cache/cups" D [17/Jul/2020:09:37:18 +0000] [Job 10] envp[1]="CUPS_DATADIR=/usr/share/cups" D [17/Jul/2020:09:37:18 +0000] [Job 10] envp[2]="CUPS_DOCROOT=/usr/share/cups/doc-root" D [17/Jul/2020:09:37:18 +0000] [Job 10] envp[3]="CUPS_FONTPATH=/usr/share/cups/fonts" D [17/Jul/2020:09:37:18 +0000] [Job 10] envp[4]="CUPS_REQUESTROOT=/var/spool/cups" D [17/Jul/2020:09:37:18 +0000] [Job 10] envp[5]="CUPS_SERVERBIN=/usr/lib/cups" D [17/Jul/2020:09:37:18 +0000] [Job 10] envp[6]="CUPS_SERVERROOT=/etc/cups" D [17/Jul/2020:09:37:18 +0000] [Job 10] envp[7]="CUPS_STATEDIR=/run/cups" D [17/Jul/2020:09:37:18 +0000] [Job 10] envp[8]="HOME=/var/spool/cups/tmp" D [17/Jul/2020:09:37:18 +0000] [Job 10] envp[9]="PATH=/usr/lib/cups/filter:/usr/bin:/usr/sbin:/bin:/usr/bin" D [17/Jul/2020:09:37:18 +0000] [Job 10] envp[10]="SERVER_ADMIN=root@printserver" D [17/Jul/2020:09:37:18 +0000] [Job 10] envp[11]="SOFTWARE=CUPS/2.2.7" D [17/Jul/2020:09:37:18 +0000] [Job 10] envp[12]="TMPDIR=/var/spool/cups/tmp" D [17/Jul/2020:09:37:18 +0000] [Job 10] envp[13]="USER=root" D [17/Jul/2020:09:37:18 +0000] [Job 10] envp[14]="CUPS_MAX_MESSAGE=2047" D [17/Jul/2020:09:37:18 +0000] [Job 10] envp[15]="CUPS_SERVER=/run/cups/cups.sock" D [17/Jul/2020:09:37:18 +0000] [Job 10] envp[16]="CUPS_ENCRYPTION=IfRequested" D [17/Jul/2020:09:37:18 +0000] [Job 10] envp[17]="CHARSET=utf-8" D [17/Jul/2020:09:37:18 +0000] [Job 10] envp[18]="LANG=en_US.UTF-8" D [17/Jul/2020:09:37:18 +0000] [Job 10] envp[19]="PPD=/etc/cups/ppd/DYMO_LabelWriter_450.ppd" D [17/Jul/2020:09:37:18 +0000] [Job 10] envp[20]="RIP_MAX_CACHE=128m" D [17/Jul/2020:09:37:18 +0000] [Job 10] envp[21]="CONTENT_TYPE=application/vnd.cups-raster" D [17/Jul/2020:09:37:18 +0000] [Job 10] envp[22]="DEVICE_URI=usb://DYMO/LabelWriter%20450?serial=01010112345600" D [17/Jul/2020:09:37:18 +0000] [Job 10] envp[23]="PRINTER_INFO=DYMO LabelWriter 450" D [17/Jul/2020:09:37:18 +0000] [Job 10] envp[24]="PRINTER_LOCATION=" D [17/Jul/2020:09:37:18 +0000] [Job 10] envp[25]="PRINTER=DYMO_LabelWriter_450" D [17/Jul/2020:09:37:18 +0000] [Job 10] envp[26]="PRINTER_STATE_REASONS=none" D [17/Jul/2020:09:37:18 +0000] [Job 10] envp[27]="CUPS_FILETYPE=document" D [17/Jul/2020:09:37:18 +0000] [Job 10] envp[28]="FINAL_CONTENT_TYPE=printer/DYMO_LabelWriter_450" D [17/Jul/2020:09:37:18 +0000] [Job 10] envp[29]="AUTH_I****" D [17/Jul/2020:09:37:18 +0000] [Job 10] Started filter /usr/lib/cups/filter/raster2dymolw (PID 5925) D [17/Jul/2020:09:37:18 +0000] [Job 10] Started backend /usr/lib/cups/backend/usb (PID 5926) D [17/Jul/2020:09:37:18 +0000] [Job 10] Loading USB quirks from "/usr/share/cups/usb". D [17/Jul/2020:09:37:18 +0000] [Job 10] starting (raster2dymolw) D [17/Jul/2020:09:37:18 +0000] [Job 10] Set job-printer-state-message to "Unable to open raster file - : No such file or directory", current level=ERROR D [17/Jul/2020:09:37:18 +0000] [Job 10] PID 5925 (/usr/lib/cups/filter/raster2dymolw) stopped with status 1. D [17/Jul/2020:09:37:18 +0000] [Job 10] Hint: Try setting the LogLevel to "debug" to find out more. D [17/Jul/2020:09:37:18 +0000] [Job 10] Loaded 159 quirks. D [17/Jul/2020:09:37:18 +0000] [Job 10] Printing on printer with URI: usb://DYMO/LabelWriter%20450?serial=01010112345600 D [17/Jul/2020:09:37:18 +0000] [Job 10] libusb_get_device_list=6 D [17/Jul/2020:09:37:18 +0000] [Job 10] STATE: +connecting-to-device D [17/Jul/2020:09:37:18 +0000] [Job 10] STATE: -connecting-to-device D [17/Jul/2020:09:37:18 +0000] [Job 10] Printer found with device ID: MFG:DYMO;CMD: ;MDL:LabelWriter 450;CLASS:PRINTER;DESCRIPTION:DYMO LabelWriter 450;SERN:01010112345600; Device URI: usb://DYMO/LabelWriter%20450?serial=01010112345600 D [17/Jul/2020:09:37:18 +0000] [Job 10] Device protocol: 2 D [17/Jul/2020:09:37:18 +0000] [Job 10] Sending data to printer. D [17/Jul/2020:09:37:18 +0000] [Job 10] Sent 0 bytes... D [17/Jul/2020:09:37:18 +0000] [Job 10] Waiting for read thread to exit... D [17/Jul/2020:09:37:18 +0000] [Job 10] Read thread still active, aborting the pending read... D [17/Jul/2020:09:37:18 +0000] [Job 10] PID 5926 (/usr/lib/cups/backend/usb) exited with no errors. D [17/Jul/2020:09:37:18 +0000] [Job 10] End of messages D [17/Jul/2020:09:37:18 +0000] [Job 10] printer-state=3(idle) D [17/Jul/2020:09:37:18 +0000] [Job 10] printer-state-message="Sending data to printer." D [17/Jul/2020:09:37:18 +0000] [Job 10] printer-state-reasons=none

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub, or unsubscribe.

jensolsson avatar Jul 17 '20 09:07 jensolsson

@jensolsson were you ever able to get past this? I am having the same issue... three years later.

faraz avatar Jan 11 '23 23:01 faraz

I'm using CUPS on a raspberry Pi and finally found the issue for Unable to open raster file - : No such file or directory. I selected the Raw Driver on Cups and the correct driver in MacOS. Modify printer -> Continue -> Continue -> Select Another Make/Manufacturer -> Raw -> Continue -> select Raw Queue -> modify printer/add printer

LvZeeland avatar May 11 '23 13:05 LvZeeland

Thank you @LvZeeland , I was having the same issue and this solved it.

namadori avatar Dec 08 '23 14:12 namadori