Ask Your Question
0

Sanction package version

asked 2014-04-16 10:27:50 -0500

RubenDjOn's avatar

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.

edit retag flag offensive close merge delete

Comments

I am also encountering this issue.

hollomancer's avatar hollomancer  ( 2014-10-19 23:12:17 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-10-19 23:21:37 -0500

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

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2014-04-16 10:27:50 -0500

Seen: 244 times

Last updated: Oct 19 '14