Discussion:
[BitPim-devel] error getting wallpapers Samsung SPH-660
Mike Bonar
2005-01-12 00:56:59 UTC
Permalink
I get this when I try loading wallpapers:

An unexpected exception has occurred.
Please see the help for details on what to do.

Traceback (most recent call last):
File "gui.pyo", line 152, in run
File "gui.pyo", line 92, in __call__
File "gui.pyo", line 1169, in getdata
File "com_samsungspha620.pyo", line 82, in getwallpapers
File "com_samsungspha620.pyo", line 113, in getwallpaperindices
NameError: global name 'p_brew' is not defined

Variables by last 8 frames, innermost last

Frame __bootstrap in threading.pyo at line 436
self = <WorkerThread(BitPim helper, started daemon)>

Frame run in gui.pyo at line 145
e = <exceptions.NameError instance at 0x01E90D50>
res = None
self = <WorkerThread(BitPim helper, started daemon)>
item = (<gui.Request instance at 0x01E70490>, <gui.Callback
instance at 0x01E4CE90>)
call = <gui.Request instance at 0x01E70490>
ex = <exceptions.NameError instance at 0x01E90D50>
resultcb = <gui.Callback instance at 0x01E4CE90>
first = 0

Frame __call__ in gui.pyo at line 92
self = <gui.Request instance at 0x01E70490>
args = ()
d = Keys []
{}
kwargs = Keys []
{}

Frame getdata in gui.pyo at line 1169
count = 1
i = (<bound method GetPhoneDialog.GetWallpaperSetting of
<guiwidgets.GetPhoneDialog;
self = <WorkerThread(BitPim helper, started daemon)>
req = <guiwidgets.GetPhoneDialog; proxy of C++ wxDialog
instance at _583ec101_p_wxDial
willcall = [(<bound method GetPhoneDialog.GetWallpaperSetting of
<guiwidgets.GetPhoneDialog
results = Keys ['groups', 'sync', 'uniqueserial']
{'uniqueserial':
'e28d1c4f351a29f4985a8cd4020839ffeea816fc', 'groups': {0: {'nam
sync = Keys ['wallpaper']
{'wallpaper': 'OVERWRITE'}
st = 0
todo = [(<bound method WorkerThread.rebootcheck of
<WorkerThread(BitPim helper, started

Frame getwallpapers in com_samsungspha620.pyo at line 82
self = <com_samsungspha620.Phone instance at 0x01E4CEE0>
result = Keys ['groups', 'sync', 'uniqueserial']
{'uniqueserial':
'e28d1c4f351a29f4985a8cd4020839ffeea816fc', 'groups': {0: {'nam

Frame getwallpaperindices in com_samsungspha620.pyo at line 125
i = 0
self = <com_samsungspha620.Phone instance at 0x01E4CEE0>
imagemedia = Keys []
{}
results = Keys ['groups', 'sync', 'uniqueserial']
{'uniqueserial':
'e28d1c4f351a29f4985a8cd4020839ffeea816fc', 'groups': {0: {'nam

Mike
Stephen Wood
2005-01-12 04:25:24 UTC
Permalink
Post by Mike Bonar
...
File "com_samsungspha620.pyo", line 82, in getwallpapers
File "com_samsungspha620.pyo", line 113, in getwallpaperindices
NameError: global name 'p_brew' is not defined
...

Thanks for noting this.

There is a missing "import p_brew" at the top of com_samsungspha620.py.
I committed the fix, but if you don't see it yet, add "import p_brew"
somewhere at the top of the file, say just after "import
p_samsungspha620".

Stephen

Loading...