RE: Bluetooth Implementation exception

"Simon C" <[email protected]>
Newsgroups gmane.comp.mobile.bitpim.devel
Message-ID <002a01c5aeac$d050eea0$6400a8c0@HOME>
Joe,

I cannot reproduce this, I will need some help figuring this one out. I
presume you are going into the port browser in the settings dialog and
hitting refresh?. Do you have any details on what steps causes this. Can you
same the output of the port browser so I can see what ports you have in the
system.
The error says that the module "usb" does not have the function
UpdateLists().
Looking at usbscan.py "usb" is imported from "native.usb". This module
certainly does have this function, so the error code is kind of odd.
The only thing I can think is that my change so badly corrupted the system
that python got hosed.

There were three changes that I made, if you have time could you try backing
each source file out (comscan.py, comdiagnose and com_lgvx8100.py) one at a
time to see which causes the problem. I suspect it is the change in
comscan.py.

thanks,

Simon

> -----Original Message-----
> From: [email protected]
> [mailto:[email protected]]On Behalf Of Joe Pham
> Sent: Wednesday, August 31, 2005 8:25 PM
> To: [email protected]
> Subject: [BitPim-devel] Bluetooth Implementation exception
>
>
> Simon, your BT changes cause the following exception.  I did
> not look further into it.
>
> -Joe Pham
>
> An unexpected exception has occurred.
> Please see the help for details on what to do.
>
> Traceback (most recent call last):
>   File
> "C:\Python23\Lib\site-packages\wx-2.6-msw-unicode\wx\_core.py"
> , line 13266, in <lambda>
>     lambda event: event.callable(*event.args, **event.kw) )
>   File "c:\Documents and Settings\dad\My
> Documents\cell_apps\bitpim\guiwidgets.py", line 785, in OnRefresh
>     ports=comscan.comscan()+usbscan.usbscan()
>   File "c:\Documents and Settings\dad\My
> Documents\cell_apps\bitpim\usbscan.py", line 46, in usbscan
>     usb.UpdateLists()
> AttributeError: 'module' object has no attribute 'UpdateLists'
>
> Variables by last 8 frames, innermost last
>
> Frame OnEditSettings in c:\Documents and Settings\dad\My
> Documents\cell_apps\bitpim\gui.py at line 1317
>            self =  <gui.MainWindow; proxy of C++ wxFrame
> instance at _28997601_p_wxFrame>
>               _ =  <wx._core.CommandEvent; proxy of C++
> wxCommandEvent instance at _a0f01200_p_wxCo
>
> Frame ShowModal in c:\Documents and Settings\dad\My
> Documents\cell_apps\bitpim\guiwidgets.py at line 709
>            self =  <guiwidgets.ConfigDialog; proxy of C++
> wxDialog instance at _d0dee301_p_wxDialog
>
> Frame ShowModal in
> C:\Python23\Lib\site-packages\wx-2.6-msw-unicode\wx\_windows.p
> y at line 685
>            args =  (<guiwidgets.ConfigDialog; proxy of C++
> wxDialog instance at _d0dee301_p_wxDialo
>          kwargs =  Keys []
>                    {}
>
> Frame OnComBrowse in c:\Documents and Settings\dad\My
> Documents\cell_apps\bitpim\guiwidgets.py at line 507
>               p =  200
>            self =  <guiwidgets.ConfigDialog; proxy of C++
> wxDialog instance at _d0dee301_p_wxDialog
>             dlg =  <guiwidgets.CommPortDialog; proxy of C++
> wxDialog instance at _98b49102_p_wxDial
>               _ =  <wx._core.CommandEvent; proxy of C++
> wxCommandEvent instance at _04de1200_p_wxCo
>
> Frame ShowModal in
> C:\Python23\Lib\site-packages\wx-2.6-msw-unicode\wx\_windows.p
> y at line 685
>            args =  (<guiwidgets.CommPortDialog; proxy of C++
> wxDialog instance at _98b49102_p_wxDia
>          kwargs =  Keys []
>                    {}
>
> Frame <lambda> in
> C:\Python23\Lib\site-packages\wx-2.6-msw-unicode\wx\_core.py
> at line 13266
>           event =  <wx._core.PyEvent; proxy of C++ wxPyEvent
> instance at _58668602_p_wxPyEvent>
>
> Frame OnRefresh in c:\Documents and Settings\dad\My
> Documents\cell_apps\bitpim\guiwidgets.py at line 785
>            self =  <guiwidgets.CommPortDialog; proxy of C++
> wxDialog instance at _98b49102_p_wxDial
>               _ =  None
>
> Frame usbscan in c:\Documents and Settings\dad\My
> Documents\cell_apps\bitpim\usbscan.py at line 46
>           iface =  1
>             res =  []
>            args =  ()
>            vend =  26113
>          kwargs =  Keys []
>                    {}
>               x =  '1'
>            line =  '04e8  6601  1'
>            prod =  1256
>
>
>
>
> ______________________________________________________________________
> NetZero Is Giving Away $3,000 A Day!
> Sign up for NetZero HiSpeed 3G with Instant On!
> Visit http://www.netzero.com/3Gsweeps TODAY for your chance to win!
>
>
>
> -------------------------------------------------------
> SF.Net email is Sponsored by the Better Software Conference & EXPO
> September 19-22, 2005 * San Francisco, CA * Development
> Lifecycle Practices
> Agile & Plan-Driven Development * Managing Projects & Teams *
> Testing & QA
> Security * Process Improvement & Measurement *
> http://www.sqe.com/bsce5sf
> _______________________________________________
> BitPim-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/bitpim-devel



-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.