error starting gpsdrive using latest svn

View: New views
14 Messages — Rating Filter:   Alert me  

error starting gpsdrive using latest svn

by hamish_b :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I have just built new gpsdrive packages locally using "debuild binary" on Etch.

When I try to start I get this error:

DB: Error while opening /usr/share/icons/map-icons/geoinfo.db: unable to open database file


I used to have such a file in /usr/share/gpsdrive/geoinfo.db, but these
new packages do not include that?

As I'm on etch, I've build without GDA3, Mapnik, and Speech options.

what am I doing wrong?


thanks,
Hamish
_______________________________________________
GPSdrive mailing list
GPSdrive@...
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive

Re: error starting gpsdrive using latest svn

by Joerg Ostertag (gpsdrive Tettnang/Germany) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Donnerstag 23 April 2009, Hamish wrote:

> Hi,
>
> I have just built new gpsdrive packages locally using "debuild binary" on
> Etch.
>
> When I try to start I get this error:
>
> DB: Error while opening /usr/share/icons/map-icons/geoinfo.db: unable to
> open database file
>
>
> I used to have such a file in /usr/share/gpsdrive/geoinfo.db, but these
> new packages do not include that?
>
> As I'm on etch, I've build without GDA3, Mapnik, and Speech options.
>
> what am I doing wrong?

You also need to install a recently new version of openstreetmap-icons



--

Jörg (Germany, Tettnang)

http://www.ostertag.name/
_______________________________________________
GPSdrive mailing list
GPSdrive@...
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive

Re: error starting gpsdrive using latest svn

by Paul Martin-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu, Apr 23, 2009 at 06:56:34PM +0200, Joerg Ostertag (gpsdrive Tettnang/Germany) wrote:

> On Donnerstag 23 April 2009, Hamish wrote:
> > Hi,
> >
> > I have just built new gpsdrive packages locally using "debuild binary" on
> > Etch.
> >
> > When I try to start I get this error:
> >
> > DB: Error while opening /usr/share/icons/map-icons/geoinfo.db: unable to
> > open database file
> >
> >
> > I used to have such a file in /usr/share/gpsdrive/geoinfo.db, but these
> > new packages do not include that?
> >
> > As I'm on etch, I've build without GDA3, Mapnik, and Speech options.
> >
> > what am I doing wrong?
>
> You also need to install a recently new version of openstreetmap-icons

$ apt-cache policy openstreetmap-icons
W: Unable to locate package openstreetmap-icons

$ dpkg -S geoinfo.db
openstreetmap-map-icons: /usr/share/icons/map-icons/geoinfo.db

$ apt-cache policy openstreetmap-map-icons
openstreetmap-map-icons:
  Installed: 14179
  Candidate: 14179
  Version table:
 *** 14179 0
        500 http://www.gpsdrive.de lenny/main Packages
        100 /var/lib/dpkg/status

(Incidentally, your "squeeze" dist is missing any Packages files.)

--
Paul Martin <pm@...>
_______________________________________________
GPSdrive mailing list
GPSdrive@...
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive

Parent Message unknown Re: error starting gpsdrive using latest svn

by hamish_b :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hamish:

> > I have just built new gpsdrive packages locally using
> > "debuild binary" on Etch.
> >
> > When I try to start I get this error:
> >
> > DB: Error while opening
> > /usr/share/icons/map-icons/geoinfo.db: unable to open
> > database file
> >
> > I used to have such a file in
> > /usr/share/gpsdrive/geoinfo.db, but these new packages do
> > not include that?
> >
> > As I'm on etch, I've build without GDA3, Mapnik, and
> > Speech options.
> >
> > what am I doing wrong?
>
> You also need to install a recently new version of
> openstreetmap-icons

there is no such package available for Etch,
   http://packages.debian.org/search?keywords=openstreetmap

and debian/control does not depend on
 openstreetmap-map-icons-classic | openstreetmap-map-icons-scalable | openstreetmap-map-icons-square

