First time here? Check out the FAQ!
0

Sanction package version
 

Hello,

I'm using askbot git version: github.com/ASKBOT/askbot-devel. I've noticed that in requirements (github.com/ASKBOT/askbot-devel/blob/master/askbot_requirements_dev.txt), there is a package named: sanction. I've used pip install -r askbot_requirements_dev.txt) in a virtualenv. Sanction version's installed was 0.4.1 and askbot seems to work well with lower sanction version. Wich is the prefered sanction version, maybe 0.3 or 0.3.1?

FYI when sanction 0.4.1 is installed, the oauth not wotk well, it's because in sanction 0.4 are some breaking changes:

Breaking: removed redirect_uri from Client.__init__ (didn't make sense to be there. This has been added to auth_uri and request_token.

The error that is thown by Django is:

__init__() got an unexpected keyword argument 'redirect_uri'

Wich is the best solution? Install lower version of sanction (wich one?), or patch lines in askbot to adapt it to sanction => 0.4

Thanks.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
RubenDjOn's avatar
1
RubenDjOn
asked 11 years ago

Comments

I am also encountering this issue.

hollomancer's avatar hollomancer (10 years ago)
see more comments

1 Answer

0

I went ahead and changed to sanction==0.3.1 and that seems to be doing the trick.

To enter a block of code:

  • enter empty line after your previous text
  • paste or type the code
  • select the code and press the button above
Preview: (hide)
hollomancer's avatar
1
hollomancer
answered 10 years ago
link

Comments

see more comments