Skip to content

Cannot proceed with mod preset, NoneType error #96

@Pitax125

Description

@Pitax125

mod preset loads fine from -e MODS_PRESET="/arma3/server/configs/Antistasi_Ultimate.html"

but I get this error:

Traceback (most recent call last):
File "/launch.py", line 53, in
mods.extend(workshop.preset(os.environ["MODS_PRESET"], client))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/workshop.py", line 30, in preset
api.download_workshop(client, int(match.group(1)))
File "/api.py", line 121, in download_workshop
workshop_manifest = cdn_client.get_manifest_for_workshop_item(workshop_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/local/lib/python3.11/dist-packages/steam/client/cdn.py", line 915, in get_manifest_for_workshop_item
if resp.header.eresult != EResult.OK:
^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'header'

using "retry" branch as v2 doesnt work anymore, python libs changed and I had to fix them myself.

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