Skip to content

Conversation

@rebel1725
Copy link
Contributor

No description provided.

@pythonbrad pythonbrad added the fsf-hackathon Any issue related to the Free Software Foundation Hackathon. label Nov 22, 2025
@pythonbrad
Copy link
Member

@rebel1725, There is a breaking change.

image

@rebel1725
Copy link
Contributor Author

@pythonbrad Relevant code should be changed to get it integrated with the writing_systems.json, but this is beyond my skills and may be finished by others.

@pythonbrad
Copy link
Member

pythonbrad commented Nov 22, 2025

@pythonbrad Relevant code should be changed to get it integrated with the writing_systems.json, but this is beyond my skills and may be finished by others.

@rebel1725, I make a mistake, it's not your change the issue.

@rebel1725
Copy link
Contributor Author

@pythonbrad So will my pull be merged?

@pythonbrad
Copy link
Member

@rebel1725 , Why are you creating a writing_systems.json ?

@rebel1725
Copy link
Contributor Author

@pythonbrad Define writing systems and their corresponding lessons, keyboard layouts, etc.

@pythonbrad
Copy link
Member

@rebel1725, please, can you update your PR to include the latest change?
I want to make sure that it don't break the changes of other contributors.

@rebel1725
Copy link
Contributor Author

rebel1725 commented Nov 23, 2025

@pythonbrad Sorry, it is beyond my skills. I write these logics in the hope that it will be useful for other contributors to adapt, and I want you to merge the code and left it to other contributors to finish it, or finish it yourself.

You may merge it to another branch.

@rebel1725
Copy link
Contributor Author

rebel1725@rebel1725-Bryna:~/Sources/lewa-upstream/lewa$ ../../lewa_venv/bin/python3 ./manage.py migrate
Traceback (most recent call last):
  File "/home/rebel1725/Sources/lewa-upstream/lewa/./manage.py", line 23, in <module>
    main()
    ~~~~^^
  File "/home/rebel1725/Sources/lewa-upstream/lewa/./manage.py", line 19, in main
    execute_from_command_line(sys.argv)
    ~~~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^
  File "/home/rebel1725/Sources/lewa_venv/lib/python3.13/site-packages/django/core/management/__init__.py", line 442, in execute_from_command_line
    utility.execute()
    ~~~~~~~~~~~~~~~^^
  File "/home/rebel1725/Sources/lewa_venv/lib/python3.13/site-packages/django/core/management/__init__.py", line 382, in execute
    settings.INSTALLED_APPS
  File "/home/rebel1725/Sources/lewa_venv/lib/python3.13/site-packages/django/conf/__init__.py", line 81, in __getattr__
    self._setup(name)
    ~~~~~~~~~~~^^^^^^
  File "/home/rebel1725/Sources/lewa_venv/lib/python3.13/site-packages/django/conf/__init__.py", line 68, in _setup
    self._wrapped = Settings(settings_module)
                    ~~~~~~~~^^^^^^^^^^^^^^^^^
  File "/home/rebel1725/Sources/lewa_venv/lib/python3.13/site-packages/django/conf/__init__.py", line 166, in __init__
    mod = importlib.import_module(self.SETTINGS_MODULE)
  File "/usr/lib/python3.13/importlib/__init__.py", line 88, in import_module
    return _bootstrap._gcd_import(name[level:], package, level)
           ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "<frozen importlib._bootstrap>", line 1387, in _gcd_import
  File "<frozen importlib._bootstrap>", line 1360, in _find_and_load
  File "<frozen importlib._bootstrap>", line 1331, in _find_and_load_unlocked
  File "<frozen importlib._bootstrap>", line 935, in _load_unlocked
  File "<frozen importlib._bootstrap_external>", line 1027, in exec_module
  File "<frozen importlib._bootstrap>", line 488, in _call_with_frames_removed
  File "/home/rebel1725/Sources/lewa-upstream/lewa/lewa/settings.py", line 14, in <module>
    import environ
  File "/home/rebel1725/Sources/lewa_venv/lib/python3.13/site-packages/environ.py", line 114
    raise ValueError, "No frame marked with %s." % fname
                    ^
SyntaxError: invalid syntax

There are some problems with the upstream code, and it is beyond my skill to fix it.

@pythonbrad
Copy link
Member

@rebel1725, I will check and fix it

@pythonbrad
Copy link
Member

@rebel1725, i think the error should come from your .env file

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fsf-hackathon Any issue related to the Free Software Foundation Hackathon.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants