Jppy: Sorting and allkeys.txt
Nicholas Piper
nick-jppy at nickpiper.co.uk
Fri Oct 20 13:40:03 BST 2006
Norbert,
On Fri, 20 Oct 2006, Norbert Preining wrote:
> Again me... but my questions are becoming less and less as jppy is
> working sooo well!! Great work, really!
Thank you.
> On Fre, 29 Sep 2006, Nicholas Piper wrote:
> > On Tue, 26 Sep 2006, Norbert Preining wrote:
> > > Starting jppy gives me:
> > > Failed to load collator, falling back to plain sort()
> > > so it does not find allkeys.txt. Can you tell me where it is searching
> > > for. I copied it to
> > > . /usr/share/jppy/gui/
> > > . my homedir
> > > both didn't help. I use the debian packages.
> > It uses the current working directory. Which is no good. I've commited
> > r138 which will make it look wherever jppygui.py is; so
> > /usr/share/jppy/gui at the moment for you. Debian package also
> > adjusted to install it there.
> This is working, as I reported, when I start jppy directly.
> BUT: When jppy is started as a plugin for jpilot, it again does not find
> the allkeys.txt.
Hmm... as a quick hack for now, you can place
sys.argv = [guipath]
into your ~/.jpilot/python/jpilot_user.py , just above "import
jppygui" and just after "guipath = ..."
I really should have the build system substitute right into the script
the path for this file, rather than trying to work it out at runtime I
think...
Nick
--
Nick Piper, Developer, LogicaCMG http://www.nickpiper.co.uk/
GPG Encrypted mail welcome! 1024D/3ED8B27F
Choose life. Be Vegan :-) Please reduce needless cruelty + suffering !
More information about the Jppy
mailing list