GithubHelp home page GithubHelp logo

github-issues-export's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

github-issues-export's Issues

cannot serialize dict

matej@mitmanek: github-issues-export (master)$ ./github_issues_export.py -b -u mcepl -w something M2Crypto/M2Crypto|&tee m2crypto-issues.txt
Traceback (most recent call last):
  File "./github_issues_export.py", line 340, in <module>
    main(cfg)
  File "./github_issues_export.py", line 333, in main
    print et.tostring(out_xml, "utf-8")
  File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1126, in tostring
    ElementTree(element).write(file, encoding, method=method)
  File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 820, in write
    serialize(write, self._root, encoding, qnames, namespaces)
  File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 939, in _serialize_xml
    _serialize_xml(write, e, encoding, qnames, None)
  File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 939, in _serialize_xml
    _serialize_xml(write, e, encoding, qnames, None)
  File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 937, in _serialize_xml
    write(_escape_cdata(text, encoding))
  File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1075, in _escape_cdata
    _raise_serialization_error(text)
  File "/usr/lib64/python2.7/xml/etree/ElementTree.py", line 1052, in _raise_serialization_error
    "cannot serialize %r (type %s)" % (text, type(text).__name__)
TypeError: cannot serialize {u'following_url': u'https://api.github.com/users/martinpaljak/following{/other_user}', u'events_url': u'https://api.github.com/users/martinpaljak/events{/privacy}', u'organizations_url': u'https://api.github.com/users/martinpaljak/orgs', u'url': u'https://api.github.com/users/martinpaljak', u'gists_url': u'https://api.github.com/users/martinpaljak/gists{/gist_id}', u'html_url': u'https://github.com/martinpaljak', u'subscriptions_url': u'https://api.github.com/users/martinpaljak/subscriptions', u'avatar_url': u'https://avatars.githubusercontent.com/u/46006?v=3', u'repos_url': u'https://api.github.com/users/martinpaljak/repos', u'received_events_url': u'https://api.github.com/users/martinpaljak/received_events', u'gravatar_id': u'', u'starred_url': u'https://api.github.com/users/martinpaljak/starred{/owner}{/repo}', u'site_admin': False, u'login': u'martinpaljak', u'type': u'User', u'id': 46006, u'followers_url': u'https://api.github.com/users/martinpaljak/followers'} (type dict)

status_whiteboard is a list

From the pull request:

As for the script itself, I believe you have a bug in your status_whiteboard handling code; labels are a list, not a string.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.