Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Server 500 Error when creating a new project.... #466

Closed
fhpichel opened this issue Jul 19, 2016 · 4 comments
Closed

Server 500 Error when creating a new project.... #466

fhpichel opened this issue Jul 19, 2016 · 4 comments
Assignees

Comments

@fhpichel
Copy link

I'm getting an error when trying to create a new project...

image

image

@amplifi amplifi self-assigned this Jul 19, 2016
@amplifi
Copy link
Contributor

amplifi commented Jul 19, 2016

Corresponding error in Django log:

Internal Server Error: /organizations/cadasta-foundation-demonstration/projects/new/ Traceback (most recent call last): File "/opt/cadasta/env/lib/python3.5/site-packages/django/db/backends/utils.py", line 64, in execute return self.cursor.execute(sql, params) psycopg2.DataError: value too long for type character varying(50)

@wonderchook
Copy link
Contributor

@fhpichel in the future can you provide more information about what you were doing in making the project. What data you put in and what you expect the output to be?

@amplifi this issue should be fixed in master. The issue is the text box allows 100 characters for the project name and the model only allows 50.

@amplifi
Copy link
Contributor

amplifi commented Jul 19, 2016

@wonderchook I was able to replicate this 500 error on staging. In searching for related updates, this PR was included in the last deployment to demo; I can confirm the code is present on all servers: 37f0c19

This open issue seems to be the same/similar: #414

@seav
Copy link
Contributor

seav commented Jul 19, 2016

Duplicate of #414

@seav seav closed this as completed Jul 19, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants