Bug historique virements vide

Je n’arrive pas à actualiser mes transactions avec la dernière version, je fais actualiser mais les transactions ne s’affichent pas.

Je n’arrive pas à reproduire chez moi.
Peux-tu lancer tikka dans un terminal, en activant le journal de debogage dans la configuration ? Puis me donner les erreurs ou exceptions qui apparaissent dans les logs ?

[daniel@anvil ~]$ tikka
ERROR:root:scheme https is invalid
Traceback (most recent call last):                                                                                                                                                              
  File "/home/daniel/.local/pipx/venvs/tikka/lib/python3.14/site-packages/tikka/adapters/network/node/connection.py", line 51, in connect                                                       
    self.client = SubstrateClient(                                                                                                                                                              
                  ~~~~~~~~~~~~~~~^                                                                                                                                                              
        url=server.url,                                                                                                                                                                         
        ^^^^^^^^^^^^^^^                                                                                                                                                                         
    ...<4 lines>...                                                                                                                                                                             
        metadata_dir=str(Path(DATA_PATH).expanduser()),                                                                                                                                         
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                                                                                                                         
    )                                                                                                                                                                                           
    ^                                                                                                                                                                                           
  File "/home/daniel/.local/pipx/venvs/tikka/lib/python3.14/site-packages/tikka/adapters/network/node/substrate_client.py", line 113, in __init__                                               
    connection: WebSocket = create_connection(                                                                                                                                                  
                            ~~~~~~~~~~~~~~~~~^                                                                                                                                                  
        self.url, **self.websocket_options                                                                                                                                                      
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                                                                                                                                      
    )                                                                                                                                                                                           
    ^                                                                                                                                                                                           
  File "/home/daniel/.local/pipx/venvs/tikka/lib/python3.14/site-packages/websocket/_core.py", line 664, in create_connection                                                                   
    websock.connect(url, **options)                                                                                                                                                             
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^                                                                                                                                                             
  File "/home/daniel/.local/pipx/venvs/tikka/lib/python3.14/site-packages/websocket/_core.py", line 273, in connect                                                                             
    self.sock, addrs = connect(                                                                                                                                                                 
                       ~~~~~~~^                                                                                                                                                                 
        url,                                                                                                                                                                                    
        ^^^^                                                                                                                                                                                    
    ...<2 lines>...                                                                                                                                                                             
        options.pop("socket", None),                                                                                                                                                            
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                                                                                                                                            
    )                                                                                                                                                                                           
    ^                                                                                                                                                                                           
  File "/home/daniel/.local/pipx/venvs/tikka/lib/python3.14/site-packages/websocket/_http.py", line 133, in connect                                                                             
    hostname, port_from_url, resource, is_secure = parse_url(url)                                                                                                                               
                                                   ~~~~~~~~~^^^^^                                                                                                                               
  File "/home/daniel/.local/pipx/venvs/tikka/lib/python3.14/site-packages/websocket/_url.py", line 62, in parse_url                                                                             
    raise ValueError("scheme %s is invalid" % scheme)                                                                                                                                           
ValueError: scheme https is invalid                                                                                                                                                             
ERROR:root:SyncClientSession.execute() takes 2 positional arguments but 3 were given                                                                                                            
Traceback (most recent call last):                                                                                                                                                              
  File "/home/daniel/.local/pipx/venvs/tikka/lib/python3.14/site-packages/tikka/adapters/network/indexer/certifications.py", line 285, in get_by_indice                                         
    result = self.indexer.connection.client.execute(gql(query), variables)                                                                                                                      
TypeError: SyncClientSession.execute() takes 2 positional arguments but 3 were given                                                                                                            
                                                                                                                                                                                                
During handling of the above exception, another exception occurred:                                                                                                                             
                                                                                                                                                                                                
