Cruisers Forum
 


Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 04-03-2013, 20:19   #196
Registered User

Join Date: Aug 2009
Location: oriental
Boat: crowther trimaran 33
Posts: 4,414
Re: WeatherFax...

Is this the assert error? How about the latest git, I got rid of the local client data in an attempt to please windows
seandepagnier is offline   Reply With Quote
Old 04-03-2013, 20:46   #197
Registered User

Join Date: Apr 2009
Location: Marina Del Rey
Boat: Hylas 44
Posts: 387
Re: WeatherFax...

Quote:
Originally Posted by boat_alexandra View Post
Is this the assert error? How about the latest git, I got rid of the local client data in an attempt to please windows
It was the assert error. Your update has fixed it.
ChuckSK is offline   Reply With Quote
Old 05-03-2013, 05:36   #198
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,528
Images: 2
Re: WeatherFax...

This is probably not the right thread for this problem, but here goes.

I can find weatherfaxdialog.cpp line 230. How did you determine it was line 230 of weatherfaxdialog.cpp? I have run debug a number of times and this line does not highlight, popup or show up in any way. When wx error comes up, hit Yes, it stops at a some appbase.cpp (break into the debugger) document every time it seems and can't get to the line of code.

I tried Options and changing just a few things but extraneous output resulted, so I turned those off again. First screen shot.

I tried searching through various windows. Autos, Locals, Threads, Modules, Watch1, Find Results. Most were empty although Locals has show items with breakpoints but leads to no code file.

Have also been looking at Call Stack, Breakpoints, Error List and Outpot which also don't seem to lead anywhere. Next screen shot.

Have done a search on "go up the debug stack" and it is inconclusive, don't know how to find the line that caused the crash. Has crashed a number of times. Any suggestions? Perhaps a little more description of how you "go up the call stack" would help. Do I run Opencpn until the wx warning, then pick set breakpoint, then step through Debug until it crashes, or do I pick Continue, and go into Opencpn and just continue opening the weatherfax until it crashes?

  1. What settings and windows should I be looking at?
  2. After a crash is there a way to run it backwards to find the error in the code file and line?
  3. How do I get to see each line in weatherfaxdialogue as it executes (steppiing through debug) and then see the breakpoint or failure line?

I would like to help with debugging but what I am doing now is not very helpful. Is this something I should just give up on?
Attached Thumbnails
Click image for larger version

Name:	Debugging-Options-Output-Window-Settings.jpg
Views:	381
Size:	403.7 KB
ID:	56233   Click image for larger version

Name:	Debugging-Options-Output-Etc.jpg
Views:	474
Size:	419.4 KB
ID:	56234  

rgleason is offline   Reply With Quote
Old 05-03-2013, 06:12   #199
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,528
Images: 2
Re: WeatherFax...

In weatherfaxdialog.cpp I right clicked and picked Go to Dissasembly. Don't know if
void weatherfaxdialogue :: whitestransparency changed (wxscrollevent) means anything

Is there a way to show the line number? can't find that setting.
Attached Thumbnails
Click image for larger version

Name:	Debugging-RightClick-Goto-Dissembly.jpg
Views:	141
Size:	340.3 KB
ID:	56236  
rgleason is offline   Reply With Quote
Old 05-03-2013, 06:19   #200
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,528
Images: 2
Re: WeatherFax...

Ok from there I highlight the line and right-click and pick "Go to source code" and I get this window.

There is no line number, how do I get that to show?

I still don't know if this is finding the problem code, but there was something happening to transparency because the weatherfax window was broken up with it loaded after selecting the file.

A little more verbose help figuring this out would be appreciated! Thanks.
Attached Thumbnails
Click image for larger version

Name:	Debugging-RightClick-Goto-SourceCode.jpg
Views:	366
Size:	352.7 KB
ID:	56237  
rgleason is offline   Reply With Quote
Old 05-03-2013, 08:20   #201
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,528
Images: 2
Re: WeatherFax...

git cloned weatherfax_pi, built debug and release versions,
tried release version and it seemed to work, but there is still a transparency problem or interference anomyly when the fax is opened and then when you go into edit.
The fax does show on the chart which is an improvement over previous version, where it bombed with wx errors etc.

I note the changes to layout to increase area of fax in progress. Looks good.

Click on capture message "Failed to set up stuff. Works only on linux"
Work in progress.

Transparency sliders & invert seem to work

Tried Polar
1. Colored Coordinate Lines work nicely need to give blow by blow description for user or they won't know how to do it.
A. Pick Get Mapping
B. Select vertical meridian toward pole, on a latitude.
C. Select latitude away from pole.
D. Set coordinates
E. Apply - Maybe moves over to be an action like "Finish"? Then Finish

I get an error checking saying "Resulting image has negative dimensions abborting, which is nice checking, because my coords are not right. Cant seem to get it to take and redraww on chart. Maybe have an option to "Force this" so user can see what is happening so he can change it.
Stilll would likke a magnifier if possible.

Like the checks in Weatherfax window for on and off, nice.

Have to mess with this more later.
Attached Thumbnails
Click image for larger version

Name:	ReleaseVersion-Transparency-Anomylie.jpg
Views:	174
Size:	409.8 KB
ID:	56238  
rgleason is offline   Reply With Quote
Old 05-03-2013, 08:25   #202
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,528
Images: 2
Re: WeatherFax...

