[Bug 364375] [NEW] Unable to open bitpim and connect to /dev/rfcomm0

mikeschoon mike.schoon at gmail.com
Mon Apr 20 23:51:14 UTC 2009


Public bug reported:

Binary package hint: bitpim

Could not open port /dev/rfcomm0: [ErrNo 13] Permission denied:
'/dev/rfcomm0' when running as normal user.

With sudo, receive:

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 0x93aa14c>
           args =  (<phones.p_brew.ESN_req object at 0xb0ba50c>, <class 'phones.p_brew.ESN_resp'>)
           func =  <bound method Phone.sendbrewcommand of <phones.com_lgvx8300.Phone object at 0x93
         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 0xb0ba50c>
           self =  <phones.com_lgvx8300.Phone object at 0x93aa14c>
  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 0x93aa14c>
        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 0x93aa14c>
            req =  <phones.p_brew.memoryconfigrequest object at 0xaf5ab4c>
          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 0x93aa14c>
           args =  (<phones.p_brew.memoryconfigrequest object at 0xaf5ab4c>, <class 'phones.p_brew.
           func =  <bound method Phone.sendbrewcommand of <phones.com_lgvx8300.Phone object at 0x93
         kwargs =  Keys ['callsetmode']
                   {'callsetmode': False}

Frame sendbrewcommand in /usr/share/bitpim/code/phones/com_brew.py at line 757
         buffer =  <prototypes.buffer object at 0xaf49b4c>
    callsetmode =  False
        request =  <phones.p_brew.memoryconfigrequest object at 0xaf5ab4c>
           self =  <phones.com_lgvx8300.Phone object at 0x93aa14c>
  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 0xaf49b4c>
        autolog =  True
       logtitle =  'sendbrewcommand'
           self =  <phones.p_brew.memoryconfigrequest object at 0xaf5ab4c>

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


Error occurs when transferring phonebook.

Description:	Ubuntu jaunty (development branch)
Release:	9.04

Expected transfer of phonebook.

ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: nvidia
Package: bitpim 1.0.6.dfsg.1-1ubuntu2
PackageArchitecture: all
ProcEnviron:
 LANG=en_US.UTF-8
 SHELL=/bin/bash
SourcePackage: bitpim
Uname: Linux 2.6.28-11-generic i686

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


** Tags: apport-bug i386

-- 
Unable to open bitpim and connect to /dev/rfcomm0
https://bugs.launchpad.net/bugs/364375
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

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




More information about the universe-bugs mailing list