#20 Remove bugzilla cookie code from blockerbugs
Closed: Fixed Opened by tflink.

Our old friend, the bugzilla cookie error is back in production after the machines were rebuilt the other day.

Traceback (most recent call last):
File "/usr/bin/blockerbugs", line 9, in
load_entry_point('blockerbugs==0.4.3', 'console_scripts', 'blockerbugs')()
File "/usr/lib/python2.6/site-packages/blockerbugs/cli.py", line 215, in main
sync_bugs(fullsync=options.full, docheck=options.check)
File "/usr/lib/python2.6/site-packages/blockerbugs/cli.py", line 160, in sync_bugs
sync = BugSync(db, url=bzurl)
File "/usr/lib/python2.6/site-packages/blockerbugs/util/bug_sync.py", line 38, in init
self.bzinterface = bz_interface.BlockerBugs(url=url)
File "/usr/lib/python2.6/site-packages/blockerbugs/util/bz_interface.py", line 49, in init
self.bz = bugzilla.RHBugzilla4(url=url)
File "/usr/lib/python2.6/site-packages/bugzilla/rhbugzilla.py", line 52, in init
_parent.init(self, kwargs)
File "/usr/lib/python2.6/site-packages/bugzilla/bugzilla4.py", line 24, in init
Bugzilla36.init(self,
kwargs)
File "/usr/lib/python2.6/site-packages/bugzilla/bugzilla3.py", line 24, in init
BugzillaBase.init(self, **kwargs)
File "/usr/lib/python2.6/site-packages/bugzilla/base.py", line 277, in init
self.cookiefile = cookiefile
File "/usr/lib/python2.6/site-packages/bugzilla/base.py", line 356, in _setcookiefile
self._cookiejar = _build_cookiejar(cookiefile)
File "/usr/lib/python2.6/site-packages/bugzilla/base.py", line 75, in _build_cookiejar
open(cookiefile, 'a').close()
IOError: [Errno 13] Permission denied: '/usr/share/blockerbugs/.bugzillacookies'

I'd like to be done with this once and for all and remove the code that has anything to do with bugzilla cookies. With a quick grep, there is still code referencing bugzilla cookies in:

  • blockerbugs.controllers.main
  • blockerbugs.cli
  • blockerbugs.config

This ticket had assigned some Differential requests:
D7

Pushed to develop, cherry-picked in master, released as 0.4.3.1 and deployed to dev.

This issue has been migrated to Fedora Forge:
https://forge.fedoraproject.org/quality/blockerbugs/issues/20

Please continue any further discussion there.

Log in to comment on this ticket.

Metadata