Re: [Viking-devel] GPSbabel and viking on windows
The code has never had progress support of GPSBabel on Windows. I think the best approach for now is to simply hard code the list of devices back in again (albeit just for Windows) as attached. I think some form of pipe is needed to be created to access the StdOut stream, but this is much more complicated on Windows: http://msdn.microsoft.com/en-us/library/windows/desktop/ms682499%28v=vs.85%29.aspx And without a build environment for Windows, I'm not even going to try to attempt to resolve it. Be Seeing You - Rob. If at first you don't succeed, then skydiving isn't for you. > From: rw_nor...@hotmail.com > To: guilhem.bonnefi...@gmail.com; mathie...@gmail.com > Date: Tue, 4 Sep 2012 21:20:07 +0100 > CC: viking-devel@lists.sourceforge.net > Subject: Re: [Viking-devel] GPSbabel and viking on windows > > > > I think I've found the problem. > > Unfortunately no immediate solution springs to mind :( > > Inspecting the babel.c code one can 'quickly' realise that there is only > *one* call made to the callback indicating the process has completed (i.e. > done - see line 157) for the Windows version. > > Whereas the 'Linux' code has two uses, for completion (line 193) and *during* > the process (line 190) for diagnostic purposes. > > Hence I can surmise the Windows version never gives the user feedback during > the Acquiring GPS points up/download - it just completes at some point. > > Unfortunately in finding the available devices list it uses the diagnostic > method, which as not available in Windows meaning it leaves the devices list > blank. > > IIRC the babel code was refactored 'recently'. Maybe an old version has a > better Windows function which has some progress callback but I doubt it. > > Be Seeing You - Rob. > If at first you don't succeed, > then skydiving isn't for you. > > > > > From: rw_nor...@hotmail.com > > To: guilhem.bonnefi...@gmail.com; mathie...@gmail.com > > Date: Tue, 4 Sep 2012 18:59:32 +0100 > > CC: viking-devel@lists.sourceforge.net > > Subject: Re: [Viking-devel] GPSbabel and viking on windows > > > > > > > > The '^' character is an escape character in DOS. > > > > Thus for windows it needs to be escaped itself: thus needs to be "-^^3" for > > Windows systems. > > > > > > Be Seeing You - Rob. > > If at first you don't succeed, > > then skydiving isn't for you. > > > > > > > > Date: Tue, 4 Sep 2012 11:44:26 +0200 > > From: guilhem.bonnefi...@gmail.com > > To: mathie...@gmail.com > > CC: viking-devel@lists.sourceforge.net > > Subject: Re: [Viking-devel] GPSbabel and viking on windows > > > > > > Hi, > > > > 2012/9/4 Mathieu : > > >> The other one is with the new "File->Acquire->Acquire from GPS". In > > >> the following dialog, the "GPS Protocol" menu is empty. I do not > > >> reproduce this under Linux. Can someone running viking on windows do > > >> the test? It is really simple, just open the dialog and report the > > >> available entries. > > > > > > I confirm the problem. > > > And I wil add one : when you try to import a file with GPSBabel, the > > > file type menu is also empty. > > > > Thanks for confirmation. These lists are build with some gpsbabel > > output. The command line use "-^3" switch. Can you try to launch > > gpsbabel with this switch on windows to check is availability? > > > > > Windows builds really need some in-depth testing. > > > > Certainly. > > Perhaps adding some automatic test can help in this process. Here is a > > really initial patch to verify gpsbabel. Currently, the patch include > > only a "dump" tool, but in few hours (I'm at office), it will consist > > on something checking that we retrieve what we expect. But I imagine > > this single executable can already help to investigate. > > > > -- > > Guilhem BONNEFILLE > > -=- JID: gu...@im.apinc.org MSN: guilhem_bonnefi...@hotmail.com > > -=- mailto:guilhem.bonnefi...@gmail.com > > -=- http://nathguil.free.fr/ > > > > -- > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security and the latest in malware > > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > > ___ > > Viking-devel mailing list > > Viking-devel@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/viking-devel > > Viking home page: http://viking.sf.net/ > > > > -- > > Live Security Virtual Conference > > Exclusive live event will cover all the ways today's security and > > threat landscape has changed and how IT managers can respond. Discussions > > will include endpoint security, mobile security a
Re: [Viking-devel] GPSbabel and viking on windows
I think I've found the problem. Unfortunately no immediate solution springs to mind :( Inspecting the babel.c code one can 'quickly' realise that there is only *one* call made to the callback indicating the process has completed (i.e. done - see line 157) for the Windows version. Whereas the 'Linux' code has two uses, for completion (line 193) and *during* the process (line 190) for diagnostic purposes. Hence I can surmise the Windows version never gives the user feedback during the Acquiring GPS points up/download - it just completes at some point. Unfortunately in finding the available devices list it uses the diagnostic method, which as not available in Windows meaning it leaves the devices list blank. IIRC the babel code was refactored 'recently'. Maybe an old version has a better Windows function which has some progress callback but I doubt it. Be Seeing You - Rob. If at first you don't succeed, then skydiving isn't for you. > From: rw_nor...@hotmail.com > To: guilhem.bonnefi...@gmail.com; mathie...@gmail.com > Date: Tue, 4 Sep 2012 18:59:32 +0100 > CC: viking-devel@lists.sourceforge.net > Subject: Re: [Viking-devel] GPSbabel and viking on windows > > > > The '^' character is an escape character in DOS. > > Thus for windows it needs to be escaped itself: thus needs to be "-^^3" for > Windows systems. > > > Be Seeing You - Rob. > If at first you don't succeed, > then skydiving isn't for you. > > > > Date: Tue, 4 Sep 2012 11:44:26 +0200 > From: guilhem.bonnefi...@gmail.com > To: mathie...@gmail.com > CC: viking-devel@lists.sourceforge.net > Subject: Re: [Viking-devel] GPSbabel and viking on windows > > > Hi, > > 2012/9/4 Mathieu : > >> The other one is with the new "File->Acquire->Acquire from GPS". In > >> the following dialog, the "GPS Protocol" menu is empty. I do not > >> reproduce this under Linux. Can someone running viking on windows do > >> the test? It is really simple, just open the dialog and report the > >> available entries. > > > > I confirm the problem. > > And I wil add one : when you try to import a file with GPSBabel, the > > file type menu is also empty. > > Thanks for confirmation. These lists are build with some gpsbabel > output. The command line use "-^3" switch. Can you try to launch > gpsbabel with this switch on windows to check is availability? > > > Windows builds really need some in-depth testing. > > Certainly. > Perhaps adding some automatic test can help in this process. Here is a > really initial patch to verify gpsbabel. Currently, the patch include > only a "dump" tool, but in few hours (I'm at office), it will consist > on something checking that we retrieve what we expect. But I imagine > this single executable can already help to investigate. > > -- > Guilhem BONNEFILLE > -=- JID: gu...@im.apinc.org MSN: guilhem_bonnefi...@hotmail.com > -=- mailto:guilhem.bonnefi...@gmail.com > -=- http://nathguil.free.fr/ > > -- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > ___ > Viking-devel mailing list > Viking-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/viking-devel > Viking home page: http://viking.sf.net/ > > -- > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > ___ > Viking-devel mailing list > Viking-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/viking-devel > Viking home page: http://viking.sf.net/ -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Viking-devel mailing list Viking-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/viking-devel Viking home page: http://viking.sf.net/
Re: [Viking-devel] 1.3.1 Windows problems/bugs
Didn't quite have time whilst away to do an update. Which now gives us time to sort the no Acquire GPS Procotol types issue too! Note both the known issues (New track draw + no Acquire GPS Procotol types) with 1.3.1.0 can be seen when running Viking under Wine. It seems the gpsbabel is run on startup with '-^3' under Wine OK (albeit the output goes to the console). Since gpsbabel is invoked by CreateProcess() on Windows the doesn't need escaping (as I was perhaps eluding to earlier) so '-^3' is correct. So ATM I don't know why it thinks the output from gpsbabel is blank - probably because the output is not directed properly. I didn't think there were any changes to this Be Seeing You - Rob. If at first you don't succeed, then skydiving isn't for you. -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Viking-devel mailing list Viking-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/viking-devel Viking home page: http://viking.sf.net/
Re: [Viking-devel] GPSbabel and viking on windows
The '^' character is an escape character in DOS. Thus for windows it needs to be escaped itself: thus needs to be "-^^3" for Windows systems. Be Seeing You - Rob. If at first you don't succeed, then skydiving isn't for you. Date: Tue, 4 Sep 2012 11:44:26 +0200 From: guilhem.bonnefi...@gmail.com To: mathie...@gmail.com CC: viking-devel@lists.sourceforge.net Subject: Re: [Viking-devel] GPSbabel and viking on windows Hi, 2012/9/4 Mathieu : >> The other one is with the new "File->Acquire->Acquire from GPS". In >> the following dialog, the "GPS Protocol" menu is empty. I do not >> reproduce this under Linux. Can someone running viking on windows do >> the test? It is really simple, just open the dialog and report the >> available entries. > > I confirm the problem. > And I wil add one : when you try to import a file with GPSBabel, the > file type menu is also empty. Thanks for confirmation. These lists are build with some gpsbabel output. The command line use "-^3" switch. Can you try to launch gpsbabel with this switch on windows to check is availability? > Windows builds really need some in-depth testing. Certainly. Perhaps adding some automatic test can help in this process. Here is a really initial patch to verify gpsbabel. Currently, the patch include only a "dump" tool, but in few hours (I'm at office), it will consist on something checking that we retrieve what we expect. But I imagine this single executable can already help to investigate. -- Guilhem BONNEFILLE -=- JID: gu...@im.apinc.org MSN: guilhem_bonnefi...@hotmail.com -=- mailto:guilhem.bonnefi...@gmail.com -=- http://nathguil.free.fr/ -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Viking-devel mailing list Viking-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/viking-devel Viking home page: http://viking.sf.net/ -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Viking-devel mailing list Viking-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/viking-devel Viking home page: http://viking.sf.net/
Re: [Viking-devel] GPSbabel and viking on windows
Hi, 2012/9/4 Mathieu : >> The other one is with the new "File->Acquire->Acquire from GPS". In >> the following dialog, the "GPS Protocol" menu is empty. I do not >> reproduce this under Linux. Can someone running viking on windows do >> the test? It is really simple, just open the dialog and report the >> available entries. > > I confirm the problem. > And I wil add one : when you try to import a file with GPSBabel, the > file type menu is also empty. Thanks for confirmation. These lists are build with some gpsbabel output. The command line use "-^3" switch. Can you try to launch gpsbabel with this switch on windows to check is availability? > Windows builds really need some in-depth testing. Certainly. Perhaps adding some automatic test can help in this process. Here is a really initial patch to verify gpsbabel. Currently, the patch include only a "dump" tool, but in few hours (I'm at office), it will consist on something checking that we retrieve what we expect. But I imagine this single executable can already help to investigate. -- Guilhem BONNEFILLE -=- JID: gu...@im.apinc.org MSN: guilhem_bonnefi...@hotmail.com -=- mailto:guilhem.bonnefi...@gmail.com -=- http://nathguil.free.fr/ gpsbabel.patch Description: Binary data -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/___ Viking-devel mailing list Viking-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/viking-devel Viking home page: http://viking.sf.net/
Re: [Viking-devel] GPSbabel and viking on windows
> The other one is with the new "File->Acquire->Acquire from GPS". In > the following dialog, the "GPS Protocol" menu is empty. I do not > reproduce this under Linux. Can someone running viking on windows do > the test? It is really simple, just open the dialog and report the > available entries. I confirm the problem. And I wil add one : when you try to import a file with GPSBabel, the file type menu is also empty. Windows builds really need some in-depth testing. Mathieu -- Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ ___ Viking-devel mailing list Viking-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/viking-devel Viking home page: http://viking.sf.net/