Skip Menu |

This queue is for tickets about the Net-GPSD3 CPAN distribution.

Report information
The Basics
Id: 92085
Status: new
Priority: 0/
Queue: Net-GPSD3

People
Owner: Nobody in particular
Requestors: marsolla [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Net::GPSD3 Poll Freezing
Date: Sun, 12 Jan 2014 15:58:26 -0200
To: bug-Net-GPSD3 [...] rt.cpan.org
From: Rafael Marsolla <marsolla [...] gmail.com>
Hi, my name is Rafael, and I am trying to use the Net::GPSD3 module to get the details of my gps device. Thanks so far for all the work, this module is very useful, but I have a little problem. Maybe you can help me find the way ? I have one script running on my RaspberryPi (Raspbian Distro), and works perfectly ! (after patch https://rt.cpan.org/Public/Bug/Display.html?id=83722) The script is: #!/usr/local/bin/perl use strict; use warnings; use Net::GPSD3; use Data::Dumper qw{Dumper}; my $gpsd=Net::GPSD3->new(host=>"192.168.1.4"); print "Connected !\n, waiting polling routine...\n"; my $poll=$gpsd->poll; print Dumper($poll); So I am trying to run the same script in my Ubuntu distro, and doesn’t work, with or without patch. The scenario: GPS_IP_Address = 192.168.1.4 Ubuntu_IP_Address (hosting the script) = 192.168.1.5 The GPSD daemon running on host 192.168.1.4 work’s fine, because the cgps client and shell command #> echo ‘?WATCH;’ | nc 192.168.1.4 2947 response all that I expected, when executed from Ubuntu host. My problem is, the perl script freeze when I try to using the $gpsd->poll method. I tried debug, but without success. I can’t find any other related bug with my scenario. Details bellow: perl -MNet::GPSD3 -e 'print "$Net: :GPSD3::VERSION\n"' 0.19 /usr/local/bin/perl -v This is perl 5, version 18, subversion 2 (v5.18.2) built for i686-linux Copyright 1987-2013, Larry Wall Linux fat-laptop 3.8.0-29-generic #42~precise1-Ubuntu SMP Wed Aug 14 15:31:16 UTC 2013 i686 i686 i386 GNU/Linux It's a simple scenario, with properly configured connectivity. What might be happening? If you need more details, let me know. Thank you ! Rafael Marsolla
Subject: Re: [rt.cpan.org #92085] AutoReply: Net::GPSD3 Poll Freezing
Date: Sun, 12 Jan 2014 17:42:52 -0200
To: bug-Net-GPSD3 [...] rt.cpan.org
From: Rafael Marsolla <marsolla [...] gmail.com>
Sorry but I forgot the GPS Device details: Its a Fastrax UP501 device http://www.adafruit.com/datasheets/UP501_brochure_rev_1_2.pdf echo '?POLL;' | nc 192.168.1.4 2947 {"class":"VERSION","release":"3.6","rev":"3.6","proto_major":3,"proto_minor":7} {"class":"POLL","time":"2014-01-12T19:39:17.346Z","active":0,"tpv":[],"gst":[],"sky":[]} Regards Rafael Em 12/01/2014, à(s) 15:58, Bugs in Net-GPSD3 via RT <bug-Net-GPSD3@rt.cpan.org> escreveu: Show quoted text
> > Greetings, > > This message has been automatically generated in response to the > creation of a trouble ticket regarding: > "Net::GPSD3 Poll Freezing", > a summary of which appears below. > > There is no need to reply to this message right now. Your ticket has been > assigned an ID of [rt.cpan.org #92085]. Your ticket is accessible > on the web at: > > https://rt.cpan.org/Ticket/Display.html?id=92085 > > Please include the string: > > [rt.cpan.org #92085] > > in the subject line of all future correspondence about this issue. To do so, > you may reply to this message. > > Thank you, > bug-Net-GPSD3@rt.cpan.org > > ------------------------------------------------------------------------- > Hi, my name is Rafael, and I am trying to use the Net::GPSD3 module to get the details of my gps device. > Thanks so far for all the work, this module is very useful, but I have a little problem. Maybe you can help me find the way ? > > I have one script running on my RaspberryPi (Raspbian Distro), and works perfectly ! (after patch https://rt.cpan.org/Public/Bug/Display.html?id=83722) > > The script is: > #!/usr/local/bin/perl > > use strict; > use warnings; > > use Net::GPSD3; > use Data::Dumper qw{Dumper}; > > my $gpsd=Net::GPSD3->new(host=>"192.168.1.4"); > print "Connected !\n, waiting polling routine...\n"; > my $poll=$gpsd->poll; > print Dumper($poll); > > So I am trying to run the same script in my Ubuntu distro, and doesn’t work, with or without patch. > The scenario: > > GPS_IP_Address = 192.168.1.4 > Ubuntu_IP_Address (hosting the script) = 192.168.1.5 > > The GPSD daemon running on host 192.168.1.4 work’s fine, because the cgps client and shell command > > #> echo ‘?WATCH;’ | nc 192.168.1.4 2947 > > response all that I expected, when executed from Ubuntu host. > > My problem is, the perl script freeze when I try to using the $gpsd->poll method. > I tried debug, but without success. > > I can’t find any other related bug with my scenario. Details bellow: > perl -MNet::GPSD3 -e 'print "$Net: > :GPSD3::VERSION\n"' > 0.19 > > /usr/local/bin/perl -v > > This is perl 5, version 18, subversion 2 (v5.18.2) built for i686-linux > > Copyright 1987-2013, Larry Wall > > > Linux fat-laptop 3.8.0-29-generic #42~precise1-Ubuntu SMP Wed Aug 14 15:31:16 UTC 2013 i686 i686 i386 GNU/Linux > > It's a simple scenario, with properly configured connectivity. > What might be happening? > If you need more details, let me know. > > Thank you ! > > Rafael Marsolla >
Subject: Re: [rt.cpan.org #92085] AutoReply: Net::GPSD3 Poll Freezing
Date: Mon, 13 Jan 2014 23:29:19 -0200
To: bug-Net-GPSD3 [...] rt.cpan.org
From: Rafael Marsolla <marsolla [...] gmail.com>
Well, I reinstalled the system, added a delay of polling and everything worked. Solved! Thank you. Em 12/01/2014, à(s) 15:58, Bugs in Net-GPSD3 via RT <bug-Net-GPSD3@rt.cpan.org> escreveu: Show quoted text
> > Greetings, > > This message has been automatically generated in response to the > creation of a trouble ticket regarding: > "Net::GPSD3 Poll Freezing", > a summary of which appears below. > > There is no need to reply to this message right now. Your ticket has been > assigned an ID of [rt.cpan.org #92085]. Your ticket is accessible > on the web at: > > https://rt.cpan.org/Ticket/Display.html?id=92085 > > Please include the string: > > [rt.cpan.org #92085] > > in the subject line of all future correspondence about this issue. To do so, > you may reply to this message. > > Thank you, > bug-Net-GPSD3@rt.cpan.org > > ------------------------------------------------------------------------- > Hi, my name is Rafael, and I am trying to use the Net::GPSD3 module to get the details of my gps device. > Thanks so far for all the work, this module is very useful, but I have a little problem. Maybe you can help me find the way ? > > I have one script running on my RaspberryPi (Raspbian Distro), and works perfectly ! (after patch https://rt.cpan.org/Public/Bug/Display.html?id=83722) > > The script is: > #!/usr/local/bin/perl > > use strict; > use warnings; > > use Net::GPSD3; > use Data::Dumper qw{Dumper}; > > my $gpsd=Net::GPSD3->new(host=>"192.168.1.4"); > print "Connected !\n, waiting polling routine...\n"; > my $poll=$gpsd->poll; > print Dumper($poll); > > So I am trying to run the same script in my Ubuntu distro, and doesn’t work, with or without patch. > The scenario: > > GPS_IP_Address = 192.168.1.4 > Ubuntu_IP_Address (hosting the script) = 192.168.1.5 > > The GPSD daemon running on host 192.168.1.4 work’s fine, because the cgps client and shell command > > #> echo ‘?WATCH;’ | nc 192.168.1.4 2947 > > response all that I expected, when executed from Ubuntu host. > > My problem is, the perl script freeze when I try to using the $gpsd->poll method. > I tried debug, but without success. > > I can’t find any other related bug with my scenario. Details bellow: > perl -MNet::GPSD3 -e 'print "$Net: > :GPSD3::VERSION\n"' > 0.19 > > /usr/local/bin/perl -v > > This is perl 5, version 18, subversion 2 (v5.18.2) built for i686-linux > > Copyright 1987-2013, Larry Wall > > > Linux fat-laptop 3.8.0-29-generic #42~precise1-Ubuntu SMP Wed Aug 14 15:31:16 UTC 2013 i686 i686 i386 GNU/Linux > > It's a simple scenario, with properly configured connectivity. > What might be happening? > If you need more details, let me know. > > Thank you ! > > Rafael Marsolla >