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

Incorrect filename in setup.py #3

Open
neptune-dev-23 opened this issue Dec 5, 2024 · 0 comments
Open

Incorrect filename in setup.py #3

neptune-dev-23 opened this issue Dec 5, 2024 · 0 comments

Comments

@neptune-dev-23
Copy link

When manually installing ufw using setup.py (python2.7 ./setup.py install) the following error occurs:

error: [Errno 2] No such file or directory: 'locales/mo'

In setup.py on lines 141-143:

if len(os.listdir('locales/mo')) == 0:
    subprocess.call(["make", "mo"])
self.copy_tree('locales/mo', i18ndir)

It references the folder name and filetype as "mo" instead of "po". By changing "mo" to "po", it ran without error.

It also appears that the locales/mo folder is only created via the Makefile.

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

1 participant