I can't seem to get localshop to mirror a proper version of urllib3.
I can install it once no problem, but any additional attempt to install it fails. The latest version at this time is 1.18, but after I do a first initial install I get the following release record,
which has no information stored in it.
I also get this error in the celery worker which I expect is the issue:
[2016-10-20 01:05:02,395: ERROR/MainProcess] Task localshop.apps.packages.tasks.fetch_package[a4e2b8fe-c460-46ad-9de1-06a0dbf5b7af] raised unexpected: Warning(1300L, u"Invalid utf8 character string: 'F09F91'")
Traceback (most recent call last):
File "/home/deployer/.localshop/venv/local/lib/python2.7/site-packages/celery/app/trace.py", line 240, in trace_task
R = retval = fun(*args, **kwargs)
File "/home/deployer/.localshop/venv/local/lib/python2.7/site-packages/celery/app/trace.py", line 438, in __protected_call__
return self.run(*args, **kwargs)
File "/home/deployer/.localshop/venv/local/lib/python2.7/site-packages/localshop/utils.py", line 62, in wrapper
function(self, *args, **kwargs)
File "/home/deployer/.localshop/venv/local/lib/python2.7/site-packages/localshop/apps/packages/tasks.py", line 64, in fetch_package
release_form.save()
File "/home/deployer/.localshop/venv/local/lib/python2.7/site-packages/django/forms/models.py", line 457, in save
construct=False)
File "/home/deployer/.localshop/venv/local/lib/python2.7/site-packages/django/forms/models.py", line 103, in save_instance
instance.save()
File "/home/deployer/.localshop/venv/local/lib/python2.7/site-packages/django/db/models/base.py", line 591, in save
force_update=force_update, update_fields=update_fields)
File "/home/deployer/.localshop/venv/local/lib/python2.7/site-packages/django/db/models/base.py", line 619, in save_base
updated = self._save_table(raw, cls, force_insert, force_update, using, update_fields)
File "/home/deployer/.localshop/venv/local/lib/python2.7/site-packages/django/db/models/base.py", line 681, in _save_table
forced_update)
File "/home/deployer/.localshop/venv/local/lib/python2.7/site-packages/django/db/models/base.py", line 725, in _do_update
return filtered._update(values) > 0
File "/home/deployer/.localshop/venv/local/lib/python2.7/site-packages/django/db/models/query.py", line 600, in _update
return query.get_compiler(self.db).execute_sql(CURSOR)
File "/home/deployer/.localshop/venv/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 1004, in execute_sql
cursor = super(SQLUpdateCompiler, self).execute_sql(result_type)
File "/home/deployer/.localshop/venv/local/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 786, in execute_sql
cursor.execute(sql, params)
File "/home/deployer/.localshop/venv/local/lib/python2.7/site-packages/django/db/backends/utils.py", line 81, in execute
return super(CursorDebugWrapper, self).execute(sql, params)
File "/home/deployer/.localshop/venv/local/lib/python2.7/site-packages/django/db/backends/utils.py", line 65, in execute
return self.cursor.execute(sql, params)
File "/home/deployer/.localshop/venv/local/lib/python2.7/site-packages/django/db/backends/mysql/base.py", line 128, in execute
return self.cursor.execute(query, args)
File "/home/deployer/.localshop/venv/local/lib/python2.7/site-packages/MySQLdb/cursors.py", line 253, in execute
self._warning_check()
File "/home/deployer/.localshop/venv/local/lib/python2.7/site-packages/MySQLdb/cursors.py", line 155, in _warning_check
warn(self.Warning(*w[1:3]), stacklevel=3)
Warning: (1300L, u"Invalid utf8 character string: 'F09F91'")
After the first pip install a second one yields the following from my local machine:
pip install -i https://<localshop_install>/simple/ -U --force-reinstall urllib3
Collecting urllib3
Could not find a version that satisfies the requirement urllib3 (from versions: )
No matching distribution found for urllib3
I can't seem to get localshop to mirror a proper version of
urllib3
.I can install it once no problem, but any additional attempt to install it fails. The latest version at this time is
1.18
, but after I do a first initial install I get the following release record,which has no information stored in it.
I also get this error in the celery worker which I expect is the issue:
After the first pip install a second one yields the following from my local machine: