PDA

View Full Version : ADE problem



Flying Officer Jevans
07-10-2008, 12:02 PM
Not sure if I can report this here, but I have spotted a potential problem with ADE 1.35. When entering a Lat/Long for background images ADE frequently crashes, reporting weird errors to do with format, with what I can see from the code. I have tried different ways of entering the figures but none seem to work properly.

Moreover, sometimes the cursor will leap backwards in the box, putting numbers in the wrong place!

Can anyone enlighten me as to this strange behavior?

scruffyduck
07-10-2008, 04:09 PM
Can you please attach or email me (jon AT scruffyduck.co.uk) with the file called ade_200807.log? From that we can probably tell what is going wrong.

Flying Officer Jevans
07-10-2008, 04:36 PM
Just sent it.

scruffyduck
07-10-2008, 04:55 PM
Well I can see several problems in the log.

A problem with the on-line updater that looks like it cannot access the web site - are you allowing ADE to pass your firewall?
A problem trying to load a shape Poly. Presumably a terrain background poly. Perhaps you could tell me what you were trying to do at that point as it appears more than once in the log
The error that you mention where ADE is expecting and N or S at the start of latitude and not seeing it - did you paste a co-ordinate value in the box. I thought we had fixed this problem in and earlier version but clearly we haven't :o. AS you say you tried that a number of times. Is your co-ordinate setting set to Decimal or Degrees and Decimal Minutes (DDM). If it is set to DDM and you are adding or trying to add a co-ordinate in Decimal (i.e 36.789654) then I think a Crash will occur.

Flying Officer Jevans
07-10-2008, 05:07 PM
My computer isn't connected to the internet usually unless I'm going online - which answers your first question.

For your second question ,which project was it on? I did have lots of problems with polys on EGNC_ADE_JE.

I'm currently set on DDM. I changed this while trying to work this out. What format should the lat/long take on each setting? I'm taking the chords of Google Earth.

I think I may have pasted values in at one point but I can't remember if this made it crash.

Flying Officer Jevans
07-10-2008, 05:09 PM
These are the chords for the background image on EGNL_ADE_JE:

Top Left:
N54.1342
W3.2774

Bottom right:
N54.1229
W3.2482

How should I put these in?

scruffyduck
07-10-2008, 05:18 PM
These are the chords for the background image on EGNL_ADE_JE:

Top Left:
N54.1342
W3.2774

Bottom right:
N54.1229
W3.2482

How should I put these in?

Settings > Options > Units > Coord > DDM

scruffyduck
07-10-2008, 05:20 PM
My computer isn't connected to the internet usually unless I'm going online - which answers your first question.

For your second question ,which project was it on? I did have lots of problems with polys on EGNC_ADE_JE.



EGNC. Are you closing the polygon with a double click after you draw it?

Flying Officer Jevans
07-10-2008, 05:25 PM
It was problems with closing it, yes. I think I've got that one sorted though. I think you fixed it in 1.25. It's the Lat/Long I'm more concerned about. Is that the right format for Decimal?

Flying Officer Jevans
07-10-2008, 05:28 PM
I just tried entering those numbers in decimal and it CTD'd saying that it was in the wrong format. I pasted them in. Any advice?

EDIT: Ah. Didn't read your first post.

Flying Officer Jevans
07-10-2008, 05:30 PM
No, it does not like me pasting them in.

EDIT: Or typing them in.

meshman2
07-10-2008, 09:24 PM
These are the chords for the background image on EGNL_ADE_JE:

Top Left:
N54.1342
W3.2774

Bottom right:
N54.1229
W3.2482

How should I put these in?

Drop the "N" and change the "W" to a minus sign. That's how mine get plugged in.

scruffyduck
07-10-2008, 11:06 PM
Lance

You are correct. I must have been more asleep last night than usual :o That format is not supported by ADE although the program should not crash when it is used. Coordinates need to be either Decimal e.g 12.3456, -98.7675; or DDM eg N12*34.5678, W98*54.321. I have added the problem to the fix list.

Flying Officer Jevans
07-11-2008, 05:23 AM
Do you put the * in the DDM or is that just your symbol for a space?;)

scruffyduck
07-11-2008, 05:44 AM
My symbol for a space. Use a space :)


N28 28.786891 W081 43.215487 is an example generated by ADE

Flying Officer Jevans
07-11-2008, 05:50 AM
Thanks, but my cursor still goes backwards when entering the figures! Whats gong on? Latitude goes in fine, but when I type -3 16.3951 it ends up like this:

scruffyduck
07-11-2008, 06:03 AM
I am not going to be very helpful here. I just spent time trying to replicate that and I can't :o Did you start that by entering a W at the front?

Flying Officer Jevans
07-11-2008, 06:07 AM
Sometimes on mine the cursor just leaps backward in the Textbox. So, I press the - key. It goes in Before the cursor. I then press 3. It goes in before the...
Oh, hang on 10 minutes and I'll get a video.

EDIT: I started it with a -.

Flying Officer Jevans
07-11-2008, 06:18 AM
Video is now uploading...

Flying Officer Jevans
07-11-2008, 06:21 AM
http://www.youtube.com/user/FOJevans

Should be on here in a few minutes,

scruffyduck
07-11-2008, 06:27 AM
http://www.youtube.com/user/FOJevans

Should be on here in a few minutes,

Weird. Does this happen if you try to adda coordinate value beginning with W? Does it just happen in this box?

I will check the code that deals with this box.

Flying Officer Jevans
07-11-2008, 06:40 AM
It happens on all the boxes on that dialog. However, when you use a N or a W at the start, although the cursor leaps around, it ends up in th right place and when you click save it works.

But when you put a - at the start, it all ends up in the wrong place, and it doesn't work.

I have got the image to go in, by using N/W at the start, using DDM, and entering them like this

N54 07.4564
etc.

However, now I think the image looks like it's in the wrong place...:)

scruffyduck
07-11-2008, 06:53 AM
I'll check the code to see if there is anything in there to explain it.

Flying Officer Jevans
07-18-2008, 06:54 AM
Any luck?

scruffyduck
07-18-2008, 03:27 PM
Any luck?

Not in fixing the cursor problem as at the moment I can't replicate it. However we are looking at the way in which ADE parses co-ordinates and that may indiectly fix it. It may be a little while however