Replace "import simplejson" with "import json as simplejson" in ircactivity.py

Bug #1673138 reported by Caleb Howland (Menzador)
6
This bug affects 1 person
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/sugar/activities/IRC.activity/ircactivity.py]
ProcVersionSignature: Ubuntu 4.10.0-11.13-generic 4.10.1
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)
PackageArchitecture: all
SourcePackage: sugar-irc-activity
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Caleb Howland (Menzador) (menzador) wrote :
Norbert (nrbrtx)
tags: removed: zesty
Changed in sugar-irc-activity (Ubuntu):
status: New → Incomplete
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.