yaouh! 0.3 is out
Helge Hafting
helge.hafting at hist.no
Tue Feb 10 11:44:40 CET 2009
Risto H. Kurppa wrote:
> I suppose you've installed pre-0.9.5 version first and maybe later
> updated to 0.9.5 -> your pre-0.9.5 version config files are still
> around and both yaouh and tangogps use these files.
>
> Now if someone installs 0.9.5 without previous installations -> no
> config files around unless you manually write them or manually change
> the settings of every repository tangogps uses.
>
> Fresh tangogps 0.9.5 install -> no config files in ~/.tangogps ->
> yaouh doesn't find folders/repositories to update.
> Save a config file in ~/.tangogps -> both tangogps and yaouh will use this.
>
> Write a config file from scratch -> fail.
> Someone sends you a sample config file -> win :)
>
> Got it ;)?
Well, I have:
$ ls -al .tangogps/
drwx------ 2 root root 0 Jan 5 08:04 .
drwxr-xr-x 22 root root 0 Feb 10 10:43 ..
-rw-r--r-- 1 root root 1 Jan 5 08:04 geophoto.db
-rw-r--r-- 1 root root 1 Dec 20 12:42 poi.db
Two single-byte files, both contains an "S".
> (I can't see why tangogps has it hard-coded..)
It isn't hardcoded and it cannot be. I have changed both
map storage and tracklog storage from the defaults, and this still works
even with 0.9.5. So it is stored somewhere, or 0.9.5 wouldn't find it.
Using "find" and "grep" I discovered that
tangogps keeps a stored configuration in:
./.gconf/apps/tangogps/%gconf.xml
So it is in a config file, not hardcoded. Perhaps 0.9.5 has a bug and
cannot create this file when it doesn't already exist? Report that
to the author.
My copy of the file is attached, I hope it helps.
While waiting for a fix, consider hardcoding the path in your yaouh. It
is python code, and can be edited in a text editor.
Helge Hafting
-------------- next part --------------
A non-text attachment was scrubbed...
Name: %gconf.xml
Type: text/xml
Size: 2270 bytes
Desc: not available
Url : http://lists.openmoko.org/pipermail/community/attachments/20090210/0d361cd9/attachment.bin
More information about the community
mailing list