Last modified: 2014-01-03 16:31:53 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T61555, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 59555 - DRTRIGON-52 Crash because of EditConflict
DRTRIGON-52 Crash because of EditConflict
Status: RESOLVED FIXED
Product: Tool Labs tools
Classification: Unclassified
DrTrigonBot - General (Other open bugs)
unspecified
All All
: Unprioritized major
: ---
Assigned To: Bugzilla Bug Importer (valhallasw)
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-01-03 16:31 UTC by Bugzilla Bug Importer (valhallasw)
Modified: 2014-01-03 16:31 UTC (History)
0 users

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Bugzilla Bug Importer (valhallasw) 2014-01-03 16:31:48 UTC
This issue was converted from https://jira.toolserver.org/browse/DRTRIGON-52.
Summary: Crash because of EditConflict
Issue type: Bug - A problem which impairs or prevents the functions of the product.
Priority: Major
Status: Closed
Assignee: drtrigon <dr.trigon@surfeu.ch>

-------------------------------------------------------------------------------
From: drtrigon <dr.trigon@surfeu.ch>
Date: Tue, 14 Sep 2010 12:14:22
-------------------------------------------------------------------------------

pywikibot.exceptions.EditConflict: An edit conflict has occured.

causes the bot to crash. Such a exception should be caught/handled in way that the bot can continue at least the other users (and parts).

REPORTED: Merlissimo in #wikipedia-de-bots
Comment 1 Bugzilla Bug Importer (valhallasw) 2014-01-03 16:31:50 UTC
-------------------------------------------------------------------------------
From: drtrigon <dr.trigon@surfeu.ch>
Date: Fri, 17 Sep 2010 00:24:07
-------------------------------------------------------------------------------

Solved in r23: https://fisheye.toolserver.org/changelog/drtrigon/?cs=23

In 'dtbext.basic.BasicBot.save' by catching the 'EditConflict' and trying max. 3 times to write. May be a delay is needed, but I hope the web request (API) and throttle mechanism of bot framework should be sufficient and come into action.
Comment 2 Bugzilla Bug Importer (valhallasw) 2014-01-03 16:31:51 UTC
-------------------------------------------------------------------------------
From: drtrigon <dr.trigon@surfeu.ch>
Date: Mon, 20 Sep 2010 18:43:17
-------------------------------------------------------------------------------

(switch close <-> resolve management)
Comment 3 Bugzilla Bug Importer (valhallasw) 2014-01-03 16:31:53 UTC
This bug was imported as RESOLVED. The original assignee has therefore not been
set, and the original reporters/responders have not been added as CC, to
prevent bugspam.

If you re-open this bug, please consider adding these people to the CC list:
Original assignee: dr.trigon@surfeu.ch
CC list: dr.trigon@surfeu.ch

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links