Here is the dll.doc Remove doc and (3) and put in plugin directory please.
Attached Files
File Type: doc weatherfax_pi.dll (3).doc (310.0 KB, 80 views)
rgleason is offline   Reply With Quote
Old 05-03-2013, 08:53   #203
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,528
Images: 2
Re: WeatherFax...

Ok one more try with a diffferent polar file.

Got the blue circular lines to roughly align by hitting "Get Mapping" again, before that the blue circles remained offset and screwy. Perhaps I don't have the longitude right but that should not matter really. I'll put in -34 and see if it works. Close but no cigar.
Attached Thumbnails
Click image for larger version

Name:	Weatherfax-Polar-Close-but-no-cigar.jpg
Views:	164
Size:	399.7 KB
ID:	56240   Click image for larger version

Name:	Weatherfax-Polar-Works-no-it-doesnt.jpg
Views:	350
Size:	403.1 KB
ID:	56244  

Click image for larger version

Name:	Weatherfax-Polar-Works.jpg
Views:	394
Size:	400.3 KB
ID:	56245  
rgleason is offline   Reply With Quote
Old 05-03-2013, 08:53   #204
Registered User

Join Date: Apr 2009
Location: Marina Del Rey
Boat: Hylas 44
Posts: 387
Re: WeatherFax...

rgleason

Look at your post #189 where you posted a screen shot of the wxAssertFailure. That was the call stack. Look for the last non-wxWidget call. You will see WeatherFaxDialog line 230.

The same call stack is displayed in the Visual C++ debugger. Just click on the entry to go to the source code and line.
ChuckSK is offline   Reply With Quote
Old 05-03-2013, 08:57   #205
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,528
Images: 2
Re: WeatherFax...

Dear Chuck,
I'll look at the popup closer next time!!! Maybe I won't have to upload so many images then!!! Maybe I will get the hang of it now. Thanks.
rgleason is offline   Reply With Quote
Old 05-03-2013, 09:17   #206
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,528
Images: 2
Re: WeatherFax...

Quote:
The same call stack is displayed in the Visual C++ debugger. Just click on the entry to go to the source code and line.
Got it to fail. See the entries after wx and lines. Should have written them down, but how do I get MSVC++debugger to display the call stack?
I think that is my problem.. Thanks for you help.
rgleason is offline   Reply With Quote
Old 05-03-2013, 09:51   #207
Registered User

Join Date: Apr 2009
Location: Marina Del Rey
Boat: Hylas 44
Posts: 387
Re: WeatherFax...

Quote:
Originally Posted by rgleason View Post
Got it to fail. See the entries after wx and lines. Should have written them down, but how do I get MSVC++debugger to display the call stack?
I think that is my problem.. Thanks for you help.
Go to tools. Then settings. Select "Expert Settings".
ChuckSK is offline   Reply With Quote
Old 05-03-2013, 15:54   #208
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,528
Images: 2
Re: WeatherFax...

Thank you Chuck!

Sean, see the bottom of How to use a Sextant
Index Error
"Index error is an instrumental error. When looking through a sextant at the horizon the exact level horizon will seldom be seen to be at 0°"

It also has listed:
Index
Dip
Refraction
Parallax
Semi-diameter
rgleason is offline   Reply With Quote
Old 05-03-2013, 16:48   #209
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,528
Images: 2
Re: WeatherFax...

One of the "Tools > Setting > Expert Settings" that I did not try. Sean, for you:

CALL STACK
weatherfax_pi.dll!EditFaxWizard::OnPaintImage(wxPa intEvent & event) Line 1042 + 0x78 bytes C++

SUBJECT LINE 1042
wxBitmap bmp(GetCurrentPage() == m_pages[0] ? m_wfimg.m_phasedimg : m_wfimg.m_mappedimg);

Trying to get Polar fax set up. I have it close enough (very) with blue circles pretty darn close, and have been trying to get it to take. Each time I select apply
(a number of times) Click on Apply "Resulting image has negative dimensions aborting."

WHAT IS True width ratio with Value=-1.#IO
Is this correct?

Thank you Chuck

I will not be attaching screen shots as often now.
Attached Thumbnails
Click image for larger version

Name:	Weatherfax--Break-weatherfaxDialog-Line1042.jpg
Views:	202
Size:	396.0 KB
ID:	56275  
rgleason is offline   Reply With Quote
Old 05-03-2013, 18:15   #210
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,528
Images: 2
Re: WeatherFax...

weatherfax_pi.dll!WeatherFaxImage::MakeMappedImage (wxWindow * parent) Line 377 + 0x29 bytes C++

weatherfax_pi.dll!EditFaxWizard::ApplyMapping() Line 859 + 0x12 bytes C++

weatherfax_pi.dll!EditFaxWizard::OnApplyMapping(wx CommandEvent & event) Line 912 + 0x8 bytes C++
rgleason is offline   Reply With Quote
Reply

Tags
paracelle

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
For Sale: SSB, Tuner, Amp, WeatherFax Palarran Classifieds Archive 7 19-03-2011 07:22
Help with WeatherFax and SeaTTY desierto Navigation 2 12-12-2008 20:36
Basic Weatherfax reception Tnflakbait Marine Electronics 3 23-09-2008 21:55
How do I set myself up with weatherfax? tracker_46 Marine Electronics 4 12-10-2006 14:51
Weatherfax Recommendations Please Salacia Marine Electronics 3 03-07-2005 13:28

Advertise Here


All times are GMT -7. The time now is 13:03.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2024, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.