Closed peterdekker closed 6 years ago
Are you using an old version of enki and/or pbclient? Because, maybe you have an old version and when you grab the project via those, the secret key is not removed when updating it. Can you try with a new version of pbclient?
Thanks for the suggestion! I updated enki, pbs and pbclient using pip. Yet, the problem still occurs unfortunately.
Are you using a virtualenv? If you are, try to open the file init.py of pbclient package and check if your installation has this line: https://github.com/Scifabric/pybossa-client/blob/master/pbclient/__init__.py#L102
As you will see, in our code the secret_key is listed as a reserved word, so maybe you have an old version.
Or we haven't pushed the latest version to pypi :D
I installed the wrong packages via pip: it had to be pybossa-client
and pybossa-pbs
instead of pbclient
and pbs
. Now the problem has been solved! Thanks.
However, I think the dependencies of the packages have to be updated:
pybossa-pbs 2.4.7 has requirement pybossa-client<1.2.2,>=1.2.1, but you'll have pybossa-client 2.0.1 which is incompatible.
enki 1.1.1 has requirement pybossa-client<1.1.2,>=1.1.1, but you'll have pybossa-client 2.0.1 which is incompatible.
we will look into the dependencies! thx.
I created a PyBOSSA project, which worked before. However, now when I try to update the project, I get the following error:
I debugged the error, and found out the key
secret_key
indata
caused the error. However, I never usedsecret_key
in my project.I also extracted the
data
object:Is this a bug, or am I doing something wrong?