Issues with USM

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
thanhbinh9
White ninja
White ninja
Posts: 6
Joined: 29 May 2015, 02:49
Distribution: v3.1
Location: Australia

Issues with USM

Post#1 by thanhbinh9 » 26 Jun 2015, 22:23

I've been trying to install Anki but have failed in my attempts. I managed to download the software and modularise it. I then copied it the Porteus/modules folder so that it activates on boot. It appears in the Applications menu but it doesn't function when I click on its icon. I thought that this may be due to not having the dependencies but USM hasn't been obliging.

I have been unable to update the USM database for a while. I keep getting an error msg and this morning when I tried to perform an update I got a different error response. This time it reads "Warning: Missing charsets in String to FontSet conversion". I have no idea what that means.

Any ideas on what I can do?

Bogomips
Full of knowledge
Full of knowledge
Posts: 2563
Joined: 25 Jun 2014, 15:21
Distribution: 3.2.2 Cinnamon & KDE5
Location: London

Re: Issues with USM

Post#2 by Bogomips » 26 Jun 2015, 23:57

Seems to be heavily dependent on Python!

Code: Select all

guest@porteus:~$ anki
/usr/bin/env: python: No such file or directory
guest@porteus:~$ ls /usr/bin/env
/usr/bin/env@
Maybe of use to anyone else looking into this:

Code: Select all

