Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in biomaj-cli 'show' #6

Open
mboudet opened this issue Sep 10, 2024 · 4 comments
Open

Error in biomaj-cli 'show' #6

mboudet opened this issue Sep 10, 2024 · 4 comments
Assignees

Comments

@mboudet
Copy link
Member

mboudet commented Sep 10, 2024

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/dist-packages/biomaj_daemon/daemon/biomaj_daemon_web.py", line 1086, in biomaj_daemon
    (res, msg) = biomaj_client_action(options_object, config)
  File "/usr/local/lib/python3.9/dist-packages/biomaj_daemon/daemon/utils.py", line 955, in biomaj_client_action
    return biomaj_show(options, config)
  File "/usr/local/lib/python3.9/dist-packages/biomaj_daemon/daemon/utils.py", line 318, in biomaj_show
    return (True, msg)
UnboundLocalError: local variable 'msg' referenced before assignment
@osallou
Copy link
Contributor

osallou commented Sep 10, 2024

case where no production release found (total or with option release)

msg should be initialized to None at function start and before leaving

if len(results) == 0:
    reutrn (False, "no production release found")

:-)

@mboudet
Copy link
Member Author

mboudet commented Sep 10, 2024

Thank your Mr @osallou :p

@mboudet mboudet self-assigned this Sep 10, 2024
@osallou
Copy link
Contributor

osallou commented Sep 10, 2024

C est gratuit, ahhh la nostalgie ;-)

@abretaud
Copy link
Member

Ouah, un nouveau ministère contributeur 😍

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants