Is it a Bug reading like related to some profile? #5

Closed
opened 2020-12-03 16:25:45 +01:00 by qo-op · 1 comment
Member
./jaklis.py like -p S9EJbjbaGPnp26VuV6fKjR7raE1YkNhUGDgoydHvAJ1
Traceback (most recent call last):
  File "./jaklis.py", line 160, in <module>
    gchange.readLikes(args.profile)
  File "/home/fred/workspace/astroport/zen/cesium-messaging/lib/likes.py", line 130, in readLikes
    result = self.parseResult(result)
  File "/home/fred/workspace/astroport/zen/cesium-messaging/lib/likes.py", line 90, in parseResult
    pseudo = gProfile['title']
KeyError: 'title'

POD="https://data.gchange.fr" # Noeud Gchange utilisé pour l'envoi du message

./jaklis.py get -p S9EJbjbaGPnp26VuV6fKjR7raE1YkNhUGDgoydHvAJ1
{
  "pubkey": "S9EJbjbaGPnp26VuV6fKjR7raE1YkNhUGDgoydHvAJ1",
  "creationTime": 1605913142,
  "description": "#Astroport Node",
  "avatar": {
    "_content_type": "image/png"
  },
  "title": "mizbot",
  "socials": [
    {
      "url": "https://demo.cesium.app/#/app/wot/S9EJbjbaGPnp26VuV6fKjR7raE1YkNhUGDgoydHvAJ1/"
    }
  ]
}
``` ./jaklis.py like -p S9EJbjbaGPnp26VuV6fKjR7raE1YkNhUGDgoydHvAJ1 Traceback (most recent call last): File "./jaklis.py", line 160, in <module> gchange.readLikes(args.profile) File "/home/fred/workspace/astroport/zen/cesium-messaging/lib/likes.py", line 130, in readLikes result = self.parseResult(result) File "/home/fred/workspace/astroport/zen/cesium-messaging/lib/likes.py", line 90, in parseResult pseudo = gProfile['title'] KeyError: 'title' ``` POD="https://data.gchange.fr" # Noeud Gchange utilisé pour l'envoi du message ``` ./jaklis.py get -p S9EJbjbaGPnp26VuV6fKjR7raE1YkNhUGDgoydHvAJ1 { "pubkey": "S9EJbjbaGPnp26VuV6fKjR7raE1YkNhUGDgoydHvAJ1", "creationTime": 1605913142, "description": "#Astroport Node", "avatar": { "_content_type": "image/png" }, "title": "mizbot", "socials": [ { "url": "https://demo.cesium.app/#/app/wot/S9EJbjbaGPnp26VuV6fKjR7raE1YkNhUGDgoydHvAJ1/" } ] } ```
qo-op changed title from Bug with profile missing title? to Is it a Bug with some profile? 2020-12-03 16:29:07 +01:00
qo-op changed title from Is it a Bug with some profile? to Is it a Bug reading like related to some profile? 2020-12-03 16:29:27 +01:00
Owner

Fix: 5479075a

Fix: [5479075a](https://git.p2p.legal/axiom-team/cesium-messaging/commit/5479075a1b0cd3456d86dbb6d5d4a42b9f378a5f)
poka closed this issue 2020-12-03 23:47:06 +01:00
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#5
No description provided.