Why redhat-support-tool failed to upload a file to dropbox

Solution Unverified - Updated -

Issue

XXXX-XX-XX XX:XX:XX,XXX - redhat_support_tool.plugins.add_attachment - ERROR - ERROR: Problem encountered whilst uploading the attachment.  Please consult the Red Hat Support Tool 
logs for details.
XXXX-XX-XX XX:XX:XX,XXX - redhat_support_tool.helpers.launchhelper - ERROR - local variable 'timer' referenced before assignment
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/redhat_support_tool/helpers/launchhelper.py", line 106, in run
    return cls.non_interactive_action()
  File "/usr/lib/python2.6/site-packages/redhat_support_tool/plugins/add_attachment.py", line 437, in non_interactive_action
    useFtp=self.use_ftp)
  File "/usr/lib/python2.6/site-packages/redhat_support_lib/infrastructure/brokers.py", line 612, in add
    amnt = FtpHelper.ftp_attachment(fileName, caseNumber, fileChunk)
  File "/usr/lib/python2.6/site-packages/redhat_support_lib/utils/ftphelper.py", line 135, in ftp_attachment
    timer.stop()
UnboundLocalError: local variable 'timer' referenced before assignment

Environment

Red Hat Enterprise Linux 6

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content