GithubHelp home page GithubHelp logo

Comments (10)

stigsfoot avatar stigsfoot commented on June 12, 2024

/cc @blynchNDI @celo0213

from apollo.

blynchNDI avatar blynchNDI commented on June 12, 2024

@takinbo @stigsfoot The error occurred when I was working with Apollo again today - it didn't occur for a while, so this is my best attempt at recording the relevant steps that led to it. I'll try further refining it tomorrow to the precise steps that reproduce the issue:

  1. Log in as an admin to Apollo (https://benapollothree.demcloud.org)
  2. Under the admin menu in locations, create location divisions (using ‘Manage’)
  3. Upload location data (using ‘Manage’)
  4. Upload participant data (Using ‘Manage’ under ‘Participant Set’)
  5. Create a form
  6. Create an event using the form and participant data
  7. Delete the participants from the event using the purge participants button
  8. Go to the participants tab under the admin menu and click ‘Manage’, and you run into a generic Apollo error screen
  9. Go to the homepage for Apollo (https://benapollothree.demcloud.org in this case), and the same generic error screen comes up
  10. If I try to delete the participant set under the admin menu using the trashcan icon, I get the following error at the top of the screen:

Integrity error. (psycopg2.IntegrityError) null value in column "participant_set_id" violates not-null constraint DETAIL: Failing row contains (1, cocem, null). [SQL: 'UPDATE participant_partner SET participant_set_id=%(participant_set_id)s WHERE participant_partner.id = %(participant_partner_id)s'] [parameters: ({'participant_set_id': None, 'participant_partner_id': 1}, {'participant_set_id': None, 'participant_partner_id': 2})] (Background on this error at: http://sqlalche.me/e/gkpj)

from apollo.

dodumosu avatar dodumosu commented on June 12, 2024

@stigsfoot checking back because we've been waiting for the upload file.

from apollo.

dodumosu avatar dodumosu commented on June 12, 2024

@blynchNDI this is likely unrelated to the OP issue. I'll open a new issue for it

from apollo.

blynchNDI avatar blynchNDI commented on June 12, 2024

Below is the file I used (saved as .xlsx because github doesn't accept csv, but you can convert it back to csv before uploading) - I don't remember the exact mapping I used. I tried reproducing the error without success, so see what you can find.

apollo participant upload attempt.xlsx

from apollo.

dodumosu avatar dodumosu commented on June 12, 2024

@blynchNDI couldn't reproduce either. Perhaps you could send the CSV via email?

from apollo.

blynchNDI avatar blynchNDI commented on June 12, 2024

Hi @dodumosu , just checking in on the current status of this.

We're also looking at take down elections.demcloud.org and replace it with a fresh Apollo instance, but we can put that on hold if you still need access to the logs, or need the site up for any other reason.

from apollo.

dodumosu avatar dodumosu commented on June 12, 2024

@blynchNDI still was not able to reproduce it, sadly. i'm guessing it might have been an issue that is related to the mapping that was used. Re: elections.demcloud.org, let me get back to you on that. I'll also leave this open in the event that someone can reproduce the issue.

from apollo.

blynchNDI avatar blynchNDI commented on June 12, 2024

@dodumosu sounds good, let me know about elections.demcloud.org. After @stigsfoot and I were looking at it this morning, the homepage is no longer loading - this occurred before and then eventually appears to have gone away, but it now seems to have reappeared again.

from apollo.

takinbo avatar takinbo commented on June 12, 2024

closing this issue as it hasn't been reproduced yet, please feel free to reopen if the issue persists.

from apollo.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.