note this was build without support for Mapnik and GDA3 --
OSM and POI database isn't used here.


Hamish



     

_______________________________________________
GPSdrive mailing list
GPSdrive@...
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive

Re: error starting gpsdrive using latest svn

by Guenther Meyer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Am Freitag 24 April 2009 schrieb Hamish:

> Hamish:
> > > I have just built new gpsdrive packages locally using
> > > "debuild binary" on Etch.
> > >
> > > When I try to start I get this error:
> > >
> > > DB: Error while opening
> > > /usr/share/icons/map-icons/geoinfo.db: unable to open
> > > database file
> > >
> > > I used to have such a file in
> > > /usr/share/gpsdrive/geoinfo.db, but these new packages do
> > > not include that?
> > >
> > > As I'm on etch, I've build without GDA3, Mapnik, and
> > > Speech options.
> > >
> > > what am I doing wrong?
> >
> > You also need to install a recently new version of
> > openstreetmap-icons
>
> there is no such package available for Etch,
>    http://packages.debian.org/search?keywords=openstreetmap
>
> and debian/control does not depend on
>  openstreetmap-map-icons-classic | openstreetmap-map-icons-scalable |
> openstreetmap-map-icons-square
>
> note this was build without support for Mapnik and GDA3 --
> OSM and POI database isn't used here.
>
the poi database is part of gpsdrive, it won't work without.
so the geoinfo.db and some icons are required for gpsdrive to run.




_______________________________________________
GPSdrive mailing list
GPSdrive@...
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive

signature.asc (204 bytes) Download Attachment

Parent Message unknown Re: error starting gpsdrive using latest svn

by hamish_b :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hamish:

>> > I have just built new gpsdrive packages locally using
>> > "debuild binary" on Etch.
>> >
>> > When I try to start I get this error:
>> > DB: Error while opening /usr/share/icons/map-icons/geoinfo.db:
>> > unable to open database file
>> >
>> > I used to have such a file in
>> > /usr/share/gpsdrive/geoinfo.db, but these new packages do
>> > not include that?
>> >
>> > As I'm on etch, I've build without GDA3, Mapnik, and Speech options.
>> > what am I doing wrong?
>
> You also need to install a recently new version of openstreetmap-icons

Hamish:
> > there is no such package available for Etch,
> >    http://packages.debian.org/search?keywords=openstreetmap
> >
> > and debian/control does not depend on
> >  openstreetmap-map-icons-classic | openstreetmap-map-icons-scalable |
> > openstreetmap-map-icons-square

(actually it does depend on "openstreetmap-map-icons" which is the
source-package AFAICT, but that is removed by the etch patch)

> > note this was build without support for Mapnik and GDA3 --
> > OSM and POI database isn't used here.

Guenther wrote:
> the poi database is part of gpsdrive, it won't work without.
> so the geoinfo.db and some icons are required for gpsdrive to run.


ok, as a fall-back can we work on a minimal (dozen?) basic icon set like
"x" "o" triangle, etc.? probably the old WLAN etc set from gpsdrive 2.09
would do. hopefully it is very little work, won't need to be maintained,
and well help out a lot of folks.

besides not existing in etch, those openstreetmap-map-icons packages are
2.8 to 3.6mb installed (and that will only grow with time), which is space
I don't want to waste on an embedded install, especially as I don't use
the program in a way that uses more than about two waypoint symbols (+ and
x).

don't misunderstand -- I am glad that we now depend on that package
instead of trying to maintain our own icon set. But I think we need a
minimal 12-icon starter-pack drop-in replacement option too (probably 20k
instead of requiring megabytes).

for now I've symlinked geoinfo.db from an old version of the package and
as long as I don't try to create any waypoints I'm fine.


that version switching exposed another problem: it made dpkg very upset
that the Python-Version was not set and it refused to do anything. In
the end to get it unstuck I had to temporarily move away
/usr/bin/pycentral, run dpkg to reinstall, then move pycentral back into
place. :-/ no fun

possibly related: I notice the new debian/pycompat file lists only 2.5,
but the control file depends on python 2.4.
 - could the pycompat file say "2.4, 2.5" (or "current") instead?

Again as Etch can't use Mapnik/OSM, and only python2.4 is available there,
I don't think we need python at all there so can rip it out in the etch
patch set.


fwiw, I care to keep 2.10rc1 etch-compatible for a couple reasons:
 - avoid developer monoculture
 - if we can't get it to build on debian(-1), what hope is there for
   the mac osx/fink version etc to work?
 - often the choice of distro is somewhat out of the user's hands, or
   they have important reasons to stay with an older OS that has nothing
   to do with gps.
 - we shouldn't force people into the constant upgrade-mill.

In fact I'm waiting for us to release before I upgrade my dev machine
to lenny so I can catch these backwards incompatibilities.


thanks,
Hamish



     

_______________________________________________
GPSdrive mailing list
GPSdrive@...
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive

Re: error starting gpsdrive using latest svn

by Joerg Ostertag (gpsdrive Tettnang/Germany) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Freitag 24 April 2009, Hamish wrote:
> Hamish:
...
> > > and debian/control does not depend on
> > >  openstreetmap-map-icons-classic | openstreetmap-map-icons-scalable |
> > > openstreetmap-map-icons-square
>
> (actually it does depend on "openstreetmap-map-icons" which is the
> source-package AFAICT, but that is removed by the etch patch)

This should not be removed by the etch patch. So if it is removed this is a
bug.

> > > note this was build without support for Mapnik and GDA3 --
> > > OSM and POI database isn't used here.
>
> Guenther wrote:
> > the poi database is part of gpsdrive, it won't work without.
> > so the geoinfo.db and some icons are required for gpsdrive to run.
>
> ok, as a fall-back can we work on a minimal (dozen?) basic icon set like
> "x" "o" triangle, etc.? probably the old WLAN etc set from gpsdrive 2.09
> would do. hopefully it is very little work, won't need to be maintained,
> and well help out a lot of folks.

We could do a map-icons-square-minimal package which only contains the 8 top
level Icons and the db File(s).

> besides not existing in etch,

I hope you can take the packages from any other distri. I only had problems
compiling them; but the resulting packages should be fairly similar and
hopefully fully compatible.
For now I copied them inside the repository to
http://www.gpsdrive.de/debian/pool/etch

> those openstreetmap-map-icons packages are
> 2.8 to 3.6mb installed (and that will only grow with time), which is space
> I don't want to waste on an embedded install, especially as I don't use
> the program in a way that uses more than about two waypoint symbols (+ and
> x).

You only need to install the map-icons-package and one of the other mapicons-*
packages. But as stated above we could create a minimal
openstreetmap-map-icons-square-minimal package.

> that version switching exposed another problem: it made dpkg very upset
> that the Python-Version was not set and it refused to do anything. In
> the end to get it unstuck I had to temporarily move away
> /usr/bin/pycentral, run dpkg to reinstall, then move pycentral back into
> place. :-/ no fun
>
> possibly related: I notice the new debian/pycompat file lists only 2.5,
> but the control file depends on python 2.4.
>  - could the pycompat file say "2.4, 2.5" (or "current") instead?
>
> Again as Etch can't use Mapnik/OSM, and only python2.4 is available there,
> I don't think we need python at all there so can rip it out in the etch
> patch set.

Well python + mapnik + debuild are not really my frinds any more. So if anyone
knows how to solve these dependency issues: "Please help us here" and fix
this for all distributions. No matter what I tried I always had errors in one
of the distributions left.



--

Jörg (Germany, Tettnang)

http://www.ostertag.name/
_______________________________________________
GPSdrive mailing list
GPSdrive@...
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive

Re: error starting gpsdrive using latest svn

by Guenther Meyer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Am Freitag 24 April 2009 schrieb Hamish:
> Guenther wrote:
> > the poi database is part of gpsdrive, it won't work without.
> > so the geoinfo.db and some icons are required for gpsdrive to run.
>
> ok, as a fall-back can we work on a minimal (dozen?) basic icon set like
> "x" "o" triangle, etc.? probably the old WLAN etc set from gpsdrive 2.09
> would do. hopefully it is very little work, won't need to be maintained,
> and well help out a lot of folks.
>
I also had that idea, that we just provide a small set of base icons.
the problem is, that joerg did the packages, and he currently has other more
important things to do...
I could provide a tar containing the base icons, if that would help.

> don't misunderstand -- I am glad that we now depend on that package
> instead of trying to maintain our own icon set. But I think we need a
> minimal 12-icon starter-pack drop-in replacement option too (probably 20k
> instead of requiring megabytes).
>
I fully understand this :-)

> for now I've symlinked geoinfo.db from an old version of the package and
> as long as I don't try to create any waypoints I'm fine.
>
I had some discussion with joerg, where to put the geoinfo.db.
then we moved it from gpsdrive-data to the openstreetmap-map-icons package.
one of the reasons was, that we hope, that other application can also make use
of it. but I'm not happy with the install location in /usr/share/icons/...
because as it is not an icon file but a database it should stay somewhere
else; even it is directly related to the icons...

> that version switching exposed another problem: it made dpkg very upset
> that the Python-Version was not set and it refused to do anything. In
> the end to get it unstuck I had to temporarily move away
> /usr/bin/pycentral, run dpkg to reinstall, then move pycentral back into
> place. :-/ no fun
>
I never understood the python dependency. afaik python is only used to
prerender mapnik maps, which is not really required for gpsdrive to run...

> Again as Etch can't use Mapnik/OSM, and only python2.4 is available there,
> I don't think we need python at all there so can rip it out in the etch
> patch set.
>
right.

> fwiw, I care to keep 2.10rc1 etch-compatible for a couple reasons:
>  - avoid developer monoculture
>  - if we can't get it to build on debian(-1), what hope is there for
>    the mac osx/fink version etc to work?
>  - often the choice of distro is somewhat out of the user's hands, or
>    they have important reasons to stay with an older OS that has nothing
>    to do with gps.
>  - we shouldn't force people into the constant upgrade-mill.
>
I understand that, but I also think, that especially with debian, which has
very long release cycles and the releases are very stable, it is enough to
support the current stable release.
but if you like to do the support for etch, feel free to support it ;-)



_______________________________________________
GPSdrive mailing list
GPSdrive@...
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive

signature.asc (204 bytes) Download Attachment

Re: error starting gpsdrive using latest svn

by Joerg Ostertag (gpsdrive Tettnang/Germany) :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Samstag 25 April 2009, Guenther Meyer wrote:

> Am Freitag 24 April 2009 schrieb Hamish:
> > Guenther wrote:
> > > the poi database is part of gpsdrive, it won't work without.
> > > so the geoinfo.db and some icons are required for gpsdrive to run.
> >
> > ok, as a fall-back can we work on a minimal (dozen?) basic icon set like
> > "x" "o" triangle, etc.? probably the old WLAN etc set from gpsdrive 2.09
> > would do. hopefully it is very little work, won't need to be maintained,
> > and well help out a lot of folks.
>
> I also had that idea, that we just provide a small set of base icons.
> the problem is, that joerg did the packages, and he currently has other
> more important things to do...


I managed to do this inbetween. It was not that much work than I thought ...
With the following two packages you should get the minimum needed.
192     openstreetmap-map-icons
152     openstreetmap-map-icons-square.small-minimal


-

Joerg
_______________________________________________
GPSdrive mailing list
GPSdrive@...
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive

Re: error starting gpsdrive using latest svn

by Guenther Meyer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Am Samstag 25 April 2009 schrieb Joerg Ostertag (gpsdrive Tettnang/Germany):
> I managed to do this inbetween. It was not that much work than I thought
> ... With the following two packages you should get the minimum needed. 192
>    openstreetmap-map-icons
> 152     openstreetmap-map-icons-square.small-minimal
>
fine :-)

just some seconds ago i added a tar.gz containing the base files to the
downloads on our sourceforge site ;-)



_______________________________________________
GPSdrive mailing list
GPSdrive@...
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive

signature.asc (204 bytes) Download Attachment

Re: error starting gpsdrive using latest svn

by Chris Herrnberger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Saturday 25 April 2009 08:20:55 Guenther Meyer wrote:

> just some seconds ago i added a tar.gz containing the base files to the
> downloads on our sourceforge site ;-)

apologies in advance for the lame question but how do I install these.
Starting gpsdrive gives me the following error:
--------------------------------
chris123@compaq1:~$ gpsdrive
QSettings: failed to open file '/etc/qt3/qt_plugins_3.3rc'
Can't connect to gps daemon on 127.0.0.1:2947, disabling GPS support!
DB: Error while opening /usr/local/share/icons/map-icons/geoinfo.db: unable to
open database file
------------------------------------

the tarball provides icons in /usr/share/map-icons

Since gpsdrive  is looking for the icons in geoinfo.db (1) I must either
recompile but not sure what switches to add, or secondly add it manually
somehow. In either case Im rather lost.

Best regards and many thanks for the speedy turnaround.



--

/ch
_______________________________________________
GPSdrive mailing list
GPSdrive@...
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive

Re: error starting gpsdrive using latest svn

by Chris Herrnberger :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Saturday 25 April 2009 13:05:31 chris h wrote:
> On Saturday 25 April 2009 08:20:55 Guenther Meyer wrote:
> > just some seconds ago i added a tar.gz containing the base files to the
> > downloads on our sourceforge site ;-)
>
> apologies in advance for the lame question but how do I install these.
> Starting gpsdrive gives me the following error:

Answering my own silly questions, by placing the icons in the appropriate
location on my system and recompiling the latest svn version gpsdrive now
lives and works fine on Ubuntu 8.04 Hardy Heron.

So the steps are rather simple: at this stage.

- download latest svn
- download basic icon tarball from sourceforge download site and install in
the appropriate location on your system (usr/local/share/icons/)
- edit by hand the DefineOption file and turn off what you dont want or need
- change to build directory and run ccmake .. (with two trailign dots), the
option (c) to configure and option (g) to generate the make file.
- run make
- once build runs to completion run sudo make install
- start gpsd
- start gpsdrive

- voila, a basic minimal system with zero options/additional features.


Many thanks all.

--

/ch
_______________________________________________
GPSdrive mailing list
GPSdrive@...
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive

Re: error starting gpsdrive using latest svn

by Guenther Meyer :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Am Samstag 25 April 2009 schrieb chris h:
> - download basic icon tarball from sourceforge download site and install in
> the appropriate location on your system (usr/local/share/icons/)
>
yes, there's a difference:
if you install your self compiled version with make install
then /usr/local/share/... is used, if you use a (debian) package,
then /usr/share/... is the right location for the files.




_______________________________________________
GPSdrive mailing list
GPSdrive@...
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive

signature.asc (204 bytes) Download Attachment

Parent Message unknown Re: error starting gpsdrive using latest svn

by hamish_b :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Guenther wrote:
> but if you like to do the support for etch, feel free to support it ;-)


and that's exactly what I'm attempting to do  :)

step 1 is to keep the code base modular, which has benefits far beyond
a single distro release. we're pretty much there now. (thanks)

really, one last near-feature complete release is all I'm after, then
I'll probably let go and aim for lenny.


Hamish


ps- I hope I haven't broken or undone anything too major in the debian/
control files in the last days. the goal was to clean it up..



     

_______________________________________________
GPSdrive mailing list
GPSdrive@...
http://lists.gpsdrivers.org/mailman/listinfo/gpsdrive