Skip to content

File uploads fail silently #18

@slowkow

Description

@slowkow

I'm trying to upload this jar file at your demo page.

There's no indication if the file has successfully uploaded, or if it has failed. I just waited a bit and then tried:

java -jar picard.jar

But the file is not available, so it doesn't work. I wonder if there's a way to check if the upload is working?


I can run some of the available jars (this is neat!):

/ $ java -jar programs/clojure-1.7.0.jar
Clojure 1.7.0
user=> (let [a "AAA"] (println a))
AAA
nil

The jython jar throws some errors:

/ $ java -jar /programs/jython-standalone-2.7.0.jar                             
Exception in thread "main" java.lang.reflect.InvocationTargetException          
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)          
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.
java:62)                                                                        
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:43)                                                                
        at java.lang.reflect.Method.invoke(Method.java:498)                     
        at doppio.JarLauncher.main(JarLauncher.java:34)                         
Caused by: java.lang.Error: doppio is not a supported OS platform.              
        at java.lang.UNIXProcess$Platform.get(UNIXProcess.java:164)             
        at java.lang.UNIXProcess.<clinit>(UNIXProcess.java:168)                 
        at java.lang.ProcessImpl.start(ProcessImpl.java:130)                    
        at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)             
        at java.lang.Runtime.exec(Runtime.java:620)                             
        at java.lang.Runtime.exec(Runtime.java:485)                             
        at org.python.jline.internal.TerminalLineSettings.exec(TerminalLineSetti
ngs.java:196)                                                                   
        at org.python.jline.internal.TerminalLineSettings.exec(TerminalLineSetti
ngs.java:186)                                                                   
        at org.python.jline.internal.TerminalLineSettings.stty(TerminalLineSetti
 ...         

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions