Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Mar 2015 12:09:58 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 198702] print/cups-base: unable to print when a job name is not in UTF-8
Message-ID:  <bug-198702-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D198702

            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@FreeBSD.org
          Reporter: emz@norma.perm.ru

Since 1.7.x it's unable to send print jobs which contain invalid UTF-8 symb=
ols,
like jobs containing KOI8-R symbols, for example. And these job names are o=
ften
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:

=3D=3D=3DCut=3D=3D=3D
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=3D"Active clients=
",
busy=3D"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 "=D0=B0=D0=BA=D1=82 =D1=80=D0=B0=D0=B1=D0=BE=D1=
=82 =D1=84=D0=B5=D0=B2=D1=80=D0=B0=D0=BB=D1=8C 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=3D0, used=
=3D0,
state=3DHTTP_STATE_POST_SEND, data_encoding=3DHTTP_ENCODING_LENGTH,
data_remaining=3D248, response=3D0x80313f380(IPP_IDLE), pipe_pid=3D0, file=
=3D-1
D [19/Mar/2015:16:49:05 +0500] [Client 16] Writing IPP response,
ipp_state=3DDATA, old wused=3D0, new wused=3D0
D [19/Mar/2015:16:49:05 +0500] [Client 16] bytes=3D0, http_state=3D0,
data_remaining=3D0
D [19/Mar/2015:16:49:05 +0500] [Client 16] Waiting for request.
D [19/Mar/2015:16:49:05 +0500] cupsdSetBusyState: newbusy=3D"Not busy",
busy=3D"Active clients"
=3D=3D=3DCut=3D=3D=3D

Workaround: make a job name with latin1. In LO, for example, this can be do=
ne
by saving a file with a latin filename.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-198702-13>