|
|
|
![]() |
|
|||||||
|
||||||||
![]() |
|
|
Thread Tools | Rate Thread | Display Modes |
|
|
|
#1
|
|||
|
|||
|
GRIP Deploy Error
I changed the IP of the camera in my pipeline after updating to GRIP 1.3. When I deploy, the status switches to "Running GRIP", but the Network Table Viewer doesn't update values. I checked all settings for the correct team number and can't understand the error I'm getting when I deploy the pipeline:
/usr/local/frc/JRE//bin/java -Xmx50m -XX:-OmitStackTraceInFastThrow -XX:+HeapDumpOnOutOfMemoryError -jar '/home/lvuser/grip.jar' '/home/lvuser/project.grip' Exception in thread "main" java.lang.ExceptionInInitializerError at edu.wpi.grip.core.Main.main(Main.java:31) Caused by: java.lang.IllegalStateException: Failed to configure the Logger at edu.wpi.grip.core.GRIPCoreModule.<clinit>(GRIPCore Module.java:77) ... 1 more Caused by: java.io.IOException: Couldn't get lock for %h/GRIP.log at java.util.logging.FileHandler.openFiles(FileHandle r.java:422) at java.util.logging.FileHandler.<init>(FileHandler.j ava:284) at edu.wpi.grip.core.GRIPCoreModule.<clinit>(GRIPCore Module.java:47) ... 1 more |
|
#2
|
|||
|
|||
|
Re: GRIP Deploy Error
Hey, we are having that same problem. Our grip was working last night and haven't made any changes but now we are having the same problem that you are having. Any help would be appreciated
|
|
#3
|
||||
|
||||
|
Re: GRIP Deploy Error
Sounds like some process (possibly a previous instance of GRIP) has a lock on the log file. Can you try running "lsof | grep GRIP.log" on the RIO using SSH?
It also might be a good idea to just remove any previous GRIP.log files just in case. |
|
#4
|
|||
|
|||
|
Re: GRIP Deploy Error
Quote:
Good luck at the competitions everyone!! |
|
#5
|
|||
|
|||
|
Re: GRIP Deploy Error
I used PuTTY to run that command on the roboRIO. After re-deploying the pipeline GRIP seemed to work. Thanks.
|
|
#6
|
|||
|
|||
|
Re: GRIP Deploy Error
Recently I tried to deploy a pipeline to a different robot. After getting the same error on deploy (to the roboRIO), I ran "lsof | grep GRIP.log" with putty (logged in to both lvuser and admin). I still get the same error when I try to deploy.
|
|
#7
|
||||
|
||||
|
Re: GRIP Deploy Error
lsof doesn't fix anything, it just outputs some stuff about open files that should be useful for debugging. What was the output?
|
|
#8
|
|||
|
|||
|
Re: GRIP Deploy Error
There is no output. It just goes to a new line.
|
|
#9
|
|||
|
|||
|
Re: GRIP Deploy Error
We're getting new errors on deploy...
We commented out this code and pushed: Code:
table = NetworkTable.getTable("/GRIP/Mar20");
try {
new ProcessBuilder("/home/lvuser/grip1x.log").inheritIO().start();
} catch (Exception e) {
DriverStation.reportError("\n\n\n\nGrip Has Errored!\n\n\n\n", true);
}
Code:
/usr/local/frc/JRE//bin/java -Xmx50m -XX:-OmitStackTraceInFastThrow -XX:+HeapDumpOnOutOfMemoryError -jar '/home/lvuser/grip.jar' '/home/lvuser/project.grip' Mar 21, 2016 1:39:23 AM java.util.logging.LogManager$RootLogger log CONFIG: Configuration done. Mar 21, 2016 1:39:23 AM java.util.logging.LogManager$RootLogger log CONFIG: GRIP Version: 1.3.0-rc1 platform: /Linux/arm/ Mar 21, 2016 1:39:29 AM edu.wpi.grip.core.operations.networktables.NTManager lambda$new$32 SEVERE: NetworkTables: TCPConnector.cpp:157 select() to port 1735 error 111 - Connection refused Mar 21, 2016 1:39:30 AM edu.wpi.grip.core.Main start INFO: Loading file /home/lvuser/project.grip Mar 21, 2016 1:39:31 AM edu.wpi.grip.core.GRIPCoreModule onThreadException SEVERE: Error from Thread[main,5,main] java.lang.UnsatisfiedLinkError: java.io.IOException: No space left on device at org.bytedeco.javacpp.Loader.loadLibrary(Loader.java:613) at org.bytedeco.javacpp.Loader.load(Loader.java:438) at org.bytedeco.javacpp.Loader.load(Loader.java:381) at org.bytedeco.javacpp.opencv_core.<clinit>(opencv_core.java:10) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:340) at org.bytedeco.javacpp.Loader.load(Loader.java:413) at org.bytedeco.javacpp.Loader.load(Loader.java:381) at org.bytedeco.javacpp.helper.opencv_core$AbstractArray.<clinit>(opencv_core.java:109) at edu.wpi.grip.core.operations.opencv.MatFieldAccessor.<clinit>(MatFieldAccessor.java:12) at edu.wpi.grip.core.operations.Operations.addOperations(Operations.java:36) at edu.wpi.grip.core.Main.start(Main.java:44) at edu.wpi.grip.core.Main.main(Main.java:32) Caused by: java.io.IOException: No space left on device at java.io.FileOutputStream.writeBytes(Native Method) at java.io.FileOutputStream.write(FileOutputStream.java:307) at org.bytedeco.javacpp.Loader.extractResource(Loader.java:306) at org.bytedeco.javacpp.Loader.loadLibrary(Loader.java:563) ... 12 more |
![]() |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|