• # Erreur de lancement

    Posté par (site web personnel, Mastodon) . En réponse à la dépêche Publication de Textoter 0.51. Évalué à 4.

    Bonjour !

    J'ai une erreur au lancement:

    ➜ ~ textoter
    Traceback (most recent call last):
     File "/usr/local/lib/python3.8/dist-packages/textoter/textoter.py", line 266, in do_startup
     self.read_config()
     File "/usr/local/lib/python3.8/dist-packages/textoter/textoter.py", line 319, in read_config
     self.actions = self.actions_from_config(self.config)
     File "/usr/local/lib/python3.8/dist-packages/textoter/textoter.py", line 289, in actions_from_config
     history_list = self.sanitize_list(history_list.split(';'))
    AttributeError: 'list' object has no attribute 'split'
    (textoter:12369): Gtk-WARNING **: 15:10:06.223: ../../../../gtk/gtkwidget.c:8648: widget not within a GtkWindow
    (textoter:12369): Gtk-WARNING **: 15:10:06.223: ../../../../gtk/gtkwidget.c:8648: widget not within a GtkWindow
    Traceback (most recent call last):
     File "/usr/local/lib/python3.8/dist-packages/textoter/textoter.py", line 258, in do_activate
     win = TextoterWindow(self, self.bt)
     File "/usr/local/lib/python3.8/dist-packages/textoter/textoter.py", line 70, in __init__
     for num in self.app.actions['history_list'][1]:
    AttributeError: 'TextoterApplication' object has no attribute 'actions'
    

    Versions:

    ➜ ~ lsb_release -a
    No LSB modules are available.
    Distributor ID: Ubuntu
    Description: Ubuntu 20.04.1 LTS
    Release: 20.04
    Codename: focal
    ➜ ~ python3 --version
    Python 3.8.5
    

    🦀🐍 http://github.com/buxx 🖥 https://algoo.fr 📋 https://tracim.fr