Bugs item #3066765, was opened at 2010-09-15 11:02
Message generated for change (Tracker Item Submitted) made by dmitrynikitin
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=306676…
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: General
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Dmitry Nikitin (dmitrynikitin)
Assigned to: Nobody/Anonymous (nobody)
Summary: clean_sandbox.py: TypeError: 'int' object is unsubscriptable
Initial Comment:
>python clean_sandbox.py
Traceback (most
recent call last):
File "clean_sandbox.py", line 212, in <module>
main()
File "clean_sandbox.py", line 206, in main
bot.run()
File "clean_sandbox.py", line 170, in run
diff = minutesDiff(sandboxPage.editTime(), time.strftime("%Y%m%d%H%M%S",
time.gmtime()))
File "clean_sandbox.py", line 138, in minutesDiff
t1 = (((int(time1[0:4]) * 12 + int(time1[4:6])) * 30 +
TypeError: 'int' object is unsubscriptable
-------------------------------------------------------
Pywikipedia [http] trunk/pywikipedia (r8560, 2010/09/15, 10:11:05)
Python 2.6.5 (r265:79063, Apr 16 2010, 13:57:41)
[GCC 4.4.3]
config-settings:
use_api = True
use_api_login = True
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=603138&aid=306676…