Comments (10)
/cc @blynchNDI @celo0213
from apollo.
@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:
- Log in as an admin to Apollo (https://benapollothree.demcloud.org)
- Under the admin menu in locations, create location divisions (using ‘Manage’)
- Upload location data (using ‘Manage’)
- Upload participant data (Using ‘Manage’ under ‘Participant Set’)
- Create a form
- Create an event using the form and participant data
- Delete the participants from the event using the purge participants button
- Go to the participants tab under the admin menu and click ‘Manage’, and you run into a generic Apollo error screen
- Go to the homepage for Apollo (https://benapollothree.demcloud.org in this case), and the same generic error screen comes up
- 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.
@stigsfoot checking back because we've been waiting for the upload file.
from apollo.
@blynchNDI this is likely unrelated to the OP issue. I'll open a new issue for it
from apollo.
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.
@blynchNDI couldn't reproduce either. Perhaps you could send the CSV via email?
from apollo.
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.
@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.
@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.
closing this issue as it hasn't been reproduced yet, please feel free to reopen if the issue persists.
from apollo.
Related Issues (20)
- Location column causes issues when filled HOT 1
- Match help text for survey creation to template HOT 1
- When sorting by moment, have time/dates that are filled in always appear first HOT 1
- Data Summary doesn't generate for survey forms HOT 2
- Improved sorting for Form ID/Participant ID HOT 1
- Editing survey responses registers on the dashboard as another response HOT 2
- Issues with moment time HOT 5
- Ability to filter by a Form ID?
- Rename first App question from "Form Serial" to "Form Serial Number"
- When a filter is applied to the map view, stay on the map view
- Apollo not uploading large files HOT 3
- Sample filtering on the dashboard does not work HOT 1
- Rename 'Moment' to 'Timestamp'
- Add day by day breakdown feature to critical incidents HOT 1
- Redoing Bar Charts on Dashboard HOT 1
- Postgres container fails when upgrading from before to after #638 fix HOT 4
- Remove need for one top level location? HOT 1
- Sample with the same name should overwrite previous ones HOT 2
- ./manage.py not working inside containers
- Adding Participants to New Locations Appended to a Location Set Fails
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from apollo.