Welcome To the Hoffman Amplifiers Forum

September 10, 2025, 04:42:49 pm
guest image
Welcome, Guest. Please login or register.
-User Name
-Password



Hoffman Amps Forum image Author Topic: Error importing xml file  (Read 34581 times)

0 Members and 1 Guest are viewing this topic.

Offline txtune

  • Level 2
  • **
  • Posts: 202
  • Donny, you're out of your element!
Hoffman Amps Forum image
Error importing xml file
« on: November 24, 2020, 05:20:56 pm »
I can import .diy files and click on each item, one at a time, to add them. I was hoping to dump entire collections into the program at once.

When I try importing .xml files via 'Files -> Integration -> Import Building Blocks' OR 'Files -> Integration -> Import Variants' ... I get the same error message. See attached.

The error message is griping about the lack of a no-args constructor, which is some component of java.

What am I doing wrong?

DIYLC version: 4.9.0
OS: Linux Mint 20 (Ulyana)
java -version:
openjdk version "11.0.9.1" 2020-11-04
OpenJDK Runtime Environment (build 11.0.9.1+1-Ubuntu-0ubuntu1.20.04)
OpenJDK 64-Bit Server VM (build 11.0.9.1+1-Ubuntu-0ubuntu1.20.04, mixed mode, sharing)





Offline sluckey

  • Level 5
  • *******
  • Posts: 5075
    • Sluckey Amps
Hoffman Amps Forum image
Re: Error importing xml file
« Reply #1 on: November 24, 2020, 05:34:32 pm »
A schematic, layout, and hi-rez pics are very useful for troubleshooting your amp. Don't wait to be asked. JUST DO IT!

Offline txtune

  • Level 2
  • **
  • Posts: 202
  • Donny, you're out of your element!
Hoffman Amps Forum image
Re: Error importing xml file
« Reply #2 on: November 24, 2020, 05:40:23 pm »
I'm sure you have read this?

     https://el34world.com/Forum/index.php?topic=25183.msg272718#msg272718

I have, but I did not see this issue mentioned.

Offline EL34

  • Administrator
  • Level 5
  • **********
  • Posts: 10414
  • wooot!
    • Hoffman Amplifiers
Hoffman Amps Forum image
Re: Error importing xml file
« Reply #3 on: November 25, 2020, 07:03:33 am »
I can import .diy files and click on each item, one at a time, to add them. I was hoping to dump entire collections into the program at once.


You don't import .diy files, you just open them in DIYLC


Offline txtune

  • Level 2
  • **
  • Posts: 202
  • Donny, you're out of your element!
Hoffman Amps Forum image
Re: Error importing xml file
« Reply #4 on: November 25, 2020, 07:12:27 am »
I can import .diy files and click on each item, one at a time, to add them. I was hoping to dump entire collections into the program at once.


You don't import .diy files, you just open them in DIYLC

I should have phrased it like this: "I can import (using the import command in the file menu) OR open .diy files and add each item one at a time."  My issue is still with the .xml files. Those can NOT be imported as building blocks or variants. Does the .xml file integration feature no longer work? 

Offline EL34

  • Administrator
  • Level 5
  • **********
  • Posts: 10414
  • wooot!
    • Hoffman Amplifiers
Hoffman Amps Forum image
Re: Error importing xml file
« Reply #5 on: November 25, 2020, 07:17:31 am »
post one of the files here and I will test it
You have to zip .xml files in order to attach them to the post here

Try importing the 9 pin Belton building block file I attached

« Last Edit: November 25, 2020, 07:47:35 am by EL34 »

Offline txtune

  • Level 2
  • **
  • Posts: 202
  • Donny, you're out of your element!
Hoffman Amps Forum image
Re: Error importing xml file
« Reply #6 on: November 25, 2020, 08:11:39 am »
Will do first thing when I get back to the house this afternoon. Thanks!

I did sign in to the 'Cloud' service in DIYLC v4.9 ... is that a new feature for sharing? Perhaps building block and variant 'libraries' could be shared there as well. 

Offline EL34

  • Administrator
  • Level 5
  • **********
  • Posts: 10414
  • wooot!
    • Hoffman Amplifiers
Hoffman Amps Forum image
Re: Error importing xml file
« Reply #7 on: November 25, 2020, 08:34:34 am »
Will do first thing when I get back to the house this afternoon. Thanks!

I did sign in to the 'Cloud' service in DIYLC v4.9 ... is that a new feature for sharing? Perhaps building block and variant 'libraries' could be shared there as well.

The cloud is not new
I don't use the cloud, but there may be things there you can use

