Sourceforge XML format has changed #10

floe opened this Issue Apr 26, 2013 · 3 comments


None yet
3 participants

floe commented Apr 26, 2013

After the update to Allura, Sourceforge now has a new XML export format available via and
The old export facility is disabled, and of course, the new format is totally incompatible with the previous one, so sf2github crashes and burns on a new export:

Parsing XML export...
Traceback (most recent call last):
  File "./", line 29, in <module>
    line: trackers = soup.document.find('trackers', recursive=False).findAll('tracker', recursive=False)
      trackers = <not found>
      soup = <local> <?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE project_export SYSTEM "">
<field name="artifact_id">3461742</field>
<field user_id="2090344" name="submitted_by">denham2010</field>
      soup.document = <local> None
      soup.document.find = <not found>
      recursive = <not found>
      False = <builtin> False
      findAll = <not found>
AttributeError: 'NoneType' object has no attribute 'find'

ttencate commented Apr 26, 2013

Thanks for reporting! Unfortunately I don't have time to work on this tool, but I would welcome any pull request that improves the situation!


jpschewe commented Apr 6, 2014

The JSON export seems to work just fine. I just did an export today and ran this tool and it didn't have any trouble with the parsing of the file.


ttencate commented Apr 6, 2014

You've got @codeguru42 to thank for that :) #14

ttencate closed this Apr 6, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment