[Bug 1025368] Review Request: python-jira - A library to ease use of the JIRA 5 REST APIs.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=1025368

Dan Callaghan <dcallagh@xxxxxxxxxx> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dcallagh@xxxxxxxxxx



--- Comment #11 from Dan Callaghan <dcallagh@xxxxxxxxxx> ---
python-jira-0.13-2.fc18 gives the following traceback when I try to use it:

Traceback (most recent call last):
  File "Misc/checkbugs.py", line 557, in <module>
    main()
  File "Misc/checkbugs.py", line 293, in main
    jira = JiraInfo("checkbugs", retrieve_info=False)
  File "/home/dcallagh/work/beaker/Misc/jirainfo.py", line 113, in __init__
    self._jira = JIRA(options, basic_auth=(username, getpasscb()))
  File "/usr/lib/python2.7/site-packages/jira/client.py", line 104, in __init__
    self._try_magic()
  File "/usr/lib/python2.7/site-packages/jira/client.py", line 1437, in
_try_magic
    self._magic = magic.Magic(mime=True)
TypeError: __init__() got an unexpected keyword argument 'mime'

It's because jira-python is expecting a different magic module (I guess
https://github.com/ahupp/python-magic) than the one shipped in Fedora.

https://bitbucket.org/bspeakmon/jira-python/issue/33/error-with-magic-module

I'd suggest just patching out the MIME type detection in jira-python because
the libmagic bindings do not provide any nice way to get a MIME type.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are always notified about changes to this product and component
_______________________________________________
package-review mailing list
package-review@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/package-review





[Index of Archives]     [Fedora Legacy]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]     [Fedora Tools]