RouteConverter Forum
Linux 32 bits: Unable to move waypoint - Printable Version

+- RouteConverter Forum (https://forum.routeconverter.com)
+-- Forum: Users (https://forum.routeconverter.com/forum-17.html)
+--- Forum: English: Discussions (https://forum.routeconverter.com/forum-12.html)
+--- Thread: Linux 32 bits: Unable to move waypoint (/thread-1384.html)



Linux 32 bits: Unable to move waypoint - gouhier95 - 31.07.2012

Hello,

I'm unable to move a waypoint in a kml file if I use last release linux 32bits version in Ubuntu 12.04 (french version).
The waypoint move but the track don't follow the cursor and nothing is saved.


But It works perfectly in Windows 32 bits version tested in Windows XP at work.

Best regards.
Laurent


RE: Linux 32 bits: Unable to move waypoint - routeconverter - 31.07.2012

(31.07.2012, 07:09)gouhier95 Wrote: I'm unable to move a waypoint in a kml file if I use last release linux 32bits version in Ubuntu 12.04 (french version).
The waypoint move but the track don't follow the cursor and nothing is saved.

Hi Laurent,

thank you for the report. I know about the problem with moving waypoints in WebKit browsers but haven't found a solution yet. Are you a programmer?


RE: Linux 32 bits: Unable to move waypoint - gouhier95 - 31.07.2012

(31.07.2012, 10:09)routeconverter Wrote:
(31.07.2012, 07:09)gouhier95 Wrote: I'm unable to move a waypoint in a kml file if I use last release linux 32bits version in Ubuntu 12.04 (french version).
The waypoint move but the track don't follow the cursor and nothing is saved.

Hi Laurent,

thank you for the report. I know about the problem with moving waypoints in WebKit browsers but haven't found a solution yet. Are you a programmer?

Yes I'm a programmer, and I've found a another problem.
In windows It is possible to create a route and add intermediate points ... But It doesn't work in Linux.

If you want me to test some thing...

Laurent


RE: Linux 32 bits: Unable to move waypoint - routeconverter - 31.07.2012

(31.07.2012, 10:14)gouhier95 Wrote: Yes I'm a programmer, and I've found a another problem.
In windows It is possible to create a route and add intermediate points ... But It doesn't work in Linux.

If you want me to test some thing...

You could check out the code and put alerts into the routeconverter.html to trace down the problem. Probably WebKit cannot interpret the HTML or execute the JavaScript.

When moving and or adding intermediate positions this should result in a AJAX call passed to the Java process. It somewhere seems to stuck.


RE: Linux 32 bits: Unable to move waypoint - gouhier95 - 03.08.2012

[/quote]

Hi Christian,

You could check out the code and put alerts into the routeconverter.html to trace down the problem. Probably WebKit cannot interpret the HTML or execute the JavaScript.

When moving and or adding intermediate positions this should result in a AJAX call passed to the Java process. It somewhere seems to stuck.

[/quote]
Yesterday evening I've follow readme.txt in git sources.
So I've install the oracle java jdk 6 and maven.
But when I run "mvn clean package" I've got errors.

Must I install Eclipse IDE and/or IntelliJ IDEA and/or NetBeans IDE to rebuild RouteConverter ?
Maybe I've lost something about IDE...?

Regards.
Laurent


RE: Linux 32 bits: Unable to move waypoint - routeconverter - 03.08.2012

(03.08.2012, 07:27)gouhier95 Wrote: Yesterday evening I've follow readme.txt in git sources.
So I've install the oracle java jdk 6 and maven.
But when I run "mvn clean package" I've got errors.

What exactly is the error message?

(03.08.2012, 07:27)gouhier95 Wrote: Must I install Eclipse IDE and/or IntelliJ IDEA and/or NetBeans IDE to rebuild RouteConverter ?

No, it just makes a lot easier. But the IDEs typically use the Java and Maven installed in the system. So if "mvn clean package" succeeds, you're ready to use an IDE which is especially a great help if you're debugging.

Btw, I've spent some time yesterday on installing Ubuntu 12.04 and found that moving of waypoints stops if a file is loaded via gpsbabel (.gdb for example). But it continued to work if its loaded by the natively in Java imported formats like GPX.


RE: Linux 32 bits: Unable to move waypoint - gouhier95 - 03.08.2012

(03.08.2012, 08:40)routeconverter Wrote:
(03.08.2012, 07:27)gouhier95 Wrote: Yesterday evening I've follow readme.txt in git sources.
So I've install the oracle java jdk 6 and maven.
But when I run "mvn clean package" I've got errors.

What exactly is the error message?

(03.08.2012, 07:27)gouhier95 Wrote: Must I install Eclipse IDE and/or IntelliJ IDEA and/or NetBeans IDE to rebuild RouteConverter ?

No, it just makes a lot easier. But the IDEs typically use the Java and Maven installed in the system. So if "mvn clean package" succeeds, you're ready to use an IDE which is especially a great help if you're debugging.

Btw, I've spent some time yesterday on installing Ubuntu 12.04 and found that moving of waypoints stops if a file is loaded via gpsbabel (.gdb for example). But it continued to work if its loaded by the natively in Java imported formats like GPX.
Here are the log of mvn clean package in atachment


RE: Linux 32 bits: Unable to move waypoint - routeconverter - 06.08.2012

(03.08.2012, 16:44)gouhier95 Wrote: Here are the log of mvn clean package in atachment

The most interesting line in the log is

Quote:Tests in error:
testParseTime(slash.navigation.kml.Bt747Test)

That's a time parsing error in the test suite. I guess it fails since something on your machine is different than on mine. What are timezone and locale of your machine? Please debug and check why this test fails.

You can skip the execution of the tests by invoking

Code:
mvn clean package -DskipTests



RE: Linux 32 bits: Unable to move waypoint - gouhier95 - 07.08.2012

(06.08.2012, 10:25)routeconverter Wrote:
(03.08.2012, 16:44)gouhier95 Wrote: Here are the log of mvn clean package in atachment

The most interesting line in the log is

Quote:Tests in error:
testParseTime(slash.navigation.kml.Bt747Test)

That's a time parsing error in the test suite. I guess it fails since something on your machine is different than on mine. What are timezone and locale of your machine? Please debug and check why this test fails.


You can skip the execution of the tests by invoking

Code:
mvn clean package -DskipTests

Hello,

timezone: France/Paris
locale:
LANG=fr_FR.UTF-8
LANGUAGE=
LC_CTYPE="fr_FR.UTF-8"
LC_NUMERIC="fr_FR.UTF-8"
LC_TIME="fr_FR.UTF-8"
LC_COLLATE="fr_FR.UTF-8"
LC_MONETARY="fr_FR.UTF-8"
LC_MESSAGES="fr_FR.UTF-8"
LC_PAPER="fr_FR.UTF-8"
LC_NAME="fr_FR.UTF-8"
LC_ADDRESS="fr_FR.UTF-8"
LC_TELEPHONE="fr_FR.UTF-8"
LC_MEASUREMENT="fr_FR.UTF-8"
LC_IDENTIFICATION="fr_FR.UTF-8"
LC_ALL=


at the end of "mvn clean package-DskipTests" I've got BUILD SUCCESS. (I can't send you the build result to big in attachment)

And I can run java -jar RouteConverterLinux/target/RouteConverterLinux.jar

Where can I put logs to debug.

Laurent


RE: Linux 32 bits: Unable to move waypoint - routeconverter - 07.08.2012

(07.08.2012, 19:08)gouhier95 Wrote:
Quote:Tests in error:
testParseTime(slash.navigation.kml.Bt747Test)

Please debug and check why this test fails.


(07.08.2012, 19:08)gouhier95 Wrote: And I can run java -jar RouteConverterLinux/target/RouteConverterLinux.jar

Where can I put logs to debug.

You'd better use an IDE and put alerts into the routeconverter.html