Closed oschihin closed 4 years ago
Would it be possible to share the XML file with me?
Would it be possible to share the XML file with me?
Sorry @HartwigThomas , been on holidays. I'll check that and contact you directly.
@HartwigThomas As mentioned per mail, this is not an issue with the schema / XML file, but with the installation. I tried on Windows 7 and Linux Mint. Here a quick description of what's going wrong. Maybe the installation process needs to be adapted?
C:\Temp\siard_suite-2.1
, start SiardGui with doubleclick on siardgui.cmd
C:\Users\[user]\AppData\Local\siard_suite_2.1
C:\Users\[user]\.java\siard_suite_2.1.properties
C:\Users\[user]\AppData\Roaming\SIARD Suite 2.1\
, only one subfolder db
is present.md
and lobs
Basically the same procedure. Missing folders should be under ~/data/SIARD Suite 2.1/
.
Could this be solved by the "installer"?
The LOB folders are created, when you download a database and specify external storage of LOBs. (md folders are created, when you specify them when you export meta data.) They need not be created at installation time. If LOBs are referenced in meta data, they (or their folders) must not necessarily exist. I shall try to reproduce your error without existing LOB-folders.
I understand the folders are created at download / export time. But they are missing and produce an error, if you want to import metadata you already have. I'd propose to simply create them at installation time to prevent that error from happeing.
I have now implemented a solution, where the folders for meta data and LOBs are created when they are needed. It will be published with the next Release. Meanwhile manually creating these folders is a valid work-around.
I downloaded the metadata of a database (oracle) for further analysis on the cli, this worked fine:
java -cp lib/siardcmd.jar ch.admin.bar.siard2.cmd.SiardFromDb -q=0 -j=jdbc:oracle:thin:@[host]:[port]:[SID] -u=[user] -p=[password] -e=/some/folder/to/schema.xml
I can of course view the xml file in an editor, but want to analyse it in SIARD-Suite. The menu item "Datei > Metadaten importieren" is not described in the documentation, but I guess that's what I need. But this menu item fails. There is no reaction in the GUI. On the cli, I have this output:
I'm on SiardGUI 2.1.133 Any hints? What folder parameter?