Replace "import simplejson" with "import json as simplejson" in ircactivity.py
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
sugar-irc-activity (Debian) |
New
|
Undecided
|
Unassigned | ||
sugar-irc-activity (Ubuntu) |
Incomplete
|
Undecided
|
Unassigned |
Bug Description
Hello,
This was already fixed upstream, but we can flag this package for an import error on line 24 of ircactivity.py simply saying
import simplejson
while the simplejson library is not installed.
After Python 2.6, the simplejson library was merged with the json library, and therefore
import json as simplejson
would be the correct line. Otherwise, the IRC activity will not start.
ProblemType: Bug
DistroRelease: Ubuntu 17.04
Package: sugar-irc-activity 8-1.3 [modified: usr/share/
ProcVersionSign
Uname: Linux 4.10.0-11-generic x86_64
ApportVersion: 2.20.4-0ubuntu2
Architecture: amd64
Date: Wed Mar 15 12:02:17 2017
InstallationDate: Installed on 2017-03-15 (0 days ago)
InstallationMedia: Ubuntu-MATE 17.04 "Zesty Zapus" - Alpha amd64 (20170125)
PackageArchitec
SourcePackage: sugar-irc-activity
UpgradeStatus: No upgrade log present (probably fresh install)
tags: | removed: zesty |
Changed in sugar-irc-activity (Ubuntu): | |
status: | New → Incomplete |