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

Exception: xml contains multiple model nodes #2331

Open
sentryk8sonalabsorg bot opened this issue Nov 2, 2022 · 0 comments
Open

Exception: xml contains multiple model nodes #2331

sentryk8sonalabsorg bot opened this issue Nov 2, 2022 · 0 comments
Assignees

Comments

@sentryk8sonalabsorg
Copy link

Sentry Issue: ONADATA-1ZH

Exception: xml contains multiple model nodes
(16 additional frame(s) were not displayed)
...
  File "onadata/libs/utils/logger_tools.py", line 782, in publish_xls_form
    dd = DataDictionary.objects.create(
  File "django/db/models/manager.py", line 85, in manager_method
    return getattr(self.get_queryset(), name)(*args, **kwargs)
  File "django/db/models/query.py", line 453, in create
    obj.save(force_insert=True, using=self.db)
  File "onadata/apps/viewer/models/data_dictionary.py", line 196, in save
    self.set_uuid_in_xml()
  File "onadata/apps/logger/models/xform.py", line 249, in set_uuid_in_xml
    raise Exception("xml contains multiple model nodes")
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