Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • autosubmit autosubmit
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 338
    • Issues 338
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 21
    • Merge requests 21
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Earth SciencesEarth Sciences
  • autosubmitautosubmit
  • Merge requests
  • !140

Attempt at fixing #179. Locking has been encapsulated, then closed properly...

  • Review changes

  • Download
  • Patches
  • Plain diff
Merged wuruchi requested to merge issue179 into master Aug 01, 2019
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 1

Attempt at fixing #179 (closed). Locking has been encapsulated, then closed properly according to the portalocker developer. Also, exceptions and keyboard interrupts are handled, so the locking is always properly closed.

The "create" method of autosubmit.py needed error handling and proper closing of the locking. This has been implemented using the suggestions from the documentation of the library, see: https://portalocker.readthedocs.io/en/latest/#tips.

Thorough testing has not been performed, since this error seems to have some probability that is affected by particular conditions of the HPC.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: issue179