[comixed] Re: comixed-importer v0.7.0-rc3 not working

  • From: "Darryl L. Pierce" <mcpierce@xxxxxxxxx>
  • To: comixed@xxxxxxxxxxxxx
  • Date: Sun, 27 Sep 2020 12:06:30 -0400

It's not a bug, per se. Instead, unfortunately, it's just a sign that
the comixed-importer app has fallen far behind the rest of the project
in development. It was an idea that never was completely fleshed out.
There's never been anyone available to maintain it, and I've been
considering just removing it entirely from the project as I don't
think anybody's interested in taking over developing it.

On Sun, Sep 27, 2020 at 7:26 AM Björn Scheppler
<bjoern.scheppler@xxxxxxxxx> wrote:


I'm not sure, if this is a bug or if I am misunderstanding the README of 
comixed-importer, because I am a first-time-user of Comixed.

So, first, WHAT IS WORKING: I managed to run comixed-app on my Synology NAS 
and can use it as expected. I have a custom application.properties, which 
points to a different database and image-cache-location. At every start of my 
NAS I fire a Shell-Script which contains the following command, which works 
perfectly:

/volume2/@appstore/java-installer/jdk-15/bin/java -Dserver.port=7171 -jar 
/volume2/comics/comixed/comixed-app-0.7.0-rc3.jar 
--spring.config.location=file:///volume2/comics/comixed/application.properties



And then, WHAT IS NOT WORKING: I tried to used the comixed-importer as 
described in the README here: 
https://github.com/comixed/comixed/tree/develop/comixed-importer. I'm stuck 
at the chapter 
https://github.com/comixed/comixed/tree/develop/comixed-importer#import-the-comicrack-backup:

First I am irritated about two things: It's written there, as one could just 
fire the command "comixed-importer" on the command line, but this is no 
registered command on my machine - probably this should be "java -jar 
comixed-importer-0.7.0-rc3.jar" instead or am I wrong here? And should the 
comixed-Server run, when I use comixed-importer or should it be stopped?

Second, I tried to java -jar ./comixed-importer-0.7.0-rc3.jar 
--source=/volume2/comics/comixed/ComicDb.xml, where the source points to the 
database backup of ComicRack. But this gives me the following 
FileNotFoundException:

Caused by: java.io.FileNotFoundException: ReactiveWebContext resource 
[entryloaders.properties] cannot be opened because it does not exist
        at 
org.springframework.boot.web.reactive.context.FilteredReactiveWebContextResource.getInputStream(FilteredReactiveWebContextResource.java:63)
 ~[spring-boot-2.3.1.RELEASE.jar!/:2.3.1.RELEASE]
        at 
org.springframework.core.io.support.EncodedResource.getInputStream(EncodedResource.java:159)
 ~[spring-core-5.2.7.RELEASE.jar!/:5.2.7.RELEASE]
        at 
org.springframework.core.io.support.PropertiesLoaderUtils.fillProperties(PropertiesLoaderUtils.java:99)
 ~[spring-core-5.2.7.RELEASE.jar!/:5.2.7.RELEASE]
        at 
org.springframework.core.io.support.PropertiesLoaderUtils.fillProperties(PropertiesLoaderUtils.java:73)
 ~[spring-core-5.2.7.RELEASE.jar!/:5.2.7.RELEASE]
        at 
org.springframework.core.io.support.PropertiesLoaderUtils.loadProperties(PropertiesLoaderUtils.java:59)
 ~[spring-core-5.2.7.RELEASE.jar!/:5.2.7.RELEASE]
        at 
org.springframework.core.io.support.ResourcePropertySource.<init>(ResourcePropertySource.java:67)
 ~[spring-core-5.2.7.RELEASE.jar!/:5.2.7.RELEASE]
        at 
org.springframework.core.io.support.DefaultPropertySourceFactory.createPropertySource(DefaultPropertySourceFactory.java:37)
 ~[spring-core-5.2.7.RELEASE.jar!/:5.2.7.RELEASE]
        at 
org.springframework.context.annotation.ConfigurationClassParser.processPropertySource(ConfigurationClassParser.java:462)
 ~[spring-context-5.2.7.RELEASE.jar!/:5.2.7.RELEASE]
        at 
org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:279)
 ~[spring-context-5.2.7.RELEASE.jar!/:5.2.7.RELEASE]
        at 
org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:249)
 ~[spring-context-5.2.7.RELEASE.jar!/:5.2.7.RELEASE]
        at 
org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:198)
 ~[spring-context-5.2.7.RELEASE.jar!/:5.2.7.RELEASE]
        at 
org.springframework.context.annotation.ConfigurationClassParser.doProcessConfigurationClass(ConfigurationClassParser.java:303)
 ~[spring-context-5.2.7.RELEASE.jar!/:5.2.7.RELEASE]
        at 
org.springframework.context.annotation.ConfigurationClassParser.processConfigurationClass(ConfigurationClassParser.java:249)
 ~[spring-context-5.2.7.RELEASE.jar!/:5.2.7.RELEASE]
        at 
org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:206)
 ~[spring-context-5.2.7.RELEASE.jar!/:5.2.7.RELEASE]
        at 
org.springframework.context.annotation.ConfigurationClassParser.parse(ConfigurationClassParser.java:174)
 ~[spring-context-5.2.7.RELEASE.jar!/:5.2.7.RELEASE]

Could you tell me, if I'm doing things the wrong way or if there is a bug?

Kind regards and thanks for the great work!
Björn



-- 
Darryl L. Pierce <mcpierce@xxxxxxxxx>
"Le centre du monde est partout." - Blaise Pascal
"Let's try and find some point of transcendence and leap together." -
Gord Downie

Other related posts: