Opened 7 years ago

Closed 7 years ago

#1854 closed defect (fixed)

Error reporting a bug when http proxy used

Reported by: jmsstarlight@… Owned by: Tom Goddard
Priority: moderate Milestone:
Component: Core Version:
Keywords: Cc:
Blocked By: Blocking:
Notify when closed: Platform: all
Project: ChimeraX

Description

Begin forwarded message:

From: James Starlight
Subject: Re: [chimerax-users] ChimeraX python crush in no-gui mode
Date: April 16, 2019 at 9:40:36 AM PDT
To: ChimeraX Users Help <chimerax-users@…>

Elaine,

i have got a bug while trying to report a bug :-)

Failed to send bug report. Error while sending follows:
Traceback (most recent call last):
File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-packages/chimerax/bug_reporter/bug_reporter_gui.py",
line 231, in submit
errcode, errmsg, headers, body = post_multipart_formdata(BUG_HOST,
BUG_SELECTOR, fields)
File "/usr/lib/ucsf-chimerax-daily/lib/python3.7/site-packages/chimerax/bug_reporter/post_form.py",
line 36, in post_multipart_formdata
h = HTTPConnection(realhost)
UnboundLocalError: local variable 'HTTPConnection' referenced before assignment

Change History (1)

comment:1 by Tom Goddard, 7 years ago

Resolution: fixed
Status: assignedclosed

Fixed.

Only happened when http proxy set. Import was at wrong indent level.

Note: See TracTickets for help on using tickets.