Skip to content

Instantly share code, notes, and snippets.

View jirikrepl's full-sized avatar
🏠
Working from home

jirikrepl

🏠
Working from home
View GitHub Profile
TTP response code: 500 for URL: http://solr:8080/solr/update
at cz.incad.kramerius.indexer.SolrOperations.postData(SolrOperations.java:666)
at cz.incad.kramerius.indexer.SolrOperations.deleteDocument(SolrOperations.java:571)
at cz.incad.kramerius.indexer.SolrOperations.updateIndex(SolrOperations.java:110)
at cz.incad.kramerius.indexer.FedoraOperations.updateIndex(FedoraOperations.java:50)
at cz.incad.kramerius.indexer.Indexer.updateIndex(Indexer.java:117)
at cz.incad.kramerius.indexer.Indexer.doUpdate(Indexer.java:111)
at cz.incad.kramerius.indexer.Indexer.update(Indexer.java:102)
at cz.incad.kramerius.indexer.Indexer.run(Indexer.java:75)
at cz.incad.kramerius.indexer.Main.main(Main.java:47)
kreplj@A3059:~/code/K4-tools/build/libs$ java -jar K4-tools-1.0.jar batch
ERROR [main] (AccessProvider.java:64) - Error while trying to create default config file in /home/kreplj/k4_tools_config.properties
ERROR [main] (AccessProvider.java:64) - Error while trying to create default config file in /home/kreplj/k4_tools_config.properties
ERROR [main] (AccessProvider.java:64) - Error while trying to create default config file in /home/kreplj/k4_tools_config.properties
ERROR [main] (AccessProvider.java:64) - Error while trying to create default config file in /home/kreplj/k4_tools_config.properties
ERROR [main] (AccessProvider.java:64) - Error while trying to create default config file in /home/kreplj/k4_tools_config.properties
ERROR [main] (AccessProvider.java:64) - Error while trying to create default config file in /home/kreplj/k4_tools_config.properties
ERROR [main] (AccessProvider.java:64) - Error while trying to create default config file in /home/kreplj/k4_tools_config.properties
ERROR [main] (AccessProvid
13:13:24: Executing external task 'build'...
/home/kreplj/code/K4-tools/K5-API/src/main/java/cz/mzk/k5/api/remote/domain/ProcessLog.java:3: error: cannot find symbol
import java.util.Base64; // jen java 8
^
symbol: class Base64
location: package java.util
/home/kreplj/code/K4-tools/K5-API/src/main/java/cz/mzk/k5/api/remote/domain/ProcessLog.java:9: error: package Base64 does not exist
private Base64.Decoder decoder = Base64.getDecoder();
^
/home/kreplj/code/K4-tools/K5-API/src/main/java/cz/mzk/k5/api/remote/domain/ProcessLog.java:9: error: cannot find symbol
#!/bin/bash -e
function restore_saved_artifacts() {
if [ "$(ls -A /tmp/artifacts/ 2>/dev/null)" ]; then
echo "Restoring saved artifacts from prior build..."
mv /tmp/artifacts/.[!.]* $HOME/.
fi
}
@jirikrepl
jirikrepl / gist:3af63cdec4ddcf258c53071d8ec4c74f
Created March 30, 2016 07:33
z3950 marc encoding problem
01153nam a22002172a 4500
001 000088411
003 CZ BrMZK
005 20110310125021.0
007 ta
008 960707s1951 xr a f cze d
015 $a cnb000503914
020 $q (Bro�.)
035 $a (OCoLC)85306774
040 $a ABA001 $b cze $c BOA001 $d ABA001
@jirikrepl
jirikrepl / gist:88a2667efa453a905993
Created March 29, 2016 11:13
superdevmode compile error
Loading inherited module 'cz.mzk.editor.MEditorDev'
[WARN] Ignoring identical definition of the configuration property named gin.ginjector (originally defined in com.gwtplatform.mvp.Mvp, redefined in cz.mzk.editor.MEditorDev)
binding: user.agent=safari
Compiling module cz.mzk.editor.MEditorDev
Validating units:
Ignored 1 unit with compilation errors in first pass.
Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
Computing all possible rebind results for 'org.jboss.errai.marshalling.client.api.MarshallerFactory'
Rebinding org.jboss.errai.marshalling.client.api.MarshallerFactory
Invoking generator org.jboss.errai.marshalling.rebind.MarshallersGenerator
[INFO] | +- info.freelibrary:freelib-marc4j:jar:2.6.10:runtime
[INFO] | | +- org.slf4j:slf4j-api:jar:1.7.12:compile
[INFO] | | +- info.freelibrary:freelib-utils:jar:0.4.6:runtime
[INFO] | | | +- net.iharder:base64:jar:2.3.8:runtime
[INFO] | | | +- org.apache.commons:commons-compress:jar:1.5:runtime
[INFO] | | | | \- org.tukaani:xz:jar:1.2:runtime
[INFO] | | | +- org.apache.maven:maven-plugin-api:jar:3.2.1:runtime
[INFO] | | | | +- org.apache.maven:maven-model:jar:3.2.1:runtime
[INFO] | | | | +- org.apache.maven:maven-artifact:jar:3.2.1:runtime
[INFO] | | | | \- org.eclipse.sisu:org.eclipse.sisu.plexus:jar:0.0.0.M5:runtime
ERROR: Failed to create an instance of 'cz.mzk.editor.client.MEditor' via deferred binding
java.lang.RuntimeException: Deferred binding failed for 'cz.mzk.editor.client.gin.EditorGinjector' (did you forget to inherit a required module?)
at com.google.gwt.dev.shell.GWTBridgeImpl.create(GWTBridgeImpl.java:53)
at com.google.gwt.core.shared.GWT.create(GWT.java:72)
at com.google.gwt.core.client.GWT.create(GWT.java:86)
at cz.mzk.editor.client.MEditor.<init>(MEditor.java:51)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:57)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
at java.lang.reflect.Constructor.newInstance(Constructor.java:526)
Loading inherited module 'cz.mzk.editor.MEditorDev'
[WARN] Ignoring identical definition of the configuration property named gin.ginjector (originally defined in com.gwtplatform.mvp.Mvp, redefined in cz.mzk.editor.MEditorDev)
binding: user.agent=safari
Compiling module cz.mzk.editor.MEditorDev
Validating units:
Ignored 1 unit with compilation errors in first pass.
Compile with -strict or with -logLevel set to TRACE or DEBUG to see all errors.
Computing all possible rebind results for 'org.jboss.errai.marshalling.client.api.MarshallerFactory'
Rebinding org.jboss.errai.marshalling.client.api.MarshallerFactory
Invoking generator org.jboss.errai.marshalling.rebind.MarshallersGenerator