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

Unhandled exception when we close the systray application - antares desktop #1575

Open
makdeuneuv opened this issue Jun 9, 2023 · 1 comment
Assignees
Labels
bug Something isn't working desktop Antares Web Desktop version hot
Milestone

Comments

@makdeuneuv
Copy link
Contributor

makdeuneuv commented Jun 9, 2023

Description

Since v2.14.2 of Antares Web Desktop on Windows, when we close the application we get this error message :

image

Traceback (most recent call last):
  File "env.py", line 17, in <module>
AttributeError: module 'alembic.context' has no attribute 'config'

Steps to reproduice

  1. Go to the icon in the bottom right corner of the Windows bar
    image
  2. Click right and select "Quit"
  3. and you'll get the error
@makdeuneuv makdeuneuv added bug Something isn't working hot desktop Antares Web Desktop version labels Jun 9, 2023
@laurent-laporte-pro
Copy link
Contributor

laurent-laporte-pro commented Jun 22, 2023

See: https://stackoverflow.com/questions/51203641/attributeerror-module-alembic-context-has-no-attribute-config

alembic.context is only available for the env.py script when it is executed through the alembic command, and provided that the alembic command is executed from a folder containing an alembic.ini file specifying the Alembic configuration to use.

Otherwise, the alembic module does not have a context property.

For more information, see this answer to a similar question.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working desktop Antares Web Desktop version hot
Projects
None yet
Development

No branches or pull requests

3 participants