Page 1 of 1

GUI Error - DTC executable and firmware in current directory or path

Posted: Sat Feb 09, 2019 9:39 pm
by tazmusica
Hello,

I am attempting to use the GUI, but I get the following error:

Error: DTC executable and firmware in current directory or path.

As a result, I can't do anything with any of the drives I have. I am able to successfully use command-line as described in the setup information that came with the KryoFlux board.

What is this error and how to I fix it? Thank you!

Re: GUI Error - DTC executable and firmware in current directory or path

Posted: Mon Feb 11, 2019 1:38 pm
by mr.vince
What do the logs say?

Re: GUI Error - DTC executable and firmware in current directory or path

Posted: Mon Feb 11, 2019 4:34 pm
by tazmusica
I looked for a log file, but could not find one. Do you know where it is stored?

Re: GUI Error - DTC executable and firmware in current directory or path

Posted: Mon Feb 11, 2019 7:37 pm
by karadoc
Is the DTC executable in the same directory as the kryoflux-ui.jar?

Could you post the output of the following command, when in the same folder as the KryoFlux jar file:

java -jar kryoflux-ui.jar

Thanks

Re: GUI Error - DTC executable and firmware in current directory or path

Posted: Mon Feb 11, 2019 10:10 pm
by tazmusica
Hi,

Yes, the DTC executable is in the same directory as the kryoflux-ui.jar.

Here is the output of java -jar kryoflux-ui.jar:

C:\kryoflux\dtc>java -jar kryoflux-ui.jar
Java Version: 1.8.0_201
Feb 11, 2019 12:34:38 PM java.util.prefs.WindowsPreferences <init>
WARNING: Could not open/create prefs root node Software\JavaSoft\Prefs at root 0x80000002. Windows RegCreateKeyEx(...) returned error code 5.
Command: DTC.exe -h
HostStartedEvent
VersionEvent(v3.00_Win32,1)
UnknownEvent(-pg<type>: plot: graph type (default 0))
UnknownEvent(0=no graphs, 1=sample, 2=consistency)
UnknownEvent(-pf<mode>: plot: flip mode (default 0))
UnknownEvent(0=off, 1=side 1, 2=both sides)
UnknownEvent(-pw<size>: plot: graph width (default 800))
UnknownEvent(-ph<size>: plot: graph height (default 600))
UnknownEvent(-px<fval>: plot: graph x origin (default 0.0))
UnknownEvent(-py<fval>: plot: graph y origin (default 0.0))
UnknownEvent(-pd<fval>: plot: graph domain (default 0.2))
UnknownEvent(-pr<fval>: plot: graph range (default 0.000020))
ImageDescriptorsEvent(
ImageDescriptor(0,KryoFlux stream files, preservation,,true)
ImageDescriptor(0a,KryoFlux stream files, format guided,,false)
ImageDescriptor(2,CT Raw image,84 tracks, DS, DD, 300, MFM,false)
ImageDescriptor(3,FM sector image,40/80+ tracks, SS/DS, SD/DD, 300, FM,false)
ImageDescriptor(3a,FM XFD, Atari 8-bit,,false)
ImageDescriptor(4,MFM sector image,40/80+ tracks, SS/DS, DD/HD, 300, MFM,false)
ImageDescriptor(4a,MFM XFD, Atari 8-bit,,false)
ImageDescriptor(5,AmigaDOS sector image,80+ tracks, DS, DD/HD, 300, MFM,false)
ImageDescriptor(6,CBM DOS sector image,35+ tracks, SS, DD, 300, GCR,false)
ImageDescriptor(6a,CBM DOS sector image,with error map,false)
ImageDescriptor(7,Apple DOS 3.2 sector image,35+ tracks, SS, DD, 300, GCR,false)
ImageDescriptor(8,Apple DOS 3.3+ sector image,35+ tracks, SS, DD, 300, GCR,false)
ImageDescriptor(8a,DSK, DOS 3.3 interleave,,false)
ImageDescriptor(9,Apple DOS 400K/800K sector image,80+ tracks, SS/DS, DD, CLV, GCR,false)
ImageDescriptor(10,Emu sector image,35+ tracks, SS, DD, 300, FM,false)
ImageDescriptor(11,Emu II sector image,80+ tracks, DS, DD, 300, FM,false)
ImageDescriptor(12,Amiga DiskSpare sector image,80+ tracks, DS, DD/HD, 300, MFM,false)
ImageDescriptor(13,DEC RX01 sector image,77+ tracks, SS, SD, 360, FM,false)
ImageDescriptor(14,DEC RX02 sector image,77+ tracks, SS, SD/DD, 360, FM/DMMFM,false)
ImageDescriptor(15,CBM MicroProse sector image,35+ tracks, SS, DD, 300, GCR,false)
ImageDescriptor(16,CBM RapidLok sector image,35+ tracks, SS, DD, 300, GCR,false)
ImageDescriptor(17,CBM Datasoft sector image,35+ tracks, SS, DD, 300, GCR,false)
ImageDescriptor(18,CBM Vorpal sector image,35+ tracks, SS, DD, 300, GCR,false)
ImageDescriptor(19,CBM V-MAX! sector image,35+ tracks, SS, DD, 300, GCR,false)
ImageDescriptor(20,CBM Teque sector image,35+ tracks, SS, DD, 300, GCR,false)
ImageDescriptor(21,CBM TDP sector image,35+ tracks, SS, DD, 300, GCR,false)
ImageDescriptor(22,CBM GCR image,SS, DD, 300, GCR,false)
ImageDescriptor(22a,CBM GCR image,with mastering info, SS, DD, 300, GCR,false)
ImageDescriptor(23,CBM Big Five sector image,35+ tracks, SS, DD, 300, GCR,false)
ImageDescriptor(24,CBM DOS extended sector image,35+ tracks, SS, DD, 300, GCR,false)
ImageDescriptor(25,CBM OziSoft sector image,35+ tracks, SS, DD, 300, GCR,false)
)
HostFinishedEvent(true)
Unsupported: UnknownEvent(-pg<type>: plot: graph type (default 0))
Unsupported: UnknownEvent(0=no graphs, 1=sample, 2=consistency)
Unsupported: UnknownEvent(-pf<mode>: plot: flip mode (default 0))
Unsupported: UnknownEvent(0=off, 1=side 1, 2=both sides)
Unsupported: UnknownEvent(-pw<size>: plot: graph width (default 800))
Unsupported: UnknownEvent(-ph<size>: plot: graph height (default 600))
Unsupported: UnknownEvent(-px<fval>: plot: graph x origin (default 0.0))
Unsupported: UnknownEvent(-py<fval>: plot: graph y origin (default 0.0))
Unsupported: UnknownEvent(-pd<fval>: plot: graph domain (default 0.2))
Unsupported: UnknownEvent(-pr<fval>: plot: graph range (default 0.000020))

Re: GUI Error - DTC executable and firmware in current directory or path

Posted: Tue Feb 12, 2019 4:29 pm
by brightcaster
Just run the program once as an administrator. Could be a java bug which is about 10 years old now but still apearing from time to time!

https://stackoverflow.com/questions/164 ... -root-node

David

Re: GUI Error - DTC executable and firmware in current directory or path

Posted: Tue Feb 12, 2019 9:49 pm
by karadoc
Seems like an odd one. The log seems to suggest it's seeing DTC fine.

Another thing you could look at is in the configuration, you can set the party to DTC.