genotrance / appsnap

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

Appsnap crashed after update #120

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Started the program for the first time
2. Checked the "All" tab, then the "Upgradeable" tab, then the "Removeable"
tab, then back again to the "All" tab.
3. Clicked update on the left column, and then it crashed. 

What is the expected output? What do you see instead?
It just crashed, i never used it before so i wouldn't know the expected
output. 

What version of the product are you using? On what operating system?
Version 1.3.3, XP professional SP2

Please provide any additional information below.
Here's the log it left me: 

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 Sep 27 18:33:30 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 0x222d890> >
>>> dropdownfont = 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 0x2224a30> >
>>> 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 0x222d8a0> >
>>> 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 0x2232910> >
>>> 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 0x221e7a0> >
>>> tbpanel = wx.Panel( pos=(0, 0),parent=self.objects['frame'] )
... <wx._windows.Panel; proxy of <Swig Object of type 'wxPanel *' at
0xeadb40> >
>>> panel = wx.Panel( pos=(100, 1),parent=self.objects['frame'] )
... <wx._windows.Panel; proxy of <Swig Object of type 'wxPanel *' at
0xea9b70> >
>>> dropdown = wx.Choice( parent=self.objects['panel'],pos=(0,
1),size=(200, -1) )
... <wx._controls.Choice; proxy of <Swig Object of type 'wxChoice *' at
0x222d3b8> >
>>> filterbox = wx.TextCtrl( parent=self.objects['panel'],pos=(215,
3),size=(130, 19) )
... <wx._controls.TextCtrl; proxy of <Swig Object of type 'wxTextCtrl *' at
0x1881ef8> >
>>> bsizer = wx.BoxSizer( orient=wx.VERTICAL )
... <wx._core.BoxSizer; proxy of <Swig Object of type 'wxBoxSizer *' at
0x20e24c0> >
>>> scrollwindow = wx.ScrolledWindow( pos=(0,
25),parent=self.objects['panel'] )
... <wx._windows.ScrolledWindow; proxy of <Swig Object of type
'wxScrolledWindow *' at 0x1a4c7c0> >
>>> icon = wx.Icon( type=wx.BITMAP_TYPE_ICO,name='appsnap.ico' )
... <wx._gdi.Icon; proxy of <Swig Object of type 'wxIcon *' at 0x20187f8> >
>>> 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 0x2115ce8> >
>>> downloadbmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x20187e8> >
>>> 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 0x21136d8> >
>>> installbmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x21169c8> >
>>> 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 0x21149d0> >
>>> upgradebmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x21149c0> >
>>> 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 0x2018788> >
>>> uninstallbmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x2018778> >
>>> 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 0x22316e0> >
>>> updatebmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x22305d8> >
>>> 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 0x2231710> >
>>> reloadbmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x2022a68> >
>>> 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 0x1a4e3f8> >
>>> reportbugbmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x18745d8> >
>>> 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 0x21a1e58> >
>>> helpbmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x1a4e408> >
>>> 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
0x2231210> >
>>> statusbar = wx.StatusBar( parent=self.objects['frame'] )
... <wx._windows.StatusBar; proxy of <Swig Object of type 'wxStatusBar *'
at 0x222d520> >
>>> 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 363, in setup
  File ".\appsnaplib\config.py", line 164, in get_categories
  File ".\appsnaplib\config.py", line 151, in get_section_items
  File "ConfigParser.pyo", line 557, in items
  File "ConfigParser.pyo", line 593, in _interpolate
  File "ConfigParser.pyo", line 634, in _interpolate_some
InterpolationSyntaxError: '%' must be followed by '%' or '(', found:
'%2B-([0-9]\\.[0-9]+\\.[0-9]+[-0-9]*)-setup.exe'

Original issue reported on code.google.com by elie.zi...@gmail.com on 27 Sep 2008 at 10:36

GoogleCodeExporter commented 9 years ago
There was an error in the database causing this crash. I just fixed it in the 
master
database. In order to get AppSnap to work, please delete db.ini and start 
AppSnap.
Then run the update and AppSnap will get the fixed database.

Sorry for the inconvenience!

Original comment by ganesh...@gmail.com on 28 Sep 2008 at 3:28