Bug 501858 - SmoltSendProfile: Variable referenced before assignment
Summary: SmoltSendProfile: Variable referenced before assignment
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: smolt
Version: 10
Hardware: All
OS: Linux
low
medium
Target Milestone: ---
Assignee: Mike McGrath
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2009-05-21 05:30 UTC by Egon Kastelijn
Modified: 2009-06-22 20:28 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2009-06-22 20:28:21 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Egon Kastelijn 2009-05-21 05:30:49 UTC
Description of problem:
SmoltSendProfile gives an error while trying to send the profile.

Version-Release number of selected component (if applicable):
smolt-1.1.1.1-9.fc10.noarch

How reproducible:
# smoltSendProfile -ar

Steps to Reproduce:
1. smoltSendProfile -ar
2.
3.
  
Actual results:
Error contacting Server: [Errno 14] HTTP Error 502: Bad Gateway
Retry Enabled - Retrying                                       
Error contacting Server: [Errno 14] HTTP Error 502: Bad Gateway
Retry Enabled - Retrying                                       
Something went wrong fetching a token                          
Traceback (most recent call last):                             
  File "/usr/bin/smoltSendProfile", line 167, in <module>      
    timeout=opts.timeout)                                      
  File "/usr/share/smolt/client/smolt.py", line 455, in send   
    send_host_obj = self.get_sendable_host(prefered_protocol)  
UnboundLocalError: local variable 'prefered_protocol' referenced before assignment

Expected results:
A normal Smolt upload

Additional info:

Comment 1 Mike McGrath 2009-06-22 20:28:21 UTC
This should be working now.


Note You need to log in before you can comment on or make changes to this bug.