bird-house / pyramid-phoenix

Phoenix is a Pyramid web-application to make it easy to interact with WPS services
http://pyramid-phoenix.readthedocs.io/en/latest/
Apache License 2.0
7 stars 10 forks source link

Error while logging in as admin #206

Closed tommygod3 closed 4 years ago

tommygod3 commented 4 years ago

This line in the twitcher client sends two arguments to the function generate_token: https://github.com/bird-house/pyramid-phoenix/blob/014040ba2f443f19e7028ce90970a6332920079f/phoenix/twitcherclient.py#L52

Recently twitcher was changed and this function now only accepts one argument: https://github.com/bird-house/twitcher/blob/511739de930f3eaf32dcb3ebff5146c1f76f8018/twitcher/client.py#L64

I will submit a PR removing this second argument data

tommygod3 commented 4 years ago

It seems that the new patch of Twitcher requires more than just this small change to work. Until this compatibility is fixed I will use Twitcher 0.4.0

cehbrecht commented 4 years ago

@tommygod3 As long the Twitcher 0.4.0 is working I would also keep it. Twitcher is currently refactored to support oauth. When this is stable we can adapt the Phoenix code to the "new" twitcher.

cehbrecht commented 4 years ago

@tommygod3 I have added PR #208 to pin twitcher 0.4.0.