Seite 1 von 1

AttributeError: 'module' object has no attribute 'sslEnabled

Verfasst: Montag 23. September 2013, 11:46
von tAXMAN997
Hallo Leute,

ich bin neu hier im Forum und hab auf die schnelle kein passenden Thread gefunden. Unzwar hab ich ein Problem mit Flumotion bzw. mit Python. Wenn ich Flumotion ausführen will, spuckt mir er immer den selben Fehler (sowohl aufm Terminal als auch das "Programm") aus:

Code: Alles auswählen

AttributeError: 'module' object has no attribute 'sslEnabled'
Ich bin langsam am verzweifeln. Fehlt mir irgendein Modul oder sonstiges?

LG tAX :K

Re: AttributeError: 'module' object has no attribute 'sslEna

Verfasst: Montag 23. September 2013, 12:25
von BlackJack
@tAXMAN997: Wie sieht denn der komplette Traceback aus?

Und ja, es kann sein dass eine (optionale) Bibliothek fehlt oder das eingesetzte Python ohne SSL-Unterstützung übersetzt wurde.

Re: AttributeError: 'module' object has no attribute 'sslEna

Verfasst: Montag 23. September 2013, 12:37
von tAXMAN997
BlackJack hat geschrieben:@tAXMAN997: Wie sieht denn der komplette Traceback aus?

Und ja, es kann sein dass eine (optionale) Bibliothek fehlt oder das eingesetzte Python ohne SSL-Unterstützung übersetzt wurde.
Hier der komplette Traceback:

Code: Alles auswählen

Traceback (most recent call last):
  File "/usr/bin/flumotion-manager", line 42, in <module>
    boot.boot(PROGRAM_PATH, gst=False, gtk=False, installReactor=False)
  File "/usr/lib64/flumotion/python/flumotion/common/boot.py", line 305, in boot
    sys.exit(wrapped(sys.argv))
  File "/usr/lib64/flumotion/python/flumotion/manager/main.py", line 231, in main
    configure.configdir)
  File "/usr/lib64/flumotion/python/flumotion/common/server.py", line 99, in startSSL
    common.assertSSLAvailable()
  File "/usr/lib64/flumotion/python/flumotion/common/common.py", line 393, in assertSSLAvailable
    if not posixbase.sslEnabled:
AttributeError: 'module' object has no attribute 'sslEnabled'  

Re: AttributeError: 'module' object has no attribute 'sslEna

Verfasst: Montag 23. September 2013, 13:42
von BlackJack
@tAXMAN997: Wie hast Du das denn installiert? Gab es irgendwo die Möglichkeit optionale Pakete auszuwählen? Oder wie hast Du die Abhängigkeiten installiert? Ist `pyOpenSSL` installiert? (Was sagt ein ``import OpenSSL`` in einer Python-Shell?)

Re: AttributeError: 'module' object has no attribute 'sslEna

Verfasst: Montag 23. September 2013, 14:52
von tAXMAN997
Ich habe Flumotion über Terminal aus der Repo von Fedora gezogen.

Bei "import OpenSSL" passiert gar nichts.

Re: AttributeError: 'module' object has no attribute 'sslEna

Verfasst: Montag 23. September 2013, 15:00
von EyDu
Was heißt denn "passiert gar nichts"? Entweder gibt es eine Fehlermeldung oder das Modul konnte erfolgreich importiert werden. Etwas passiert in jedem Fall.

Re: AttributeError: 'module' object has no attribute 'sslEna

Verfasst: Montag 23. September 2013, 15:06
von snafu
Wenn man nach der Fehlermeldung googelt dann sieht man, dass der Fehler in Zusammenhang mit Fedora bereits mehrfach gemeldet wurde. Als Lösung wird vorgeschlagen, eine aktuelle Version direkt von der Flumotion-Website ("Upstream") zu installieren. Das wäre dann wohl die Version 0.10.1.

@EyDu: "Nix passiert" würde ich so werten, dass man wieder den Cursor für die Eingabe sehen kann und das Modul somit ohne Fehlermeldung importiert werden konnte.

Re: AttributeError: 'module' object has no attribute 'sslEna

Verfasst: Mittwoch 25. September 2013, 13:29
von tAXMAN997
Ah ok, ich mir jetzt das neuste Flumotion runtergeladen, installiert und nebenbei auch folgenden Befehle ausgeführt:

Code: Alles auswählen

sudo yum groupinstall perl
         sudo yum groupinstall python
Somit hat sich es jetzt erledigt, ein Dankeschön an alle nochmal

:lol: