You are viewing a single comment's thread from:

RE: How to fix canonical URLs and links in your pre-fork posts

in HiveDevs4 years ago

Hi @holger80! I tried the script for Steem. It works in the test run (with a minor update, to catch unexpected json metadata fields - for example the app parley did set a dict for "app" with more details, rather than the standard string).

But the actual post edits, none are successful (I checked on steemd). When printing the error(s), it says it's (<class 'AttributeError'>, AttributeError("'PointJacobi' object has no attribute '_Point__x'"), <traceback object at 0x7fc4b9dc7aa0>).

I'm not experienced with Python, but after a search this is what I used to get info about the error within the except block of the post edits broadcasts: e = sys.exc_info().

Any idea what could generate this error?

Sort:  

There is a package missing. Which operating system do you use?

Here I'm using Ubuntu 18.04.

EDIT: I also have beem 0.23.9, the latest pip upgraded to.

This is strange, can you double check that you are using the newest version?

beempy about

I will test in the meanwhile beem on a newly installed machine.

Yeah, I was right:

beempy version: 0.23.9

By @holger80

EDITS:
I also have Anaconda 4.8.3, if it matters:

conda --version
conda 4.8.3

Python version is 3.7.7:

python --version
Python 3.7.7

Can you try

pip3 install -U cryptography

and report if this fixes it?
When not, please install also

pip3 install -U secp256k1prp

Finally, we've got it! It was the last one that fixed it.

And a year later, I ask you how did you fix it? :) lol... Trying one script and I can't install

pip3 install -U secp256k1prp

Getting some error

ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.

Solved! Forget it :)
The solution was to run this before

sudo pip3 install --upgrade pip setuptools wheel