-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Hey,
I was trying to set this server up to do some build stuff and encountered a problem when trying to configure it, the stacktrace is below:
Traceback (most recent call last):
File "C:\Users\kaide\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\flask\app.py", line 2190, in wsgi_app
response = self.full_dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\kaide\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\flask\app.py", line 1486, in full_dispatch_request
rv = self.handle_user_exception(e)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\kaide\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\flask\app.py", line 1484, in full_dispatch_request
rv = self.dispatch_request()
^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\kaide\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.11_qbz5n2kfra8p0\LocalCache\local-packages\Python311\site-packages\flask\app.py", line 1469, in dispatch_request
return self.ensure_sync(self.view_functions[rule.endpoint])(**view_args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\kaide\Documents\UnityBuildServer\unity-build-server\build_server.py", line 26, in project_home
configs = utils.read_configs(project_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\kaide\Documents\UnityBuildServer\unity-build-server\utils.py", line 85, in read_configs
config[setting] = project_base_config[setting]
~~~~~~^^^^^^^^^
TypeError: 'str' object does not support item assignment
127.0.0.1 - - [17/Jun/2023 13:12:00] "GET /project/TestCICD HTTP/1.1" 500 -
127.0.0.1 - - [17/Jun/2023 13:12:00] "GET /favicon.ico HTTP/1.1" 304 -
Thread task started
Exception in thread Thread-1:
Traceback (most recent call last):
File "C:\Program Files\WindowsApps\PythonSoftwareFoundation.Python.3.11_3.11.1264.0_x64__qbz5n2kfra8p0\Lib\threading.py", line 1038, in _bootstrap_inner
self.run()
File "C:\Users\kaide\Documents\UnityBuildServer\unity-build-server\utils.py", line 28, in run
self.hFunction()
File "C:\Users\kaide\Documents\UnityBuildServer\unity-build-server\build_server.py", line 210, in query_project_changes_all
paths = utils.get_unique_project_paths()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\kaide\Documents\UnityBuildServer\unity-build-server\utils.py", line 113, in get_unique_project_paths
project_configs = read_configs(project)
^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\kaide\Documents\UnityBuildServer\unity-build-server\utils.py", line 85, in read_configs
config[setting] = project_base_config[setting]
~~~~~~^^^^^^^^^
TypeError: 'str' object does not support item assignment```
I was wondering if you had any insight into this issue?
Any help is appreciated!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels