Code: Select all
if item[0] == key:
self.SelectItem(tmp)ich will aber nicht ausschließen, dass irgendwo Fälle konstruieren kann, die nicht abgefangen werden.
Code: Select all
if item[0] == key:
self.SelectItem(tmp)Code: Select all
if item[0] == key:
self.SelectItem(tmp)
Ok, das k├Ânnte es erkl├ñren. Python 2.5 verwendet wohl immer mehr Longs (in Python 3000 soll es auch nur noch Longs geben) und das hat sich wahrscheinlich beim Update ge├ñndert.Bartman wrote:da war irgendwas mit dem Typ im Eimer.
der key war anscheinend ein negativer Integer und die Konstanten Longs.
Ich habe meine Config jetzt mal behoben und dann geht auch alles wieder.
Code: Select all
Traceback (most recent call last):
File "D:\Media\EventGhost\eg\Controls\ButtonRow.py", line 78, in OnOK
self.parent.OnOK(event)
File "D:\Media\EventGhost\eg\Dialogs\OptionsDialog.py", line 119, in OnOK
os.remove(path)
WindowsError: [Error 2] The system cannot find the file specified: u'C:\\Documents and Settings\\PatkIllA\\Start Menu\\Programs\\Startup\\EventGhost.lnk'Code: Select all
Traceback (most recent call last):
File "D:\Media\EventGhost\eg\Controls\ButtonRow.py", line 78, in OnOK
self.parent.OnOK(event)
File "D:\Media\EventGhost\eg\Dialogs\OptionsDialog.py", line 115, in OnOK
Arguments="-hide"
TypeError: CreateShortcut() got an unexpected keyword argument 'Path'