Traceback (most recent call last):                                                                                                                                                              
  File "/home/daniel/.local/pipx/venvs/tikka/lib/python3.14/site-packages/tikka/slots/pyqt/pyqt_main_application.py", line 293, in fetch_data_from_network_indexer                              
    self.application.certifications.network_fetch_certifications_for_identities(
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        identity_indice
        ^^^^^^^^^^^^^^^
    )
    ^
  File "/home/daniel/.local/pipx/venvs/tikka/lib/python3.14/site-packages/tikka/domains/certifications.py", line 125, in network_fetch_certifications_for_identities
    certifications = self.indexer_certifications.get_by_indice(
        identity_indice, 1000, 0
    )
  File "/home/daniel/.local/pipx/venvs/tikka/lib/python3.14/site-packages/tikka/adapters/network/indexer/certifications.py", line 287, in get_by_indice
    raise IndexerCertificationsException(exception)
tikka.interfaces.adapters.network.indexer.certifications.IndexerCertificationsException: SyncClientSession.execute() takes 2 positional arguments but 3 were given
ERROR:root:SyncClientSession.execute() takes 2 positional arguments but 3 were given
Traceback (most recent call last):
  File "/home/daniel/.local/pipx/venvs/tikka/lib/python3.14/site-packages/tikka/adapters/network/indexer/transfers.py", line 460, in list_with_uds
    result_comments = self.indexer.connection.client.execute(
        gql(query), variables
    )
TypeError: SyncClientSession.execute() takes 2 positional arguments but 3 were given

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/daniel/.local/pipx/venvs/tikka/lib/python3.14/site-packages/tikka/slots/pyqt/pyqt_main_application.py", line 304, in fetch_data_from_network_indexer
    transfers_result = self.application.transfers.network_fetch_history_with_ud_for_account(
        widget.account, blank_page
    )
  File "/home/daniel/.local/pipx/venvs/tikka/lib/python3.14/site-packages/tikka/domains/transfers.py", line 161, in network_fetch_history_with_ud_for_account
    transfers_result = self.indexer_transfers.list_with_uds(account.address, page)
  File "/home/daniel/.local/pipx/venvs/tikka/lib/python3.14/site-packages/tikka/adapters/network/indexer/transfers.py", line 464, in list_with_uds
    raise IndexerTransfersException(exception)
tikka.interfaces.adapters.network.indexer.transfers.IndexerTransfersException: SyncClientSession.execute() takes 2 positional arguments but 3 were given


Sans journal de débogage

[daniel@anvil ~]$ tikka
ERROR:root:scheme https is invalid
Traceback (most recent call last):                                                                                                                                                              
  File "/home/daniel/.local/pipx/venvs/tikka/lib/python3.14/site-packages/tikka/adapters/network/node/connection.py", line 51, in connect                                                       
    self.client = SubstrateClient(                                                                                                                                                              
                  ~~~~~~~~~~~~~~~^                                                                                                                                                              
        url=server.url,                                                                                                                                                                         
        ^^^^^^^^^^^^^^^                                                                                                                                                                         
    ...<4 lines>...                                                                                                                                                                             
        metadata_dir=str(Path(DATA_PATH).expanduser()),                                                                                                                                         
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                                                                                                                         
    )                                                                                                                                                                                           
    ^                                                                                                                                                                                           
  File "/home/daniel/.local/pipx/venvs/tikka/lib/python3.14/site-packages/tikka/adapters/network/node/substrate_client.py", line 113, in __init__                                               
    connection: WebSocket = create_connection(                                                                                                                                                  
                            ~~~~~~~~~~~~~~~~~^                                                                                                                                                  
        self.url, **self.websocket_options                                                                                                                                                      
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                                                                                                                                      
    )                                                                                                                                                                                           
    ^                                                                                                                                                                                           
  File "/home/daniel/.local/pipx/venvs/tikka/lib/python3.14/site-packages/websocket/_core.py", line 664, in create_connection                                                                   
    websock.connect(url, **options)                                                                                                                                                             
    ~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^                                                                                                                                                             
  File "/home/daniel/.local/pipx/venvs/tikka/lib/python3.14/site-packages/websocket/_core.py", line 273, in connect                                                                             
    self.sock, addrs = connect(                                                                                                                                                                 
                       ~~~~~~~^                                                                                                                                                                 
        url,                                                                                                                                                                                    
        ^^^^                                                                                                                                                                                    
    ...<2 lines>...                                                                                                                                                                             
        options.pop("socket", None),                                                                                                                                                            
        ^^^^^^^^^^^^^^^^^^^^^^^^^^^^                                                                                                                                                            
    )                                                                                                                                                                                           
    ^                                                                                                                                                                                           
  File "/home/daniel/.local/pipx/venvs/tikka/lib/python3.14/site-packages/websocket/_http.py", line 133, in connect                                                                             
    hostname, port_from_url, resource, is_secure = parse_url(url)                                                                                                                               
                                                   ~~~~~~~~~^^^^^                                                                                                                               
  File "/home/daniel/.local/pipx/venvs/tikka/lib/python3.14/site-packages/websocket/_url.py", line 62, in parse_url                                                                             
    raise ValueError("scheme %s is invalid" % scheme)                                                                                                                                           