guest@porteus:~/ank$ /sbin/explodepkg /tmp/usm/anki-2.0.28-i486-1tjb.txz 
Exploding package /tmp/usm/anki-2.0.28-i486-1tjb.txz in current directory:
./
install/
install/doinst.sh
install/slack-desc
usr/
usr/bin/
usr/bin/anki
...
usr/share/anki/aqt/
usr/share/anki/aqt/stats.py
usr/share/anki/aqt/about.py
usr/share/anki/aqt/profiles.py
usr/share/anki/aqt/upgrade.py
usr/share/anki/aqt/progress.py
usr/share/anki/aqt/__init__.py
usr/share/anki/aqt/editcurrent.py
usr/share/anki/aqt/sound.py
usr/share/anki/aqt/deckconf.py
usr/share/anki/aqt/main.py
usr/share/anki/aqt/dyndeckconf.py
usr/share/anki/aqt/taglimit.py
usr/share/anki/aqt/toolbar.py
usr/share/anki/aqt/importing.py
usr/share/anki/aqt/exporting.py
usr/share/anki/aqt/deckbrowser.py
usr/share/anki/aqt/customstudy.py
usr/share/anki/aqt/errors.py
usr/share/anki/aqt/reviewer.py
usr/share/anki/aqt/downloader.py
usr/share/anki/aqt/studydeck.py
usr/share/anki/aqt/fields.py
usr/share/anki/aqt/addons.py
usr/share/anki/aqt/forms/
usr/share/anki/aqt/forms/changemodel.py
usr/share/anki/aqt/forms/preview.py
usr/share/anki/aqt/forms/reschedule.py
usr/share/anki/aqt/forms/stats.py
usr/share/anki/aqt/forms/about.py
usr/share/anki/aqt/forms/profiles.py
usr/share/anki/aqt/forms/__init__.py
usr/share/anki/aqt/forms/setgroup.py
usr/share/anki/aqt/forms/addmodel.py
usr/share/anki/aqt/forms/editcurrent.py
usr/share/anki/aqt/forms/addfield.py
usr/share/anki/aqt/forms/main.py
usr/share/anki/aqt/forms/taglimit.py
usr/share/anki/aqt/forms/browseropts.py
usr/share/anki/aqt/forms/browserdisp.py
usr/share/anki/aqt/forms/importing.py
usr/share/anki/aqt/forms/exporting.py
usr/share/anki/aqt/forms/dconf.py
usr/share/anki/aqt/forms/customstudy.py
usr/share/anki/aqt/forms/studydeck.py
usr/share/anki/aqt/forms/editaddon.py
usr/share/anki/aqt/forms/fields.py
usr/share/anki/aqt/forms/edithtml.py
usr/share/anki/aqt/forms/getaddons.py
usr/share/anki/aqt/forms/modelopts.py
usr/share/anki/aqt/forms/findreplace.py
usr/share/anki/aqt/forms/browser.py
usr/share/anki/aqt/forms/preferences.py
usr/share/anki/aqt/forms/finddupes.py
usr/share/anki/aqt/forms/dyndconf.py
usr/share/anki/aqt/forms/setlang.py
usr/share/anki/aqt/forms/icons_rc.py
usr/share/anki/aqt/forms/template.py
usr/share/anki/aqt/forms/debug.py
usr/share/anki/aqt/forms/changemap.py
usr/share/anki/aqt/forms/reposition.py
usr/share/anki/aqt/forms/addcards.py
usr/share/anki/aqt/forms/models.py
usr/share/anki/aqt/browser.py
usr/share/anki/aqt/tagedit.py
usr/share/anki/aqt/preferences.py
usr/share/anki/aqt/sync.py
usr/share/anki/aqt/modelchooser.py
usr/share/anki/aqt/deckchooser.py
usr/share/anki/aqt/editor.py
usr/share/anki/aqt/utils.py
usr/share/anki/aqt/qt.py
usr/share/anki/aqt/webview.py
usr/share/anki/aqt/overview.py
usr/share/anki/aqt/addcards.py
usr/share/anki/aqt/update.py
usr/share/anki/aqt/models.py
usr/share/anki/aqt/clayout.py
usr/share/anki/anki.png
...
usr/share/anki/anki/
usr/share/anki/anki/media.py
usr/share/anki/anki/stats.py
usr/share/anki/anki/upgrade.py
usr/share/anki/anki/lang.py
usr/share/anki/anki/__init__.py
usr/share/anki/anki/consts.py
usr/share/anki/anki/cards.py
usr/share/anki/anki/sound.py
usr/share/anki/anki/latex.py
usr/share/anki/anki/db.py
usr/share/anki/anki/exporting.py
usr/share/anki/anki/statsbg.py
usr/share/anki/anki/errors.py
usr/share/anki/anki/stdmodels.py
usr/share/anki/anki/collection.py
usr/share/anki/anki/hooks.py
usr/share/anki/anki/template/
usr/share/anki/anki/template/__init__.py
usr/share/anki/anki/template/README.rst
usr/share/anki/anki/template/README.anki
usr/share/anki/anki/template/LICENSE
usr/share/anki/anki/template/view.py
usr/share/anki/anki/template/hint.py
usr/share/anki/anki/template/furigana.py
usr/share/anki/anki/template/template.py
usr/share/anki/anki/sched.py
usr/share/anki/anki/sync.py
usr/share/anki/anki/tags.py
usr/share/anki/anki/utils.py
usr/share/anki/anki/js.py
usr/share/anki/anki/storage.py
usr/share/anki/anki/ankiweb.certs
usr/share/anki/anki/notes.py
usr/share/anki/anki/importing/
usr/share/anki/anki/importing/base.py
usr/share/anki/anki/importing/__init__.py
usr/share/anki/anki/importing/supermemo_xml.py
usr/share/anki/anki/importing/mnemo.py
usr/share/anki/anki/importing/apkg.py
usr/share/anki/anki/importing/pauker.py
usr/share/anki/anki/importing/noteimp.py
usr/share/anki/anki/importing/anki1.py
usr/share/anki/anki/importing/anki2.py
usr/share/anki/anki/importing/csvfile.py
usr/share/anki/anki/find.py
usr/share/anki/anki/decks.py
usr/share/anki/anki/anki
usr/share/anki/anki/models.py
usr/share/anki/anki.xml
Looks like it's looking for Python in /usr/bin/env, whereas

Code: Select all

guest@porteus:~/ank$ whereis python
python: /usr/lib/python2.7
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB

Post Reply