I have my own DIY library on my web site
Did you go to my library here?


https://el34world.com/charts/DiyLayoutCreatorFiles.htm

Offline txtune

  • Level 2
  • **
  • Posts: 202
  • Donny, you're out of your element!
Hoffman Amps Forum image
Re: Error importing xml file
« Reply #8 on: November 25, 2020, 09:06:29 am »
The cloud is not new
I don't use the cloud, but there may be things there you can use

I had a look around, but did not see any libraries.

I have my own DIY library on my web site
Did you go to my library here?

I did. Perhaps I am going about this all wrong. Let's say I want to add all of the contents from 'Caps-Electrolytic.diy' so that each individual cap in that .diy file is a variant in my library, nested under 'Electrolytic Caps'. Can that be done in one fell swoop? Or do I have to load up 'Caps-Electrolytic.diy'... then click on each item and individually add as a variant in my library?

I suspect the 'no-args constructor' reference is a Linux permission issue and it can probably be resolved (by one of the linux gearheads) fairly easily. I only know enough Linux to communicate with cab drivers and bartenders.  :laugh:

Offline EL34

  • Administrator
  • Level 5
  • **********
  • Posts: 10414
  • wooot!
    • Hoffman Amplifiers
Hoffman Amps Forum image
Re: Error importing xml file
« Reply #9 on: November 25, 2020, 09:23:27 am »
You don't use the cap.diy file to import variants, you use the cap.xml file

Variants and building block files are .xml, not .diy files

cap.diy is a diy file, not an exported variants file
You can open the .diy file and then copy and past the caps to one of your layouts, but you would have to right click on each one to save as a varaiant

They are already in the .xml variants file


Offline EL34

  • Administrator
  • Level 5
  • **********
  • Posts: 10414
  • wooot!
    • Hoffman Amplifiers
Hoffman Amps Forum image
Re: Error importing xml file
« Reply #10 on: November 25, 2020, 09:25:05 am »
I think I already covered this in one of my videos
Did you watch any of the videos here?
https://el34world.com/Forum/index.php?topic=23814.0

Offline txtune

  • Level 2
  • **
  • Posts: 202
  • Donny, you're out of your element!
Hoffman Amps Forum image
Re: Error importing xml file
« Reply #11 on: November 25, 2020, 10:35:03 am »
I think I already covered this in one of my videos
Did you watch any of the videos here?
https://el34world.com/Forum/index.php?topic=23814.0

Yes, I watched the videos on importing xml building block and variant files. It does not work on my computer, I get the error message. Let me try the .xml you sent earlier in the zip and go from there. 


Offline EL34

  • Administrator
  • Level 5
  • **********
  • Posts: 10414
  • wooot!
    • Hoffman Amplifiers
Hoffman Amps Forum image
Re: Error importing xml file
« Reply #12 on: November 25, 2020, 11:15:05 am »
It could be that my files are from way back and many updates have happened since then
I can upload some new files to the library when I get time

Offline txtune

  • Level 2
  • **
  • Posts: 202
  • Donny, you're out of your element!
Hoffman Amps Forum image
Re: Error importing xml file
« Reply #13 on: November 25, 2020, 11:19:04 am »
It could be that my files are from way back and many updates have happened since then
I can upload some new files to the library when I get time

Is the file you attached earlier a recent export? That would tell us a lot if that works and the older ones do not.

Offline EL34

  • Administrator
  • Level 5
  • **********
  • Posts: 10414
  • wooot!
    • Hoffman Amplifiers
Hoffman Amps Forum image
Re: Error importing xml file
« Reply #14 on: November 25, 2020, 11:25:20 am »
It could be that my files are from way back and many updates have happened since then
I can upload some new files to the library when I get time

Is the file you attached earlier a recent export? That would tell us a lot if that works and the older ones do not.


Yes, I just exported that file today

I attached freshly exported Building blocks and Variants in a .zip
These are all my Building Blocks and Varinats

Offline txtune

  • Level 2
  • **
  • Posts: 202
  • Donny, you're out of your element!
Hoffman Amps Forum image
Re: Error importing xml file
« Reply #15 on: November 25, 2020, 06:15:42 pm »
Unfortunately those did not load. I think that points to a Linux. I will try loading up DIYLC on a Windows machine at some point over the holiday and see if that works.

Thanks!

Offline EL34

  • Administrator
  • Level 5
  • **********
  • Posts: 10414
  • wooot!
    • Hoffman Amplifiers
Hoffman Amps Forum image
Re: Error importing xml file
« Reply #16 on: November 26, 2020, 07:28:58 am »
Unfortunately those did not load. I think that points to a Linux. I will try loading up DIYLC on a Windows machine at some point over the holiday and see if that works.

Thanks!

By "load", you did this.... correct?

Unzip the .XML files

File-Integration
Import Building blocks or
Import variants

Offline txtune

  • Level 2
  • **
  • Posts: 202
  • Donny, you're out of your element!
Hoffman Amps Forum image
Re: Error importing xml file
« Reply #17 on: November 26, 2020, 07:06:46 pm »

By "load", you did this.... correct?

Unzip the .XML files

File-Integration
Import Building blocks or
Import variants

Yes, that is exactly what I did.

Offline EL34

  • Administrator
  • Level 5
  • **********
  • Posts: 10414
  • wooot!
    • Hoffman Amplifiers
Hoffman Amps Forum image
Re: Error importing xml file
« Reply #18 on: November 27, 2020, 06:33:47 am »

Offline brewdude

  • Level 2
  • **
  • Posts: 191
Hoffman Amps Forum image
Re: Error importing xml file
« Reply #19 on: November 30, 2020, 01:01:26 pm »
I am also unable to import the xml files on my MacBook.
I get the "does not have no-args constructor".
What does this mean?


BTW, when I try to open the files I get strings of code, not images--is this expected?

« Last Edit: November 30, 2020, 01:07:35 pm by brewdude »

Offline txtune

  • Level 2
  • **
  • Posts: 202
  • Donny, you're out of your element!
Hoffman Amps Forum image
Re: Error importing xml file
« Reply #20 on: November 30, 2020, 01:10:26 pm »
BTW, when I try to open the files I get strings of code, not images--is this expected?

Yes, that is normal.

Offline EL34

  • Administrator
  • Level 5
  • **********
  • Posts: 10414
  • wooot!
    • Hoffman Amplifiers
Hoffman Amps Forum image
Re: Error importing xml file
« Reply #21 on: November 30, 2020, 01:33:10 pm »
I am also unable to import the xml files on my MacBook.
I get the "does not have no-args constructor".
What does this mean?


BTW, when I try to open the files I get strings of code, not images--is this expected?


I have no idea about MAC's
The link I posted above is where you can get help for that stuff

You don't open the .xml files
Did you read the info up above on what to do with them?


Offline brewdude

  • Level 2
  • **
  • Posts: 191
Hoffman Amps Forum image
Re: Error importing xml file
« Reply #22 on: November 30, 2020, 01:54:43 pm »
Yes, I read the above posts.
yes, I followed the instructions to integrations/import/variants.
I have started a thread at GitHub to seek help.

Offline txtune

  • Level 2
  • **
  • Posts: 202
  • Donny, you're out of your element!
Hoffman Amps Forum image
Re: Error importing xml file
« Reply #23 on: November 30, 2020, 02:31:28 pm »
I have started a thread at GitHub to seek help.

Do you mind posting back (here) if you resolve the 'no-args constructor' issue? thx

Offline brewdude

  • Level 2
  • **
  • Posts: 191
Hoffman Amps Forum image
Re: Error importing xml file
« Reply #24 on: December 01, 2020, 05:26:19 pm »
Sure, I will definitely post anything I find out... I’m not holding my breath. 


I spent most of yesterday learning how to manipulate what I could get to work.  I created a handful of component variants to design/draw a layout to order a board from Hoffman.

Offline txtune

  • Level 2
  • **
  • Posts: 202
  • Donny, you're out of your element!
Hoffman Amps Forum image
Re: Error importing xml file
« Reply #25 on: December 01, 2020, 05:55:39 pm »
Sure, I will definitely post anything I find out... I’m not holding my breath. 


I spent most of yesterday learning how to manipulate what I could get to work.  I created a handful of component variants to design/draw a layout to order a board from Hoffman.

Would you mind exporting your variants and sharing them? I am curious if I can import them...

Offline txtune

  • Level 2
  • **
  • Posts: 202
  • Donny, you're out of your element!
Hoffman Amps Forum image
Re: Error importing xml file
« Reply #26 on: December 01, 2020, 06:38:21 pm »
FWIW - The .deb file for DIYLC 4.10.0 is now available. I just downloaded and installed it, hoping 'no-args' was a bug that got fixed. No joy, same error message as before.

Offline brewdude

  • Level 2
  • **
  • Posts: 191
Hoffman Amps Forum image
Re: Error importing xml file
« Reply #27 on: December 03, 2020, 02:34:27 pm »
I would be happy to share Although, it may take me a while to accomplish it...
The mag lock charging cord to my 2010 MacBook Pro just shit the bed.  I have an after market replacement coming—should arrive by the weekend.


