Public bug reported:
Software-center stopped displaying reviews around the 10th of January 2014.
This happens for all apps (so far) in the software center.
A message saying "No network connection, Connect to the internet to see more
reviews." is shown in place of the reviews.
The computer does have access to the internet.
A useful traceback is printed in the stderr which should be in the information
collected from the ubuntu-bug program.
It seems that the review date string sent from the reviews server is not in the
expected format of the datetime.datetime.strptime function.
I have re-installed software-center with the --purge option.
The environment variable "SOFTWARE_CENTER_REVIEWS_HOST" is not set.
I have managed to do a bodgy fix on
/usr/share/software-center/softwarecenter/ui/gtk3/widgets/reviews.py by
inserting
raw_date_str = raw_date_str[:10] + " " + raw_date_str[11:19]
after line 538.
This fix is not ideal but it works. Perhaps someone with better
knowledge in programming and this program in specific could find a more
elegant fix. I have made a comment in the code describing the additional
line.
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: software-center 5.2.10
ProcVersionSignature: Ubuntu 3.8.0-35.50~precise1-generic 3.8.13.13
Uname: Linux 3.8.0-35-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.0.1-0ubuntu17.6
Architecture: amd64
Date: Sun Jan 12 11:04:40 2014
ExecutablePath: /usr/share/software-center/software-center
InstallationMedia: This
InterpreterPath: /usr/bin/python2.7
MarkForUpload: True
PackageArchitecture: all
ProcEnviron:
TERM=xterm
SHELL=/bin/bash
PATH=(custom, no user)
LANG=en_AU.UTF-8
LANGUAGE=en_AU:en
SourcePackage: software-center
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: software-center (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug precise running-unity
** Patch added: "A bodgy fix to change the raw_datetime_str to the right
format."
https://bugs.launchpad.net/bugs/1268250/+attachment/3946644/+files/reviews.py
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1268250
Title:
software-center fails to display reviews
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/software-center/+bug/1268250/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs