500 Error for CSV upload

Home Forums Calendar Products Events Calendar PRO 500 Error for CSV upload

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1208429
    Anne Marie
    Participant

    I am not able to upload a csv file and get a 500 error instead. Please advise.

    #1209097
    Brook
    Participant

    Howdy Anne,

    I would love to help you with this.

    That is certainly strange, I can’t recall seeing that issue before.

    Would you mind sharing the CSV file that you are trying to upload? Perhaps there is something in the CSV itself that is causing this glitch. If you would like to keep the CSV file just between you and my team, check the box “set as private reply” in your next response.

    Are you able to upload this text CSV file without getting an error? This file was generated by a mock data program. There are three events, each in January 2017 and all have the event category “Test” assigned to them: the-events-calendar-mock-data-generator-events

    With that info in hand I should be able to better understand this issue. Cheers!

    – Brook

    #1209420
    Anne Marie
    Participant

    This reply is private.

    #1210833
    Anne Marie
    Participant

    Any progress on this please? Thanks -AML

    #1213118
    Anne Marie
    Participant

    Pinging again, please advise -AML

    #1213848
    Brook
    Participant

    Howdy Anne Marie,

    Sorry for the holiday delay. I hope you had a wonderful one. Our team is getting back and in full swing.

    I just tried downloading that CSV, it said it was a private file. So I requested access. Once access is granted I can download and give it a whirl.

    Cheers!

    – Brook

    #1213897
    Anne Marie
    Participant

    permission has been granted, please advise if you have trouble. Thanks!

    #1214421
    Brook
    Participant

    Thank you very much!

    I think I see the issue now. There is over 1 million rows in this CSV. There are 31 rows at the top with real venues, then 1,048,542 blank rows that look like this:

    ,,,,

    Then one more row at the very bottom for Dover Downs.

    Our importer is going to have trouble parsing 1 million venues at a time. But you probably only meant to import ~30, and it can handle 30 easily.

    Are you exporting these from Excel? If so, could you try sorting the columns? This will move blanks rows to the bottom. Ordinarily Excel won’t output blank rows in a CSV, because it has a near infinite number of them. But, when there are a few blank rows, then some actual data, it will output any blank rows in between. Thus by simply sorting this, and moving all data to the top, it will only output the 32 actual rows.

    Does that all make sense? Will that work for you? Please let me know.

    Cheers!

    – Brook

    #1214448
    Anne Marie
    Participant

    Thanks Brook, what program are you using to view this, I’m not getting this in either excel or notepad… Cheers!

    #1214554
    Brook
    Participant

    Howdy Again,

    Good question. I am using Notepad++. It is ugly, but very useful. One of the benefits is that it can handle text files with hundreds of  thousands of lines. Most notepad programs are not designed to handle such monstrous files.

    If you are not seeing the final line of the test file, I bet your notepad program halts long before hitting the real bottom of the CSV file. It thus stops your computer from crashing, but also means you will not see the full file.

    Cheers!

    – Brook

    #1215044
    Anne Marie
    Participant

    Looks like that worked, thanks!

    #1215517
    Brook
    Participant

    Excellent news! Thanks for getting back.

    – Brook

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘500 Error for CSV upload’ is closed to new replies.