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

OSX El Capitan Issue #56

Open
johnphillips1992 opened this issue Oct 7, 2015 · 2 comments
Open

OSX El Capitan Issue #56

johnphillips1992 opened this issue Oct 7, 2015 · 2 comments

Comments

@johnphillips1992
Copy link

When I do a "setup.py sdist bdist_egg upload" after upgrading to El Capitan the Post Data has

u':action': [u'\r\nfile_upload\r']

Which fails when you do a string compare for the 'file_upload' command

@johnphillips1992
Copy link
Author

2015-10-16 15:45:26,734 ERROR djangopypi.views.distutils: Failure when storing upload
Traceback (most recent call last):
File "/var/www/pypi_arch/eggs/djangopypi-0.4.5-py2.7.egg/djangopypi/views/distutils.py", line 103, in register_or_upload
md5_digest=md5_digest)
File "/var/www/pypi_arch/eggs/Django-1.3.7-py2.7.egg/django/db/models/manager.py", line 138, in create
return self.get_query_set().create(*_kwargs)
File "/var/www/pypi_arch/eggs/Django-1.3.7-py2.7.egg/django/db/models/query.py", line 360, in create
obj.save(force_insert=True, using=self.db)
File "/var/www/pypi_arch/eggs/Django-1.3.7-py2.7.egg/django/db/models/base.py", line 460, in save
self.save_base(using=using, force_insert=force_insert, force_update=force_update)
File "/var/www/pypi_arch/eggs/Django-1.3.7-py2.7.egg/django/db/models/base.py", line 553, in save_base
result = manager._insert(values, return_id=update_pk, using=using)
File "/var/www/pypi_arch/eggs/Django-1.3.7-py2.7.egg/django/db/models/manager.py", line 195, in _insert
return insert_query(self.model, values, *_kwargs)
File "/var/www/pypi_arch/eggs/Django-1.3.7-py2.7.egg/django/db/models/query.py", line 1436, in insert_query
return query.get_compiler(using=using).execute_sql(return_id)
File "/var/www/pypi_arch/eggs/Django-1.3.7-py2.7.egg/django/db/models/sql/compiler.py", line 791, in execute_sql
cursor = super(SQLInsertCompiler, self).execute_sql(None)
File "/var/www/pypi_arch/eggs/Django-1.3.7-py2.7.egg/django/db/models/sql/compiler.py", line 735, in execute_sql
cursor.execute(sql, params)
File "/var/www/pypi_arch/eggs/Django-1.3.7-py2.7.egg/django/db/backends/postgresql_psycopg2/base.py", line 44, in execute
return self.cursor.execute(query, args)
DatabaseError: value too long for type character varying(32)

@johnphillips1992
Copy link
Author

Getting that error now...

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

1 participant