Keyboard Shortcuts
Likes
- Yaac-Users
- Messages
Search
Re: java heap error message on rasp pi 3 when trying to download maps
Hmmm... indeed, you haven't made much progress on the download.
Can you replicate this and then after it hangs for more than 10 minutes (or if it times out by them), send me the YAAC.out file from your YAAC log directory? The reason I say to wait 10 minutes is for standard TCP/IP timeout to occur, in case that is the cause, so either way I get an accurate error message. The other question is: what exact date and time did you do this? I was upgrading my server around when you sent the original email. So were you in the middle of a download when I shut the server down for upgrade? I always check before I reboot the system, but it doesn't mean you didn't slip in between my check and when the shutdown script turns off networking. Andrew, KA2DDO author of YAAC |
Re: java heap error message on rasp pi 3 when trying to download maps
Dave Garber
I am the one Chris was referring to.
I am trying to download 100 kms radius. ? here is a copy of my captured screen...? ?not really an error, it just will not proceed to download can I download via windows, then copy files to a raspberry folder |
Re: Beacon and Status message timing
¿ªÔÆÌåÓýHi Andrew ? My setup is very simple.? I have one beacon that I keep the default name for (default).? The position is manually entered (no gps).? Beacon type is Position.? I have free text.? The initial rate is 60, decay ratio 2 and slow repeat rate 1800.? The selected digipeat paths in proportional path order are WIDE2-1 first and WIDE2-2 second, so I assume WIDE2-1 would be the first priority followed by WIDE2-2.? (Now that I think of it, should this only be WIDE2-2?)? The status beacon is set up the same way with WIDE2-1 in the first position followed by WIDE2-2.? The inital repeat rate is 60, decay ratio 2 and stable repeat rate 1500. ? There is not a lot of radio traffic in my area.? There are very few and I am not using time slotting.? I guess I¡¯ll try using WIDE2-2 for both beacons and see if it makes any difference. ? Joe ? Sent from for Windows 10 ? From: Andrew P.
Sent: July 31, 2020 7:24 PM To: [email protected] Subject: Re: [yaac-users] Beacon and Status message timing ? Hi, Joseph. ? That's very strange behavior of the I-gates in your area, keeping your status messages and discarding your positions. What exactly are the settings for your position beacon? Mic-E or standard or compressed text position format? Do you have a free-text comment appended to the beacon? What are the initial and slow rates for your beacon and your status? How many different beacons do you have (only the default one, or additional ones)? ? The other question is, how many transmit-only beacons are in your area (as in, jamming your position packets)? Are you using time-slotting (not recommended unless you're on a non-standard frequency and your time slots are coordinated with all other stations on the frequency)? ? Andrew, KA2DDO author of YAAC ? ________________________________________ From: [email protected] <[email protected]> on behalf of Joseph LaFerla <joe@...> Sent: Friday, July 31, 2020 2:03 PM Subject: [yaac-users] Beacon and Status message timing ? Hi Andrew ? I have my yaac beta 156 working well transmitting on the local rf network.? The aprs-is port is disabled.? However I seem to have a problem with the timing of beacon and status messages.? In my configuration I have set the beacon message with a slow repeat rate of 900 seconds and the status message with 1500.? I also monitor aprs.fi and findu.com to see how both are being received.?? I am attaching a file with output since midnight tonight.? You can see that the beacons and status messages received from aprs.fi are very oddly spaced and, particularly at the end of the extract, there are 8 status messages in a row with no beacons in between.? Since only beacons have location information, findu.com does not record the status messages as valid and does not update its records.? Findu.com currently reports the last report received over 7 hours ago.? My hope is that my beacon and status message timing can be set so that they would roughly alternate so that both aprs.fi and findu.com are synchronized. ? I would point out that when I set yaac instead to transmit directly to the aprs-is network via the internet and disable the rf network, aprs.fi? and findu.com are perfectly synchronized. ? I hope I have explained clearly what my issue is and that there is some solution.? Thanks in advance and for a wonderful program that you are constantly improving and expanding.? You are a great service to the amateur community, Andrew.? Please let me know if you have any questions. ? Joe VA3JLF ? ? ? ? ? |
Re: Beacon and Status message timing
Hi, Joseph.
That's very strange behavior of the I-gates in your area, keeping your status messages and discarding your positions. What exactly are the settings for your position beacon? Mic-E or standard or compressed text position format? Do you have a free-text comment appended to the beacon? What are the initial and slow rates for your beacon and your status? How many different beacons do you have (only the default one, or additional ones)? The other question is, how many transmit-only beacons are in your area (as in, jamming your position packets)? Are you using time-slotting (not recommended unless you're on a non-standard frequency and your time slots are coordinated with all other stations on the frequency)? Andrew, KA2DDO author of YAAC ________________________________________ From: [email protected] <[email protected]> on behalf of Joseph LaFerla <joe@...> Sent: Friday, July 31, 2020 2:03 PM To: [email protected] Subject: [yaac-users] Beacon and Status message timing Hi Andrew I have my yaac beta 156 working well transmitting on the local rf network. The aprs-is port is disabled. However I seem to have a problem with the timing of beacon and status messages. In my configuration I have set the beacon message with a slow repeat rate of 900 seconds and the status message with 1500. I also monitor aprs.fi and findu.com to see how both are being received. I am attaching a file with output since midnight tonight. You can see that the beacons and status messages received from aprs.fi are very oddly spaced and, particularly at the end of the extract, there are 8 status messages in a row with no beacons in between. Since only beacons have location information, findu.com does not record the status messages as valid and does not update its records. Findu.com currently reports the last report received over 7 hours ago. My hope is that my beacon and status message timing can be set so that they would roughly alternate so that both aprs.fi and findu.com are synchronized. I would point out that when I set yaac instead to transmit directly to the aprs-is network via the internet and disable the rf network, aprs.fi and findu.com are perfectly synchronized. I hope I have explained clearly what my issue is and that there is some solution. Thanks in advance and for a wonderful program that you are constantly improving and expanding. You are a great service to the amateur community, Andrew. Please let me know if you have any questions. Joe VA3JLF |
Beacon and Status message timing
¿ªÔÆÌåÓýHi Andrew ? I have my yaac beta 156 working well transmitting on the local rf network.? The aprs-is port is disabled.? However I seem to have a problem with the timing of beacon and status messages.? In my configuration I have set the beacon message with a slow repeat rate of 900 seconds and the status message with 1500.? I also monitor aprs.fi and findu.com to see how both are being received.? ?I am attaching a file with output since midnight tonight.? You can see that the beacons and status messages received from aprs.fi are very oddly spaced and, particularly at the end of the extract, there are 8 status messages in a row with no beacons in between.? Since only beacons have location information, findu.com does not record the status messages as valid and does not update its records.? Findu.com currently reports the last report received over 7 hours ago. ?My hope is that my beacon and status message timing can be set so that they would roughly alternate so that both aprs.fi and findu.com are synchronized. ? I would point out that when I set yaac instead to transmit directly to the aprs-is network via the internet and disable the rf network, aprs.fi? and findu.com are perfectly synchronized. ? I hope I have explained clearly what my issue is and that there is some solution.? Thanks in advance and for a wonderful program that you are constantly improving and expanding.? You are a great service to the amateur community, Andrew.? Please let me know if you have any questions. ? Joe VA3JLF ? |
Re: java heap error message on rasp pi 3 when trying to download maps
Are you trying to download maps, or import them from a .pbf file? What is the exact text of the error message? Copy-and-paste, please.
A Raspberry Pi is short on main memory by about an order of magnitude to be able to import a raw OpenStreetMap vector file. Adding swap space won't help; you'll just burn up your swap drive and melt the CPU. The importer logic needs at least 2 gigabytes of real heap memory to be able to handle an OpenStreetMap .pbf file of any significant size. You need to get the pre-imported files I make available on my website with the File->OpenStreetMap->Download Pre-Imported Tiles menu choice. If you were downloading pre-imported tile files, how many of them were you importing? i.e., how many miles/kilometers of radius were you using? If you have a very fast Internet connection, it is theoretically possible for you to overload the Java virtual machine by opening the next tile file faster than the Java garbage collector can clean up after downloading the previous file. Let me know what further information you have on the problem. Andrew, KA2DDO author of YAAC ________________________________________ From: [email protected] <[email protected]> on behalf of Chris Pitre <ve3ctp@...> Sent: Tuesday, July 28, 2020 8:17 PM To: [email protected] Subject: [yaac-users] java heap error message on rasp pi 3 when trying to download maps java heap error message on rasp pi 3 when trying to download maps anyone else encounter this, what did they do to fix the issue? |
Re: Java 8_261 on Microsoft Windows breaks YAAC!
¿ªÔÆÌåÓýBasically, yes. The actual gory details are here:
https://www.oracle.com/java/technologies/javase/8u261-relnotes.html
Note that the first issue in the release notes (after exhorting everyone to keep up on their security patches) is identifying that they've changed runtime libraries and the tools they've used to compile their Java virtual machine native code for Microsoft
Windows. There's a file, msvcr100.dll, that is in the \Program Files\Java\jreversionnum\bin directory, that is used by both the Java runtime and the JSSC and RXTX native code DLLs on Windows. However, it
has been replaced with a newer version in Java runtime 8_261 and later, so it's not there for JSSC or RXTX to use. Windows users using later releases of Java (9 through 14) will find similar issues if they take a patch update, if not now, in October when the
next quarterly Critical Patch Update comes out from Oracle.
Note, of course, that there are different versions of msvcr100.dll, depending on whether you are in "Program Files" or "Program Files (x86)" (64-bit or 32-bit variant), so you can't just grab one randomly and drop it into your Windows installation of Java
(if that is even allowed by your local system administrators). And I don't know if it's safe or possible to mix versions in the same running program.
So, my present plan is to:
Hopefully, this will get everyone operating again.
I hope to have build 157 of YAAC out the door with these changes real soon.
Andrew, KA2DDO
________________________________________
Sent: Friday, July 24, 2020 3:54 PM
Subject: Re: [yaac-users] Java 8_261 on Microsoft Windows breaks YAAC!
Andrew is this it? ?Not a programmer so I'm googling. ?If there is a cost a Go Fund Me would be a great idea.
https://visualstudio.microsoft.com/vs/whatsnew/
On Fri, Jul 24, 2020 at 3:01 PM Andrew P. <andrewemt@...<mailto:andrewemt@...>> wrote:
I've found out what the problem is.
Oracle (the owner of Java) has decided that it's time to use a newer version of Microsoft Visual Studio (2017) to compile the Windows version of the Java runtime native code. This, unfortunately, breaks all other native code invoked by Java (such as RXTX
and JSSC) that depended on the older Visual Studio's runtime library.
It would have been nice if they'd sent out advance notice about this, so users of JNI (Java Native Interface) libraries also compiled with older versions of Visual Studio could have gotten ready in advance. No such luck, though. It looks like I'll be buying
a new version of Visual Studio myself to handle recompiling the JSSC native code for Windows and patching the jssc.jar file so I don't have to wait for the author of JSSC to do it.
I'm thinking about how to handle users of older versions of the Java runtime on Windows, because (of course) Visual Studio is never backwards compatible. Are there any YAAC users on Microsoft Windows who aren't taking the latest version of the Java runtime
(or of Windows) for any reason? I don't care why you're staying back, I just need to know if you are.
Note this doesn't affect Linux users. I'm not sure how it's going to affect Macintosh users.
Getting ready to spend money......
Andrew, KA2DDO
author of YAAC
|
Re: Java 8_261 on Microsoft Windows breaks YAAC!
Ronny Julian
Andrew is this it?? Not a programmer so I'm googling.? If there is a cost a Go Fund Me would be a great idea. ?? On Fri, Jul 24, 2020 at 3:01 PM Andrew P. <andrewemt@...> wrote: I've found out what the problem is. |
Java 8_261 on Microsoft Windows breaks YAAC!
I've found out what the problem is.
Oracle (the owner of Java) has decided that it's time to use a newer version of Microsoft Visual Studio (2017) to compile the Windows version of the Java runtime native code. This, unfortunately, breaks all other native code invoked by Java (such as RXTX and JSSC) that depended on the older Visual Studio's runtime library. It would have been nice if they'd sent out advance notice about this, so users of JNI (Java Native Interface) libraries also compiled with older versions of Visual Studio could have gotten ready in advance. No such luck, though. It looks like I'll be buying a new version of Visual Studio myself to handle recompiling the JSSC native code for Windows and patching the jssc.jar file so I don't have to wait for the author of JSSC to do it. I'm thinking about how to handle users of older versions of the Java runtime on Windows, because (of course) Visual Studio is never backwards compatible. Are there any YAAC users on Microsoft Windows who aren't taking the latest version of the Java runtime (or of Windows) for any reason? I don't care why you're staying back, I just need to know if you are. Note this doesn't affect Linux users. I'm not sure how it's going to affect Macintosh users. Getting ready to spend money...... Andrew, KA2DDO author of YAAC |
Re: Anyone have a good Guide for Bluecove on a Raspberry Pi 4b
Andrew,
?I guess it is installed.. Just noticing it says it won't install if I click the button that says "Install" in plugins.. But all of the files are there.. It unzips them, but does not show as installed in the plugins. As far as versions go, I am runing Raspbian Version 10 {buster} Mike AC0VP |
Re: Anyone have a good Guide for Bluecove on a Raspberry Pi 4b
Arrgh! They probably renamed the library package to something else. Gotta keep these Linux distros inconsistent..... :-( Which release of Raspbian are you using? Jessie? Wheezy? Or something else?
Unfortunately, the Bluecove library won't report the reason _why_ the library can't be activated. By the way, what do you mean by "installing" the plugin? All you do to install a YAAC plugin is unzip the zip file into the plugins directory (or just drop the .jar file in the plugins directory if the plugin is distributed as only a single JAR file). As long as you have the operating system prerequisites also installed, that's all there is to it. Andrew, KA2DDO author of YAAC ________________________________________ From: [email protected] <[email protected]> on behalf of Michael LeComte <mike.lecomte@...> Sent: Friday, July 24, 2020 12:52 PM To: [email protected] Subject: Re: [yaac-users] Anyone have a good Guide for Bluecove on a Raspberry Pi 4b Andrew, bluetoothport.jar bluecove-2.1.0.jar bluecove-gpl-2.1.0.jar Are all in the YAAC/Plugins Directory. But I noticed in YAAC, that if I actually try to install the plugin, it fails to install, another error related to Bluecove not being installed. I have tried doing sudo apt-get install libbluetooth libbluetooth-dev and I get E: Unable to locate package libbluetooth, been trying to figure out what is causing that.. I know the actual bluetooth on the pi works fine, I can see and pair with devices.restart I get a message stating Bluecove Library bluecove not available. When trying to install the plugin in YAAC. So not sure what is going on with this thing, have tried everything I can think of to get the Bluecove installed, but never seems to be detected. Mike AC0VP |
Re: Anyone have a good Guide for Bluecove on a Raspberry Pi 4b
Andrew,
bluetoothport.jar bluecove-2.1.0.jar bluecove-gpl-2.1.0.jar Are all in the YAAC/Plugins Directory. But I noticed in YAAC, that if I actually try to install the plugin, it fails to install, another error related to Bluecove not being installed. I have tried doing sudo apt-get install libbluetooth libbluetooth-dev and I get E: Unable to locate package libbluetooth, been trying to figure out what is causing that.. I know the actual bluetooth on the pi works fine, I can see and pair with devices.restart I get a message stating Bluecove Library bluecove not available. When trying to install the plugin in YAAC. So not sure what is going on with this thing, have tried everything I can think of to get the Bluecove installed, but never seems to be detected. Mike AC0VP |
Re: Anyone have a good Guide for Bluecove on a Raspberry Pi 4b
Looks like I need to make a fix to not loading YAAC plugins if there is an installation problem to at least let users read the help pages for the plugin, even if the rest of that plugin doesn't work.
For the Bluetooth plugin on Linux systems, you need to have the native Bluetooth user-mode libraries installed so the Java code can call them. On a Raspberry Pi (or other Debian/Ubuntu variants), issue the command sudo apt-get install libbluetooth libbluetooth-dev On Red Hat, Fedora Core, etc., issue the command sudo dnf install bluez-libs Also, verify that you have all three of the following JAR files in your YAAC/plugins directory: bluetoothport.jar bluecove-2.1.0.jar bluecove-gpl-2.1.0.jar All three should have been installed if you properly installed the plugin from the bluetoothport.zip distro file. There may be an issue that the native stub library included with bluecove for ARM processors is named libbluecove_armv5tel.so, which may not jive with the CPU architecture model on the Raspberry Pi. If it doesn't work after confirming the JAR files and native Linux distro packages are installed, get back to me, and I'll see about improving the plugin distribution with a suitable native stub for Raspbian. Hope this helps. Andrew, KA2DDO author of YAAC ________________________________________ From: [email protected] <[email protected]> on behalf of Michael LeComte <mike.lecomte@...> Sent: Friday, July 24, 2020 11:53 AM To: [email protected] Subject: [yaac-users] Anyone have a good Guide for Bluecove on a Raspberry Pi 4b Hello all, I have been trying to get my bluetooth stuff set up to work with YAAC on a new Raspberry Pi 4. I want to use this mobile with a TT4BT Serial Bluetooth device and a TT4 that I have in the Truck. I currently use a phone with aprsdroid to talk to the device, but would prefer to use YAAC on a raspberry pi with a 7" touch screen that I have set up. I have gone through every tutorial that I can find, and nothing seems to work getting Bluecove installed. I get the following error in YAAC {Newest Version} Unable to access operating system Bluetooth stack: javax.bluetooth.BluetoothStateException: BlueCove library bluecove not available. Decent instructions on Bluecove seem few and far between or are only for older versions of Raspbian. Any help would be appreciated. Mike AC0VP |
Anyone have a good Guide for Bluecove on a Raspberry Pi 4b
Hello all,
?I have been trying to get my bluetooth stuff set up to work with YAAC on a new Raspberry Pi 4. I want to use this mobile with a TT4BT Serial Bluetooth device and a TT4 that I have in the Truck. I currently use a phone with aprsdroid to talk to the device, but would prefer to use YAAC on a raspberry pi with a 7" touch screen that I have set up. I have gone through every tutorial that I can find, and nothing seems to work getting Bluecove installed.? ?I get the following error in YAAC {Newest Version} Unable to access operating system Bluetooth stack: javax.bluetooth.BluetoothStateException: BlueCove library bluecove not available.Decent instructions on Bluecove seem few and far between or are only for older versions of Raspbian. Any help would be appreciated. Mike AC0VP |
Re: next beta build#155 of YAAC, created 2020-Jul-13
Does the new build work for you? You may have to manually download it and unzip over the existing installation to get the update, since you may not be able to start YAAC, even if you use the -clearPorts option to keep YAAC from opening any serial ports with the old RXTX library.
________________________________________ From: [email protected] <[email protected]> on behalf of Jerald Meadows - NOAA Federal via groups.io <jerald.meadows@...> Sent: Thursday, July 23, 2020 11:46 AM To: [email protected] Subject: Re: [yaac-users] next beta build#155 of YAAC, created 2020-Jul-13 Awesome. We don't say it enough but you sir are a rockstar! Thank you for everything you do. Jerald Meadows Warning Coordination Meteorologist San Joaquin Valley/Hanford Weather Forecast Office P: 559.584.0583 X 223 Weather.gov/Hanford<> | Twitter<> | Facebook<> On Thu, Jul 23, 2020 at 8:19 AM Andrew P. <andrewemt@...<mailto:andrewemt@...>> wrote: I am preparing to release a new build of YAAC that no longer uses the obsolete RXTX library to access serial ports, but a newer library called JSSC. It should be out later today. Andrew, KA2DDO author of YAAC -------- Original message -------- From: "Jerald Meadows - NOAA Federal via groups.io<>" <jerald.meadows@...<mailto:[email protected]>> Date: 7/23/20 09:58 (GMT-05:00) To: [email protected]<mailto:[email protected]> Subject: Re: [yaac-users] next beta build#155 of YAAC, created 2020-Jul-13 Howdy YAAC community, We (NWS Hanford) recently updated our JRE for security reasons. This has caused an issue with YAAC. The program no longer opens completely. I am told it tries but then crashes. I have attached the error log entry we have. Any assistance would be greatly appreciated. Jerald Meadows Warning Coordination Meteorologist San Joaquin Valley/Hanford Weather Forecast Office P: 559.584.0583 X 223 Weather.gov/Hanford<> | Twitter<> | Facebook<> On Mon, Jul 13, 2020 at 2:09 PM Andrew P. <andrewemt@...<mailto:andrewemt@...>> wrote: next beta build#155 of YAAC ("Yet Another APRS Client"), created 2020-Jul-13 downloadable from or changes and updates include: 1. fix spurious ArrayIndexOutOfBoundsExceptions from parsing Mic-E and position report messages that have the absolute bare minimum amount of text and have no optional fields appended. 2. fix progress dialog percentage report when importing CSV-format packet logs. 3. add support for the Byonics TinyTrak4's ability to pass through GPS sentences as an alternate-DeviceID KISS "frame" in the serial connection to YAAC, when the GKRELAY command is properly configured. This updates the Serial_TNC, KISS-over-TCP, and Bluetooth_TNC port drivers (Bluetooth plugin). 4. regularize size of map zoom buttons, fix sizing and scaling of map scale to always be a round multiple of 2, 5, or 10. 5. properly handle seamark beacons with an unspecified color. 6. fix problem with AX.25 ports that feed through GPS sentences when the sentence boundaries aren't caught correctly, causing spurious errors that can't be read because of the embedded carriage return characters. 7. try to optimize reading UTF-8 strings and OSM objects from files a little more. 8. add generic ability for PortConnectors to report asynchronous status changes not already handled by PortStatusListener, PortMgmtListener, or PortEventListener. 9. remove support for Byonics TT4 prompt catching in Serial_TNC PortConnector, as it will never work unless the TinyTrak4 is rebooted just as YAAC opens the port. 10. fix naming of AIS decoder plugin in website "store". 11. fix parsing errors in AIS decoder, add support for DGNSS and Aid-to-Navigation messages. 12. add identification of vessel nation-of-registry in AIS decoder. 13. remove spurious debugging print statements in repeater finder plugin. 14. improve error reporting and documentation in repeater finder plugin when rig control serial ports can't be found. 15. add support to repeater finder plugin to recognize Yaesu System Fusion (C4FM) repeater objects. 16. add Java Activation library to telemetry alarm plugin so email will still work on Java runtime version 9 and above. 17. improve screen appearance of upgrade utility, ensure O/S-provided window close button behaves the same as the Cancel button in the upgrader's UI. 18. augment upgrader to support plugins that include native libraries (in preparation for deprecating use of RXTX library). |
Re: Water not rendering, again... kind of.
I downloaded the Southeastern US PBF from Geofabrik. So, with the ocean not being included the Chesapeake Bay is also not being rendered because of an incomplete coastline. That seems to make sense.
toggle quoted message
Show quoted text
Thanks, Eric WG3K ©\©\©\©\©\©\©\ Original Message ©\©\©\©\©\©\©\ On Thursday, July 23, 2020 6:20 PM, Andrew P. <andrewemt@...> wrote:
Is it the complete planet data, or just the local area? Oceans don't get processed properly unless the entire planet is processed to extract the ocean boundaries (a relatively new feature in YAAC) and both the ocean shapefile and the PBF are present for processing. |