Skip to content

[Bug]: Submissions fail with "Missing folder tag" #27

@plum-pan

Description

@plum-pan

Version

3.12.1

What happened?

With the latest update, grabbing a submission fails with faapi.exceptions.ParsingError: Missing folder tag . I've not yet found a submission it did not fail on.

I'm not familiar with the modern theme so I'm not sure what changed.

How to reproduce the bug?

api.submission(entry_id)

Relevant log output

"/var/www/html/.venv/lib/python3.13/site-packages/faapi/base.py", line 196, in submission
  sub: Submission = Submission(self.get_parsed(join_url("view", int(submission_id))))
"/var/www/html/.venv/lib/python3.13/site-packages/faapi/submission.py", line 194, in __init__
  self.parse()
"/var/www/html/.venv/lib/python3.13/site-packages/faapi/submission.py", line 255, in parse
  parsed: dict = parse_submission_page(self.submission_page)
"/var/www/html/.venv/lib/python3.13/site-packages/faapi/parse.py", line 545, in parse_submission_page
  assert tag_folder is not None, _raise_exception(ParsingError("Missing folder tag"))
"/var/www/html/.venv/lib/python3.13/site-packages/faapi/exceptions.py", line 62, in _raise_exception
  raise err

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions