[Bug 198702] print/cups-base: unable to print when a job name is not in UTF-8
bugzilla-noreply at freebsd.org
bugzilla-noreply at freebsd.org
Thu Mar 19 12:09:58 UTC 2015
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=198702
Bug ID: 198702
Summary: print/cups-base: unable to print when a job name is
not in UTF-8
Product: Ports & Packages
Version: Latest
Hardware: Any
OS: Any
Status: New
Severity: Affects Some People
Priority: ---
Component: Individual Port(s)
Assignee: freebsd-ports-bugs at FreeBSD.org
Reporter: emz at norma.perm.ru
Since 1.7.x it's unable to send print jobs which contain invalid UTF-8 symbols,
like jobs containing KOI8-R symbols, for example. And these job names are often
created automatically, like LibreOffice does, for example.
Since FreeBSD doesn't fully support UTF-8 and developing UTF-8 capable
environment is still in process, lots of peaople can step onto this.
Symptom:
===Cut===
D [19/Mar/2015:16:49:05 +0500] [Client 16] POST /printers/Mita HTTP/1.1
D [19/Mar/2015:16:49:05 +0500] cupsdSetBusyState: newbusy="Active clients",
busy="Not busy"
D [19/Mar/2015:16:49:05 +0500] [Client 16] No authentication data provided.
D [19/Mar/2015:16:49:05 +0500] [Client 16] 2.0 Create-Job 23
D [19/Mar/2015:16:49:05 +0500] Create-Job ipp://localhost:631/printers/Mita
D [19/Mar/2015:16:49:05 +0500] Create-Job
client-error-attributes-or-values-not-supported: Bad job-name value:
"job-name": Bad name value "акт работ февраль 2015" - bad UTF-8 sequence (RFC
2911 section 4.1.2).
E [19/Mar/2015:16:49:05 +0500] [Client 16] Returning IPP
client-error-attributes-or-values-not-supported for Create-Job
(ipp://localhost:631/printers/Mita) from localhost
D [19/Mar/2015:16:49:05 +0500] [Client 16] Content-Length: 248
D [19/Mar/2015:16:49:05 +0500] [Client 16] cupsdWriteClient error=0, used=0,
state=HTTP_STATE_POST_SEND, data_encoding=HTTP_ENCODING_LENGTH,
data_remaining=248, response=0x80313f380(IPP_IDLE), pipe_pid=0, file=-1
D [19/Mar/2015:16:49:05 +0500] [Client 16] Writing IPP response,
ipp_state=DATA, old wused=0, new wused=0
D [19/Mar/2015:16:49:05 +0500] [Client 16] bytes=0, http_state=0,
data_remaining=0
D [19/Mar/2015:16:49:05 +0500] [Client 16] Waiting for request.
D [19/Mar/2015:16:49:05 +0500] cupsdSetBusyState: newbusy="Not busy",
busy="Active clients"
===Cut===
Workaround: make a job name with latin1. In LO, for example, this can be done
by saving a file with a latin filename.
--
You are receiving this mail because:
You are the assignee for the bug.
More information about the freebsd-ports-bugs
mailing list