Jon, can you provide examples of filenames that were rejected?

On Wed, Mar 12, 2014 at 4:02 PM, Jon Robson <[email protected]> wrote:

> (Bad filename: * caused 665 errors)
>
> On Wed, Mar 12, 2014 at 4:02 PM, Jon Robson <[email protected]> wrote:
> > here's the real data. Again same conclusions can be drawn - tokens and
> > filename issues seem to be our biggest problem. Ideas to why our
> > filenames are being rejected welcomed.
> >
> > == Abuse Filter and captcha ==
> > abusefilter 161
> > captcha 1
> > edit/abusefilter 46
> > verification-error abusefilter-disallowed 2
> >
> > == Permissions ==
> > autoblocked 11
> > You have been blocked from editing 6
> > blocked 83
> > edit/error/autoblocked 1
> > edit/error/blocked 29
> > edit/error/protectedpage 3
> > protectedpage 2
> > upload/error/autoblocked 2
> > upload/error/blocked 16
> >
> > == Token issues ==
> > Bad token name. 192
> > badtoken 195
> > edit/error/badtoken 4
> > Failed to retrieve token. 77
> > Invalid token 8
> > upload/error/badtoken 54
> >
> > == Issues with file ==
> > Bad filename: *
> > empty-file 8
> > Filetype not permitted: BMP 1
> > filetype-banned 22
> > Missing filename: Duplicate archive 165
> > Missing filename: Filename exists 33
> > verification-error filetype-mime-mismatch 49
> > upload/error/empty-file 1
> > upload/error/filetype-banned 2
> > upload/error/verification-error/filetype-mime-mismatch 13
> > upload/error/verification-error/zip-bad 1
> > upload/warning/bad-prefix/* 2
> > upload/warning/badfilename/* 189
> > upload/warning/duplicate-archive/* 59
> > upload/warning/exists-normalized/* 3
> > upload/warning/exists/ 5
> > Missing filename: Unknown warning {"bad-prefix": *
> > Unknown error: "titleblacklist-custom-filename" 7
> > Unknown error: "titleblacklist-custom-hidden-char" 2
> > Unknown error: "titleblacklist-forbidden-edit" 3
> >
> > == Other ==
> > edit/error/http 1
> > editconflict 2
> > error: 76
> > error: Bad Gateway 1
> > internal_api_error_DBQueryError 1
> > undefined/undefined 4
> > unknownerror 157
> > upload/error/http 26
> > upload/error/unknownerror 55
> >
> >
> >
> >
> > On Wed, Mar 12, 2014 at 3:55 PM, Jon Robson <[email protected]> wrote:
> >> Argg ignore this mail. I made a stupid typo in my SQL query. I will
> >> send up a more accurate follow up!
> >>
> >> On Wed, Mar 12, 2014 at 3:52 PM, Jon Robson <[email protected]>
> wrote:
> >>> Here is a report of current mobile upload errors that have occurred in
> >>> the last 30 days. It appears that are main source of errors are around
> >>> filenames and bad tokens/expired logged in sessions. Let's try and cut
> >>> these down [1,2].
> >>>
> >>> What is strange is none of the filenames look bad - 2 examples being:
> >>> "Cheatahs_play_a_live_show_at_Amoeba_music_2014-03-01_16-52.jpg"
> >>> "Colonel_Reynolds_in_Iraq-_2014-02-05_23-28.jpg"
> >>>
> >>> Does anyone see any issues with the above names?
> >>> Help much appreciated...
> >>>
> >>> [1] https://bugzilla.wikimedia.org/show_bug.cgi?id=62587
> >>> [2] https://bugzilla.wikimedia.org/show_bug.cgi?id=62241
> >>>
> >>> Full breakdown of errors...
> >>>
> >>> == Server problems ==
> >>> An internal error occurred 28
> >>> upload/error/http 26
> >>> Database query error 25
> >>> parsererror: SyntaxError: Unexpected token < 8
> >>> error: Internal Server Error 4
> >>> error: Bad Gateway 4
> >>> upload/error/autoblocked 2
> >>> internal_api_error_DBQueryError 1
> >>> edit/error/http 1
> >>>
> >>> == Token errors ==
> >>> Invalid token 3468
> >>> Bad token name. 1983
> >>> Anonymous token. 1574
> >>> badtoken 195
> >>> Failed to retrieve token. 172
> >>> upload/error/badtoken 52
> >>> edit/error/badtoken 4
> >>>
> >>> == Abuse filter problems ==
> >>> abusefilter 161
> >>> edit/abusefilter 45
> >>> verification-error abusefilter-disallowed 2
> >>> edit/error/autoblocked 1
> >>>
> >>> == Captcha ==
> >>> captcha 1
> >>>
> >>> == Permissioning problems ==
> >>> You have been blocked from editing 681
> >>> Unknown error: "titleblacklist-forbidden-edit" 323
> >>> Your IP address has been blocked automatically, because it was used by
> >>> a blocked user 133
> >>> The "autoconfirmed" right is required to edit this page 110
> >>> blocked 83
> >>> edit/error/blocked 29
> >>> The "protect" right is required to edit this page 22
> >>> The "editprotected" right is required to edit this page 22
> >>> upload/error/blocked 16
> >>> Unknown error: "wikimedia-globalblocking-ipblocked" 14
> >>> Unknown error: "globalblocking-ipblocked" 13
> >>> autoblocked 11
> >>> The "editsemiprotected" right is required to edit this page 11
> >>> The wiki is currently in read-only mode 4
> >>> edit/error/protectedpage 3
> >>> protectedpage 2
> >>> The "templateeditor" right is required to edit this page 1
> >>>
> >>>
> >>> == Edit conflicts ==
> >>> Edit conflict detected 96
> >>> editconflict 2
> >>>
> >>> == File type problems ==
> >>> Bad filename: * 6806
> >>> This file did not pass file verification 588
> >>> Missing filename: Duplicate archive 1534
> >>> verification-error filetype-mime-mismatch 49
> >>> empty-file 8
> >>> Filetype not permitted: bmp 30
> >>> Filetype not permitted: docx 1
> >>> Filetype not permitted: m4a 3
> >>> Filetype not permitted: MOV 31
> >>> Filetype not permitted: mp3 7
> >>> Filetype not permitted: mp4 5
> >>> Filetype not permitted: txt 1
> >>> Filetype not permitted: webp 15
> >>> Filetype not permitted: xml 2
> >>> Filetype not permitted: zip 1
> >>> filetype-banned 22
> >>> Filename exists 52
> >>> Missing filename 774
> >>> Missing filename: Bad filename 356
> >>> Missing filename: Filename exists 270
> >>> The file you submitted was empty 149
> >>> The file you submitted was too large 8
> >>> The filename is not allowed 11
> >>>
> >>> Unknown error: "titleblacklist-custom-double-apostrophe" 10
> >>> Unknown error: "titleblacklist-custom-filename" 853
> >>> Unknown error: "titleblacklist-custom-hidden-char" 15
> >>> Missing filename: Unknown warning {"exists-normalized":* 8
> >>> Missing filename: Unknown warning {"bad-prefix":"* 93
> >>> upload/warning/badfilename/* 184
> >>> upload/warning/exists/* 5
> >>> upload/warning/exists-normalized/* 3
> >>> upload/warning/duplicate-archive/* 59
> >>> upload/warning/bad-prefix/* 2
> >>> upload/error/verification-error/filetype-mime-mismatch 13
> >>> upload/error/verification-error/zip-bad 1
> >>> upload/error/filetype-banned 2
> >>> upload/error/empty-file 1
> >>>
> >>> == Other ==
> >>> error: 833
> >>> error: Error: INVALID_STATE_ERR: DOM Exception 11 1
> >>> Exception Caught: Error: invalid magic word 'noexternallanglinks' 9
> >>> Exception Caught: The calling convention to LinksUpdate::__construct()
> >>> has changed. Please see WikiPage::doEditUpdates() for an invocation
> >>> example.↵ 6
> >>> The modification you tried to make was aborted by an extension hook 222
> >>> upload/error/unknownerror 55
> >>> unknownerror 157
> >>> undefined/undefined 4
> >>
> >>
> >>
> >> --
> >> Jon Robson
> >> * http://jonrobson.me.uk
> >> * https://www.facebook.com/jonrobson
> >> * @rakugojon
> >
> >
> >
> > --
> > Jon Robson
> > * http://jonrobson.me.uk
> > * https://www.facebook.com/jonrobson
> > * @rakugojon
>
>
>
> --
> Jon Robson
> * http://jonrobson.me.uk
> * https://www.facebook.com/jonrobson
> * @rakugojon
>
> _______________________________________________
> Mobile-l mailing list
> [email protected]
> https://lists.wikimedia.org/mailman/listinfo/mobile-l
>



-- 
Arthur Richards
Software Engineer, Mobile
[[User:Awjrichards]]
IRC: awjr
+1-415-839-6885 x6687
_______________________________________________
Mobile-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mobile-l

Reply via email to