And, it will probably take this old dog some effort to learn the new trick. 




Offline EL34

  • Administrator
  • Level 5
  • **********
  • Posts: 10414
  • wooot!
    • Hoffman Amplifiers
Hoffman Amps Forum image
Re: Error importing xml file
« Reply #28 on: December 03, 2020, 03:07:12 pm »
I would be happy to share Although, it may take me a while to accomplish it...
The mag lock charging cord to my 2010 MacBook Pro just shit the bed.  I have an after market replacement coming—should arrive by the weekend.


And, it will probably take this old dog some effort to learn the new trick.

look at reply #16
It is not difficult to export or import
Also, I have a video on how to do that

Offline Albi

  • Level 1
  • *
  • Posts: 2
  • I love Tube amps
Hoffman Amps Forum image
Re: Error importing xml file
« Reply #29 on: December 07, 2020, 10:08:30 pm »
Hey - was this resolved? I'm having the same "no-args" issue when trying to import the xml variants on my 2013 mac book pro.

Offline txtune

  • Level 2
  • **
  • Posts: 202
  • Donny, you're out of your element!
Hoffman Amps Forum image
Re: Error importing xml file
« Reply #30 on: December 08, 2020, 05:58:52 am »
Hey - was this resolved? I'm having the same "no-args" issue when trying to import the xml variants on my 2013 mac book pro.

Not that I am aware of...

Offline EL34

  • Administrator
  • Level 5
  • **********
  • Posts: 10414
  • wooot!
    • Hoffman Amplifiers
Hoffman Amps Forum image
Re: Error importing xml file
« Reply #31 on: December 08, 2020, 06:23:03 am »
You guys should chime in here so that your issue will be seen by Bansika, the author of DIYLC
https://github.com/bancika/diy-layout-creator/issues/599


Offline brewdude

  • Level 2
  • **
  • Posts: 191
Hoffman Amps Forum image
Re: Error importing xml file
« Reply #32 on: December 08, 2020, 12:03:12 pm »
I’m not waiting...
I’ve been drawing my own variants by editing the ones that are initially there.


I will try to load some of the variants I’ve drawn tonight.
« Last Edit: December 08, 2020, 12:08:30 pm by brewdude »

Offline EL34

  • Administrator
  • Level 5
  • **********
  • Posts: 10414
  • wooot!
    • Hoffman Amplifiers
Hoffman Amps Forum image
Re: Error importing xml file
« Reply #33 on: December 08, 2020, 12:14:56 pm »
I’m not waiting...
I’ve been drawing my own variants by editing the ones that are initially there.


I will try to load some of the variants I’ve drawn tonight.


I have a bunch of variants and building blocks in my library as .diy files
You can open the .diy files and save the individual components as variants and building blocks

Offline Albi

  • Level 1
  • *
  • Posts: 2
  • I love Tube amps
Hoffman Amps Forum image
Re: Error importing xml file
« Reply #34 on: December 12, 2020, 09:12:43 pm »
I'
I’m not waiting...
I’ve been drawing my own variants by editing the ones that are initially there.


I will try to load some of the variants I’ve drawn tonight.

Im doing the same thing brewdude - modifying and saving component variants as I go along. Doug it's probably a good idea to talk to developers alright but I find this software is very very buggy and not intuitive at all on a mac system so I am guessing the developers are all PC based - while this is frustrating and time consuming I am very grateful that there is an option for us mac users at all.

Offline brewdude

  • Level 2
  • **
  • Posts: 191
Hoffman Amps Forum image
Re: Error importing xml file
« Reply #35 on: December 13, 2020, 11:18:03 am »
Ditto

 


Choose a link from the
Hoffman Amplifiers parts catalog
Mobile Device
Catalog Link
Yard Sale
Discontinued
Misc. Hardware
What's New Board Building
 Parts
Amp trim
Handles
Lamps
Diodes
Hoffman Turret
 Boards
Channel
Switching
Resistors Fender Eyelet
 Boards
Screws/Nuts
Washers
Jacks/Plugs
Connectors
Misc Eyelet
Boards
Tools
Capacitors Custom Boards
Tubes
Valves
Pots
Knobs
Fuses/Cords Chassis
Tube
Sockets
Switches Wire
Cable


Handy Links
Tube Amp Library
Tube Amp
Schematics library
Design a custom Eyelet or
Turret Board
DIY Layout Creator
File analyzer program
DIY Layout Creator
File library
Transformer Wiring
Diagrams
Hoffmanamps
Facebook page
Hoffman Amplifiers
Discount Program