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

renew_metadata fails, if metadata file is empty/corrupted #23

Closed
bugy opened this issue Sep 20, 2017 · 0 comments
Closed

renew_metadata fails, if metadata file is empty/corrupted #23

bugy opened this issue Sep 20, 2017 · 0 comments
Labels

Comments

@bugy
Copy link
Owner

bugy commented Sep 20, 2017

20-Sep-2017 13:30:13 | Traceback (most recent call last):
-- | --
20-Sep-2017 13:30:13 | File "ci_rebuild.py", line 904, in <module>
20-Sep-2017 13:30:13 | incremental_rebuild(last_revision, current_revision)
20-Sep-2017 13:30:13 | File "ci_rebuild.py", line 897, in incremental_rebuild
20-Sep-2017 13:30:13 | fast_install(unchanged_project, MAVEN_REPO_PATH)
20-Sep-2017 13:30:13 | File "ci_rebuild.py", line 863, in fast_install
20-Sep-2017 13:30:13 | renew_metadata([project], repo_path)
20-Sep-2017 13:30:13 | File "ci_rebuild.py", line 767, in renew_metadata
20-Sep-2017 13:30:13 | "versioning/snapshotVersions/snapshotVersion/updated": current_time
20-Sep-2017 13:30:13 | File "ci_rebuild.py", line 310, in replace_in_tree
20-Sep-2017 13:30:13 | tree = ElementTree.parse(file_path)
20-Sep-2017 13:30:13 | File "/tex/python/python/lib/python2.7/xml/etree/ElementTree.py", line 1182, in parse
20-Sep-2017 13:30:13 | tree.parse(source, parser)
20-Sep-2017 13:30:13 | File "/tex/python/python/lib/python2.7/xml/etree/ElementTree.py", line 657, in parse
20-Sep-2017 13:30:13 | self._root = parser.close()
20-Sep-2017 13:30:13 | File "/tex/python/python/lib/python2.7/xml/etree/ElementTree.py", line 1665, in close
20-Sep-2017 13:30:13 | self._raiseerror(v)
20-Sep-2017 13:30:13 | File "/tex/python/python/lib/python2.7/xml/etree/ElementTree.py", line 1517, in _raiseerror
20-Sep-2017 13:30:13 | raise err
20-Sep-2017 13:30:13 | xml.etree.ElementTree.ParseError: no element found: line 1, column 0


@bugy bugy added the bug label Sep 20, 2017
@bugy bugy closed this as completed Jan 29, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant