Skip to content
This repository was archived by the owner on Dec 10, 2017. It is now read-only.
This repository was archived by the owner on Dec 10, 2017. It is now read-only.

Executable doesn't work anymore since use of SQLAlchemy #2

@SamR1

Description

@SamR1

Since use of a database (and SQLAlchemy), this error occurs:

[sam@sam-pc exe.linux-x86_64-3.6]$ ./IRCBot 
Traceback (most recent call last):
  File "/usr/lib/python3.6/site-packages/cx_Freeze/initscripts/__startup__.py", line 14, in run
    module.run()
  File "/usr/lib/python3.6/site-packages/cx_Freeze/initscripts/Console.py", line 26, in run
    exec(code, m.__dict__)
  File "app.py", line 5, in <module>
  File "/usr/lib/python3.6/site-packages/sqlalchemy_utils/__init__.py", line 49, in <module>
    from .i18n import TranslationHybrid  # noqa
  File "/usr/lib/python3.6/site-packages/sqlalchemy_utils/i18n.py", line 10, in <module>
    import babel
  File "/usr/lib/python3.6/site-packages/babel/__init__.py", line 20, in <module>
    from babel.core import UnknownLocaleError, Locale, default_locale, \
  File "/usr/lib/python3.6/site-packages/babel/core.py", line 14, in <module>
    from babel import localedata
  File "/usr/lib/python3.6/site-packages/babel/localedata.py", line 35, in <module>
    _dirname = os.path.join(get_base_dir(), 'locale-data')
  File "/usr/lib/python3.6/site-packages/babel/localedata.py", line 27, in get_base_dir
    basedir = sys._MEIPASS
AttributeError: module 'sys' has no attribute '_MEIPASS'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions