Community Packages

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#19597 - [gpsd] xgps and python bindings usin new-style as described on website is broken

Attached to Project: Community Packages
Opened by Niklas Schnelle (spacenick) - Wednesday, 26 May 2010, 20:48 GMT
Last edited by Sergej Pupykin (sergej) - Thursday, 03 June 2010, 15:20 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To Sergej Pupykin (sergej)
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Hello fellow Archers,
ok I'm trying to get gpsd working. It seems there has been some breakage
see for example the garbage in the file list at:
http://www.archlinux.org/packages/community/x86_64/gpsd/

As it stands cgps works fine but xgps seems to be broken and not
useable.
usr/lib/python2.6/site-packages/gps/gps.py
Also has some errors, when trying to get it working with the new method
as explained on the upstream website it throws the following

> Traceback (most recent call last):
> File "./lotse", line 12, in <module>
> ses = session.Session()
> File "/mnt/ubuntu/niklas/projects/Lotse/session/__init__.py", line 40, in __init__
> self.update()
> File "/mnt/ubuntu/niklas/projects/Lotse/session/__init__.py", line 63, in update
> report = self._gps.next()
> File "/usr/lib/python2.6/site-packages/gps/gps.py", line 483, in next
> payload = dictwrapper(**self.data)
> AttributeError: gps instance has no attribute 'data'

also running it directly as the main block suggests (that has broken command option parsing by the way) doesn't work.

I've just compiled the upstream version from git master and both xgps and my code (using the new-style python interface) work
perfectly. As it stands the arch package version is unuseable and git master works.

Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:
This task depends upon

Closed by  Sergej Pupykin (sergej)
Thursday, 03 June 2010, 15:20 GMT
Reason for closing:  Fixed
Additional comments about closing:  updated to git version, please check
Comment by Niklas Schnelle (spacenick) - Thursday, 03 June 2010, 13:28 GMT
Is there any way I could help to get this solved, I'd like to release an application written by me into the AUR but until gpsd isn't updated to a working version (e.g. git master) I can't because I'd have to also publish an AUR version of gpsd. Also without even xgps working gpsd is pretty useless.
By the way when checking out release-2.94 from current gpsd git the problem is the same, so it seems gpsd 2.94 upstream is definitely broken.

Loading...