[???] EG startet nicht in Vista X64

Einen Fehler gefunden? Gleich hier melden!

Re: [OPEN] EG startet nicht in Vista X64

Postby Bitmonster » Thu Jul 26, 2007 5:08 pm

Hmm, eigentlich hatte ich an dem Modul sehr lange nicht gearbeitet. Ist also komisch, dass es jetzt nicht mehr gehen sollte. Wie auch immer, es kann auch ein Bug von Win32All sein (wäre nicht das erste Mal).

@Groove
Dann ersetze mal bitte wieder die STARTUP Zeile und führe dann dieses Makro aus:
Code: Select all
<?xml version="1.0" encoding="UTF-8" ?>
<EventGhost Version="1051">
    <Macro Name="Python Skript" Expanded="True">
        <Action>
            EventGhost.PythonScript(u'import ctypes\ndef SHGetFolderPath(nFolder, flags=0, MAX_PATH=255):\n    # XXX: win9x support and proper error handling, and doing MAX_PATH right\n    buf = ctypes.create_unicode_buffer(MAX_PATH)\n    ret = ctypes.windll.shell32.SHGetFolderPathW(None, nFolder, None, flags, buf)\n    return buf.value\n\nprint SHGetFolderPath(7)')
        </Action>
    </Macro>
</EventGhost>

Mal sehen, was das auswirft.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
User avatar
Bitmonster
Site Admin
 
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Re: [OPEN] EG startet nicht in Vista X64

Postby Groove » Thu Jul 26, 2007 5:14 pm

So, das hier kommt raus:

Code: Select all
Python Skript
Fehler in Befehl: "Python Skript"
Traceback (most recent call last) (1051):
AttributeError: 'ActionItem' object has no attribute 'compiledArgs'
Groove
 
Posts: 15
Joined: Fri Mar 30, 2007 1:01 am

Re: [OPEN] EG startet nicht in Vista X64

Postby Bitmonster » Thu Jul 26, 2007 5:20 pm

Huch, da ist was anderes schief gelaufen. Versuche mal von Hand eine PythonScript Aktion zu erstellen und paste das hier rein:
Code: Select all
import ctypes

def SHGetFolderPath(nFolder, flags=0, MAX_PATH=255):
    # XXX: win9x support and proper error handling, and doing MAX_PATH right
    buf = ctypes.create_unicode_buffer(MAX_PATH)
    ret = ctypes.windll.shell32.SHGetFolderPathW(None, nFolder, None, flags, buf)
    print ret
    return buf.value

print repr(SHGetFolderPath(7))
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
User avatar
Bitmonster
Site Admin
 
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Re: [OPEN] EG startet nicht in Vista X64

Postby Groove » Thu Jul 26, 2007 5:31 pm

Dann erscheint im Logfenster eine Sprechblase mit Ausrufezeichen, aber kein Text dahinter.
Groove
 
Posts: 15
Joined: Fri Mar 30, 2007 1:01 am

Re: [OPEN] EG startet nicht in Vista X64

Postby Bitmonster » Thu Jul 26, 2007 5:39 pm

Ich hab das Script oben nochmal modifiziert. Versuch es damit nochmal.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
User avatar
Bitmonster
Site Admin
 
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Re: [OPEN] EG startet nicht in Vista X64

Postby Bitmonster » Thu Jul 26, 2007 5:41 pm

Uhps, kleine Tippfehler. Jetzt aber...
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
User avatar
Bitmonster
Site Admin
 
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Re: [OPEN] EG startet nicht in Vista X64

Postby Groove » Thu Jul 26, 2007 5:51 pm

So, ich hoffe das hilft irgendwie, ich bin erstmal weg jetzt:

Code: Select all
Python Skript
-2147024894
u''
Groove
 
Posts: 15
Joined: Fri Mar 30, 2007 1:01 am

Re: [OPEN] EG startet nicht in Vista X64

Postby Bitmonster » Thu Jul 26, 2007 9:47 pm

Ja, da muss ich mir morgen mal was ausdenken. Wie es aussieht haben sie das bei deinem Vista total verhunzt. Welche Version ist das denn genau?
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
User avatar
Bitmonster
Site Admin
 
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Re: [OPEN] EG startet nicht in Vista X64

Postby Bitmonster » Sat Jul 28, 2007 10:06 am

Tja, irgendwie ist das komisch. Wenn das bei Vista wirklich geändert worden wäre ohne dass die alten Funktionen funktionieren würden, dann würde man bei Google bestimmt massenhaft Einträge über die neuen Funktionen finden. Und die findet man nicht. Ich muss mir das erst selber auf einem Vista-System ansehen. Als Workaround habe ich jetzt in 1054 eingebaut, dass wenn der Pfad nicht gefunden werden kann, die "Starte mit Windows" Checkbox im Options-Dialog deaktiviert wird. Dann muss man sich selber eine Verknüpfung in den Autostart-Ordner legen.
Please post software-related questions in the forum - PMs will only be answered, if really private, thanks!
User avatar
Bitmonster
Site Admin
 
Posts: 2239
Joined: Mon Feb 06, 2006 10:28 pm

Previous

Return to Fehlerberichte

Who is online

Users browsing this forum: No registered users and 1 guest