ValueError: scheme https is invalid                                                                                                                                                             
ERROR:root:SyncClientSession.execute() takes 2 positional arguments but 3 were given                                                                                                            
Traceback (most recent call last):                                                                                                                                                              
  File "/home/daniel/.local/pipx/venvs/tikka/lib/python3.14/site-packages/tikka/adapters/network/indexer/certifications.py", line 285, in get_by_indice                                         
    result = self.indexer.connection.client.execute(gql(query), variables)                                                                                                                      
TypeError: SyncClientSession.execute() takes 2 positional arguments but 3 were given                                                                                                            
                                                                                                                                                                                                
During handling of the above exception, another exception occurred:                                                                                                                             
                                                                                                                                                                                                
Traceback (most recent call last):                                                                                                                                                              
  File "/home/daniel/.local/pipx/venvs/tikka/lib/python3.14/site-packages/tikka/slots/pyqt/pyqt_main_application.py", line 293, in fetch_data_from_network_indexer                              
    self.application.certifications.network_fetch_certifications_for_identities(
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        identity_indice
        ^^^^^^^^^^^^^^^
    )
    ^
  File "/home/daniel/.local/pipx/venvs/tikka/lib/python3.14/site-packages/tikka/domains/certifications.py", line 125, in network_fetch_certifications_for_identities
    certifications = self.indexer_certifications.get_by_indice(
        identity_indice, 1000, 0
    )
  File "/home/daniel/.local/pipx/venvs/tikka/lib/python3.14/site-packages/tikka/adapters/network/indexer/certifications.py", line 287, in get_by_indice
    raise IndexerCertificationsException(exception)
tikka.interfaces.adapters.network.indexer.certifications.IndexerCertificationsException: SyncClientSession.execute() takes 2 positional arguments but 3 were given
ERROR:root:SyncClientSession.execute() takes 2 positional arguments but 3 were given
Traceback (most recent call last):
  File "/home/daniel/.local/pipx/venvs/tikka/lib/python3.14/site-packages/tikka/adapters/network/indexer/transfers.py", line 460, in list_with_uds
    result_comments = self.indexer.connection.client.execute(
        gql(query), variables
    )
TypeError: SyncClientSession.execute() takes 2 positional arguments but 3 were given

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/daniel/.local/pipx/venvs/tikka/lib/python3.14/site-packages/tikka/slots/pyqt/pyqt_main_application.py", line 304, in fetch_data_from_network_indexer
    transfers_result = self.application.transfers.network_fetch_history_with_ud_for_account(
        widget.account, blank_page
    )
  File "/home/daniel/.local/pipx/venvs/tikka/lib/python3.14/site-packages/tikka/domains/transfers.py", line 161, in network_fetch_history_with_ud_for_account
    transfers_result = self.indexer_transfers.list_with_uds(account.address, page)
  File "/home/daniel/.local/pipx/venvs/tikka/lib/python3.14/site-packages/tikka/adapters/network/indexer/transfers.py", line 464, in list_with_uds
    raise IndexerTransfersException(exception)
tikka.interfaces.adapters.network.indexer.transfers.IndexerTransfersException: SyncClientSession.execute() takes 2 positional arguments but 3 were given
[daniel@anvil ~]$ tikka
ERROR:root:SyncClientSession.execute() takes 2 positional arguments but 3 were given
Traceback (most recent call last):
  File "/home/daniel/.local/pipx/venvs/tikka/lib/python3.14/site-packages/tikka/adapters/network/indexer/certifications.py", line 285, in get_by_indice
    result = self.indexer.connection.client.execute(gql(query), variables)
