Public bug reported:

Binary package hint: bitpim

BItpim crashes when attempting to import data from a phone. Phone is
connectable via Bluetooth and is configured properly in Bitpim.

Steps to reproduce:
Start Bitpim
Configure phone
Attempt to "download from phone"

Results:
Bitpim throws a Python error.

Expected results:

Bitpim should work

Reproducability: Every time.

Version information:
Description:    Ubuntu 9.04
Release:        9.04
bitpim:
  Installed: 1.0.6.dfsg.1-1ubuntu2
  Candidate: 1.0.6.dfsg.1-1ubuntu2
  Version table:
 *** 1.0.6.dfsg.1-1ubuntu2 0
        500 http://archive.ubuntu.com jaunty/universe Packages
        100 /var/lib/dpkg/status

BitPim version: 1.0.6-Debian
An unexpected exception has occurred.
Please see the help for details on what to do.

Traceback (most recent call last):
  File "/usr/share/bitpim/code/gui.py", line 284, in run
    res=call()
  File "/usr/share/bitpim/code/gui.py", line 159, in __call__
    return apply(self.method, self.args+args, d)
  File "/usr/share/bitpim/code/gui.py", line 1884, in getdata
    results=self.getfundamentals()
  File "/usr/share/bitpim/code/gui.py", line 1878, in getfundamentals
    self.commphone.getfundamentals(results)
  File "/usr/share/bitpim/code/phones/com_lgvx4400.py", line 96, in 
getfundamentals
    results['uniqueserial']=sha.new(self.get_esn()).hexdigest()
  File "/usr/share/bitpim/code/phones/com_lgvx8300.py", line 85, in get_esn
    return self.get_brew_esn()
  File "/usr/share/bitpim/code/phones/com_brew.py", line 335, in get_brew_esn
    p_brew.ESN_resp).esn
  File "/usr/share/bitpim/code/phones/com_lg.py", line 1711, in _sendbrewcommand
    return func(*args, **kwargs)
  File "/usr/share/bitpim/code/phones/com_brew.py", line 755, in sendbrewcommand
    self.setmode(self.MODEBREW)
  File "/usr/share/bitpim/code/phones/com_phone.py", line 114, in setmode
    res=getattr(self, func)()
  File "/usr/share/bitpim/code/phones/com_brew.py", line 693, in _setmodebrew
    self.sendbrewcommand(req, respc, callsetmode=False)
  File "/usr/share/bitpim/code/phones/com_lg.py", line 1711, in _sendbrewcommand
    return func(*args, **kwargs)
  File "/usr/share/bitpim/code/phones/com_brew.py", line 757, in sendbrewcommand
    request.writetobuffer(buffer, logtitle="sendbrewcommand")
  File "/usr/share/bitpim/code/phones/p_brew.py", line 2536, in writetobuffer
    self.__field_header=requestheader(**{'command': 0x0c})
  File "/usr/share/bitpim/code/phones/p_brew.py", line 42, in __init__
    super(requestheader,self).__init__(**dict)
TypeError: object.__init__() takes no parameters

Variables by last 8 frames, innermost last

Frame _sendbrewcommand in /usr/share/bitpim/code/phones/com_lg.py at line 1714
           self =  <phones.com_lgvx8300.Phone object at 0x4bf1d50>
           args =  (<phones.p_brew.ESN_req object at 0x4c0ce10>, <class 
'phones.p_brew.ESN_resp'>)
           func =  <bound method Phone.sendbrewcommand of 
<phones.com_lgvx8300.Phone object at 0x4b
         kwargs =  Keys []
                   {}

Frame sendbrewcommand in /usr/share/bitpim/code/phones/com_brew.py at line 755
    callsetmode =  True
        request =  <phones.p_brew.ESN_req object at 0x4c0ce10>
           self =  <phones.com_lgvx8300.Phone object at 0x4bf1d50>
  responseclass =  <class 'phones.p_brew.ESN_resp'>

Frame setmode in /usr/share/bitpim/code/phones/com_phone.py at line 116
    desiredmode =  'modebrew'
           self =  <phones.com_lgvx8300.Phone object at 0x4bf1d50>
        strmode =  'none'
 strdesiredmode =  'brew'
           func =  '_setmodebrew'
              v =  'writeobject'

Frame _setmodebrew in /usr/share/bitpim/code/phones/com_brew.py at line 696
           self =  <phones.com_lgvx8300.Phone object at 0x4bf1d50>
            req =  <phones.p_brew.memoryconfigrequest object at 0x4c0cf90>
          respc =  <class 'phones.p_brew.memoryconfigresponse'>

Frame _sendbrewcommand in /usr/share/bitpim/code/phones/com_lg.py at line 1714
           self =  <phones.com_lgvx8300.Phone object at 0x4bf1d50>
           args =  (<phones.p_brew.memoryconfigrequest object at 0x4c0cf90>, 
<class 'phones.p_brew.
           func =  <bound method Phone.sendbrewcommand of 
<phones.com_lgvx8300.Phone object at 0x4b
         kwargs =  Keys ['callsetmode']
                   {'callsetmode': False}

Frame sendbrewcommand in /usr/share/bitpim/code/phones/com_brew.py at line 757
         buffer =  <prototypes.buffer object at 0x4c0cfd0>
    callsetmode =  False
        request =  <phones.p_brew.memoryconfigrequest object at 0x4c0cf90>
           self =  <phones.com_lgvx8300.Phone object at 0x4bf1d50>
  responseclass =  <class 'phones.p_brew.memoryconfigresponse'>

Frame writetobuffer in /usr/share/bitpim/code/phones/p_brew.py at line 2536
            buf =  <prototypes.buffer object at 0x4c0cfd0>
        autolog =  True
       logtitle =  'sendbrewcommand'
           self =  <phones.p_brew.memoryconfigrequest object at 0x4c0cf90>

Frame __init__ in /usr/share/bitpim/code/phones/p_brew.py at line 42
           self =  <phones.p_brew.requestheader object at 0x4c15050>
           args =  ()
           dict =  Keys ['command']
                   {'command': 12}
         kwargs =  Keys ['command']
                   {'command': 12}

** Affects: bitpim (Ubuntu)
     Importance: Undecided
         Status: New

-- 
Bitpim crashes when communicating with phone
https://bugs.launchpad.net/bugs/395830
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to