Page MenuHomePhabricator

ArgumentOutOfRange exception when requesting protection
Closed, DeclinedPublic

Description

When requesting protection of a page on fa.wikipedia in huggle, this error is shown:

"2012-12-24 7:09:20 PM (+03:30) -- Did not request protection of 'ARTICLE NAME': Format of request page unknown"

I looked at the code and figured that program looks for "{{PROTECTION PAGE NAME/PRheading}}"

I added this line to protection page and requested again; this time Huggle stopped working (crashed).

These are the problem details that windows gave me:

'''
Description:

Stopped working

Problem signature:

Problem Event Name:	CLR20r3
Problem Signature 01:	huggle 2.1.19.exe
Problem Signature 02:	2.1.19.0
Problem Signature 03:	4f40e9c5
Problem Signature 04:	mscorlib
Problem Signature 05:	2.0.0.0
Problem Signature 06:	503ef855
Problem Signature 07:	15d
Problem Signature 08:	24
Problem Signature 09:	System.ArgumentOutOfRange
OS Version:	6.1.7601.2.1.0.256.1
Locale ID:	1033

Read our privacy statement online:

http://go.microsoft.com/fwlink/?linkid=104288&clcid=0x0409

If the online privacy statement is not available, please read our privacy statement offline:

C:\Windows\system32\en-US\erofflps.txt

'''


Version: 2.1.19
Severity: normal
OS: Windows 7
Platform: PC

Details

Reference
bz43383

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 1:04 AM
bzimport added a project: Huggle.
bzimport set Reference to bz43383.

[ Confirming bug. ]

Some piece of code throws an uncatched ArgumentOutOfRange exception.

A strack trace would be nice.


Peter, I wrote a Bugzilla bug report wizard to integrate with .Net applications when such exception crash occurs, would you be interested I release a version ready to interact with our Wikimedia bug tracker?

Sorry, this feature is enwiki only in huggle 2x and not very well supported, nobody is likely going to extend it for your wiki because huggle 2 is feature frozen.

You can request this feature to be implemented as an extension for huggle 3