use an error message instead of just running forever

Bug #503054 reported by Rick Spencer
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Bug Hugger
Undecided
Unassigned

Bug Description

when a query runs into a problem, bughugger just kind of runs forever. Unless you've run it from the CL there is no way to know that's it is busted or what the problem is. quidgets.error should make this easy

Revision history for this message
nUboon2Age (nuboon2age) wrote :

For me this defect makes it unusable. There is no real user feedback or progress indication (the activity indicator going back and forth forever doesn't count) to tell what's going on.

Changed in bughugger:
status: New → Confirmed
Revision history for this message
nUboon2Age (nuboon2age) wrote :

I just ran it from the CL and this is what I got. It went into its 'running forever' mode when I asked for all user reported bugs by nuboon2age.

bughugger -v
DEBUG:root:logging enabled
running logon dialog for bughugger
making .local directory for bughugger
cache directory at /home/glorious/.cache/bughugger
/home/glorious/.local/share/bughugger/production/credentials
credentials file exists. Using it
directories now exist for bughugger
using cached credentials
logon complete
retrieving release targetted bug_tasks for nuboon2age in maverick
retrieving release targetted bug_tasks for nuboon2age in lucid
retrieving release targetted bug_tasks for nuboon2age in karmic
retrieving release targetted bug_tasks for nuboon2age in jaunty
retrieving release targetted bug_tasks for nuboon2age in hardy
retrieving release targetted bug_tasks for nuboon2age in dapper
retrieving non-targetted bug_tasks for nuboon2age
Exception in thread Thread-5:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "/usr/lib/python2.6/dist-packages/quickly/widgets/asynch_task_progressbox.py", line 211, in run
    data = self.run_function(self.params)
  File "/usr/lib/python2.6/dist-packages/bughugger/LaunchpadUtils.py", line 85, in get_user_reported_list_store
    get_bug_tasks_reported(user, user, bug_task_list, lp, params)
  File "/usr/lib/python2.6/dist-packages/bughugger/LaunchpadUtils.py", line 167, in get_bug_tasks_reported
    bug_tasks = lp.distributions["ubuntu"].searchTasks(bug_task_reporter = reported_by, milestone = None, omit_targeted = False)
  File "/usr/lib/pymodules/python2.6/lazr/restfulclient/resource.py", line 472, in __call__
    url = self.wadl_method.build_request_url(**args)
  File "/usr/lib/pymodules/python2.6/wadllib/application.py", line 582, in build_request_url
    return self.request.build_url(param_values, **kw_param_values)
  File "/usr/lib/pymodules/python2.6/wadllib/application.py", line 695, in build_url
    self.query_params, param_values, **kw_param_values)
  File "/usr/lib/pymodules/python2.6/wadllib/application.py", line 179, in validate_param_values
    % "', '".join(param_values.keys()))
ValueError: Unrecognized parameter(s): 'bug_task_reporter'

Revision history for this message
nUboon2Age (nuboon2age) wrote :

When I tried to search for package bugs (jockey) even the CL didn't give any clue as to what it was up to when it went into 'running forever' mode:

$ bughugger -v
DEBUG:root:logging enabled
running logon dialog for bughugger
making .local directory for bughugger
cache directory at /home/glorious/.cache/bughugger
/home/glorious/.local/share/bughugger/production/credentials
credentials file exists. Using it
directories now exist for bughugger
using cached credentials
logon complete

Revision history for this message
nUboon2Age (nuboon2age) wrote : apport information

Architecture: i386
DistroRelease: Ubuntu 10.04
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
Package: bughugger 10.04
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.utf8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.32-22.36-generic 2.6.32.11+drm33.2
Tags: lucid
Uname: Linux 2.6.32-22-generic i686
UserGroups: adm admin audio cdrom dialout disk fuse haldaemon lpadmin mythtv plugdev root sambashare vboxusers video x2gousers

tags: added: apport-collected
Revision history for this message
nUboon2Age (nuboon2age) wrote : Dependencies.txt

apport information

Revision history for this message
nUboon2Age (nuboon2age) wrote :
Download full text (8.6 KiB)

Successfully ran 'Team Assigned Bugs' (using Bughuggers) but it literally took more than 2 (I think it was more like at least 4 or more) hours. If I hadn't run it from the CL I wouldn't know it was doing anything. Looking at the CL output I see a CouchDB error at the end. I'm not certain if this was before or during the time I ran the 'Collect it' command.

bughugger -v
DEBUG:root:logging enabled
running logon dialog for bughugger
making .local directory for bughugger
cache directory at /home/glorious/.cache/bughugger
/home/glorious/.local/share/bughugger/production/credentials
credentials file exists. Using it
directories now exist for bughugger
using cached credentials
logon complete
retrieving release targetted bug_tasks for bughuggers in maverick
retrieving release targetted bug_tasks for bughuggers in lucid
retrieving release targetted bug_tasks for bughuggers in karmic
retrieving release targetted bug_tasks for bughuggers in jaunty
retrieving release targetted bug_tasks for bughuggers in hardy
retrieving release targetted bug_tasks for bughuggers in dapper
retrieving non-targetted bug_tasks for bughuggers
retrieving release targetted bug_tasks for brian-murray in maverick
retrieving release targetted bug_tasks for brian-murray in lucid
retrieving release targetted bug_tasks for brian-murray in karmic
retrieving release targetted bug_tasks for brian-murray in jaunty
retrieving release targetted bug_tasks for brian-murray in hardy
retrieving release targetted bug_tasks for brian-murray in dapper
retrieving non-targetted bug_tasks for brian-murray
retrieving release targetted bug_tasks for bryceharrington in maverick
retrieving release targetted bug_tasks for bryceharrington in lucid
retrieving release targetted bug_tasks for bryceharrington in karmic
retrieving release targetted bug_tasks for bryceharrington in jaunty
retrieving release targetted bug_tasks for bryceharrington in hardy
retrieving release targetted bug_tasks for bryceharrington in dapper
retrieving non-targetted bug_tasks for bryceharrington
retrieving release targetted bug_tasks for bug-zapper in maverick
retrieving release targetted bug_tasks for bug-zapper in lucid
retrieving release targetted bug_tasks for bug-zapper in karmic
retrieving release targetted bug_tasks for bug-zapper in jaunty
retrieving release targetted bug_tasks for bug-zapper in hardy
retrieving release targetted bug_tasks for bug-zapper in dapper
retrieving non-targetted bug_tasks for bug-zapper
retrieving release targetted bug_tasks for bryceharrington in maverick
retrieving release targetted bug_tasks for bryceharrington in lucid
retrieving release targetted bug_tasks for bryceharrington in karmic
retrieving release targetted bug_tasks for bryceharrington in jaunty
retrieving release targetted bug_tasks for bryceharrington in hardy
retrieving release targetted bug_tasks for bryceharrington in dapper
retrieving non-targetted bug_tasks for bryceharrington
retrieving release targetted bug_tasks for ken-vandine in maverick
retrieving release targetted bug_tasks for ken-vandine in lucid
retrieving release targetted bug_tasks for ken-vandine in karmic
retrieving release targetted bug_tasks for ken-vandi...

Read more...

papukaija (papukaija)
tags: added: wishlist
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers