SDR Trunk will not start

482 views
Skip to first unread message

Aaron Spears

unread,
Jul 29, 2021, 11:21:11 PM7/29/21
to sdrtrunk
Hi all.

I'm new here. I'm blind and trying to figure out if sdr trunk will be usable with my screen readers, since I'm unable to get dsd to do anything so I can use uniTrunker. I want to try to get p25 phase 2 trunking system in the local area. I don't care what I use as long as it's somewhat usable. When I unzip sdr trunk, I have 5 items one of which is a bin folder. I open the bin folder and run sdr-trunk.bat as administrator. The console window comes up and I have many errors which scroll right off the top of the screen.

I think I managed to copy the entire text of the console output. I've tried this on two machines, one running Windows 10 21h1 and one running Windows 11 dev build 22074 or some such. Both machines are 64 bit, I tried running sdr trunk from c:/sdr/sdr trunk, and from c:/users/my username/sdr trunk, same result for both. My receiver is an rtlsdr blog v3, and it is functioning with hd sdr and sdr#.

I couldn't really find any tutorials that are in text so I tried listening to videos, and it sounds like all I do is just unzip this and run the batch file. Am I missing a step? I don't know if I've installed what ever intermediary driver would be needed for sdr trunk to work with rtlsdr. I coppied the same dll file I used to get hd sdr to work by placing it in the hd sdr folder under program files to the sdr trunk/bin folder and that didn't seem to make a difference.

Below is my console output.
23:12:55.057 ERROR i.g.d.p.SystemProperties - SystemProperties - exception while creating app folder [settings]  [11MB/128MB 9%]
java.nio.file.NoSuchFileException: C:\Users\Aaron T. Spears\SDRTrunk\settings
        at java.base/sun.nio.fs.WindowsException.translateToIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsException.rethrowAsIOException(Unknown Source)
        at java.base/sun.nio.fs.WindowsFileSystemProvider.createDirectory(Unknown Source)
        at java.base/java.nio.file.Files.createDirectory(Unknown Source)
        at io.github.dsheirer.properties.SystemProperties.getApplicationFolder(SystemProperties.java:147)
        at io.github.dsheirer.icon.IconModel.getIconFolderPath(IconModel.java:260)
        at io.github.dsheirer.icon.IconModel.getIconFilePath(IconModel.java:273)
        at io.github.dsheirer.icon.IconModel.load(IconModel.java:373)
        at io.github.dsheirer.icon.IconModel.<init>(IconModel.java:67)
        at io.github.dsheirer.gui.SDRTrunk.<init>(SDRTrunk.java:111)
        at io.github.dsheirer.gui.SDRTrunk.main(SDRTrunk.java:624)
23:12:55.066 INFO  i.g.d.icon.IconModel - loading icons file [C:\Users\Aaron T. Spears\SDRTrunk\settings\icons.xml]  [11MB/128MB 9%]
23:12:55.068 INFO  i.g.d.icon.IconModel - Icons file not found at [C:\Users\Aaron T. Spears\SDRTrunk\settings\icons.xml]  [11MB/128MB 9%]
Exception in thread "main" java.awt.AWTError: Assistive Technology not found: com.sun.java.accessibility.AccessBridge
        at java.desktop/java.awt.Toolkit.newAWTError(Unknown Source)
        at java.desktop/java.awt.Toolkit.fallbackToLoadClassForAT(Unknown Source)
        at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.accept(Unknown Source)
        at java.base/java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)
        at java.base/java.util.HashMap$KeySpliterator.forEachRemaining(Unknown Source)
        at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)
        at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
        at java.base/java.util.stream.ForEachOps$ForEachOp.evaluateSequential(Unknown Source)
        at java.base/java.util.stream.ForEachOps$ForEachOp$OfRef.evaluateSequential(Unknown Source)
        at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)
        at java.base/java.util.stream.ReferencePipeline.forEach(Unknown Source)
        at java.desktop/java.awt.Toolkit.loadAssistiveTechnologies(Unknown Source)
        at java.desktop/java.awt.Toolkit.getDefaultToolkit(Unknown Source)
        at java.desktop/java.awt.Window.getToolkit(Unknown Source)
        at java.desktop/java.awt.Window.init(Unknown Source)
        at java.desktop/java.awt.Window.<init>(Unknown Source)
        at java.desktop/java.awt.Frame.<init>(Unknown Source)
        at java.desktop/java.awt.Frame.<init>(Unknown Source)
        at java.desktop/javax.swing.JFrame.<init>(Unknown Source)
        at io.github.dsheirer.gui.SDRTrunk.<init>(SDRTrunk.java:116)
        at io.github.dsheirer.gui.SDRTrunk.main(SDRTrunk.java:624)
Caused by: java.lang.ClassNotFoundException: com.sun.java.accessibility.AccessBridge
        at java.base/jdk.internal.loader.BuiltinClassLoader.loadClass(Unknown Source)
        at java.base/jdk.internal.loader.ClassLoaders$AppClassLoader.loadClass(Unknown Source)
        at java.base/java.lang.ClassLoader.loadClass(Unknown Source)
        at java.base/java.lang.Class.forName0(Native Method)
        at java.base/java.lang.Class.forName(Unknown Source)
        ... 20 more
23:12:57.061 ERROR i.g.d.p.SystemProperties - Error saving system properties file [C:\Users\Aaron T. Spears\SDRTrunk\SDRTrunk.properties]  [4MB/128MB 3%]
java.io.FileNotFoundException: C:\Users\Aaron T. Spears\SDRTrunk\SDRTrunk.properties (The system cannot find the path specified)
        at java.base/java.io.FileOutputStream.open0(Native Method)
        at java.base/java.io.FileOutputStream.open(Unknown Source)
        at java.base/java.io.FileOutputStream.<init>(Unknown Source)
        at java.base/java.io.FileOutputStream.<init>(Unknown Source)
        at io.github.dsheirer.properties.SystemProperties$SavePropertiesTask.run(SystemProperties.java:363)
        at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
        at java.base/java.util.concurrent.FutureTask.run(Unknown Source)
        at java.base/java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source)
        at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
        at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
        at java.base/java.lang.Thread.run(Unknown Source)

rlm...@gmail.com

unread,
Jul 30, 2021, 9:28:54 AM7/30/21
to sdrtrunk
Aaron,
I'm no expert, and this is only a guess, but those errors make it appear like you may have installed an older version of the application that requires java to be installed. That used to be the case a while back but not with current versions.The latest build is 0.5.0 ALPHA 6.  Is that what you have ?

Ron

Aaron Spears

unread,
Jul 30, 2021, 12:29:28 PM7/30/21
to sdrtrunk
It appears I have the latest version, the exact one you named.

When I try to run it and get these errors, it doesn't close out. I have to press ctrl+c to stop it so I can type exit e.g. it doesn't return me to the prompt, like it's still actually running but no other windows come up.

Chance Lindsey

unread,
Jul 30, 2021, 1:45:36 PM7/30/21
to Aaron Spears, sdrtrunk
Aaron,

I think you are doing everything right and that this may be a bug... Typically, Windows User names do not have spaces.  I am thinking the path to your user profile folder is not being properly escaped in the Java code.

I was hoping for an easy workaround, such as resetting the USERPROFILE environment variable from the command prompt, but to no avail.

Renaming your user folder would likely be a fix, but may not be very practical... If you want to give it a go, might check out articles like https://superuser.com/questions/890812/how-to-rename-the-user-folder-in-windows-10

Otherwise it has been a while since the program author has made updates and unknown when he might again. I am pretty sure I could fork his code and make a fix that would get you up and running.  I'll give it a go over the weekend.

Chance


--
You received this message because you are subscribed to the Google Groups "sdrtrunk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to sdrtrunk+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/sdrtrunk/9d3f16bb-10b2-4fe2-bb13-9252a24d9da7n%40googlegroups.com.

Chance Lindsey

unread,
Jul 30, 2021, 1:50:48 PM7/30/21
to Aaron Spears, sdrtrunk
Aaron, are you using Jaws?  Maybe something is forcing a dependency on a Java dll typically not included in the release. I will check out that angle as well.

Chance Lindsey

unread,
Jul 30, 2021, 2:18:30 PM7/30/21
to Aaron Spears, sdrtrunk
Disregard the User Profile path possibility of a space causing an issue. I created a new user on my computer called Abc D. Efg and although it gave an exception it was still able to start. I am trying to turn on various accessibility options and will try Jaws if they have a trial.

jim...@gmail.com

unread,
Aug 18, 2021, 6:39:17 PM8/18/21
to sdrtrunk
When you listed the path "c:/users/my username/sdr trunk" what does your full  path look like?
Reply all
Reply to author
Forward
0 new messages