gwibber-service crashed with ImportError in /usr/lib/python2.7/dist-packages/gwibber/microblog/util/resources.py: No module named Image

Bug #1112106 reported by Sundaravenkataraman
This bug report is a duplicate of:  Bug #1112496: python-imaging broken in raring. Edit Remove
116
This bug affects 26 people
Affects Status Importance Assigned to Milestone
gwibber (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

I got this error immediately after log-in, while I restarted my system requested by update manager after completing its process...

ProblemType: Crash
DistroRelease: Ubuntu 13.04
Package: gwibber-service 3.6.0-0ubuntu2
ProcVersionSignature: Ubuntu 3.8.0-3.7-generic 3.8.0-rc5
Uname: Linux 3.8.0-3-generic i686
ApportVersion: 2.8-0ubuntu3
Architecture: i386
CrashCounter: 1
Date: Fri Feb 1 09:35:09 2013
EcryptfsInUse: Yes
ExecutablePath: /usr/bin/gwibber-service
InstallationDate: Installed on 2012-03-30 (307 days ago)
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110427.1)
InterpreterPath: /usr/bin/python2.7
MarkForUpload: True
PackageArchitecture: all
ProcCmdline: /usr/bin/python /usr/bin/gwibber-service
PythonArgs: ['/usr/bin/gwibber-service']
SourcePackage: gwibber
Title: gwibber-service crashed with ImportError in /usr/lib/python2.7/dist-packages/gwibber/microblog/util/resources.py: No module named Image
UpgradeStatus: Upgraded to raring on 2013-01-16 (15 days ago)
UserGroups: adm admin cdrom dialout libvirtd lp lpadmin plugdev sambashare vboxusers

Revision history for this message
Sundaravenkataraman (ssvr-nyl) wrote :
information type: Private → Public
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in gwibber (Ubuntu):
status: New → Confirmed
Revision history for this message
jdstrydom (jdstrydom) wrote :

same for 64bit system

Revision history for this message
Roman Yepishev (rye) wrote :

Looks like top-level Image is not installed by PIL,

So the patch would be to change "import Image" to "from PIL import Image"

Revision history for this message
Roberto Alsina (ralsina) wrote :

Just in case, the recommended way to portably import PIL:

try:
    from PIL import Image
except ImportError:
    import Image

Depending on PIL version, and the way it's installed, one or the other will work.

Revision history for this message
Roman Yepishev (rye) wrote :

Okay, updated the patch following Roberto suggestion.

Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "lp1112106.patch" of this bug report has been identified as being a patch. The ubuntu-reviewers team has been subscribed to the bug report so that they can review the patch. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-reviewers team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
Revision history for this message
Julian Taylor (jtaylor) wrote :

marking as duplicate of bug 1112496 until we have an answer if this is an intentional change or a bug in the current package

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.