Keyboard Shortcuts
Likes
- Yaac-Users
- Messages
Search
Re: OSX Sequoia
开云体育
Yes, macOS Safari has an “Open Safe Files after downloading” option on the Settings->General tab. ?By default it’s checked, and IMHO that’s a bad idea. Carl. |
Re: KPC-3+ USB losing the port
Hi Dave, I think you have identified the problem. I use lsusb all the time to see whats what. Ill give that a go as i am sure it is not an FTDI chip, if i am remembering correctly. Thank yo again.
On Tuesday, November 26, 2024 at 01:57:35 AM PST, Dave_G0WBX via groups.io <g8kbvdave@...> wrote:
Hi again Paul. the dmesg output, as well as that from? "$ lsusb"? will identify the maker of the USB chip used by the KPC-3+ (I'm guessing, but adding a common USB/Serial bridge chip to an existing product design, is a common easy(ish) way to add such functionality, but sadly such things are not all equal in their capabilities.? In particular, to my knowledge so far, only FTDI provide a unique serial number, that is "Oh So Useful" in UDEV rules, to differentiate between similar products that use the same bridge chip!) 73. Dave G8KBV.
|
Re: Import Raw OSM file not working in build#204
开云体育A followup to my previous reply:
I found that the upgraded commons-compress library slipped in a new unmentioned dependency on the commons-io library that YAAC wasn't using yet, hence the ClassNotFoundException you were receiving. Very easy for me to replicate. The fix was
easy (add the commons-io library to the YAAC distribution), but I'm running a full import of the osm.bz2 file to look for and fix any other accrued issues (found some excessive logging that was impacting performance significantly). This will be fixed in the
next build of YAAC.
Andrew, KA2DDO
author of YAAC
From: [email protected] <[email protected]> on behalf of Andrew P. via groups.io <andrewemt@...>
Sent: Monday, November 25, 2024 2:10:35 PM To: [email protected] <[email protected]> Subject: Re: [yaac-users] Import Raw OSM file not working in build#204 Greetings.
Regarding your import issues, a?couple of things here:
1. YAAC ignores changeset information, as all it is is documentation of the changes made to the OSM dataset (who/when/why), not the actual changes themselves. So, importing it does nothing. YAAC can't handle deltas
of the OSM data; it can only handle snapshots of the state of the data, where unchanged old data is present along with the new modifications.
2. The error you are getting implies that the BZ2 decompressor is failing. I'm not sure why that would be happening, but I don't test the XML importer that often (I usually use the PBF file format as that is significantly
faster). I did apply a maintenance upgrade to the Apache compress library in YAAC as of build#202. Were you able to import planet-241118.osm.pbf? And were you able to do it before with an older build of YAAC (pre-202)? And what version of the Java runtime
were you using? I recall some versions that used weak references to the jar file indexes, such that it could lose track of a class in the jar file and not go back to look it up again. And the heavy heap thrashing caused by the XML parser could cause "stale"
classes to be removed when they weren't actiually stale.
Let me know what you find out.
Andrew, KA2DDO
author of YAAC
From: [email protected] <[email protected]> on behalf of Mark KE8NHT Ohio via groups.io <ke8nht@...>
Sent: Monday, November 25, 2024 1:30:52 PM For the last two weekly changeset files, I have receive a error when trying to import the update. The most recent file I attempted to import is changesets-241118.osm.bz2 - I also attempted both the changeset and full database for 241111.
The debug log shows the following:
OsmXmlSegmenter: minHeapRequired=991531972 free=8031321136
Unable to open OSM Map data file: java.lang.NoClassDefFoundError: org/apache/commons/io/input/CloseShieldInputStream ? ? at org.ka2ddo.yaac.osm.OsmXmlSegmenter.parse(OsmXmlSegmenter.java:241) ? ? at org.ka2ddo.yaac.core.provider.CoreProvider$FileOSMImport$OSMParseThread.run(CoreProvider.java:1377) ? ? at java.base/java.lang.Thread.run(Thread.java:840) Caused by: java.lang.ClassNotFoundException: org.apache.commons.io.input.CloseShieldInputStream ? ? at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445) ? ? at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:592) ? ? at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525) ? ? ... 3 more Was there a change in the file format or something else that is causing this error?
|
Re: OSX Sequoia
toggle quoted message
Show quoted text
|
Re: KPC-3+ USB losing the port
开云体育Hi again Paul. the dmesg output, as well as that from? "$ lsusb"? will identify the maker of the USB chip used by the KPC-3+ (I'm guessing, but adding a common USB/Serial bridge chip to an existing product design, is a common easy(ish) way to add such functionality, but sadly such things are not all equal in their capabilities.? In particular, to my knowledge so far, only FTDI provide a unique serial number, that is "Oh So Useful" in UDEV rules, to differentiate between similar products that use the same bridge chip!) 73. Dave G8KBV.
|
Re: KPC-3+ USB losing the port
Thanks Dave. All of my lap tops keep the USB ports powered ... i know i could shut them down when the computer is off, but i keep GPS
dongles connected even when they are off.? I'll try the dmesg -WH and see what i find.
It is strange that the KPC-3 with the FTDI serial to USB dongle has no issues, but the -3+ USB does.
?
Paul N6MYA |
Re: Import Raw OSM file not working in build#204
开云体育Greetings.
Regarding your import issues, a?couple of things here:
1. YAAC ignores changeset information, as all it is is documentation of the changes made to the OSM dataset (who/when/why), not the actual changes themselves. So, importing it does nothing. YAAC can't handle deltas
of the OSM data; it can only handle snapshots of the state of the data, where unchanged old data is present along with the new modifications.
2. The error you are getting implies that the BZ2 decompressor is failing. I'm not sure why that would be happening, but I don't test the XML importer that often (I usually use the PBF file format as that is significantly
faster). I did apply a maintenance upgrade to the Apache compress library in YAAC as of build#202. Were you able to import planet-241118.osm.pbf? And were you able to do it before with an older build of YAAC (pre-202)? And what version of the Java runtime
were you using? I recall some versions that used weak references to the jar file indexes, such that it could lose track of a class in the jar file and not go back to look it up again. And the heavy heap thrashing caused by the XML parser could cause "stale"
classes to be removed when they weren't actiually stale.
Let me know what you find out.
Andrew, KA2DDO
author of YAAC
From: [email protected] <[email protected]> on behalf of Mark KE8NHT Ohio via groups.io <ke8nht@...>
Sent: Monday, November 25, 2024 1:30:52 PM For the last two weekly changeset files, I have receive a error when trying to import the update. The most recent file I attempted to import is changesets-241118.osm.bz2 - I also attempted both the changeset and full database for 241111.
The debug log shows the following:
OsmXmlSegmenter: minHeapRequired=991531972 free=8031321136
Unable to open OSM Map data file: java.lang.NoClassDefFoundError: org/apache/commons/io/input/CloseShieldInputStream ? ? at org.ka2ddo.yaac.osm.OsmXmlSegmenter.parse(OsmXmlSegmenter.java:241) ? ? at org.ka2ddo.yaac.core.provider.CoreProvider$FileOSMImport$OSMParseThread.run(CoreProvider.java:1377) ? ? at java.base/java.lang.Thread.run(Thread.java:840) Caused by: java.lang.ClassNotFoundException: org.apache.commons.io.input.CloseShieldInputStream ? ? at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445) ? ? at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:592) ? ? at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525) ? ? ... 3 more Was there a change in the file format or something else that is causing this error?
|
Import Raw OSM file not working in build#204
For the last two weekly changeset files, I have receive a error when trying to import the update. The most recent file I attempted to import is changesets-241118.osm.bz2 - I also attempted both the changeset and full database for 241111.
The debug log shows the following:
OsmXmlSegmenter: minHeapRequired=991531972 free=8031321136
Unable to open OSM Map data file: java.lang.NoClassDefFoundError: org/apache/commons/io/input/CloseShieldInputStream ? ? at org.ka2ddo.yaac.osm.OsmXmlSegmenter.parse(OsmXmlSegmenter.java:241) ? ? at org.ka2ddo.yaac.core.provider.CoreProvider$FileOSMImport$OSMParseThread.run(CoreProvider.java:1377) ? ? at java.base/java.lang.Thread.run(Thread.java:840) Caused by: java.lang.ClassNotFoundException: org.apache.commons.io.input.CloseShieldInputStream ? ? at java.base/java.net.URLClassLoader.findClass(URLClassLoader.java:445) ? ? at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:592) ? ? at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525) ? ? ... 3 more Was there a change in the file format or something else that is causing this error? |
Re: KPC-3+ USB losing the port
开云体育Hi again. Ubuntu AFIK has some power managing features, but they may be dependant on the platform hardware capabilities too. Personally I can't get on with the Ubuntu UI, so I run LMDE (Mint without the Ubuntu bits.) Running on an older Dell XPS laptop, the Cinnamon desktop power
management features work well, to the point of annoyance if using
for example a SDR dongle! On a HP small format desktop, the CPU power management seems to
work, but it leaves the USB ports powered all the time, but that
may also be a "feature" of the PC hardware and/or BIOS of course. I have found that running? $ dmesg -WH ? in a terminal session, and then trawling through the list after something odd happens, can give some clues, but it can be serious eye aching stuff! Or pipe that to a file, and grep it later, if one knows what to
look for.? Pulling the USB lead and seeing what happens to find a
suitable clue to search for might work. As you are "afloat", there could still be some RF about, from other vessels nearby at times?? Parhaps a TinySA running in peak hold mode might help too?? (And that's another distracting Rabbit Hole to drop into if you're not careful!) 73.? Hope the wet stuff stays outside the hull! Dave G8KBV.
|
Re: KPC-3+ USB losing the port
I'm sorry, guess it would have been better if i had given more info about the system.
?
OS is Ubuntu on several different laptop computers ranging from Ryzen 5, 7, & 9 as well as Intel I-7,
does it with all of them.
?
The radio is an ICOM T2H with an external antenna that is not set up for transmitting, no cabling to the
microphone or to the PTT ... RXD and ground only.
?
I had thought about copying the settings in the tnc's, however they are different ... the +3 USB is the latest version
and the plain KPC-3 is, i think, version 6.0.? Also, while i have various other VHF Marine radios as well as HF Amateur
radios aboard, none of them are operating while i am trying to get this system up and running.
?
Please note that this setup is used on my boat as an aid to navigation as an adjunct to OpenCPN and will never be put into transmit.
?
It may be that i will just need to deep 6 the +3 USB and find an older unit like the plain -3 i already have.
?
Thank you for your suggestions and help. |
Re: KPC-3+ USB losing the port
On Sun, Nov 24, 2024 at 8:13?AM Dave_G0WBX via <g8kbvdave=[email protected]> wrote:
That was my first thought as well. I recently had a similar problem with an older Kantronics TNC that is not USB, BUT I was using a Keyspan USB to serial adapter with it. The Keyspan uses off the shelf USB cables, so I found one in the stash of stuff that had a good sized toroid on it - the one I was using didn't have one at all. Problem solved - did not happen after swapping out the cable. In my case the OS was Linux, and the USB device would just disappear usually within a few hours. 73, Lee K5DAT
|
Re: KPC-3+ USB losing the port
开云体育RF in the shack? Often a cause of strange intermittent USB disconnects... What operating system are you using on the PC? Can you see any evidence that the USB/serial port changed after it seems to have disconnected? (Windows Device Manager)? COM1 changed to COM2 Or (Linux)??? Have a terminal session running somewhere visible (you can shrink the font, so any such session doesnt "hog" the display) with "dmesg -wH" running, and see what happens at the bottom of the list.? That will show any "re-enumeration" activity (or other weirdness) in real time. It may not be the PC end of the USB cable that has the issue if
the KPC-3+ has USB/Serial built in.? They would not be the first
company to "update" an existing product by adding USB, and
introducing a new RF Susceptibility issue. 73 Dave G8KBV.
|
Re: KPC-3+ USB losing the port
Paul ,
?
Just a guess and you didnt mention what operating system you run with it. I wonder if the USB ports are being shut down as a part of the power plan.
You may find this under Power Options > Advanced power settings in Windows 10 .
Here is a web page with some info
?
Tony VKAH |
Re: KPC-3+ USB losing the port
Paul,
Download the parameters from both and save them. Reset the 3+ then load in the parameters from the 3.
What happens?
___
Sent from my two-way wrist watch
73 de W3AB/George
On Nov 23, 2024, at 17:11, Paul Chambers <veast1@...> wrote:
|
KPC-3+ USB losing the port
Have two KPC-3(+ USB) units. One is the KPC-3 with the DB-25. The other is the KPC-3+ USB.
The -3 works fine and has no issues. The -3+ USB keeps losing the USB connection to the computer on a regular basis. It will run
for perhaps 45 minutes to an hour, then nothing.
?
Both units i set up the same way .. set both units to KISS mode then run the software with KISS-only enabled.
?
I've searched and think i am missing a step/command somewhere. Anybody has this setup working, please let me know how you did it.
?
I appreciate it and thank-you.
?
Paul
N6MYA |
Re: OSX Sequoia
开云体育Belay my last. I reinstalled and it worked. Thanks to all those that answered.
|
Re: OSX Sequoia
开云体育I tried it the right way and the message I get is "java --versionexec failed: Error Domain=NSPOSIXErrorDomain Code=86 "Bad CPU type in executable" UserInfo={NSLocalizedFailureReason=Failed to execute /Library/Java/JavaVirtualMachines/liberica-jdk-21.jdk/Contents/Home/bin/java: Bad CPU type in executable} thomashole@Basingstoke / % java -version” I’m trying this on an m4 Mac mini.
|
Re: OSX Sequoia
开云体育That's because you missed the space between the "java" command and the "-version" command-line option.
Alternatively, the install failed or you need to open a fresh Terminal window (post-installation of the JRE) to pick up the new executable files.
Andrew, KA2DDO
author of YAAC
Powered by Cricket Wireless Get From: [email protected] <[email protected]> on behalf of T W via groups.io <kf6kyd@...>
Sent: Wednesday, November 20, 2024 9:42:27 AM To: [email protected] <[email protected]> Subject: Re: [yaac-users] OSX Sequoia ?
Hi Carl, I downloaded the latest dmg, installed but when I tried to verify the install I get this "zsh: command not found: java-version”
|
Re: OSX Sequoia
开云体育Hi Carl, I downloaded the latest dmg, installed but when I tried to verify the install I get this "zsh: command not found: java-version”
|
Re: OSX Sequoia
开云体育Thank you so much Carl. This takes all the confusion out of the equation. I’ll be up and running this afternoon.
|