TypeError: SyncClientSession.execute() takes 2 positional arguments but 3 were given

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/daniel/.local/pipx/venvs/tikka/lib/python3.14/site-packages/tikka/slots/pyqt/pyqt_main_application.py", line 293, in fetch_data_from_network_indexer
    self.application.certifications.network_fetch_certifications_for_identities(
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~^
        identity_indice
        ^^^^^^^^^^^^^^^
    )
    ^
  File "/home/daniel/.local/pipx/venvs/tikka/lib/python3.14/site-packages/tikka/domains/certifications.py", line 125, in network_fetch_certifications_for_identities
    certifications = self.indexer_certifications.get_by_indice(
        identity_indice, 1000, 0
    )
  File "/home/daniel/.local/pipx/venvs/tikka/lib/python3.14/site-packages/tikka/adapters/network/indexer/certifications.py", line 287, in get_by_indice
    raise IndexerCertificationsException(exception)
tikka.interfaces.adapters.network.indexer.certifications.IndexerCertificationsException: SyncClientSession.execute() takes 2 positional arguments but 3 were given
ERROR:root:SyncClientSession.execute() takes 2 positional arguments but 3 were given
Traceback (most recent call last):
  File "/home/daniel/.local/pipx/venvs/tikka/lib/python3.14/site-packages/tikka/adapters/network/indexer/transfers.py", line 460, in list_with_uds
    result_comments = self.indexer.connection.client.execute(
        gql(query), variables
    )
TypeError: SyncClientSession.execute() takes 2 positional arguments but 3 were given

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/daniel/.local/pipx/venvs/tikka/lib/python3.14/site-packages/tikka/slots/pyqt/pyqt_main_application.py", line 304, in fetch_data_from_network_indexer
    transfers_result = self.application.transfers.network_fetch_history_with_ud_for_account(
        widget.account, blank_page
    )
  File "/home/daniel/.local/pipx/venvs/tikka/lib/python3.14/site-packages/tikka/domains/transfers.py", line 161, in network_fetch_history_with_ud_for_account
    transfers_result = self.indexer_transfers.list_with_uds(account.address, page)
  File "/home/daniel/.local/pipx/venvs/tikka/lib/python3.14/site-packages/tikka/adapters/network/indexer/transfers.py", line 464, in list_with_uds
    raise IndexerTransfersException(exception)
tikka.interfaces.adapters.network.indexer.transfers.IndexerTransfersException: SyncClientSession.execute() takes 2 positional arguments but 3 were given
DEBUG:urllib3.connectionpool:https://g1.data.e-is.pro:443 "POST /user/profile/_mget HTTP/1.1" 200 0
DEBUG:root:Certifications model init data, identity #4267, column=certification_issuer_identity_index, size=156
DEBUG:root:Certifications model init data, identity #4267, column=certification_receiver_identity_index, size=95
DEBUG:root:Network servers data fetch finished....emit signal


Avec journal de débogage

1 Like

J’ai corrigé un des deux bugs apparaissant dans les logs. Voir FEUILLE DE ROUTE de Tikka - #157 by vit

Je ne peux pas lancer Tikka avec Python 3.14. C’est un miracle que Tikka fonctionne chez toi avec Python 3.14, car il manque une dépendance que le mainteneur ne semble plus vouloir compilé pour 3.14+…

Je te conseille de faire tourner Tikka sur une version antérieure de Python, car je ne peux pas reproduire un environnement en 3.14.

Je travaille sur un système d’installation linux universel. Patience. A suivre…

Ah mince.

Oui archlinux et ses dérivés aiment le dernier cri logiciel.

Ça marche maintenant, et malgré tout avec python 3.14! Et la version 0.24.3

2 Likes

Oui, en fait, c’est moi qui me trompait.
Tikka fonctionne très bien sur 3.14. Mais pas sur 3.14alpha (la version maximum installable avec uv sur mon vieux ubuntu 18/04).
J’ai réussi à changer d’environnement en 3.14.3 et cela fonctionne.

Merci beaucoup pour tes retours !

1 Like