PiRSquared17 / appsnap

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

Problem starting AppSnap #131

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1.
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.

========================
Fri Jan 02 11:00:26 2009
========================

AppSnap = 1.3.3-pre2
wxPython = 2.8.7.1
PyCurl = libcurl/7.16.4 OpenSSL/0.9.8e zlib/1.2.3 c-ares/1.4.0
Locale = de_DE

>>> 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='Comic
Sans MS' )
... <wx._gdi.Font; proxy of <Swig Object of type 'wxFont *' at 0x1fb3830> >
>>> 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 0x1fba218> >
>>> 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 0x1faac68> >
>>> 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 0x1fba228> >
>>> 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 0x1fb3808> >
>>> tbpanel = wx.Panel( pos=(0, 0),parent=self.objects['frame'] )
... <wx._windows.Panel; proxy of <Swig Object of type 'wxPanel *' at
0xc691b8> >
>>> panel = wx.Panel( pos=(100, 1),parent=self.objects['frame'] )
... <wx._windows.Panel; proxy of <Swig Object of type 'wxPanel *' at
0xc65750> >
>>> dropdown = wx.Choice( parent=self.objects['panel'],pos=(0,
-1),size=(165, -1) )
... <wx._controls.Choice; proxy of <Swig Object of type 'wxChoice *' at
0x1fb9d40> >
>>> filterbox = wx.TextCtrl( parent=self.objects['panel'],pos=(215,
3),size=(130, 19) )
... <wx._controls.TextCtrl; proxy of <Swig Object of type 'wxTextCtrl *' at
0xc6ccc8> >
>>> bsizer = wx.BoxSizer( orient=wx.VERTICAL )
... <wx._core.BoxSizer; proxy of <Swig Object of type 'wxBoxSizer *' at
0x1fbcc38> >
>>> scrollwindow = wx.ScrolledWindow( pos=(0,
25),parent=self.objects['panel'] )
... <wx._windows.ScrolledWindow; proxy of <Swig Object of type
'wxScrolledWindow *' at 0x1814a68> >
>>> icon = wx.Icon( type=wx.BITMAP_TYPE_ICO,name='appsnap.ico' )
... <wx._gdi.Icon; proxy of <Swig Object of type 'wxIcon *' at 0x1edc478> >
>>> 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 0x1edd430> >
>>> downloadbmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x1eb59f8> >
>>> 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 0x1ed9bd0> >
>>> installbmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x1ed9bc0> >
>>> 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 0x1eb5a18> >
>>> upgradebmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x1eb5a08> >
>>> 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 0x1eb5998> >
>>> uninstallbmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x1eb5988> >
>>> 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 0x1eb59a8> >
>>> updatebmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x1fb1100> >
>>> 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 0x1eb59b8> >
>>> reloadbmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x1eb5a80> >
>>> 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 0x1fbe1d8> >
>>> reportbugbmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x1fbd368> >
>>> 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 0x1edd588> >
>>> helpbmp = wx.EmptyBitmap( width=16,height=16 )
... <wx._gdi.Bitmap; proxy of <Swig Object of type 'wxBitmap *' at 0x1edd578> >
>>> 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
0x1fbc958> >
>>> statusbar = wx.StatusBar( parent=self.objects['frame'] )
... <wx._windows.StatusBar; proxy of <Swig Object of type 'wxStatusBar *'
at 0x1fb9ea8> >
>>> self.objects['frame'].SetSizeHints( minH=590,maxW=460,minW=460 )
... 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"Filtern" )
... 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_objec
t.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"Alle" )
... 0
>>> self.objects['dropdown'].Append( item=u"Installiert" )
... 1
>>> self.objects['dropdown'].Append( item=u"Nicht installiert" )
... 2
>>> self.objects['dropdown'].Append( item=u"Aktualisierbar" )
... 3
>>> self.objects['dropdown'].Append( item=u"Deinstallierbar" )
... 4
>>> self.objects['dropdown'].Append( item=u"Arbeitet" )
... 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"Fun and Games" )
... 9
>>> self.objects['dropdown'].Append( item=u"Internet" )
... 10
>>> self.objects['dropdown'].Append( item=u"Libraries" )
... 11
>>> self.objects['dropdown'].Append( item=u"Productivity" )
... 12
>>> self.objects['dropdown'].Append( item=u"Utilities" )
... 13
>>> 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 0x1f2b680> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type
'wxToolBarToolBase *' at 0x1fbcbd8> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type
'wxToolBarToolBase *' at 0x1fb1110> >
>>> self.objects['toolbar'].AddLabelTool(
id=-1,bitmap=self.objects['downloadbmp'],shortHelp=u"Ausgewählte Programme
herunterladen",label=u"Herunterladen" )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type
'wxToolBarToolBase *' at 0x1f93088> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type
'wxToolBarToolBase *' at 0x1f80518> >
>>> self.objects['toolbar'].AddLabelTool(
id=-1,bitmap=self.objects['installbmp'],shortHelp=u"Ausgewählte Programme
herunterladen und installieren",label=u"Installieren" )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type
'wxToolBarToolBase *' at 0x1f8a528> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type
'wxToolBarToolBase *' at 0x1f95d78> >
>>> self.objects['toolbar'].AddLabelTool(
id=-1,bitmap=self.objects['upgradebmp'],shortHelp=u"Ausgewählte Programme
Aktualisieren",label=u"Aktualisieren" )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type
'wxToolBarToolBase *' at 0x1f76ee0> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type
'wxToolBarToolBase *' at 0x1f7fa58> >
>>> self.objects['toolbar'].AddLabelTool(
id=-1,bitmap=self.objects['uninstallbmp'],shortHelp=u"Ausgewählte Programme
werden deinstalliert",label=u"Deinstallieren" )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type
'wxToolBarToolBase *' at 0x1f906d8> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type
'wxToolBarToolBase *' at 0x1fa4c60> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type
'wxToolBarToolBase *' at 0x1f8ace8> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type
'wxToolBarToolBase *' at 0x1fbdec0> >
>>> 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 0x1fa8af8> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type
'wxToolBarToolBase *' at 0x1fbdf08> >
>>> self.objects['toolbar'].AddLabelTool(
id=-1,bitmap=self.objects['reloadbmp'],shortHelp=u"Einstellungen werden neu
geladen",label=u"Neu laden" )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type
'wxToolBarToolBase *' at 0x1f98a50> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type
'wxToolBarToolBase *' at 0x1fa8b40> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type
'wxToolBarToolBase *' at 0x1f93378> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type
'wxToolBarToolBase *' at 0x1f98a98> >
>>> self.objects['toolbar'].AddLabelTool(
id=-1,bitmap=self.objects['reportbugbmp'],shortHelp=u"Einen Bug
melden",label=u"Bug melden" )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type
'wxToolBarToolBase *' at 0x1fbb490> >
>>> self.objects['toolbar'].AddSeparator( )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type
'wxToolBarToolBase *' at 0x1fbb448> >
>>> self.objects['toolbar'].AddLabelTool(
id=-1,bitmap=self.objects['helpbmp'],shortHelp=u"Anleitung
öffnen",label=u"Hilfe" )
... <wx._controls.ToolBarToolBase; proxy of <Swig Object of type
'wxToolBarToolBase *' at 0x1fac780> >
>>> 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=(360, 590) )
... None
>>> self.objects['scrollwindow'].SetSize( size=(345, 500) )
... None
>>> self.objects['bsizer'].SetMinSize( size=(345, 500) )
... None
>>> self.objects['tbpanel'].SetSize( size=(100, 590) )
... None
>>> self.objects['panel'].SetSize( size=(360, 590) )
... None
>>> self.objects['scrollwindow'].SetSize( size=(345, 500) )
... None
>>> self.objects['bsizer'].SetMinSize( size=(345, 500) )
... None
>>> self.objects['bsizer'].Clear( deleteWindows=True )
... None
>>> self.objects['scrollwindow'].Hide( )
... True

Traceback (most recent call last):
  File ".\appsnaplib\guisetup.py", line 407, in initialize
  File ".\appsnaplib\guisetup.py", line 644, in initialize_section_list
  File ".\appsnaplib\widgets.py", line 80, in set_event
  File ".\appsnaplib\process.py", line 84, in __init__
  File ".\appsnaplib\process.py", line 147, in get_installed_version
  File ".\appsnaplib\config.py", line 240, in get_installed_version
NameError: global name 'NoOptionError' is not defined

Original issue reported on code.google.com by pirker.s...@gmail.com on 2 Jan 2009 at 10:03