PiRSquared17 / appsnap

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

Can't execute correctly after installed #109

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Install AppSnap
2. Execute AppSnap

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

What version of the product are you using? On what operating system?
1.3.3
Windows XP sp2

Please provide any additional information below.
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.

========================
Thu Jun 12 22:16:46 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 = zh_TW

>>> 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 0x2068f38> >
>>> 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 0x2068f48> >
>>> 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 0x16b7e98> >
>>> 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 0x16b7ea8> >
>>> 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 0x205d328> >
>>> tbpanel = wx.Panel( pos=(0, 0),parent=self.objects['frame'] )
... <wx._windows.Panel; proxy of <Swig Object of type 'wxPanel *' at
0xd1f3e8> >
>>> panel = wx.Panel( pos=(100, 1),parent=self.objects['frame'] )
... <wx._windows.Panel; proxy of <Swig Object of type 'wxPanel *' at
0xd1f068> >
>>> dropdown = wx.Choice( parent=self.objects['panel'],pos=(0,
-1),size=(165, -1) )
... <wx._controls.Choice; proxy of <Swig Object of type 'wxChoice *' at
0x2068a60> >
>>> filterbox = wx.TextCtrl( parent=self.objects['panel'],pos=(215,
3),size=(130, 19) )
... <wx._controls.TextCtrl; proxy of <Swig Object of type 'wxTextCtrl *' at
0x16c1ff8> >
>>> bsizer = wx.BoxSizer( orient=wx.VERTICAL )
... <wx._core.BoxSizer; proxy of <Swig Object of type 'wxBoxSizer *' at
0x206b958> >
>>> scrollwindow = wx.ScrolledWindow( pos=(0,
25),parent=self.objects['panel'] )
... <wx._windows.ScrolledWindow; proxy of <Swig Object of type
'wxScrolledWindow *' at 0x188eae0> >
>>> icon = wx.Icon( type=wx.BITMAP_TYPE_ICO,name='appsnap.ico' )
... <wx._gdi.Icon; proxy of <Swig Object of type 'wxIcon *' at 0x1f59fb8> >
>>> 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 0x1f52198> >
>>> downloadbmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x1f59fa8> >
>>> 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 0x1f46dc8> >
>>> installbmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x1f548f8> >
>>> 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 0x1f4e190> >
>>> upgradebmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x1f46dd8> >
>>> 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 0x2069270> >
>>> uninstallbmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x1f4e1a0> >
>>> 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 0x206baf8> >
>>> updatebmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x2069280> >
>>> 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 0x1e64e88> >
>>> reloadbmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x1f49728> >
>>> 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 0x1e64eb8> >
>>> reportbugbmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x1e64f20> >
>>> 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 0x16b49c0> >
>>> helpbmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x1f40958> >
>>> 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
0x206b678> >
>>> statusbar = wx.StatusBar( parent=self.objects['frame'] )
... <wx._windows.StatusBar; proxy of <Swig Object of type 'wxStatusBar *'
at 0x2068bc8> >
>>> 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'] )
... True
>>> self.objects['installbmp'].CopyFromIcon( icon=self.objects['installicon'] )
... True
>>> self.objects['upgradebmp'].CopyFromIcon( icon=self.objects['upgradeicon'] )
... True
>>> self.objects['uninstallbmp'].CopyFromIcon(
icon=self.objects['uninstallicon'] )
... True
>>> self.objects['updatebmp'].CopyFromIcon( icon=self.objects['updateicon'] )
... True
>>> self.objects['reloadbmp'].CopyFromIcon( icon=self.objects['reloadicon'] )
... True
>>> self.objects['reportbugbmp'].CopyFromIcon(
icon=self.objects['reportbugicon'] )
... True
>>> self.objects['helpbmp'].CopyFromIcon( icon=self.objects['helpicon'] )
... True
>>> 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 )']

Traceback (most recent call last):
  File "appsnapgui.py", line 4, in <module>
  File "appsnap.pyo", line 45, in appsnap_main
  File ".\appsnaplib\gui.py", line 92, in appsnap_start
  File ".\appsnaplib\makegui.py", line 204, in parse_and_run
  File ".\appsnaplib\guisetup.py", line 357, in setup
  File ".\appsnaplib\config.py", line 124, in __init__
  File ".\appsnaplib\config.py", line 388, in load_arp
  File ".\appsnaplib\config.py", line 474, in registry_search_arp
  File ".\appsnaplib\config.py", line 504, in registry_search
  File "re.pyo", line 129, in match
TypeError: expected string or buffer

Original issue reported on code.google.com by yenchi...@gmail.com on 12 Jun 2008 at 2:18

GoogleCodeExporter commented 9 years ago

Original comment by ganesh...@gmail.com on 18 Jun 2008 at 3:42

GoogleCodeExporter commented 9 years ago
This has been fixed, please update AppSnap to get the fix. You can do so from 
the
command line:

cd \Program Files\AppSnap
appsnap.exe -U

Original comment by ganesh...@gmail.com on 15 Oct 2008 at 6:46