Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
mpsd-software-manager
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
MPSD Computational Science
mpsd-software-manager
Commits
a1048023
Commit
a1048023
authored
1 year ago
by
Ashwin Kumar Karnad
Browse files
Options
Downloads
Patches
Plain Diff
add a table of exit codes
parent
8ec88e83
No related branches found
No related tags found
1 merge request
!94
Unique exit codes
Pipeline
#374588
passed
1 year ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
development.rst
+17
-0
17 additions, 0 deletions
development.rst
with
17 additions
and
0 deletions
development.rst
+
17
−
0
View file @
a1048023
...
...
@@ -17,3 +17,20 @@ Then every time you commit, pre-commit will run all checks defined in `.pre-comm
you can run the pre-commit checks manually by running::
pre-commit run --all-files
Debugging exit codes
--------------------
Non zero exit codes are used to indicate that the program exited due to an error.
There are multiple ways to debug this. You could run the program with more verbose logging::
mpsd-software -l debug ...
Here is a list of exit codes and what they mean:
+-----------+------------------------------------------+----------------------------------------------------------------------------------+
| Exit code | Reason | Solution |
+===========+==========================================+==================================================================================+
| 10 | Call of 'archspec cpu' failed | Please install archspec, for example via 'pipx install archspec' |
| 20 | Requested package set is not available | Use 'available' command to see list of available package_sets |
| 30 | Current directory is already initialised | Check if you are in the right directory |
| 40 | Current directory is not initialised | Check if you are in the right directory, if so use 'init' command to initialise |
+-----------+------------------------------------------+----------------------------------------------------------------------------------+
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment