jaklis message read error #19

Open
opened 2022-10-22 14:31:36 +02:00 by qo-op · 4 comments
Member

When Extracting QP1VkfaFUMdHZmHgPMi7q5wJJHaQhZcEqs5A86NigKr messages...

jaklis.py -k /tmp/secret.key read -n 10 -j

argument should be a bytes-like object or ASCII string, not 'NoneType'
Traceback (most recent call last):
  File "/home/pi/.zen/Astroport.ONE/tools/jaklis/jaklis.py", line 182, in <module>
    cesium.read(args.number, args.outbox, args.json)
  File "/home/pi/.zen/Astroport.ONE/tools/jaklis/lib/cesium.py", line 16, in read
    jsonFormat = readCesium.jsonMessages(jsonMsg, nbrMsg, outbox)
  File "/home/pi/.zen/Astroport.ONE/tools/jaklis/lib/messaging.py", line 133, in jsonMessages
    data[i] = {}
IndexError: list assignment index out of range

this is what we get...

{
    "_id": "AYP_c9IUDrQB_rERPpYr",
    "_index": "message",
    "_score": null,
    "_source": {
        "content": null,
        "issuer": "7jikBcC2Cd89SGGDuMXNPqyBXn2FeBFY1XnKAQgyAxeA",
        "nonce": "8yFUY6taYrZ6qwgZRqvBdQDNeFNEWDrge",
        "recipient": "QP1VkfaFUMdHZmHgPMi7q5wJJHaQhZcEqs5A86NigKr",
        "time": 1666438124,
        "title": "PbCNQ7YhZg3FCUwWTVTvigoVqX9/LpTF80Pp705u3F3uTykDvsaex08I"
    },
    "_type": "inbox",
    "sort": [
        1666438124
    ]
}

cat /tmp/secret.key

Type: PubSec
Version: 1
pub: QP1VkfaFUMdHZmHgPMi7q5wJJHaQhZcEqs5A86NigKr
sec: MP5cND4uM4YMLwiWjJ2DDw2mqBGuVodDZB2XbUgiCnupv8nLFTqsox29ovkmqKbnizq1ZFJCH9159iEWQGmwGkp
When Extracting QP1VkfaFUMdHZmHgPMi7q5wJJHaQhZcEqs5A86NigKr messages... jaklis.py -k /tmp/secret.key read -n 10 -j ``` argument should be a bytes-like object or ASCII string, not 'NoneType' Traceback (most recent call last): File "/home/pi/.zen/Astroport.ONE/tools/jaklis/jaklis.py", line 182, in <module> cesium.read(args.number, args.outbox, args.json) File "/home/pi/.zen/Astroport.ONE/tools/jaklis/lib/cesium.py", line 16, in read jsonFormat = readCesium.jsonMessages(jsonMsg, nbrMsg, outbox) File "/home/pi/.zen/Astroport.ONE/tools/jaklis/lib/messaging.py", line 133, in jsonMessages data[i] = {} IndexError: list assignment index out of range ``` this is what we get... ``` { "_id": "AYP_c9IUDrQB_rERPpYr", "_index": "message", "_score": null, "_source": { "content": null, "issuer": "7jikBcC2Cd89SGGDuMXNPqyBXn2FeBFY1XnKAQgyAxeA", "nonce": "8yFUY6taYrZ6qwgZRqvBdQDNeFNEWDrge", "recipient": "QP1VkfaFUMdHZmHgPMi7q5wJJHaQhZcEqs5A86NigKr", "time": 1666438124, "title": "PbCNQ7YhZg3FCUwWTVTvigoVqX9/LpTF80Pp705u3F3uTykDvsaex08I" }, "_type": "inbox", "sort": [ 1666438124 ] } ``` cat /tmp/secret.key ``` Type: PubSec Version: 1 pub: QP1VkfaFUMdHZmHgPMi7q5wJJHaQhZcEqs5A86NigKr sec: MP5cND4uM4YMLwiWjJ2DDw2mqBGuVodDZB2XbUgiCnupv8nLFTqsox29ovkmqKbnizq1ZFJCH9159iEWQGmwGkp ```
qo-op changed title from jaklis read error to jaklis message read error 2022-10-22 14:35:08 +02:00
Author
Member

C'est à cause d'un message au corps vide.
Boris et moi on kiff avec jaklis !!

C'est à cause d'un message au corps vide. Boris et moi on kiff avec jaklis !!
Owner

fix: 5a7b0c6901

fix: https://git.p2p.legal/axiom-team/jaklis/commit/5a7b0c69017bc8670b6cf3990e8d1890bd4bfa1d
Owner

If you got this error when using GVA:

TypeError: function() argument 'code' must be code, not str

Just upgrade fucking aiohttp with:

python3.9 -m pip install --upgrade aiohttp

with your version of python.
fuck python.

If you got this error when using GVA: `TypeError: function() argument 'code' must be code, not str` Just upgrade fucking aiohttp with: `python3.9 -m pip install --upgrade aiohttp` with your version of python. fuck python.
Owner
  • Les paiements GVA avec commentaires contenants plusieurs mots fonctionnent désormais.
  • Le noeud g1.duniter.org est désormais cablé GVA
- Les paiements GVA avec commentaires contenants plusieurs mots fonctionnent désormais. - Le noeud g1.duniter.org est désormais cablé GVA
Sign in to join this conversation.
No Milestone
No Assignees
2 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: axiom-team/jaklis#19
No description provided.