JAnD created this task. JAnD added a subscriber: JAnD. JAnD added a project: pywikibot-core.
TASK DESCRIPTION Sometimes when running two instances of interwiki bot I got in one window this (multiple) message. Usualy when one instance is waiting for response from server, but not always:
```
NOTE: [[ml:plnohodnotný]] does not exist. Skipping. Traceback (most recent call last): File "C:\Python27\lib\logging\handlers.py", line 77, in emit self.doRollover() File "I:\py\rewrite\pywikibot\bot.py", line 90, in doRollover os.rename(self.baseFilename, dfn) WindowsError: [Error 32] Proces nemß p°Ýstup k souboru, neboŁ jej prßvý vyu×Ývß jinř proces Logged from file bot.py, line 388 ```
Translate of error:` The process can not access the file because it is being used by another process` There is also strange charset in this message (probably from windows-side)
TASK DETAIL https://phabricator.wikimedia.org/T86493
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: JAnD Cc: Aklapper, JAnD, jayvdb, pywikipedia-bugs
XZise added a subscriber: XZise. XZise added a comment.
That is happening because both instances use the same log file, but to use that log file it needs to move the old log files and this includes the currently used log file by the first instance. I'm not sure how to solve that problem though.
TASK DETAIL https://phabricator.wikimedia.org/T86493
REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>.
EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/
To: XZise Cc: Aklapper, JAnD, XZise, jayvdb, pywikipedia-bugs
pywikipedia-bugs@lists.wikimedia.org