Ankündigung

Einklappen

Serverwartung 21.2.



Am 21.2. im Laufe des späten Abends wird eine Serverwartung durchgeführt. Das Forum ist dadurch für gut zwei Stunden nicht erreichbar.
Es wird eine Wartungsseite geschaltet.

Mehr anzeigen
Weniger anzeigen

Fehler /usr/lib/python3.5/weakref.py", line 117, in remove

Einklappen
X
 
  • Filter
  • Zeit
  • Anzeigen
Alles löschen
neue Beiträge

    Fehler /usr/lib/python3.5/weakref.py", line 117, in remove

    Nach einem Phyton-Upgrade habe ich beim Neustart folgenden Absturz.
    Nur
    /usr/local/smarthome/bin/smarthome.py -s und
    /usr/local/smarthome/bin/smarthome.py -stop erlaubt einen neuen Start

    Code:
    [smarthome@SmartHomeNG ~]$ /usr/local/smarthome/bin/smarthome.py --stop
     [smarthome@SmartHomeNG ~]$ /usr/local/smarthome/bin/smarthome.py --start
    2019-04-06 14:53:46 WARNING  smarthome    Main         --------------------   Init SmartHomeNG 1.5.1.master (d2a248c0)   -------------------- -- smarthome.py:__init__:241
    2019-04-06 14:53:46 WARNING  smarthome    Main         Running in Python interpreter 'v3.5.3 final' on linux platform -- smarthome.py:__init__:242
    Daemon PID 11667
    Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x764123d8>
    Traceback (most recent call last):
      File "/usr/lib/python3.5/weakref.py", line 117, in remove
    TypeError: 'NoneType' object is not callable
    Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x764123d8>
    Traceback (most recent call last):
      File "/usr/lib/python3.5/weakref.py", line 117, in remove
    TypeError: 'NoneType' object is not callable
    Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x764123d8>
    Traceback (most recent call last):
      File "/usr/lib/python3.5/weakref.py", line 117, in remove
    TypeError: 'NoneType' object is not callable
    Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x764123d8>
    Traceback (most recent call last):
      File "/usr/lib/python3.5/weakref.py", line 117, in remove
    TypeError: 'NoneType' object is not callable
     [smarthome@SmartHomeNG ~]$
    Ist das Problem bekannt?

    #2
    ist ein Python Problem - gibt es auch bei OpenMediaVault

    Lösung (aus dem Internet kopiert)

    https://github.com/ayufan-rock64/linux-build/issues/136

    richtiger Beitrag:
    Code:
    This [URL="https://forum.openmediavault.org/index.php/Thread/19658-Upgrade-Debian-9-and-4-x/?postID=164703#post164703"]seems to be fixable[/URL].
    
    In short open /usr/lib/python3.5/weakref.py and change line 109 to:
    
    def remove(wr, selfref=ref(self), _atomic_removal=_remove_dead_weakref):
    And line 117 to:
    
    _atomic_removal(d, wr.key)
    Note you need to do this with spaces, not tabs as this will cause other errors.

    Kommentar

    Lädt...
    X