genotrance / appsnap

Automatically exported from code.google.com/p/appsnap
0 stars 0 forks source link

Wouldn't start got this #70

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.when the program tries to start 
2.
3.

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

This is what I got:
A fatal exception has occurred. Please report this bug to the AppSnap issue
tracker: http://code.google.com/p/appsnap/issues/entry. Sorry for the
inconvenience.

========================
Sat Feb 09 11:11:38 2008
========================

AppSnap = 1.3.3
wxPython = 2.8.7.1
PyCurl = libcurl/7.15.5 OpenSSL/0.9.8c zlib/1.2.3 c-ares/1.3.1
Locale = en_US

>>> whitecolour = wx.Colour( blue=255,green=255,red=255 )
... (255, 255, 255, 255)
>>> lightgreycolour = wx.Colour( blue=240,green=240,red=240 )
... (240, 240, 240, 255)
>>> darkgreycolour = wx.Colour( blue=200,green=200,red=200 )
... (200, 200, 200, 255)
>>> lightredcolour = wx.Colour( blue=180,green=180,red=255 )
... (255, 180, 180, 255)
>>> lightbluecolour = wx.Colour( blue=255,green=200,red=180 )
... (180, 200, 255, 255)
>>> bluecolour = wx.Colour( blue=255 )
... (0, 0, 255, 255)
>>> sectionfont = wx.Font(
style=wx.FONTSTYLE_NORMAL,pointSize=10,weight=wx.FONTWEIGHT_BOLD,family=wx.FONTF
AMILY_DECORATIVE,face='Verdana'
)
... <wx._gdi.Font; proxy of <Swig Object of type 'wxFont *' at 0x2a62c78> >
>>> dropdownfont = wx.Font(
style=wx.FONTSTYLE_NORMAL,pointSize=10,weight=wx.FONTWEIGHT_NORMAL,family=wx.FON
TFAMILY_SWISS,face='Arial'
)
... <wx._gdi.Font; proxy of <Swig Object of type 'wxFont *' at 0x2a62c98> >
>>> filterfont = wx.Font(
style=wx.FONTSTYLE_NORMAL,pointSize=9,weight=wx.FONTWEIGHT_NORMAL,family=wx.FONT
FAMILY_SWISS,face='Arial'
)
... <wx._gdi.Font; proxy of <Swig Object of type 'wxFont *' at 0x2a62c88> >
>>> urlfont = wx.Font(
style=wx.FONTSTYLE_NORMAL,pointSize=6,weight=wx.FONTWEIGHT_BOLD,family=wx.FONTFA
MILY_TELETYPE,face='Courier
New' )
... <wx._gdi.Font; proxy of <Swig Object of type 'wxFont *' at 0x2a62ca8> >
>>> cancelfont = wx.Font(
style=wx.FONTSTYLE_NORMAL,pointSize=8,weight=wx.FONTWEIGHT_NORMAL,family=wx.FONT
FAMILY_DEFAULT,underline=True
)
... <wx._gdi.Font; proxy of <Swig Object of type 'wxFont *' at 0x2a62c68> >
>>> tbpanel = wx.Panel( pos=(0, 0),parent=self.objects['frame'] )
... <wx._windows.Panel; proxy of <Swig Object of type 'wxPanel *' at
0x1d01000> >
>>> panel = wx.Panel( pos=(100, 1),parent=self.objects['frame'] )
... <wx._windows.Panel; proxy of <Swig Object of type 'wxPanel *' at
0x1d00ea8> >
>>> dropdown = wx.Choice( parent=self.objects['panel'],pos=(0,
-1),size=(165, -1) )
... <wx._controls.Choice; proxy of <Swig Object of type 'wxChoice *' at
0x1b53770> >
>>> filterbox = wx.TextCtrl( parent=self.objects['panel'],pos=(215,
3),size=(130, 19) )
... <wx._controls.TextCtrl; proxy of <Swig Object of type 'wxTextCtrl *' at
0x17e8c90> >
>>> bsizer = wx.BoxSizer( orient=wx.VERTICAL )
... <wx._core.BoxSizer; proxy of <Swig Object of type 'wxBoxSizer *' at
0x1b81190> >
>>> scrollwindow = wx.ScrolledWindow( pos=(0,
25),parent=self.objects['panel'] )
... <wx._windows.ScrolledWindow; proxy of <Swig Object of type
'wxScrolledWindow *' at 0x1e0b988> >
>>> icon = wx.Icon( type=wx.BITMAP_TYPE_ICO,name='appsnap.ico' )
... <wx._gdi.Icon; proxy of <Swig Object of type 'wxIcon *' at 0x2adfd38> >
>>> downloadicon = wx.Icon(
type=wx.BITMAP_TYPE_ICO,desiredHeight=16,desiredWidth=16,name='%systemroot%\syst
em32\shell32.dll;18'
)
... <wx._gdi.Icon; proxy of <Swig Object of type 'wxIcon *' at 0x2adfd48> >
>>> downloadbmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x2adfd28> >
>>> installicon = wx.Icon(
type=wx.BITMAP_TYPE_ICO,desiredHeight=16,desiredWidth=16,name='%systemroot%\syst
em32\shell32.dll;15'
)
... <wx._gdi.Icon; proxy of <Swig Object of type 'wxIcon *' at 0x2adfd68> >
>>> installbmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x2adfd58> >
>>> upgradeicon = wx.Icon(
type=wx.BITMAP_TYPE_ICO,desiredHeight=16,desiredWidth=16,name='%systemroot%\syst
em32\shell32.dll;19'
)
... <wx._gdi.Icon; proxy of <Swig Object of type 'wxIcon *' at 0x2adfd88> >
>>> upgradebmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x2adfd78> >
>>> uninstallicon = wx.Icon(
type=wx.BITMAP_TYPE_ICO,desiredHeight=16,desiredWidth=16,name='%systemroot%\syst
em32\shell32.dll;32'
)
... <wx._gdi.Icon; proxy of <Swig Object of type 'wxIcon *' at 0x2adfda8> >
>>> uninstallbmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x2adfd98> >
>>> updateicon = wx.Icon(
type=wx.BITMAP_TYPE_ICO,desiredHeight=16,desiredWidth=16,name='%systemroot%\syst
em32\shell32.dll;35'
)
... <wx._gdi.Icon; proxy of <Swig Object of type 'wxIcon *' at 0x2adfdc8> >
>>> updatebmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x2adfdb8> >
>>> reloadicon = wx.Icon(
type=wx.BITMAP_TYPE_ICO,desiredHeight=16,desiredWidth=16,name='%systemroot%\syst
em32\shell32.dll;69'
)
... <wx._gdi.Icon; proxy of <Swig Object of type 'wxIcon *' at 0x2adfde8> >
>>> reloadbmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x2adfdd8> >
>>> reportbugicon = wx.Icon(
type=wx.BITMAP_TYPE_ICO,desiredHeight=16,desiredWidth=16,name='%systemroot%\syst
em32\shell32.dll;13'
)
... <wx._gdi.Icon; proxy of <Swig Object of type 'wxIcon *' at 0x2adfe08> >
>>> reportbugbmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x2adfdf8> >
>>> helpicon = wx.Icon(
type=wx.BITMAP_TYPE_ICO,desiredHeight=16,desiredWidth=16,name='%systemroot%\syst
em32\shell32.dll;23'
)
... <wx._gdi.Icon; proxy of <Swig Object of type 'wxIcon *' at 0x2adfe28> >
>>> helpbmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x2adfe18> >
>>> toolbar = wx.ToolBar( style=wx.TB_TEXT |
wx.TB_VERTICAL,parent=self.objects['tbpanel'] )
... <wx._controls.ToolBar; proxy of <Swig Object of type 'wxToolBar *' at
0x1c99940> >
>>> statusbar = wx.StatusBar( parent=self.objects['frame'] )
... <wx._windows.StatusBar; proxy of <Swig Object of type 'wxStatusBar *'
at 0x1b53d10> >
>>> self.objects['frame'].SetSizeHints( minH=590,minW=500 )
... None
>>> self.objects['frame'].SetIcon( icon=self.objects['icon'] )
... None
>>> self.objects['frame'].SetToolBar( toolbar=self.objects['toolbar'] )
... None
>>> self.objects['frame'].SetStatusBar( statBar=self.objects['statusbar'] )
... None
>>> self.objects['tbpanel'].SetBackgroundColour(
colour=self.objects['whitecolour'] )
... True
>>> self.objects['panel'].SetBackgroundColour(
colour=self.objects['whitecolour'] )
... True
>>> self.objects['dropdown'].SetFont( font=self.objects['dropdownfont'] )
... True
>>> self.objects['filterbox'].SetFont( font=self.objects['filterfont'] )
... True
>>> self.objects['filterbox'].SetValue( value=u"Filter" )
... None
>>> self.objects['filterbox'].SetForegroundColour(
colour=self.objects['darkgreycolour'] )
... True
>>> self.objects['scrollwindow'].SetBackgroundColour(
colour=self.objects['whitecolour'] )
... True
>>> self.objects['scrollwindow'].SetScrollRate( xstep=0,ystep=10 )
... None
>>> self.objects['scrollwindow'].SetSizer( sizer=self.objects['bsizer'] )
... None
>>> self.objects['scrollwindow'].EnableScrolling(
y_scrolling=True,x_scrolling=False )
... None
>>> self.objects['scrollwindow'].SetFocus( )
... None
>>> self.objects['downloadbmp'].CopyFromIcon(
icon=self.objects['downloadicon'] )
... False
>>> self.objects['installbmp'].CopyFromIcon( icon=self.objects['installicon'] )
... False
>>> self.objects['upgradebmp'].CopyFromIcon( icon=self.objects['upgradeicon'] )
... False
>>> self.objects['uninstallbmp'].CopyFromIcon(
icon=self.objects['uninstallicon'] )
... False
>>> self.objects['updatebmp'].CopyFromIcon( icon=self.objects['updateicon'] )
... False
>>> self.objects['reloadbmp'].CopyFromIcon( icon=self.objects['reloadicon'] )
... False
>>> self.objects['reportbugbmp'].CopyFromIcon(
icon=self.objects['reportbugicon'] )
... False
>>> self.objects['helpbmp'].CopyFromIcon( icon=self.objects['helpicon'] )
... False
>>> self.objects['toolbar'].SetBackgroundColour(
colour=self.objects['whitecolour'] )
... True
>>> self.objects['statusbar'].SetFieldsCount( number=2 )
... None
>>> ['wx.EVT_SIZE', '( ', "self.objects['frame'],",
'event_object.resize_all )']
>>> ['wx.EVT_CHOICE', '( ', "self.objects['frame'],
self.objects['dropdown'].GetId(),", 'event_object.category_chosen )']
>>> ['wx.EVT_TEXT', '( ', "self.objects['frame'],
self.objects['filterbox'].GetId(),", 'event_object.filter_section_list )']
>>> ['wx.EVT_SET_FOCUS', '( ', "self.objects['filterbox'],",
'event_object.adjust_filter_box_text )']
>>> ['wx.EVT_KILL_FOCUS', '( ', "self.objects['filterbox'],",
'event_object.adjust_filter_box_text )']
>>> self.objects['dropdown'].Clear( )
... None
>>> self.objects['dropdown'].Append( item=u"All" )
... 0
>>> self.objects['dropdown'].Append( item=u"Installed" )
... 1
>>> self.objects['dropdown'].Append( item=u"Not Installed" )
... 2
>>> self.objects['dropdown'].Append( item=u"Upgradeable" )
... 3
>>> self.objects['dropdown'].Append( item=u"Removable" )
... 4
>>> self.objects['dropdown'].Append( item=u"Processing" )
... 5
>>> self.objects['dropdown'].Append( item=u"--" )
... 6
>>> self.objects['dropdown'].Append( item=u"Development" )
... 7
>>> self.objects['dropdown'].Append( item=u"Entertainment" )
... 8
>>> self.objects['dropdown'].Append( item=u"Firefox:Development" )
... 9
>>> self.objects['dropdown'].Append( item=u"Firefox:Internet" )
... 10
>>> self.objects['dropdown'].Append( item=u"Firefox:Utilities" )
... 11
>>> self.objects['dropdown'].Append( item=u"Fun and Games" )
... 12
>>> self.objects['dropdown'].Append( item=u"Internet" )
... 13
>>> self.objects['dropdown'].Append( item=u"Libraries" )
... 14
>>> self.objects['dropdown'].Append( item=u"Productivity" )
... 15
>>> self.objects['dropdown'].Append( item=u"Thunderbird:Productivity" )
... 16
>>> self.objects['dropdown'].Append( item=u"Utilities" )
... 17
>>> self.objects['dropdown'].Select( n=0 )
... None
>>> self.objects['toolbar'].Disable( )
... True
>>> self.objects['toolbar'].Refresh( )
... None
>>> self.objects['dropdown'].Disable( )
... True
>>> self.objects['filterbox'].Disable( )
... True
>>> self.objects['statusbar'].Refresh( )
... None
>>> self.objects['application'].Yield( onlyIfNeeded=True )
... True
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type
'wxToolBarToolBase *' at 0x2a5e7c0> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type
'wxToolBarToolBase *' at 0x2a5e6e8> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type
'wxToolBarToolBase *' at 0x2a5e580> >
>>> self.objects['toolbar'].AddLabelTool(
id=-1,bitmap=self.objects['downloadbmp'],shortHelp=u"Download selected
applications",label=u"Download" )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type
'wxToolBarToolBase *' at 0x2a5e538> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type
'wxToolBarToolBase *' at 0x2a5e4f0> >
>>> self.objects['toolbar'].AddLabelTool(
id=-1,bitmap=self.objects['installbmp'],shortHelp=u"Download and install
selected applications",label=u"Install" )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type
'wxToolBarToolBase *' at 0x2a5ea00> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type
'wxToolBarToolBase *' at 0x2a5e610> >
>>> self.objects['toolbar'].AddLabelTool(
id=-1,bitmap=self.objects['upgradebmp'],shortHelp=u"Upgrade selected
applications",label=u"Upgrade" )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type
'wxToolBarToolBase *' at 0x2a5ead8> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type
'wxToolBarToolBase *' at 0x2a5ea48> >
>>> self.objects['toolbar'].AddLabelTool(
id=-1,bitmap=self.objects['uninstallbmp'],shortHelp=u"Uninstall selected
applications",label=u"Uninstall" )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type
'wxToolBarToolBase *' at 0x2a5ebb0> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type
'wxToolBarToolBase *' at 0x2a5eb20> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type
'wxToolBarToolBase *' at 0x2a5eb68> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type
'wxToolBarToolBase *' at 0x2a5ebf8> >
>>> self.objects['toolbar'].AddLabelTool(
id=-1,bitmap=self.objects['updatebmp'],shortHelp=u"Update AppSnap and
database",label=u"Update" )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type
'wxToolBarToolBase *' at 0x2a5ec88> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type
'wxToolBarToolBase *' at 0x2a5ec40> >
>>> self.objects['toolbar'].AddLabelTool(
id=-1,bitmap=self.objects['reloadbmp'],shortHelp=u"Reload
configuration",label=u"Reload" )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type
'wxToolBarToolBase *' at 0x2a5ed18> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type
'wxToolBarToolBase *' at 0x2a5ecd0> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type
'wxToolBarToolBase *' at 0x2a5ea90> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type
'wxToolBarToolBase *' at 0x2a5ed60> >
>>> self.objects['toolbar'].AddLabelTool(
id=-1,bitmap=self.objects['reportbugbmp'],shortHelp=u"Report a
bug",label=u"Report Bug" )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type
'wxToolBarToolBase *' at 0x2a5edf0> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type
'wxToolBarToolBase *' at 0x2a5eda8> >
>>> self.objects['toolbar'].AddLabelTool(
id=-1,bitmap=self.objects['helpbmp'],shortHelp=u"Open
documentation",label=u"Help" )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type
'wxToolBarToolBase *' at 0x2a5ee80> >
>>> self.objects['statusbar'].SetStatusText( text=u"Loading
database",number=0 )
... None
>>> self.objects['statusbar'].SetStatusText( text=u"",number=1 )
... None
>>> self.objects['statusbar'].Refresh( )
... None
>>> self.objects['tbpanel'].SetSize( size=(100, 590) )
... None
>>> self.objects['panel'].SetSize( size=(400, 590) )
... None
>>> self.objects['scrollwindow'].SetSize( size=(385, 500) )
... None
>>> self.objects['bsizer'].SetMinSize( size=(385, 500) )
... None
>>> self.objects['filterbox'].Move( pt=(255, 3) )
... None
>>> self.objects['tbpanel'].SetSize( size=(100, 590) )
... None
>>> self.objects['panel'].SetSize( size=(400, 590) )
... None
>>> self.objects['scrollwindow'].SetSize( size=(385, 500) )
... None
>>> self.objects['bsizer'].SetMinSize( size=(385, 500) )
... None
>>> self.objects['filterbox'].Move( pt=(255, 3) )
... None
>>> self.objects['bsizer'].Clear( deleteWindows=True )
... None
>>> self.objects['scrollwindow'].Hide( )
... True

Traceback (most recent call last):
  File ".\appsnaplib\guisetup.py", line 406, in initialize
  File ".\appsnaplib\guisetup.py", line 648, in initialize_section_list
  File ".\appsnaplib\widgets.py", line 80, in set_event
  File ".\appsnaplib\process.py", line 92, in __init__
  File ".\appsnaplib\process.py", line 150, in get_installed_version
  File ".\appsnaplib\config.py", line 463, in
registry_search_uninstall_location
  File "re.pyo", line 129, in match
TypeError: expected string or buffer

My email is

Loug22@Gmail.com

Lou

Original issue reported on code.google.com by Lou...@gmail.com on 9 Feb 2008 at 4:15

GoogleCodeExporter commented 9 years ago
Can you rename config.py in appsnaplib with the version attached below and 
retry?
Thanks for the report.

Original comment by ganesh...@gmail.com on 9 Feb 2008 at 5:34

Attachments:

GoogleCodeExporter commented 9 years ago
Did what you asked and got this.

A fatal exception has occurred. Please report this bug to the AppSnap issue 
tracker:
http://code.google.com/p/appsnap/issues/entry. Sorry for the inconvenience.

========================
Sat Feb 09 12:39:47 2008
========================

AppSnap = 1.3.3
wxPython = 2.8.7.1
PyCurl = libcurl/7.15.5 OpenSSL/0.9.8c zlib/1.2.3 c-ares/1.3.1
Locale = en_US

>>> whitecolour = wx.Colour( blue=255,green=255,red=255 )
... (255, 255, 255, 255)
>>> lightgreycolour = wx.Colour( blue=240,green=240,red=240 )
... (240, 240, 240, 255)
>>> darkgreycolour = wx.Colour( blue=200,green=200,red=200 )
... (200, 200, 200, 255)
>>> lightredcolour = wx.Colour( blue=180,green=180,red=255 )
... (255, 180, 180, 255)
>>> lightbluecolour = wx.Colour( blue=255,green=200,red=180 )
... (180, 200, 255, 255)
>>> bluecolour = wx.Colour( blue=255 )
... (0, 0, 255, 255)
>>> sectionfont = wx.Font(
style=wx.FONTSTYLE_NORMAL,pointSize=10,weight=wx.FONTWEIGHT_BOLD,family=wx.FONTF
AMILY_DECORATIVE,face='Verdana'
)
... <wx._gdi.Font; proxy of <Swig Object of type 'wxFont *' at 0x2679940> >
>>> dropdownfont = wx.Font(
style=wx.FONTSTYLE_NORMAL,pointSize=10,weight=wx.FONTWEIGHT_NORMAL,family=wx.FON
TFAMILY_SWISS,face='Arial'
)
... <wx._gdi.Font; proxy of <Swig Object of type 'wxFont *' at 0x2679960> >
>>> filterfont = wx.Font(
style=wx.FONTSTYLE_NORMAL,pointSize=9,weight=wx.FONTWEIGHT_NORMAL,family=wx.FONT
FAMILY_SWISS,face='Arial'
)
... <wx._gdi.Font; proxy of <Swig Object of type 'wxFont *' at 0x2679950> >
>>> urlfont = wx.Font(
style=wx.FONTSTYLE_NORMAL,pointSize=6,weight=wx.FONTWEIGHT_BOLD,family=wx.FONTFA
MILY_TELETYPE,face='Courier
New' )
... <wx._gdi.Font; proxy of <Swig Object of type 'wxFont *' at 0x2679970> >
>>> cancelfont = wx.Font(
style=wx.FONTSTYLE_NORMAL,pointSize=8,weight=wx.FONTWEIGHT_NORMAL,family=wx.FONT
FAMILY_DEFAULT,underline=True
)
... <wx._gdi.Font; proxy of <Swig Object of type 'wxFont *' at 0x2679930> >
>>> tbpanel = wx.Panel( pos=(0, 0),parent=self.objects['frame'] )
... <wx._windows.Panel; proxy of <Swig Object of type 'wxPanel *' at 0x1663b90> 
>
>>> panel = wx.Panel( pos=(100, 1),parent=self.objects['frame'] )
... <wx._windows.Panel; proxy of <Swig Object of type 'wxPanel *' at 0x1663228> 
>
>>> dropdown = wx.Choice( parent=self.objects['panel'],pos=(0, -1),size=(165, 
-1) )
... <wx._controls.Choice; proxy of <Swig Object of type 'wxChoice *' at 
0x162d450> >
>>> filterbox = wx.TextCtrl( parent=self.objects['panel'],pos=(215, 
3),size=(130, 19) )
... <wx._controls.TextCtrl; proxy of <Swig Object of type 'wxTextCtrl *' at 
0x26695a0> >
>>> bsizer = wx.BoxSizer( orient=wx.VERTICAL )
... <wx._core.BoxSizer; proxy of <Swig Object of type 'wxBoxSizer *' at 
0x1670260> >
>>> scrollwindow = wx.ScrolledWindow( pos=(0, 25),parent=self.objects['panel'] )
... <wx._windows.ScrolledWindow; proxy of <Swig Object of type 
'wxScrolledWindow *'
at 0x18f9178> >
>>> icon = wx.Icon( type=wx.BITMAP_TYPE_ICO,name='appsnap.ico' )
... <wx._gdi.Icon; proxy of <Swig Object of type 'wxIcon *' at 0x2555018> >
>>> downloadicon = wx.Icon(
type=wx.BITMAP_TYPE_ICO,desiredHeight=16,desiredWidth=16,name='%systemroot%\syst
em32\shell32.dll;18'
)
... <wx._gdi.Icon; proxy of <Swig Object of type 'wxIcon *' at 0x2555028> >
>>> downloadbmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x2555008> >
>>> installicon = wx.Icon(
type=wx.BITMAP_TYPE_ICO,desiredHeight=16,desiredWidth=16,name='%systemroot%\syst
em32\shell32.dll;15'
)
... <wx._gdi.Icon; proxy of <Swig Object of type 'wxIcon *' at 0x2555048> >
>>> installbmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x2555038> >
>>> upgradeicon = wx.Icon(
type=wx.BITMAP_TYPE_ICO,desiredHeight=16,desiredWidth=16,name='%systemroot%\syst
em32\shell32.dll;19'
)
... <wx._gdi.Icon; proxy of <Swig Object of type 'wxIcon *' at 0x2555068> >
>>> upgradebmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x2555058> >
>>> uninstallicon = wx.Icon(
type=wx.BITMAP_TYPE_ICO,desiredHeight=16,desiredWidth=16,name='%systemroot%\syst
em32\shell32.dll;32'
)
... <wx._gdi.Icon; proxy of <Swig Object of type 'wxIcon *' at 0x2555088> >
>>> uninstallbmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x2555078> >
>>> updateicon = wx.Icon(
type=wx.BITMAP_TYPE_ICO,desiredHeight=16,desiredWidth=16,name='%systemroot%\syst
em32\shell32.dll;35'
)
... <wx._gdi.Icon; proxy of <Swig Object of type 'wxIcon *' at 0x25550a8> >
>>> updatebmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x2555098> >
>>> reloadicon = wx.Icon(
type=wx.BITMAP_TYPE_ICO,desiredHeight=16,desiredWidth=16,name='%systemroot%\syst
em32\shell32.dll;69'
)
... <wx._gdi.Icon; proxy of <Swig Object of type 'wxIcon *' at 0x25550c8> >
>>> reloadbmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x25550b8> >
>>> reportbugicon = wx.Icon(
type=wx.BITMAP_TYPE_ICO,desiredHeight=16,desiredWidth=16,name='%systemroot%\syst
em32\shell32.dll;13'
)
... <wx._gdi.Icon; proxy of <Swig Object of type 'wxIcon *' at 0x25550e8> >
>>> reportbugbmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x25550d8> >
>>> helpicon = wx.Icon(
type=wx.BITMAP_TYPE_ICO,desiredHeight=16,desiredWidth=16,name='%systemroot%\syst
em32\shell32.dll;23'
)
... <wx._gdi.Icon; proxy of <Swig Object of type 'wxIcon *' at 0x2555108> >
>>> helpbmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x25550f8> >
>>> toolbar = wx.ToolBar( style=wx.TB_TEXT |
wx.TB_VERTICAL,parent=self.objects['tbpanel'] )
... <wx._controls.ToolBar; proxy of <Swig Object of type 'wxToolBar *' at 
0x18b6980> >
>>> statusbar = wx.StatusBar( parent=self.objects['frame'] )
... <wx._windows.StatusBar; proxy of <Swig Object of type 'wxStatusBar *' at 
0x162d9f0> >
>>> self.objects['frame'].SetSizeHints( minH=590,minW=500 )
... None
>>> self.objects['frame'].SetIcon( icon=self.objects['icon'] )
... None
>>> self.objects['frame'].SetToolBar( toolbar=self.objects['toolbar'] )
... None
>>> self.objects['frame'].SetStatusBar( statBar=self.objects['statusbar'] )
... None
>>> self.objects['tbpanel'].SetBackgroundColour( 
colour=self.objects['whitecolour'] )
... True
>>> self.objects['panel'].SetBackgroundColour( 
colour=self.objects['whitecolour'] )
... True
>>> self.objects['dropdown'].SetFont( font=self.objects['dropdownfont'] )
... True
>>> self.objects['filterbox'].SetFont( font=self.objects['filterfont'] )
... True
>>> self.objects['filterbox'].SetValue( value=u"Filter" )
... None
>>> self.objects['filterbox'].SetForegroundColour(
colour=self.objects['darkgreycolour'] )
... True
>>> self.objects['scrollwindow'].SetBackgroundColour(
colour=self.objects['whitecolour'] )
... True
>>> self.objects['scrollwindow'].SetScrollRate( xstep=0,ystep=10 )
... None
>>> self.objects['scrollwindow'].SetSizer( sizer=self.objects['bsizer'] )
... None
>>> self.objects['scrollwindow'].EnableScrolling( 
y_scrolling=True,x_scrolling=False )
... None
>>> self.objects['scrollwindow'].SetFocus( )
... None
>>> self.objects['downloadbmp'].CopyFromIcon( icon=self.objects['downloadicon'] 
)
... False
>>> self.objects['installbmp'].CopyFromIcon( icon=self.objects['installicon'] )
... False
>>> self.objects['upgradebmp'].CopyFromIcon( icon=self.objects['upgradeicon'] )
... False
>>> self.objects['uninstallbmp'].CopyFromIcon( 
icon=self.objects['uninstallicon'] )
... False
>>> self.objects['updatebmp'].CopyFromIcon( icon=self.objects['updateicon'] )
... False
>>> self.objects['reloadbmp'].CopyFromIcon( icon=self.objects['reloadicon'] )
... False
>>> self.objects['reportbugbmp'].CopyFromIcon( 
icon=self.objects['reportbugicon'] )
... False
>>> self.objects['helpbmp'].CopyFromIcon( icon=self.objects['helpicon'] )
... False
>>> self.objects['toolbar'].SetBackgroundColour( 
colour=self.objects['whitecolour'] )
... True
>>> self.objects['statusbar'].SetFieldsCount( number=2 )
... None
>>> ['wx.EVT_SIZE', '( ', "self.objects['frame'],", 'event_object.resize_all )']
>>> ['wx.EVT_CHOICE', '( ', "self.objects['frame'],
self.objects['dropdown'].GetId(),", 'event_object.category_chosen )']
>>> ['wx.EVT_TEXT', '( ', "self.objects['frame'],
self.objects['filterbox'].GetId(),", 'event_object.filter_section_list )']
>>> ['wx.EVT_SET_FOCUS', '( ', "self.objects['filterbox'],",
'event_object.adjust_filter_box_text )']
>>> ['wx.EVT_KILL_FOCUS', '( ', "self.objects['filterbox'],",
'event_object.adjust_filter_box_text )']
>>> self.objects['dropdown'].Clear( )
... None
>>> self.objects['dropdown'].Append( item=u"All" )
... 0
>>> self.objects['dropdown'].Append( item=u"Installed" )
... 1
>>> self.objects['dropdown'].Append( item=u"Not Installed" )
... 2
>>> self.objects['dropdown'].Append( item=u"Upgradeable" )
... 3
>>> self.objects['dropdown'].Append( item=u"Removable" )
... 4
>>> self.objects['dropdown'].Append( item=u"Processing" )
... 5
>>> self.objects['dropdown'].Append( item=u"--" )
... 6
>>> self.objects['dropdown'].Append( item=u"Development" )
... 7
>>> self.objects['dropdown'].Append( item=u"Entertainment" )
... 8
>>> self.objects['dropdown'].Append( item=u"Firefox:Development" )
... 9
>>> self.objects['dropdown'].Append( item=u"Firefox:Internet" )
... 10
>>> self.objects['dropdown'].Append( item=u"Firefox:Utilities" )
... 11
>>> self.objects['dropdown'].Append( item=u"Fun and Games" )
... 12
>>> self.objects['dropdown'].Append( item=u"Internet" )
... 13
>>> self.objects['dropdown'].Append( item=u"Libraries" )
... 14
>>> self.objects['dropdown'].Append( item=u"Productivity" )
... 15
>>> self.objects['dropdown'].Append( item=u"Thunderbird:Productivity" )
... 16
>>> self.objects['dropdown'].Append( item=u"Utilities" )
... 17
>>> self.objects['dropdown'].Select( n=0 )
... None
>>> self.objects['toolbar'].Disable( )
... True
>>> self.objects['toolbar'].Refresh( )
... None
>>> self.objects['dropdown'].Disable( )
... True
>>> self.objects['filterbox'].Disable( )
... True
>>> self.objects['statusbar'].Refresh( )
... None
>>> self.objects['application'].Yield( onlyIfNeeded=True )
... True
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type 
'wxToolBarToolBase
*' at 0x266b9d8> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type 
'wxToolBarToolBase
*' at 0x266b708> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type 
'wxToolBarToolBase
*' at 0x266b828> >
>>> self.objects['toolbar'].AddLabelTool(
id=-1,bitmap=self.objects['downloadbmp'],shortHelp=u"Download selected
applications",label=u"Download" )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type 
'wxToolBarToolBase
*' at 0x266b750> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type 
'wxToolBarToolBase
*' at 0x266b798> >
>>> self.objects['toolbar'].AddLabelTool(
id=-1,bitmap=self.objects['installbmp'],shortHelp=u"Download and install 
selected
applications",label=u"Install" )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type 
'wxToolBarToolBase
*' at 0x266bc18> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type 
'wxToolBarToolBase
*' at 0x266b900> >
>>> self.objects['toolbar'].AddLabelTool(
id=-1,bitmap=self.objects['upgradebmp'],shortHelp=u"Upgrade selected
applications",label=u"Upgrade" )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type 
'wxToolBarToolBase
*' at 0x266bcf0> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type 
'wxToolBarToolBase
*' at 0x266bc60> >
>>> self.objects['toolbar'].AddLabelTool(
id=-1,bitmap=self.objects['uninstallbmp'],shortHelp=u"Uninstall selected
applications",label=u"Uninstall" )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type 
'wxToolBarToolBase
*' at 0x266bdc8> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type 
'wxToolBarToolBase
*' at 0x266bd38> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type 
'wxToolBarToolBase
*' at 0x266bd80> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type 
'wxToolBarToolBase
*' at 0x266be10> >
>>> self.objects['toolbar'].AddLabelTool(
id=-1,bitmap=self.objects['updatebmp'],shortHelp=u"Update AppSnap and
database",label=u"Update" )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type 
'wxToolBarToolBase
*' at 0x266bea0> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type 
'wxToolBarToolBase
*' at 0x266be58> >
>>> self.objects['toolbar'].AddLabelTool(
id=-1,bitmap=self.objects['reloadbmp'],shortHelp=u"Reload
configuration",label=u"Reload" )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type 
'wxToolBarToolBase
*' at 0x266bf30> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type 
'wxToolBarToolBase
*' at 0x266bee8> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type 
'wxToolBarToolBase
*' at 0x266bca8> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type 
'wxToolBarToolBase
*' at 0x266bf78> >
>>> self.objects['toolbar'].AddLabelTool(
id=-1,bitmap=self.objects['reportbugbmp'],shortHelp=u"Report a 
bug",label=u"Report Bug" )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type 
'wxToolBarToolBase
*' at 0x266c008> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type 
'wxToolBarToolBase
*' at 0x266bfc0> >
>>> self.objects['toolbar'].AddLabelTool(
id=-1,bitmap=self.objects['helpbmp'],shortHelp=u"Open 
documentation",label=u"Help" )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type 
'wxToolBarToolBase
*' at 0x266c098> >
>>> self.objects['statusbar'].SetStatusText( text=u"Loading database",number=0 )
... None
>>> self.objects['statusbar'].SetStatusText( text=u"",number=1 )
... None
>>> self.objects['statusbar'].Refresh( )
... None
>>> self.objects['tbpanel'].SetSize( size=(100, 590) )
... None
>>> self.objects['panel'].SetSize( size=(400, 590) )
... None
>>> self.objects['scrollwindow'].SetSize( size=(385, 500) )
... None
>>> self.objects['bsizer'].SetMinSize( size=(385, 500) )
... None
>>> self.objects['filterbox'].Move( pt=(255, 3) )
... None
>>> self.objects['tbpanel'].SetSize( size=(100, 590) )
... None
>>> self.objects['panel'].SetSize( size=(400, 590) )
... None
>>> self.objects['scrollwindow'].SetSize( size=(385, 500) )
... None
>>> self.objects['bsizer'].SetMinSize( size=(385, 500) )
... None
>>> self.objects['filterbox'].Move( pt=(255, 3) )
... None
>>> self.objects['bsizer'].Clear( deleteWindows=True )
... None
>>> self.objects['scrollwindow'].Hide( )
... True

Traceback (most recent call last):
  File ".\appsnaplib\guisetup.py", line 406, in initialize
  File ".\appsnaplib\guisetup.py", line 648, in initialize_section_list
  File ".\appsnaplib\widgets.py", line 80, in set_event
  File ".\appsnaplib\process.py", line 92, in __init__
  File ".\appsnaplib\process.py", line 150, in get_installed_version
  File ".\appsnaplib\config.py", line 463, in registry_search_uninstall_location
  File "re.pyo", line 129, in match
TypeError: expected string or buffer

Original comment by Lou...@gmail.com on 9 Feb 2008 at 5:41

GoogleCodeExporter commented 9 years ago
Hmm, no change. Try this file then. Thanks.

Original comment by ganesh...@gmail.com on 9 Feb 2008 at 9:14

Attachments:

GoogleCodeExporter commented 9 years ago
That did it. Thanks for your help, If I get anything else you need to know 
about I'll
let you know. Thanks again, Lou

Original comment by Lou...@gmail.com on 9 Feb 2008 at 9:59

GoogleCodeExporter commented 9 years ago
Woops, spoke to soon. After I hit update it crashed again and I got This:

A fatal exception has occurred. Please report this bug to the AppSnap issue 
tracker:
http://code.google.com/p/appsnap/issues/entry. Sorry for the inconvenience.

========================
Sat Feb 09 17:04:21 2008
========================

AppSnap = 1.3.3
wxPython = 2.8.7.1
PyCurl = libcurl/7.15.5 OpenSSL/0.9.8c zlib/1.2.3 c-ares/1.3.1
Locale = en_US

>>> whitecolour = wx.Colour( blue=255,green=255,red=255 )
... (255, 255, 255, 255)
>>> lightgreycolour = wx.Colour( blue=240,green=240,red=240 )
... (240, 240, 240, 255)
>>> darkgreycolour = wx.Colour( blue=200,green=200,red=200 )
... (200, 200, 200, 255)
>>> lightredcolour = wx.Colour( blue=180,green=180,red=255 )
... (255, 180, 180, 255)
>>> lightbluecolour = wx.Colour( blue=255,green=200,red=180 )
... (180, 200, 255, 255)
>>> bluecolour = wx.Colour( blue=255 )
... (0, 0, 255, 255)
>>> sectionfont = wx.Font(
style=wx.FONTSTYLE_NORMAL,pointSize=10,weight=wx.FONTWEIGHT_BOLD,family=wx.FONTF
AMILY_DECORATIVE,face='Verdana'
)
... <wx._gdi.Font; proxy of <Swig Object of type 'wxFont *' at 0x26f2930> >
>>> dropdownfont = wx.Font(
style=wx.FONTSTYLE_NORMAL,pointSize=10,weight=wx.FONTWEIGHT_NORMAL,family=wx.FON
TFAMILY_SWISS,face='Arial'
)
... <wx._gdi.Font; proxy of <Swig Object of type 'wxFont *' at 0x26f2950> >
>>> filterfont = wx.Font(
style=wx.FONTSTYLE_NORMAL,pointSize=9,weight=wx.FONTWEIGHT_NORMAL,family=wx.FONT
FAMILY_SWISS,face='Arial'
)
... <wx._gdi.Font; proxy of <Swig Object of type 'wxFont *' at 0x26f2940> >
>>> urlfont = wx.Font(
style=wx.FONTSTYLE_NORMAL,pointSize=6,weight=wx.FONTWEIGHT_BOLD,family=wx.FONTFA
MILY_TELETYPE,face='Courier
New' )
... <wx._gdi.Font; proxy of <Swig Object of type 'wxFont *' at 0x26f2960> >
>>> cancelfont = wx.Font(
style=wx.FONTSTYLE_NORMAL,pointSize=8,weight=wx.FONTWEIGHT_NORMAL,family=wx.FONT
FAMILY_DEFAULT,underline=True
)
... <wx._gdi.Font; proxy of <Swig Object of type 'wxFont *' at 0x26f2920> >
>>> tbpanel = wx.Panel( pos=(0, 0),parent=self.objects['frame'] )
... <wx._windows.Panel; proxy of <Swig Object of type 'wxPanel *' at 0x1784248> 
>
>>> panel = wx.Panel( pos=(100, 1),parent=self.objects['frame'] )
... <wx._windows.Panel; proxy of <Swig Object of type 'wxPanel *' at 0x17840f0> 
>
>>> dropdown = wx.Choice( parent=self.objects['panel'],pos=(0, -1),size=(165, 
-1) )
... <wx._controls.Choice; proxy of <Swig Object of type 'wxChoice *' at 
0x174d2e8> >
>>> filterbox = wx.TextCtrl( parent=self.objects['panel'],pos=(215, 
3),size=(130, 19) )
... <wx._controls.TextCtrl; proxy of <Swig Object of type 'wxTextCtrl *' at 
0x25c58d8> >
>>> bsizer = wx.BoxSizer( orient=wx.VERTICAL )
... <wx._core.BoxSizer; proxy of <Swig Object of type 'wxBoxSizer *' at 
0x1790260> >
>>> scrollwindow = wx.ScrolledWindow( pos=(0, 25),parent=self.objects['panel'] )
... <wx._windows.ScrolledWindow; proxy of <Swig Object of type 
'wxScrolledWindow *'
at 0x1a19178> >
>>> icon = wx.Icon( type=wx.BITMAP_TYPE_ICO,name='appsnap.ico' )
... <wx._gdi.Icon; proxy of <Swig Object of type 'wxIcon *' at 0x27f5230> >
>>> downloadicon = wx.Icon(
type=wx.BITMAP_TYPE_ICO,desiredHeight=16,desiredWidth=16,name='%systemroot%\syst
em32\shell32.dll;18'
)
... <wx._gdi.Icon; proxy of <Swig Object of type 'wxIcon *' at 0x27f5240> >
>>> downloadbmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x27f5220> >
>>> installicon = wx.Icon(
type=wx.BITMAP_TYPE_ICO,desiredHeight=16,desiredWidth=16,name='%systemroot%\syst
em32\shell32.dll;15'
)
... <wx._gdi.Icon; proxy of <Swig Object of type 'wxIcon *' at 0x27f5260> >
>>> installbmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x27f5250> >
>>> upgradeicon = wx.Icon(
type=wx.BITMAP_TYPE_ICO,desiredHeight=16,desiredWidth=16,name='%systemroot%\syst
em32\shell32.dll;19'
)
... <wx._gdi.Icon; proxy of <Swig Object of type 'wxIcon *' at 0x27f5280> >
>>> upgradebmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x27f5270> >
>>> uninstallicon = wx.Icon(
type=wx.BITMAP_TYPE_ICO,desiredHeight=16,desiredWidth=16,name='%systemroot%\syst
em32\shell32.dll;32'
)
... <wx._gdi.Icon; proxy of <Swig Object of type 'wxIcon *' at 0x27f52a0> >
>>> uninstallbmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x27f5290> >
>>> updateicon = wx.Icon(
type=wx.BITMAP_TYPE_ICO,desiredHeight=16,desiredWidth=16,name='%systemroot%\syst
em32\shell32.dll;35'
)
... <wx._gdi.Icon; proxy of <Swig Object of type 'wxIcon *' at 0x27f52c0> >
>>> updatebmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x27f52b0> >
>>> reloadicon = wx.Icon(
type=wx.BITMAP_TYPE_ICO,desiredHeight=16,desiredWidth=16,name='%systemroot%\syst
em32\shell32.dll;69'
)
... <wx._gdi.Icon; proxy of <Swig Object of type 'wxIcon *' at 0x27f52e0> >
>>> reloadbmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x27f52d0> >
>>> reportbugicon = wx.Icon(
type=wx.BITMAP_TYPE_ICO,desiredHeight=16,desiredWidth=16,name='%systemroot%\syst
em32\shell32.dll;13'
)
... <wx._gdi.Icon; proxy of <Swig Object of type 'wxIcon *' at 0x27f5300> >
>>> reportbugbmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x27f52f0> >
>>> helpicon = wx.Icon(
type=wx.BITMAP_TYPE_ICO,desiredHeight=16,desiredWidth=16,name='%systemroot%\syst
em32\shell32.dll;23'
)
... <wx._gdi.Icon; proxy of <Swig Object of type 'wxIcon *' at 0x27f5320> >
>>> helpbmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x27f5310> >
>>> toolbar = wx.ToolBar( style=wx.TB_TEXT |
wx.TB_VERTICAL,parent=self.objects['tbpanel'] )
... <wx._controls.ToolBar; proxy of <Swig Object of type 'wxToolBar *' at 
0x19d6980> >
>>> statusbar = wx.StatusBar( parent=self.objects['frame'] )
... <wx._windows.StatusBar; proxy of <Swig Object of type 'wxStatusBar *' at 
0x174d888> >
>>> self.objects['frame'].SetSizeHints( minH=590,minW=500 )
... None
>>> self.objects['frame'].SetIcon( icon=self.objects['icon'] )
... None
>>> self.objects['frame'].SetToolBar( toolbar=self.objects['toolbar'] )
... None
>>> self.objects['frame'].SetStatusBar( statBar=self.objects['statusbar'] )
... None
>>> self.objects['tbpanel'].SetBackgroundColour( 
colour=self.objects['whitecolour'] )
... True
>>> self.objects['panel'].SetBackgroundColour( 
colour=self.objects['whitecolour'] )
... True
>>> self.objects['dropdown'].SetFont( font=self.objects['dropdownfont'] )
... True
>>> self.objects['filterbox'].SetFont( font=self.objects['filterfont'] )
... True
>>> self.objects['filterbox'].SetValue( value=u"Filter" )
... None
>>> self.objects['filterbox'].SetForegroundColour(
colour=self.objects['darkgreycolour'] )
... True
>>> self.objects['scrollwindow'].SetBackgroundColour(
colour=self.objects['whitecolour'] )
... True
>>> self.objects['scrollwindow'].SetScrollRate( xstep=0,ystep=10 )
... None
>>> self.objects['scrollwindow'].SetSizer( sizer=self.objects['bsizer'] )
... None
>>> self.objects['scrollwindow'].EnableScrolling( 
y_scrolling=True,x_scrolling=False )
... None
>>> self.objects['scrollwindow'].SetFocus( )
... None
>>> self.objects['downloadbmp'].CopyFromIcon( icon=self.objects['downloadicon'] 
)
... False
>>> self.objects['installbmp'].CopyFromIcon( icon=self.objects['installicon'] )
... False
>>> self.objects['upgradebmp'].CopyFromIcon( icon=self.objects['upgradeicon'] )
... False
>>> self.objects['uninstallbmp'].CopyFromIcon( 
icon=self.objects['uninstallicon'] )
... False
>>> self.objects['updatebmp'].CopyFromIcon( icon=self.objects['updateicon'] )
... False
>>> self.objects['reloadbmp'].CopyFromIcon( icon=self.objects['reloadicon'] )
... False
>>> self.objects['reportbugbmp'].CopyFromIcon( 
icon=self.objects['reportbugicon'] )
... False
>>> self.objects['helpbmp'].CopyFromIcon( icon=self.objects['helpicon'] )
... False
>>> self.objects['toolbar'].SetBackgroundColour( 
colour=self.objects['whitecolour'] )
... True
>>> self.objects['statusbar'].SetFieldsCount( number=2 )
... None
>>> ['wx.EVT_SIZE', '( ', "self.objects['frame'],", 'event_object.resize_all )']
>>> ['wx.EVT_CHOICE', '( ', "self.objects['frame'],
self.objects['dropdown'].GetId(),", 'event_object.category_chosen )']
>>> ['wx.EVT_TEXT', '( ', "self.objects['frame'],
self.objects['filterbox'].GetId(),", 'event_object.filter_section_list )']
>>> ['wx.EVT_SET_FOCUS', '( ', "self.objects['filterbox'],",
'event_object.adjust_filter_box_text )']
>>> ['wx.EVT_KILL_FOCUS', '( ', "self.objects['filterbox'],",
'event_object.adjust_filter_box_text )']
>>> self.objects['dropdown'].Clear( )
... None
>>> self.objects['dropdown'].Append( item=u"All" )
... 0
>>> self.objects['dropdown'].Append( item=u"Installed" )
... 1
>>> self.objects['dropdown'].Append( item=u"Not Installed" )
... 2
>>> self.objects['dropdown'].Append( item=u"Upgradeable" )
... 3
>>> self.objects['dropdown'].Append( item=u"Removable" )
... 4
>>> self.objects['dropdown'].Append( item=u"Processing" )
... 5
>>> self.objects['dropdown'].Append( item=u"--" )
... 6
>>> self.objects['dropdown'].Append( item=u"Development" )
... 7
>>> self.objects['dropdown'].Append( item=u"Entertainment" )
... 8
>>> self.objects['dropdown'].Append( item=u"Firefox:Development" )
... 9
>>> self.objects['dropdown'].Append( item=u"Firefox:Internet" )
... 10
>>> self.objects['dropdown'].Append( item=u"Firefox:Utilities" )
... 11
>>> self.objects['dropdown'].Append( item=u"Fun and Games" )
... 12
>>> self.objects['dropdown'].Append( item=u"Internet" )
... 13
>>> self.objects['dropdown'].Append( item=u"Libraries" )
... 14
>>> self.objects['dropdown'].Append( item=u"Productivity" )
... 15
>>> self.objects['dropdown'].Append( item=u"Thunderbird:Productivity" )
... 16
>>> self.objects['dropdown'].Append( item=u"Utilities" )
... 17
>>> self.objects['dropdown'].Select( n=0 )
... None
>>> self.objects['toolbar'].Disable( )
... True
>>> self.objects['toolbar'].Refresh( )
... None
>>> self.objects['dropdown'].Disable( )
... True
>>> self.objects['filterbox'].Disable( )
... True
>>> self.objects['statusbar'].Refresh( )
... None
>>> self.objects['application'].Yield( onlyIfNeeded=True )
... True
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type 
'wxToolBarToolBase
*' at 0x26d3118> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type 
'wxToolBarToolBase
*' at 0x26d2f68> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type 
'wxToolBarToolBase
*' at 0x26d2e48> >
>>> self.objects['toolbar'].AddLabelTool(
id=-1,bitmap=self.objects['downloadbmp'],shortHelp=u"Download selected
applications",label=u"Download" )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type 
'wxToolBarToolBase
*' at 0x26d2e90> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type 
'wxToolBarToolBase
*' at 0x26d2ed8> >
>>> self.objects['toolbar'].AddLabelTool(
id=-1,bitmap=self.objects['installbmp'],shortHelp=u"Download and install 
selected
applications",label=u"Install" )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type 
'wxToolBarToolBase
*' at 0x26d3358> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type 
'wxToolBarToolBase
*' at 0x26d3040> >
>>> self.objects['toolbar'].AddLabelTool(
id=-1,bitmap=self.objects['upgradebmp'],shortHelp=u"Upgrade selected
applications",label=u"Upgrade" )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type 
'wxToolBarToolBase
*' at 0x26d3430> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type 
'wxToolBarToolBase
*' at 0x26d33a0> >
>>> self.objects['toolbar'].AddLabelTool(
id=-1,bitmap=self.objects['uninstallbmp'],shortHelp=u"Uninstall selected
applications",label=u"Uninstall" )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type 
'wxToolBarToolBase
*' at 0x26d3508> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type 
'wxToolBarToolBase
*' at 0x26d3478> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type 
'wxToolBarToolBase
*' at 0x26d34c0> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type 
'wxToolBarToolBase
*' at 0x26d3550> >
>>> self.objects['toolbar'].AddLabelTool(
id=-1,bitmap=self.objects['updatebmp'],shortHelp=u"Update AppSnap and
database",label=u"Update" )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type 
'wxToolBarToolBase
*' at 0x26d35e0> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type 
'wxToolBarToolBase
*' at 0x26d3598> >
>>> self.objects['toolbar'].AddLabelTool(
id=-1,bitmap=self.objects['reloadbmp'],shortHelp=u"Reload
configuration",label=u"Reload" )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type 
'wxToolBarToolBase
*' at 0x26d3670> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type 
'wxToolBarToolBase
*' at 0x26d3628> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type 
'wxToolBarToolBase
*' at 0x26d33e8> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type 
'wxToolBarToolBase
*' at 0x26d36b8> >
>>> self.objects['toolbar'].AddLabelTool(
id=-1,bitmap=self.objects['reportbugbmp'],shortHelp=u"Report a 
bug",label=u"Report Bug" )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type 
'wxToolBarToolBase
*' at 0x26d3748> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type 
'wxToolBarToolBase
*' at 0x26d3700> >
>>> self.objects['toolbar'].AddLabelTool(
id=-1,bitmap=self.objects['helpbmp'],shortHelp=u"Open 
documentation",label=u"Help" )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type 
'wxToolBarToolBase
*' at 0x26d37d8> >
>>> self.objects['statusbar'].SetStatusText( text=u"Loading database",number=0 )
... None
>>> self.objects['statusbar'].SetStatusText( text=u"",number=1 )
... None
>>> self.objects['statusbar'].Refresh( )
... None
>>> self.objects['tbpanel'].SetSize( size=(100, 590) )
... None
>>> self.objects['panel'].SetSize( size=(400, 590) )
... None
>>> self.objects['scrollwindow'].SetSize( size=(385, 500) )
... None
>>> self.objects['bsizer'].SetMinSize( size=(385, 500) )
... None
>>> self.objects['filterbox'].Move( pt=(255, 3) )
... None
>>> self.objects['tbpanel'].SetSize( size=(100, 590) )
... None
>>> self.objects['panel'].SetSize( size=(400, 590) )
... None
>>> self.objects['scrollwindow'].SetSize( size=(385, 500) )
... None
>>> self.objects['bsizer'].SetMinSize( size=(385, 500) )
... None
>>> self.objects['filterbox'].Move( pt=(255, 3) )
... None
>>> self.objects['bsizer'].Clear( deleteWindows=True )
... None
>>> self.objects['scrollwindow'].Hide( )
... True

Traceback (most recent call last):
  File ".\appsnaplib\guisetup.py", line 406, in initialize
  File ".\appsnaplib\guisetup.py", line 648, in initialize_section_list
  File ".\appsnaplib\widgets.py", line 80, in set_event
  File ".\appsnaplib\process.py", line 92, in __init__
  File ".\appsnaplib\process.py", line 150, in get_installed_version
  File ".\appsnaplib\config.py", line 463, in registry_search_uninstall_location
  File "re.pyo", line 129, in match
TypeError: expected string or buffer

Original comment by Lou...@gmail.com on 9 Feb 2008 at 10:06

GoogleCodeExporter commented 9 years ago
That change fixed the bug. However, when you did the update, it went back to the
broken version. I'll post the fix after which you can do the update. Thanks for 
your
prompt help. :)

Original comment by ganesh...@gmail.com on 9 Feb 2008 at 10:20

GoogleCodeExporter commented 9 years ago
Delivered to SVN. AppSnap will pick this up on update.

Original comment by ganesh...@gmail.com on 10 Feb 2008 at 8:11