Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

AppEngine: warning during python app update

Everything worked perfect for the last few days, and now all of a sudden I get a warning spammed in the console when I update my app, but still the update is successful.

WARNING util.py:125 new_request() takes at most 1 positional argument (2 given)

I looked at C:\Program Files (x86)\Google\google_appengine\oauth2client\util.py at line 125, but couldn't make anything out of it.

The batch file I use to update my app is :

@echo off
if [%1]==[] (echo Drag the app folder over the bat file.&&pause>nul&&exit)
C:
cd C:\Program Files (x86)\Google\google_appengine
C:\Python27\python appcfg.py update --oauth2 %1
echo Done.
pause>null
like image 641
Chris Avatar asked Aug 08 '13 12:08

Chris


2 Answers

I've confirmed the message is harmless so you can safely ignore it. We are working on a fix and should get one in to 1.8.4.

like image 95
coto Avatar answered Sep 27 '22 22:09

coto


It seems the warnings on appcfg.py and only if --oauth2 option is used. I'm not sure, but not on your apps. Without --oauth2 option, there are no warning.

like image 34
hiroshi Avatar answered Sep 28 '22 00:09

hiroshi