hab ich schon, aber leider weiterhin ohne erfolg.

versteh nicht warum das Programm eine Fehlermeldung anzeigt so wie hier:
Stef $
# Copyright (C) 2007, 2008 Stefan Schwendeler (
kungpfui@bierbuden.de )
__version__ = u'$Revision: 338 $'
__author__ = u'Stefan Schwendeler'
import sys, os
import hashlib
import urllib2
app = u'autoupdate'
bude = u'altbierbude'
language = u'en'
def GetUrlData(url):
"""
Get data stream from a URL source.
@param url uniform resource locator, HTTP, FTP or Gopher
"""
opener = urllib2.build_opener()
opener.addheaders = [('User-agent', '%s/2.1' % str(app.capitalize()))]
data_stream = None
retries = 10
while True:
retries -= 1
try:
url_handle = opener.open( url )
data_stream = url_handle.read( )
url_handle.close()
break
except urllib2.URLError, err:
if retries != 0 and err.errno == 11001: # 'getaddrinfo failed'
continue
raise
return data_stream
def GetAppConfig(url, filename):
"""
Read configuration file
"""
import csv, StringIO
cfg_data = ''
if os.path.exists(filename):
cfg_data = open(filename, 'rb'

.read()
else:
cfg_data = GetUrlData(url+filename)
config = {}
for data in csv.reader( StringIO.StringIO(cfg_data)):
data = [d.decode('utf-8') for d in data]
k = len(data)
config[data[0]] = None if k==1 else data[1] if k==2 else data[1:]
return config
def main():
"""
Downloads the current version of the application and starts it.
"""
source_url = u'http://www.%s.de/%s/2.1/' % (bude, app)
config_filename = bude + u'.cfg'
zip_filenames = (bude + u'.zip',)
try:
# create the app
import wx
the_app = wx.PySimpleApp(redirect=False)
the_app.SetClassName(bude)
the_app.SetAppName(u' '.join((u'Bierbuden', app.capitalize())))
the_app.SetVendorName(u'Kungpfui'
# get the configuration
the_app.myconfig = GetAppConfig(source_url, config_filename)
# get the zip files with the application code
the_app.myfolder = os.path.join(wx.StandardPaths.Get()
.GetUserDataDir(), bude.capitalize())
if not os.path.exists(the_app.myfolder):
os.makedirs(the_app.myfolder)
for archive in zip_filenames:
archive_path = os.path.join(the_app.myfolder, archive)
if os.path.exists(archive_path) and the_app.myconfig[archive] == hashlib.md5(open(archive_path,'rb'

.read()).hexdigest():
pass
else:
open(archive_path, 'wb'

.write(GetUrlData(source_url+archive))
# add Zip file in front of the search path
sys.path.insert(0, archive_path)
# now call main routine of the bude
import bierbude
bierbude.main(the_app, language=language)
except ImportError, err:
if 'wx' in str(err):
# sometimes users don't read anything or just download the wxpython lib but don't install it. So give them some hints.
import webbrowser
webbrowser.open_new_tab( source_url + u'missing_wxpython_%s.html' % language)
else:
raise
if __name__ == '__main__':
log_filename = u'error.log'
try:
# remove old log file if it exists
if os.path.exists(log_filename):
os.remove(log_filename)
main()
except:
sys.stderr = open(log_filename, 'w'

raise