poljar/weechat-matrix

nio.exceptions.LocalProtocolError: Matrix store and olm account is not loaded

ikwyl6 opened this issue · 0 comments

First time trying and loading weechat-matrix using: /python load matrix.py:

18:48 -- matrix: Connecting to matrix.org:443 (SSL)...                                                                                                                                                             
18:48 -- matrix: Doing SSL handshake...                                                                                                                                                                            
18:48 -- matrix: Connected using TLSv1.3, and 256 bit TLS_AES_256_GCM_SHA384 cipher suite.                                                                                                                         
18:48 -- matrix: received certificate                                                                                                                                                                              
18:48  - certificate info:                                                                                                                                                                                         
18:48     - subject: countryName=US, stateOrProvinceName=California,                                                                                                                                               
18:48         localityName=San Francisco, organizationName=Cloudflare, Inc.,                                                                                                                                       
18:48         commonName=sni.cloudflaressl.com, serial number                                                                                                                                                      
18:48         041796794E607CC7DD5DEADAC0F8CB27                                                                                                                                                                     
18:48     - issuer: countryName=US, organizationName=Cloudflare, Inc.,                                                                                                                                             
18:48         commonName=Cloudflare Inc ECC CA-3                                                                                                                                                                   
18:48     - key info: DSA key 256 bits, signed using ecdsa-with-SHA256                                                                                                                                             
18:48     - period of validity:                                                                                                                                                                                    
18:48         Begins on:  Jun  3 00:00:00 2022 GMT                                                                                                                                                                 
18:48         Expires on: Jun  2 23:59:59 2023 GMT                                                                                                                                                                 
18:48     - fingerprints:                                                                                                                                                                                          
18:48         SHA1:   E2:2C:69:F5:28:62:57:FE:FC:29:FD:C7:BC:BA:BC:DB:12:47:3E:89                                                                                                                                  
18:48         SHA256: 90:15:F5:A3:28:4A:C2:62:13:E9:39:BE:73:06:91:F9:4B:ED:B4:49:A4:A4:7C:A9:41:C5:13:3C:75:AB:26:A5                                                                                              
18:48 -- matrix: Logging in...                                                                                                                                                                                     
18:48 -- matrix: Logged in as @ikwyl6:matrix.org                                                                                                                                                                   
18:48 python: stdout/stderr (matrix): Traceback (most recent call last):                                                                                                                                           
18:48 python: stdout/stderr (matrix):   File "/mnt/wd1000/BTSync/RPi conf files/weechat/python/matrix/utf.py", line 89, in wrapper                                                                                 
18:48 python: stdout/stderr (matrix):     return function(*args, **kwargs)                                                                                                                                         
18:48 python: stdout/stderr (matrix):   File "/mnt/wd1000/BTSync/RPi conf files/weechat/python/matrix.py", line 343, in receive_cb                                                                                 
18:48 python: stdout/stderr (matrix):     server.handle_response(response)                                                                                                                                         
18:48 python: stdout/stderr (matrix):   File "/mnt/wd1000/BTSync/RPi conf files/weechat/python/matrix/server.py", line 1628, in handle_response                                                                    
18:48 python: stdout/stderr (matrix):     self._handle_login(response)                                                                                                                                             
18:48 python: stdout/stderr (matrix):   File "/mnt/wd1000/BTSync/RPi conf files/weechat/python/matrix/server.py", line 1352, in _handle_login                                                                      
18:48 python: stdout/stderr (matrix):     if not self.client.olm_account_shared:                                                                                                                                   
18:48 python: stdout/stderr (matrix):   File "/usr/lib/python3.10/site-packages/nio/client/base_client.py", line 110, in inner                                                                                     
18:48 python: stdout/stderr (matrix):     raise LocalProtocolError("Matrix store and olm account is not loaded.")                                                                                                  
18:48 python: stdout/stderr (matrix): nio.exceptions.LocalProtocolError: Matrix store and olm account is not loaded.                                                                                               
18:48 =!= python: error in function "receive_cb" 
18:54 -- matrix: Error while reading from socket                                                                                                                                                                   
18:54 -- matrix: disconnecting from server...                                                                                                                                                                      
18:54 -- matrix: disconnected from server                                                                                                                                                                          
18:54 -- matrix: reconnecting to server in 10 seconds                                                                                                                                                              
18:55 -- matrix: reconnecting to server...                                                                                                                                                                         
18:55 -- matrix: Connecting to matrix.org:443 (SSL)...                                                                                                                                                             
18:55 -- matrix: Doing SSL handshake...                                                                                                                                                                            
18:55 -- matrix: Connected using TLSv1.3, and 256 bit TLS_AES_256_GCM_SHA384 cipher suite.                                                                                                                         
18:55 -- matrix: received certificate                                                                                                                                                                              
18:55  - certificate info:                                                                                                                                                                                         
18:55     - subject: countryName=US, stateOrProvinceName=California,                                                                                                                                               
18:55         localityName=San Francisco, organizationName=Cloudflare, Inc.,                                                                                                                                       
18:55         commonName=sni.cloudflaressl.com, serial number                                                                                                                                                      
18:55         041796794E607CC7DD5DEADAC0F8CB27                                                                                                                                                                     
18:55     - issuer: countryName=US, organizationName=Cloudflare, Inc.,                                                                                                                                             
18:55         commonName=Cloudflare Inc ECC CA-3                                                                                                                                                                   
18:55     - key info: DSA key 256 bits, signed using ecdsa-with-SHA256                                                                                                                                             
18:55     - period of validity:                                                                                                                                                                                    
18:55         Begins on:  Jun  3 00:00:00 2022 GMT                                                                                                                                                                 
18:55         Expires on: Jun  2 23:59:59 2023 GMT                                                                                                                                                                 
18:55     - fingerprints:                                                                                                                                                                                          
18:55         SHA1:   E2:2C:69:F5:28:62:57:FE:FC:29:FD:C7:BC:BA:BC:DB:12:47:3E:89                                                                                                                                  
18:55         SHA256: 90:15:F5:A3:28:4A:C2:62:13:E9:39:BE:73:06:91:F9:4B:ED:B4:49:A4:A4:7C:A9:41:C5:13:3C:75:AB:26:A5                                                                                              
18:55 -- matrix: Already logged in, syncing... 

I'm not sure what happens in the background.. but after the already logged in, syncing.... part I can join a channel..