Bug 194405 - textproc/py-bugzillatools: does not work
Summary: textproc/py-bugzillatools: does not work
Status: Closed Not Accepted
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Only Me
Assignee: Steve Wills
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-10-16 17:00 UTC by mwisnicki+freebsd
Modified: 2014-10-18 14:47 UTC (History)
0 users

See Also:
mwisnicki+freebsd: maintainer-feedback? (swills)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description mwisnicki+freebsd 2014-10-16 17:00:20 UTC
py27-bugzillatools-0.5.3.1:
        python27-2.7.8_5
        py27-setuptools27-5.5.1

# bugzilla desc --url https://bugs.freebsd.org/bugzilla/ 194323
Traceback (most recent call last):
  File "/usr/local/bin/bugzilla", line 83, in <module>
    args.command(args, parser, commands, aliases, ui)()
  File "/usr/local/lib/python2.7/site-packages/bzlib/command.py", line 441, in __call__
    print '\n'.join(_descfmt(bug) for bug in self._args.bugs)
  File "/usr/local/lib/python2.7/site-packages/bzlib/command.py", line 441, in <genexpr>
    print '\n'.join(_descfmt(bug) for bug in self._args.bugs)
  File "/usr/local/lib/python2.7/site-packages/bzlib/command.py", line 436, in _descfmt
    desc = self.bz.bug(bug).comments[0]
  File "/usr/local/lib/python2.7/site-packages/bzlib/bug.py", line 55, in comments
    result = self.rpc('comments', ids=[self.bugno])
  File "/usr/local/lib/python2.7/site-packages/bzlib/bug.py", line 144, in rpc
    return self.bz.rpc(*(('Bug',) + args), **kwargs)
  File "/usr/local/lib/python2.7/site-packages/bzlib/bugzilla.py", line 126, in rpc
    return method(kwargs)
  File "/usr/local/lib/python2.7/xmlrpclib.py", line 1224, in __call__
    return self.__send(self.__name, args)
  File "/usr/local/lib/python2.7/xmlrpclib.py", line 1572, in __request
    allow_none=self.__allow_none)
  File "/usr/local/lib/python2.7/xmlrpclib.py", line 1085, in dumps
    data = m.dumps(params)
  File "/usr/local/lib/python2.7/xmlrpclib.py", line 632, in dumps
    dump(v, write)
  File "/usr/local/lib/python2.7/xmlrpclib.py", line 654, in __dump
    f(self, value, write)
  File "/usr/local/lib/python2.7/xmlrpclib.py", line 735, in dump_struct
    dump(v, write)
  File "/usr/local/lib/python2.7/xmlrpclib.py", line 654, in __dump
    f(self, value, write)
  File "/usr/local/lib/python2.7/xmlrpclib.py", line 658, in dump_nil
    raise TypeError, "cannot marshal None unless allow_none is enabled"
TypeError: cannot marshal None unless allow_none is enabled
Comment 1 Bugzilla Automation freebsd_committer freebsd_triage 2014-10-16 17:00:20 UTC
Auto-assigned to maintainer swills@FreeBSD.org
Comment 2 Steve Wills freebsd_committer freebsd_triage 2014-10-18 14:37:04 UTC
This happens because there is no ~/.bugzillarc file. This is perhaps a bug and should be reported upstream, IMHO.
Comment 3 mwisnicki+freebsd 2014-10-18 14:44:15 UTC
I also tried creating .bugzillarc and invoking

# bugzilla desc --server freebsd 194323

with same result.
Comment 4 mwisnicki+freebsd 2014-10-18 14:47:37 UTC
Reported upstream as suggested:

https://github.com/frasertweedale/bugzillatools/issues/12