roborescue / rcrs-server

RoboCup Rescue Simulator
BSD 3-Clause "New" or "Revised" License
38 stars 45 forks source link

LogViewer cannot read rescue.log.xz. #58

Closed ghost closed 2 years ago

ghost commented 2 years ago

I ran the simulation according to the README in this repository and got rescue.log.xz. I ran LogViewer with rescue.log.xz as input and got the following error message:

スクリーンショット 2022-03-08 14 30 36

The following is a list of commands executed before this error occurred.

server side (rcrs-server)

$ cd rcrs-server/scripts
$ ./gradlew completeBuild
$ ./start.sh -m ../maps/test/map -c ../maps/test/config

After the simulation is over.

$./gradlew logViewer --args="'-c' 'maps/test/config/logviewer.cfg' 'logs/log/rescue.log.xz'"

client side (adf-sample-agent-java)

$ cd adf-sample-agent-java
$ ./gradlew clean
$ ./gradlew build
$ ./launch.sh -all

Please refer to the attached file: rcrs-sever/logs/log logs.zip

modaresimr commented 2 years ago

@mas-suzu Thank you for your complete log report. I was wondered about this exception until I found out that one test commit has been pushed in to the repository I think it is resolved now.

ghost commented 2 years ago

I downloaded the latest commit and re-ran the simulation. And, I ran LogViewer using the simulation log, but the following message is output, which is different from the previous one.

スクリーンショット 2022-03-08 19 04 05

Please refer to the attached file: rcrs-sever/logs logs.zip

modaresimr commented 2 years ago

The problem is about the working directory. You are currently in the root directory. And the kernel needs ../jars folder (in config/types.cfg). If you change ../jars to ./jars in that file it will be resolved. Best Regards, Ali Modaresi

On Tue, Mar 8, 2022 at 11:25 AM mas-suzu @.***> wrote:

I downloaded the latest commit and re-ran the simulation. And, I ran LogViewer using the simulation log, but the following message is output, which is different from the previous one.

[image: スクリーンショット 2022-03-08 19 04 05] https://user-images.githubusercontent.com/100668325/157215334-cbef1062-995a-451e-a462-6cd2049d3e42.png

Please refer to the attached file: rcrs-sever/logs logs.zip https://github.com/roborescue/rcrs-server/files/8204902/logs.zip

— Reply to this email directly, view it on GitHub https://github.com/roborescue/rcrs-server/issues/58#issuecomment-1061625381, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACIO4RTH2PHXE6TJKQEU2ITU64TJDANCNFSM5QFL5WHA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you modified the open/close state.Message ID: @.***>

ghost commented 2 years ago

Thank you very much! I did exactly what you told me to fix the configuration file and it works fine. I see it was using the default values to run in the script directory. Best Regards, Hiroya Suzuki

modaresimr commented 2 years ago

We are talking together to separate the map config and global config to not face these issues again

On Tue, Mar 8, 2022, 1:20 PM mas-suzu @.***> wrote:

Thank you very much! I did exactly what you told me to fix the configuration file and it works fine. I see it was using the default values to run in the script directory. Best Regards, Hiroya Suzuki

— Reply to this email directly, view it on GitHub https://github.com/roborescue/rcrs-server/issues/58#issuecomment-1061720244, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACIO4RQCNDQAI7GKN2PRP3LU65A2VANCNFSM5QFL5WHA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you modified the open/close state.Message ID: @.***>