Page MenuHomePhabricator

Cohort upload fails
Closed, ResolvedPublic

Description

Author: orenbochman

Description:
cohort file used

I'm unable to upload cohorts

I've been targetting hewiki

I get "Error! Server error while processing your upload"


Version: unspecified
Severity: enhancement
OS: Windows 8
Platform: PC

Attached:

Details

Reference
bz57919

Event Timeline

bzimport raised the priority of this task from to Low.Nov 22 2014, 2:42 AM
bzimport set Reference to bz57919.
bzimport added a subscriber: Unknown Object (MLST).

Oren, I'm afraid that CSV has some mysterious nasty character in it, and that's why it's not working. I'm adding an attachment with the same exact user names. I've tried my version and it uploads properly.

Created attachment 13969
clean version of the cohort file attached to the bug

Attached:

orenbochman wrote:

Messing around with the files I've noticed that the bug seems to be due to windows type newlines \n\r when replaced to \n the file works.

this can be fixed by adding a regex.

I'm also having loading cohorts with hebrew user names.

orenbochman wrote:

another cohort with a hebrew user name

this loads but the user does not get validated

Attached:

orenbochman wrote:

Comment on attachment 13974
another cohort with a hebrew user name

note it seems the user no longer exits so forget the

ok -- we'll fix the line ending issues at some point; workaround is clear.

-Toby

The line ending issues has been fixed, wikimetrics is more tolerant of its Windows users :)