py3: issue with incoming apt-sources-replace
Bug #1681582 reported by
Simon Poirier
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Landscape Client |
Fix Committed
|
Undecided
|
Simon Poirier |
Bug Description
Steps:
sudo ./scripts/
cd landscape-server
source ./dev/setup-api
landscape-api create-
landscape-api associate-
approve the activity in the UI
Check the logs
2017-04-10 21:24:50,962 ERROR [MainThread] ('Error occured running message handler %s with args %r %r.', 'landscape.
TypeError: write() argument must be str, not bytes
Additionally there will be an empty /etc/apt/
Related branches
lp:~simpoir/landscape-client/py3fix-apt-sources-replace
- Chad Smith: Approve
- 🤖 Landscape Builder: Approve (test results)
- Eric Snow (community): Approve
-
Diff: 101 lines (+18/-18)2 files modifiedlandscape/manager/aptsources.py (+11/-11)
landscape/manager/tests/test_aptsources.py (+7/-7)
description: | updated |
Changed in landscape-client: | |
assignee: | nobody → Simon Poirier (simpoir) |
status: | New → In Progress |
Changed in landscape-client: | |
status: | In Progress → Fix Committed |
To post a comment you must log in.