AamAadmiParty / cleansweep

Volunteer & Campaign Management System
Other
40 stars 21 forks source link

Volunteer export timing out #171

Closed anandology closed 8 years ago

anandology commented 8 years ago

Volunteer export is timing out when there are many volunteers.

raghavio commented 8 years ago
UnicodeDecodeError: 'utf8' codec can't decode byte 0xd0 in position 0: invalid continuation byte

I'm getting this

anandbot commented 8 years ago

on test.missionvistaar.in ?

On Mon, Feb 8, 2016 at 2:28 PM, Raghav Sharma notifications@github.com wrote:

UnicodeDecodeError: 'utf8' codec can't decode byte 0xd0 in position 0: invalid continuation byte

I'm getting this

— Reply to this email directly or view it on GitHub https://github.com/AamAadmiParty/cleansweep/issues/171#issuecomment-181259998 .

raghavio commented 8 years ago

No. On localhost.

anandbot commented 8 years ago

Please create an issue with the traceback. I don't think it is related to this issue.

On Mon, Feb 8, 2016 at 2:48 PM, Raghav Sharma notifications@github.com wrote:

No. On localhost.

— Reply to this email directly or view it on GitHub https://github.com/AamAadmiParty/cleansweep/issues/171#issuecomment-181266030 .

raghavio commented 8 years ago

It's working fine for me. How many you downloading? I downloaded a file with 1000 entries.

anandology commented 8 years ago

I'm working on this. The query is very inefficient. It makes O(N) queries.

It is failing for 1000+ entries on a production instance.

anandology commented 8 years ago

Fixed now.