-
Notifications
You must be signed in to change notification settings - Fork 21
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Dashboard_tactics_pi v1.6.6.23 + TP 1.0.180 Prefs + Icons do not work #487
Comments
Rick... |
Yes, it is DashboardTactics, so that means that
and
Will need to be changed. Thank You! |
Rick... |
Ok, will do now. |
I've opened the PI I am associated with in some way and checked for the issue with icons not showing. I found one other one autopilot_routed_pi that has similar issues, but the preferences window works.... Ah now I remember that one does not make an icon in the toolbar. It does have a display I believe, and access is through the Preferences. So it is ok I believe. I am going to do one more check on all the ones I am associated with, for the into and out of Preferences and O crashes, next. |
I did not find any in and out of preferences with a toggle of a preference parameter causing an O crash. I checked all the ones I had installed A large number of them. |
Rick...
Please copy exactly as I have edited. Bottom line: When a plugin is first published, whatever CommonName it has been given is permanent, forever. |
Ok thanks the common name issue is settled, but the plugin still does not work due to some unidentified icon issue (icons don't show in the toolbar), and the expaned PIM window for the plugin "Preferences" button does not work. I am going to try to identify and fix this now. |
from opencpn.log the create_pi symbol is not being found. I believe this is because the icons are not working, I think due to some ifdef logic for building the dashboard tactics plugin or the dashboard only plugin, which selects which icons to use. Attached is a summary of the log file I am going to push the current state up to github on the mnt151-frontend2 branch and continue trying to figure this out. https://github.com/rgleason/dashboard_tactics_pi/tree/mnt151-frontend2 |
Both icons.cpp and icons.h conform to Petri's configuration so the problem is probably not there.
|
I've checked icons.h and icons.cpp against climatology and weather_routing similar files and they are basically the same. I've removed icons from the src folder and put them in an OLD folder. We have all the necessary svg icons under the data folder (and have checked their resolution and rendering) but the img_ definitions should be working first anyway, and they are not. |
I believe the path set for icons is correct and I find svg icons at |
Is a DLL name mismatch causing the problem?
Then this one which fails and then another one is attempted dashboard_tactics_pi.dll
From recent Opencpn.ini``
|
I just tried turning off the option to include tactics, so it builds just dashboard and got these errors:
So perhaps these need to be fixed. |
Rick... |
I am building in Windows, using VS2017. Appveyor seems to build it ok too, and it seems to build the dashboard_tactics version and complete, but the Preferences button is not working in the PIM plugin window and when the plugin is enabled the toolbar icon does not show so the plugin does not work and is inaccessible if it is working. |
When I try to build just the Dashboard version it am getting some errors, probably due to some thing Jon is doing with the Testplugin cmake files, because the xml metadata output is not right, and showing the dashboard_tactics version
I am going to go back to just build the dashboard_tactics version for now and hopefully get that fixed. |
Dave, see this post #487 (comment) |
On line 47 CmakeLists.txt have set back to "ON" to build the dashboard_tactics plugin
I will get this working first. This other problem is a side track. |
Rick... If you have this error, you could not possibly be getting to this: So, please stop trying random things, and lets fix one thing at a time. "I am building in Windows, using VS2017" Why do you care about building without tactics? Will this be published? |
Just tried it again, with same results, no preferences and no icon in toolbar |
Did you rebuild? How did you install? Import? |
I always remove all files from the build directory. Then rebuild it from the command line using a bash prompt with the command ./bld.bat which runs this batch file
Then I install it from the PIM "Import" button. |
Maybe I should just expand the tarball somehow? |
Rick... |
I know logmein etc. I will try to find Anydesk, something to install? |
It is an app that you install. After you install, you give me an key to login to your system. We will then share the desktop, we can chat, etc. |
sent via email |
Have a srceen saying desk accessed with... |
Please restart Anydesk as Administrator. |
Dave, that was too bad. maybe next time. Here is the log after installation and trying to enable it and use it.
Then later
|
I have just built the mnt151-frontend2 of this using circleci local
and have then run OCPN 5.5.928 on Linux Mint 20.2
And the icons and preferences seem to work OK with both OpenGL and without. Is it only windows that is showing the issue? |
Thanks Jon, The problem was that I had not cleared out plugins in my O configuration that were with the wrong commonname!!! Dave showed me just a little while earlier. I have built and depoyed to cloudsmith and will push to PIM |
This is one to remember for sure! Clear out those plugins if you are having troubles you can't identify! |
@bdbcat
I know you are busy, so when you get a chance, could you look at this.
It is in rgleason/dashboard_tactics_pi and is the mnt151-frontend2 branch
I have turned off circleci builds to conserve credits, but appveyor built
This plugin is a little more complex than others because you can compile for tactics and dashboard or just dashboard. It uses a "s_common_name" variable in dashboard_tactics_pi which I found to be set at "Dashboard_Tactics" for the version that compiles both sets of instruments.
Note that in the previous version I used the wrong common name. I am going to remove that version now, even if I do not have a replacement yet.
I think the next step is the fix the toolbar icon and preferences and then continue updating the frontend. I have looked at this problem and don't think I should mess with this part of the code.
Can you assist?
Thanks.
PS
There's been good progress and we are getting down to the bottom of the list
PSS
The master branch has Petri's super development version that is not completely compatible with our OS setups but offers more flexibility and features at the cost of complexity.
The text was updated successfully, but these errors were encountered: