Closed rfrenchseti closed 2 months ago
Can you remind me of the command you use to run this?
On Mon, Apr 1, 2024 at 9:42 AM Robert French @.***> wrote:
Assigned #1352 https://github.com/SETI/rms-opus/issues/1352 to @fyellin https://github.com/fyellin.
— Reply to this email directly, view it on GitHub https://github.com/SETI/rms-opus/issues/1352#event-12312986061, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABC2LIJ5FGRBSFRSW7CJ3YTY3GE67AVCNFSM6AAAAABFR3TWOOVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJSGMYTEOJYGYYDMMI . You are receiving this because you were assigned.Message ID: @.***>
python log_analyzer.py --cronjob-date 2023-12 --html --dns `cat /opus/src/pds-webserver/opus_servers/cron_files/log_analyzer_ignore_ip.txt` --sessions-relative-directory "../../.sessions/%Y/%Y-%m" -o "/tmp/log_analyzer_results_temp_refresh/logs/%Y/OPUS-log-analysis-%Y-%m.html" --manifest "/Volumes/opus/shared/manifests/*%Y-%m*" "/Volumes/opus/shared/apache_logs/tools_access_log-%Y-%m-%d" "/Volumes/opus/shared/apache_logs/tools2_access_log-%Y-%m-%d"
The bug is that we assumed that the volume name for a manifest entry was alphanumeric. Starting in December, it seems that the volume names could contain periods and hyphens. The regexp used turned out to be bogus for other reasons, too.
The simplest solution is to replace the regexp with PosixPath, which knows how to parse Unix path names correctly.
Nothing changed in the past year. What volume names are you seeing that are not alphanumeric?
/volumes/HSTUx_xxxx_v1.0/HSTU0_9344/DATA/VISIT_06/U6LG0609M.ASC
Ah. OK that's always been true. I guess no one ever tried to download something from a previous version of a volume before.
The OPUS log analyzer is crashing when creating the session files for 12/2023. All logs and manifests are in Dropbox.