Package Details: pacstats 0.1-1

Git Clone URL: (read-only, click to copy)
Package Base: pacstats
Description: Statistical charts about pacman activity
Upstream URL:
Licenses: GPL
Submitter: encelo
Maintainer: encelo
Last Packager: encelo
Votes: 6
Popularity: 0.000000
First Submitted: 2010-05-12 23:22
Last Updated: 2015-07-07 21:15

Latest Comments

Un1Gfn commented on 2018-03-04 08:18

Upstream URL is

Source URL is

LeCrayonVert commented on 2010-11-26 12:20

I've found a temporary fix for this issue.
In, just replace

self._con.text_factory = sqlite.OptimizedUnicode


self._con.text_factory = str

You will also need to

ln -sf /usr/lib/python2.7/site-packages/matplotlib /usr/lib/python2.6/site-packages/

(there is a call somewhere to /usr/lib/python2.6/site-packages/matplotlib whereas it should be 2.7)

Don't forget to replace

in /usr/bin/pacstats.

Then everything should work...but we still need a new release or at least a modified PKGBUILD ;)

LeCrayonVert commented on 2010-10-20 10:47

After the transition to python 3.
Here is the runtime error :

Parsing the lib "/var/lib/pacman/local"
Traceback (most recent call last):
File "/usr/bin/pacstats", line 38, in <module>
app = app.Application(share_dir)
File "/usr/lib/python2.7/site-packages/PacStats/", line 48, in __init__
self.main_win = main_win.Main_Window(self)
File "/usr/lib/python2.7/site-packages/PacStats/", line 95, in __init__
File "/usr/lib/python2.7/site-packages/PacStats/", line 129, in check_update
File "/usr/lib/python2.7/site-packages/PacStats/", line 221, in on_update_db_activate
File "/usr/lib/python2.7/site-packages/PacStats/", line 128, in parse
File "/usr/lib/python2.7/site-packages/PacStats/", line 79, in insert_many
self._database.execute_many(INSERT, tuples)
File "/usr/lib/python2.7/site-packages/PacStats/", line 98, in execute_many
self._cur.executemany(string, tuples)
sqlite3.ProgrammingError: You must not use 8-bit bytestrings unless you use a text_factory that can interpret 8-bit bytestrings (like text_factory = str). It is highly recommended that you instead just switch your application to Unicode strings.

encelo commented on 2010-05-12 23:22

First stable release.