You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "manage.py", line 22, in <module>
execute_from_command_line(sys.argv)
File "/usr/local/lib/python3.6/dist-packages/django/core/management/__init__.py", line 364, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python3.6/dist-packages/django/core/management/__init__.py", line 356, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python3.6/dist-packages/django/core/management/base.py", line 283, in run_from_argv
self.execute(*args, **cmd_options)
File "/usr/local/lib/python3.6/dist-packages/django/core/management/base.py", line 330, in execute
output = self.handle(*args, **options)
File "/usr/local/lib/python3.6/dist-packages/cities_light/management/commands/cities_light.py", line 226, in handle
pickle.dump(self.translation_data, f)
TypeError: write() argument must be str, not bytes
I got exception
django-cities-light==3.5.0
python-3.6
django-cities-light/cities_light/management/commands/cities_light.py
Line 225 in 88b8970
'w+' -> 'wb+'
django-cities-light/cities_light/management/commands/cities_light.py
Line 229 in 88b8970
'r' -> 'rb'
The text was updated successfully, but these errors were encountered: