Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • MC Job Options MC Job Options
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 2
    • Issues 2
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
  • Jira
    • Jira
  • Merge requests 8
    • Merge requests 8
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Package Registry
    • Container Registry
    • Infrastructure Registry
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Issue
    • Repository
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • atlas-physics
  • pmg
  • MC Job OptionsMC Job Options
  • Issues
  • #173

Closed
Open
Created May 12, 2022 by Dominic Hirschbuehl@dhirschDeveloper

logParser crash when using gridpacks

When running the logParser for a log.generate which used a gridpack, it crashes with: "/afs/cern.ch/work/d/dhirsch/stop13TeV/mcjoboptions/scripts/logParser.py", line 368, in powhegChecks if not glob.glob(f"{os.path.dirname(logFile)}/mc_TeV..GRID.tar.gz"): File "/cvmfs/atlas.cern.ch/repo/sw/software/22.6/sw/lcg/releases/LCG_101_ATLAS_18/Python/3.9.6/x86_64-centos7-gcc11-opt/lib/python3.9/posixpath.py", line 152, in dirname p = os.fspath(p) TypeError: expected str, bytes or os.PathLike object, not list

The problem is that the function powhegChecks(logFile) expects a filename, but gets the file content.

A similar problem should happen for Madgraph, since the function is defined properly with def madgraphChecks(logContent), but the variable logFile used to check the gridpack is nowwhere defined.

Cheers Dominic

Assignee
Assign to
Time tracking