Skip to content
This repository has been archived by the owner on Feb 3, 2022. It is now read-only.

Error when trying to access transaction on westend #8

Open
gituser opened this issue Feb 20, 2021 · 0 comments
Open

Error when trying to access transaction on westend #8

gituser opened this issue Feb 20, 2021 · 0 comments

Comments

@gituser
Copy link

gituser commented Feb 20, 2021

Hi.

Used docker to run the polkascan-os in docker for westend chain, but keep gettings this error when I try to hit any transaction via API, maybe you could look into it:

explorer-api_1       | [2021-02-20 21:28:31 +0000] [10] [ERROR] Traceback (most recent call last):
explorer-api_1       |   File "/usr/local/lib/python3.6/site-packages/falcon/api.py", line 244, in __call__
explorer-api_1       |     responder(req, resp, **params)
explorer-api_1       |   File "/usr/src/app/app/resources/base.py", line 109, in on_get
explorer-api_1       |     cache_response = self.process_get_response(req, resp, **kwargs)
explorer-api_1       |   File "/usr/src/app/app/resources/base.py", line 183, in process_get_response
explorer-api_1       |     data=self.serialize_item(item),
explorer-api_1       |   File "/usr/src/app/app/resources/polkascan.py", line 279, in serialize_item
explorer-api_1       |     data['attributes']['datetime'] = block.datetime.replace(tzinfo=pytz.UTC).isoformat()
explorer-api_1       | AttributeError: 'NoneType' object has no attribute 'replace'

@arjanz

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant