h1alexbel / sr-detection

Identifying GitHub "sample repositories" (SR), that mostly contain educational or demonstration materials supposed to be copied instead of reused as a dependency
MIT License
6 stars 0 forks source link

xml.etree.ElementTree.ParseError: XML or text declaration not at start of entity: line 15, column 0 #130

Closed h1alexbel closed 3 weeks ago

h1alexbel commented 4 weeks ago
2024-10-07 12:48:51.317 | DEBUG    | sr_data.steps.maven:merge:92 - Checking google-checks/checks-jenkins-plugin: pom.xml
Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "/home/runner/work/sr-detection/sr-detection/sr-data/src/sr_data/steps/maven.py", line 42, in main
    profile = pom(row["repo"], row["branch"], token)
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/home/runner/work/sr-detection/sr-detection/sr-data/src/sr_data/steps/maven.py", line 81, in pom
    return merge(build, repo)
           ^^^^^^^^^^^^^^^^^^
  File "/home/runner/work/sr-detection/sr-detection/sr-data/src/sr_data/steps/maven.py", line 93, in merge
    root = ET.fromstring(project["content"])
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/hostedtoolcache/Python/3.12.6/x64/lib/python3.12/xml/etree/ElementTree.py", line 1335, in XML
    parser.feed(text)
xml.etree.ElementTree.ParseError: XML or text declaration not at start of entity: line 15, column 0
error: Recipe `maven` failed on line 78 with exit code 1
github-actions[bot] commented 4 weeks ago

@h1alexbel Here is a summary of the bug report review:

Quality problem: Lack of clear problem description. Suggestion: Add a brief summary of the issue at the top of the report to provide context.