Jump to content

brickv.exe wird nicht ausgeführt


Tracker

Recommended Posts

Hallo,

ich habe brickd.exe und anschließend brickv.exe unter Windos7 auf einem externen Speicher installiert. Die Installation lief problemlos. Wenn ich nun brickv.exe durch 2-maliges Anklicken starte, dann bekomme ich folgende Meldung:

 

See the logfile ...

 

[Die Frage hat sich inzwischen geklärt, Die Ursache war ein zu langer Pfadname - Danke für Ihr Interesse]

 

 

Der Inhalt des Logfiles lautet:

E:\Daten.2016\Büro.2016\Allgemein.2016\DB.2016\TinkerForge\Brickv\brickv.exe:50: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal

Traceback (most recent call last):

  File "main.py", line 64, in <module>

  File "brickv\mainwindow.pyc", line 32, in <module>

  File "brickv\plugin_system\plugin_manager.pyc", line 27, in <module>

  File "brickv\plugin_system\plugins\__init__.pyc", line 51, in <module>

  File "brickv\plugin_system\plugins\red\__init__.pyc", line 24, in <module>

  File "brickv\plugin_system\plugins\red\red.pyc", line 32, in <module>

  File "brickv\plugin_system\plugins\red\ui_red.pyc", line 84, in <module>

  File "brickv\plugin_system\plugins\red\red_tab_console.pyc", line 31, in <module>

  File "brickv\samba.pyc", line 44, in <module>

  File "win32com\__init__.pyc", line 6, in <module>

  File "pythoncom.pyc", line 2, in <module>

  File "pywintypes.pyc", line 124, in <module>

  File "pywintypes.pyc", line 111, in __import_pywin32_system_module__

UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 15: ordinal not in range(128)

E:\Daten.2016\Büro.2016\Allgemein.2016\DB.2016\TinkerForge\Brickv\brickv.exe:50: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal

Traceback (most recent call last):

  File "main.py", line 64, in <module>

  File "brickv\mainwindow.pyc", line 32, in <module>

  File "brickv\plugin_system\plugin_manager.pyc", line 27, in <module>

  File "brickv\plugin_system\plugins\__init__.pyc", line 51, in <module>

  File "brickv\plugin_system\plugins\red\__init__.pyc", line 24, in <module>

  File "brickv\plugin_system\plugins\red\red.pyc", line 32, in <module>

  File "brickv\plugin_system\plugins\red\ui_red.pyc", line 84, in <module>

  File "brickv\plugin_system\plugins\red\red_tab_console.pyc", line 31, in <module>

  File "brickv\samba.pyc", line 44, in <module>

  File "win32com\__init__.pyc", line 6, in <module>

  File "pythoncom.pyc", line 2, in <module>

  File "pywintypes.pyc", line 124, in <module>

  File "pywintypes.pyc", line 111, in __import_pywin32_system_module__

UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 15: ordinal not in range(128)

E:\Daten.2016\Büro.2016\Allgemein.2016\DB.2016\TinkerForge\Brickv\brickv.exe:50: UnicodeWarning: Unicode equal comparison failed to convert both arguments to Unicode - interpreting them as being unequal

Traceback (most recent call last):

  File "main.py", line 64, in <module>

  File "brickv\mainwindow.pyc", line 32, in <module>

  File "brickv\plugin_system\plugin_manager.pyc", line 27, in <module>

  File "brickv\plugin_system\plugins\__init__.pyc", line 51, in <module>

  File "brickv\plugin_system\plugins\red\__init__.pyc", line 24, in <module>

  File "brickv\plugin_system\plugins\red\red.pyc", line 32, in <module>

  File "brickv\plugin_system\plugins\red\ui_red.pyc", line 84, in <module>

  File "brickv\plugin_system\plugins\red\red_tab_console.pyc", line 31, in <module>

  File "brickv\samba.pyc", line 44, in <module>

  File "win32com\__init__.pyc", line 6, in <module>

  File "pythoncom.pyc", line 2, in <module>

  File "pywintypes.pyc", line 124, in <module>

  File "pywintypes.pyc", line 111, in __import_pywin32_system_module__

UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 15: ordinal not in range(128)

 

Ich würde mich freuen wenn mir jemand sagen könnte, woran das liegen könnte.

Vielen Dank beireits im Voraus.

Link zu diesem Kommentar
Share on other sites

[Die Frage hat sich inzwischen geklärt, Die Ursache war ein zu langer Pfadname - Danke für Ihr Interesse]

 

Die Fehlermeldung besagt eigentlich, dass das pywintypes Modul nicht mit dem ü in Büro im Installationspfad zurecht kommt:

 

E:\Daten.2016\Büro.2016\Allgemein.2016\DB.2016\TinkerForge\Brickv\brickv.exe

 

Hast du beim Installieren in einen anderen Ordner einen ohne Umlaute im Pfad gewählt?

Link zu diesem Kommentar
Share on other sites

...

[Die Frage hat sich inzwischen geklärt, Die Ursache war ein zu langer Pfadname - Danke für Ihr Interesse]

 

...

 

Der Pfadname ist definitiv nicht zu lang

- jedenfalls nicht für Systeme, die auf NT4 (NT3.5) basieren,

es sei denn, der "externe Speicher" ist eine CD oder DVD.

"ü, ö, ä" und Sonderzeichen sollten generell nicht in Pfadnamen verwendet werden, auch ist es sinnvoll, sich Punkte im Pfadnamen, die nicht zwischen Dateiname und Dateierweiterung liegen, abzugewöhnen - viele Programme kommen

damit nicht zurecht.

 

zum Nachlesen :

https://de.wikipedia.org/wiki/Dateiname

https://msdn.microsoft.com/en-us/library/windows/desktop/aa365247(v=vs.85).aspx

 

"ordinal not in Range(128)" - ich nehme an, dass nur Ordinalwerte von 0 bis 127

akzeptiert werden, damit fällt "ü" aus dem Rahmen,

da der Ordinalwert von "ü" 129 ist.

--> siehe PC-Zeichensatz Dez.128 - 255

Link zu diesem Kommentar
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Gast
Reply to this topic...

×   Du hast formatierten Text eingefügt.   Formatierung jetzt entfernen

  Only 75 emoji are allowed.

×   Dein Link wurde automatisch eingebettet.   Einbetten rückgängig machen und als Link darstellen

×   Dein vorheriger Inhalt wurde wiederhergestellt.   Clear editor

×   Du kannst Bilder nicht direkt einfügen. Lade Bilder hoch oder lade sie von einer URL.

×
×
  • Neu erstellen...