← Back to team overview

openerp-india team mailing list archive

[Bug 960870] Re: [Fetchmail]: UnboundLocalError: local variable 'imap_server' referenced before assignment

 

Landed on 6.1,
Revision ID: xal@xxxxxxxxxxx-20120321092908-065zr4qqe9v9lo8d 
Revision 6693 

** Changed in: openobject-addons
       Status: Fix Committed => Fix Released

-- 
You received this bug notification because you are a member of OpenERP
Indian Team, which is subscribed to OpenERP Addons.
https://bugs.launchpad.net/bugs/960870

Title:
  [Fetchmail]: UnboundLocalError: local variable 'imap_server'
  referenced before assignment

Status in OpenERP Addons (modules):
  Fix Released

Bug description:
  With latest trunk and 6.1 stable version,

  Install Fetchmail module.
  Configure Incoming mail server and Confirm it.
  Now, Without internet connection, By clicking on 'Fetch Now' button, It is raising this error:

  Environment Information : 
  System : Linux-2.6.32-21-generic-i686-with-Ubuntu-10.04-lucid
  OS Name : posix
  Distributor ID:	Ubuntu
  Description:	Ubuntu 10.04 LTS
  Release:	10.04
  Codename:	lucid
  Operating System Release : 2.6.32-21-generic
  Operating System Version : #32-Ubuntu SMP Fri Apr 16 08:10:02 UTC 2010
  Operating System Architecture : 32bit
  Operating System Locale : en_IN.ISO8859-1
  Python Version : 2.6.5
  OpenERP-Client Version : 6.1.1
  Last revision No. & ID :2054 odo@xxxxxxxxxxx-20120222113352-gt6mtog6mruiy8qb
  Traceback (most recent call last):
    File "/home/priyesh/Desktop/Branches/Stable-6.1/server/openerp/service/netrpc_server.py", line 64, in run
      result = netsvc.dispatch_rpc(msg[0], msg[1], msg[2:])
    File "/home/priyesh/Desktop/Branches/Stable-6.1/server/openerp/netsvc.py", line 360, in dispatch_rpc
      result = ExportService.getService(service_name).dispatch(method, params)
    File "/home/priyesh/Desktop/Branches/Stable-6.1/server/openerp/service/web_services.py", line 572, in dispatch
      res = fn(db, uid, *params)
    File "/home/priyesh/Desktop/Branches/Stable-6.1/server/openerp/osv/osv.py", line 121, in wrapper
      return f(self, dbname, *args, **kwargs)
    File "/home/priyesh/Desktop/Branches/Stable-6.1/server/openerp/osv/osv.py", line 176, in execute
      res = self.execute_cr(cr, uid, obj, method, *args, **kw)
    File "/home/priyesh/Desktop/Branches/Stable-6.1/server/openerp/osv/osv.py", line 164, in execute_cr
      return getattr(object, method)(cr, uid, *args, **kw)
    File "/home/priyesh/Desktop/Branches/Stable-6.1/addons/fetchmail/fetchmail.py", line 203, in fetch_mail
      if imap_server:
  UnboundLocalError: local variable 'imap_server' referenced before assignment

  
  Thanks,
  Priyesh

To manage notifications about this bug go to:
https://bugs.launchpad.net/openobject-addons/+bug/960870/+subscriptions


References