Bug #13122
openx11/diagnostic/dpyinfo manifest has bad character encoding
0%
Description
pkg info ## fails with exception
pkg: 'ascii' codec can't encode character '\u2212' in position 28: ordinal not in range(128)
from file in: /var/pkg/publisher/openindiana.org/pkg/
x11%2Fdiagnostic%2Fxdpyinfo/1.3.2%2C5.11-2020.0.1.1%3A20200330T164044Z
less decodes this as:
set name=pkg.summary value="xdpyinfo <E2><88><92> display information utility for X"
Ascii set uses: dash==hyphen==minus
Some word processors may change -- to unicode hyphen "smart character"
Perhaps this is what happened here?
Updated by Andreas Wacknitz about 3 years ago
When have you updated your OI installion last? We had this kind of problem in the past but it has been fixed with a pkg update.
pkg info userland-incorporation
should give you the information. In my environment I cannot reproduce your problem.
Updated by matt farnsworth almost 3 years ago
userland-incorporation updated 04.sep.2020 branch 2020.0.1.13390
The version of dpyinfo is included in the file name.
Previous update nov-2019, original install 2018.
cksum $file
2725769038 3074
Updated by matt farnsworth almost 3 years ago
I tried to update again. I got 1 install and 429 updates. The problem remains.
I had to hack the pkg engine to get update to work, because of a server problem at the pkg.openindiana.org site. The server may respond 400 Bad Request to a valid request. I have inspected the requests with tcpdump. The specific file associated with the failure varies.
The hack is contrary to http protocol specifications and not recommended, but does force update to work...
/usr/lib/python3.5/vendor-packages/pkg/client/transport/engine.py
@315
CurlTransportEngine.__cleanup_requests
insert:
if respcode == 400:
ex.retryable = True