click-check-security crashed with ValueError in read_cr_file(): Could not parse '/home/username/.cache/click-reviewers-tools/apparmor-easyprof-ubuntu.json'

Bug #1376514 reported by Aaron Honeycutt
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
click-reviewers-tools (Ubuntu)
Invalid
Medium
Unassigned

Bug Description

I get this error when running "click build ." in the source directory of my QML App.

1) Running Ubuntu Utopic
2) aaron@IdeaPad-Y510P:~/projects/SameSexMarriage$ policy click-reviewers-tools
[sudo] password for aaron:
click-reviewers-tools:
  Installed: 0.13
  Candidate: 0.13
  Version table:
 *** 0.13 0
        500 http://us.archive.ubuntu.com/ubuntu/ utopic/universe amd64 Packages
        100 /var/lib/dpkg/status
3) A cool click package without errors :)
4) http://pastebin.ubuntu.com/8475904/

ProblemType: Crash
DistroRelease: Ubuntu 14.10
Package: click-reviewers-tools 0.13
ProcVersionSignature: Ubuntu 3.16.0-18.25-generic 3.16.3
Uname: Linux 3.16.0-18-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.14.7-0ubuntu2
Architecture: amd64
CrashCounter: 1
CurrentDesktop: Unity
Date: Wed Oct 1 19:55:07 2014
ExecutablePath: /usr/bin/click-check-security
InstallationDate: Installed on 2014-09-14 (17 days ago)
InstallationMedia: Ubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140417)
InterpreterPath: /usr/bin/python3.4
PackageArchitecture: all
ProcCmdline: /usr/bin/python3 /usr/bin/click-check-security /home/username/projects/SameSexMarriage/com.ubuntu.developer.aaronhoneycutt.samesexmarriage_1.0_all.click
ProcEnviron:
 LANGUAGE=en_US
 PATH=(custom, user)
 XDG_RUNTIME_DIR=<set>
 LANG=en_US.UTF-8
 SHELL=/bin/bash
PythonArgs: ['/usr/bin/click-check-security', '/home/username/projects/SameSexMarriage/com.ubuntu.developer.aaronhoneycutt.samesexmarriage_1.0_all.click']
SourcePackage: click-reviewers-tools
Title: click-check-security crashed with ValueError in read_cr_file(): Could not parse '/home/username/.cache/click-reviewers-tools/apparmor-easyprof-ubuntu.json'
UpgradeStatus: Upgraded to utopic on 2014-09-17 (14 days ago)
UserGroups: adm autopilot cdrom dip lpadmin plugdev sambashare sudo

Revision history for this message
Aaron Honeycutt (aaronhoneycutt) wrote :
information type: Private → Public
tags: removed: need-duplicate-check
Changed in click-reviewers-tools (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Aaron Honeycutt (aaronhoneycutt) wrote :

If you run "rm -r /home/'user'/.cache/click-reviewers-tools" it will build successfully. Big thanks to popey!

Revision history for this message
Jamie Strandboge (jdstrand) wrote :

Thanks for the report. :) You're json file was malformed (it was likely because of another bug that downloaded an html file from launchpad rather than the json). I recently added a the try/except clause that you saw so it is easier to know what was happening. Since this is functioning as intended, marking invalid.

Changed in click-reviewers-tools (Ubuntu):
status: New → Invalid
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.