[10:46:40] hello [10:46:45] hi [10:47:23] If I print r.content inside https://github.com/mediawiki-utilities/python-mwoauth/blob/master/mwoauth/functions.py [10:47:32] then can I see it? [10:48:12] you might have to install the modified code [10:48:50] modified code? [10:49:08] how did you install mwoauth? [10:49:27] I changes [10:49:32] sorry [10:49:48] ? [10:49:50] I changed requirements.txt to include mwoauth [10:49:54] oh [10:49:58] hmm [10:50:37] the installed code should be somewhere inside the virtualenv [10:50:46] yes it is [10:51:07] yeah, if you add print it should show up in the logs [10:51:24] ok [10:51:34] uwsgi.log [10:51:41] ok [10:51:49] the log might have some delay though [10:52:03] ok [10:58:38] I just discovered that https://github.com/mediawiki-utilities/python-mwoauth/blob/master/mwoauth/functions.py#L247 is missing in the installed code at /data/project/sibutest/www/python/venv/lib/python3.4/site-packages/mwoauth/functions.py [10:59:10] try pip install -U mwoauth [10:59:50] after activating the venv? [10:59:57] yes [11:00:07] okay thanks [11:07:12] :) [11:07:21] oauth working now. [11:07:26] k [11:07:42] thanks zhuyifei1999. [11:07:47] np [13:22:46] hello [13:23:36] Do I have to change user-config.py everytime dynamically? [13:23:41] ? [13:24:49] RuntimeError: No user-config.py found in directory '/data/project/sibutest/www/python/src'. Please check that user-config.py is stored in the correct location. [13:25:08] just store a dummy one there [13:26:07] ok so once a user logs in to sibutest do I update the username in user-config.py? [13:26:28] uh no [13:26:35] see how v2c do it :) [13:27:51] https://github.com/toollabs/video2commons/blob/master/video2commons/backend/worker.py#L129 [13:28:51] okay