Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cat-db doesn't work on some dbs #95

Open
examachine opened this issue Feb 27, 2017 · 0 comments
Open

cat-db doesn't work on some dbs #95

examachine opened this issue Feb 27, 2017 · 0 comments
Labels
Milestone

Comments

@examachine
Copy link
Owner

contents of database tmp/var/db/pisi/ii-description-en.bdb
a: {'repo-repo1': set(['zip']), 'inst': set(['zip'])}
also: {'repo-repo1': set(['unzip']), 'inst': set(['unzip'])}
and: {'repo-repo1': set(['zip', 'gnuconfig']), 'inst': set(['zip', 'gnuconfig'])}
archive: {'repo-repo1': set(['zip']), 'inst': set(['zip'])}
archives: {'repo-repo1': set(['unzip']), 'inst': set(['unzip'])}
archiving: {'repo-repo1': set(['zip']), 'inst': set(['zip'])}
by: {'repo-repo1': set(['zip']), 'inst': set(['zip'])}
called: {'repo-repo1': set(['unzip']), 'inst': set(['unzip'])}
compressed: {'repo-repo1': set(['unzip']), 'inst': set(['unzip'])}
compressing: {'repo-repo1': set(['zip']), 'inst': set(['zip'])}
compression: {'repo-repo1': set(['zip']), 'inst': set(['zip'])}
config: {'repo-repo1': set(['gnuconfig']), 'inst': set(['gnuconfig'])}
contains: {'repo-repo1': set(['gnuconfig']), 'inst': set(['gnuconfig'])}
directories: {'repo-repo1': set(['zip']), 'inst': set(['zip'])}
disk: {'repo-repo1': set(['zip']), 'inst': set(['zip'])}
distribution: {'repo-repo1': set(['zip']), 'inst': set(['zip'])}
enables: {'repo-repo1': set(['unzip']), 'inst': set(['unzip'])}
encryption: {'repo-repo1': set(['zip'])}
extract: {'repo-repo1': set(['unzip']), 'inst': set(['unzip'])}
file: {'repo-repo1': set(['zip']), 'inst': set(['zip'])}
files: {'repo-repo1': set(['unzip', 'zip', 'gnuconfig']), 'inst': set(['zip', 'gnuconfig'])}
for: {'repo-repo1': set(['unzip', 'zip']), 'inst': set(['zip'])}
format: {'repo-repo1': set(['unzip']), 'inst': set(['unzip'])}
from: {'repo-repo1': set(['gnuconfig']), 'inst': set(['gnuconfig'])}
gnu: {'repo-repo1': set(['gnuconfig']), 'inst': set(['gnuconfig'])}
gnuconfig: {'repo-repo1': set(['gnuconfig']), 'inst': set(['gnuconfig'])}
guess: {'repo-repo1': set(['gnuconfig']), 'inst': set(['gnuconfig'])}
in: {'repo-repo1': set(['unzip']), 'inst': set(['unzip'])}
info: {'repo-repo1': set(['zip'])}
is: {'repo-repo1': set(['zip']), 'inst': set(['zip'])}
of: {'repo-repo1': set(['zip']), 'inst': set(['zip'])}
or: {'repo-repo1': set(['zip']), 'inst': set(['zip'])}
packaging: {'repo-repo1': set(['zip']), 'inst': set(['zip'])}
pkzip: {'repo-repo1': set(['unzip'])}
saving: {'repo-repo1': set(['zip']), 'inst': set(['zip'])}
set: {'repo-repo1': set(['zip']), 'inst': set(['zip'])}
space: {'repo-repo1': set(['zip']), 'inst': set(['zip'])}
sub: {'repo-repo1': set(['gnuconfig']), 'inst': set(['gnuconfig'])}
support: {'repo-repo1': set(['zip'])}
temporarily: {'repo-repo1': set(['zip']), 'inst': set(['zip'])}
to: {'repo-repo1': set(['unzip']), 'inst': set(['unzip'])}
unused: {'repo-repo1': set(['zip']), 'inst': set(['zip'])}
unzip: {'repo-repo1': set(['unzip']), 'inst': set(['unzip'])}
unzipper: {'repo-repo1': set(['unzip'])}
updated: {'repo-repo1': set(['gnuconfig']), 'inst': set(['gnuconfig'])}
us: {'repo-repo1': set(['unzip']), 'inst': set(['unzip'])}
useful: {'repo-repo1': set(['zip']), 'inst': set(['zip'])}
utility: {'repo-repo1': set(['zip']), 'inst': set(['zip'])}
zip: {'repo-repo1': set(['unzip', 'zip']), 'inst': set(['unzip', 'zip'])}
zipfiles: {'repo-repo1': set(['unzip']), 'inst': set(['unzip'])}
contents of database tmp/var/db/pisi/ii-description-tr.bdb
GNU: {'repo-repo1': set(['gnuconfig']), 'inst': set(['gnuconfig'])}
Traceback (most recent call last):
File "scripts/cat-db.py", line 26, in
pisi.cli.printu(u'%s: %s\n' % (key, data))
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 1: ordinal not in range(128)

@examachine examachine added the bug label Feb 27, 2017
@examachine examachine added this to the pisi-3.0 milestone Feb 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant