Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- kevin@odin:~$ source /var/lib/geonode/bin/activate
- (geonode)kevin@odin:~$ django-admin.py startproject --template=https://github.com/GeoNode/geonode-project/zipball/master my_geonode
- django-admin.py: command not found
- (geonode)kevin@odin:~$ ^django-admin.py^django-admin^
- django-admin startproject --template=https://github.com/GeoNode/geonode-project/zipball/master my_geonode
- Traceback (most recent call last):
- File "/usr/bin/django-admin", line 5, in <module>
- management.execute_from_command_line()
- File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 443, in execute_from_command_line
- utility.execute()
- File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 382, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 196, in run_from_argv
- self.execute(*args, **options.__dict__)
- File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 232, in execute
- output = self.handle(*args, **options)
- File "/usr/lib/python2.7/dist-packages/django/core/management/commands/startproject.py", line 31, in handle
- super(Command, self).handle('project', project_name, target, **options)
- File "/usr/lib/python2.7/dist-packages/django/core/management/templates.py", line 162, in handle
- new_file.write(content)
- UnicodeEncodeError: 'ascii' codec can't encode character u'\xf1' in position 1242: ordinal not in range(128)
- (geonode)kevin@odin:~$ # At this point, I downloaded and extracted the file manually
- (geonode)kevin@odin:~$ rm -rf my_geonode
- (geonode)kevin@odin:~$ django-admin startproject --template=Downloads/GeoNode-geonode-project-fd63343 my_geonode
- Traceback (most recent call last):
- File "/usr/bin/django-admin", line 5, in <module>
- management.execute_from_command_line()
- File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 443, in execute_from_command_line
- utility.execute()
- File "/usr/lib/python2.7/dist-packages/django/core/management/__init__.py", line 382, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 196, in run_from_argv
- self.execute(*args, **options.__dict__)
- File "/usr/lib/python2.7/dist-packages/django/core/management/base.py", line 232, in execute
- output = self.handle(*args, **options)
- File "/usr/lib/python2.7/dist-packages/django/core/management/commands/startproject.py", line 31, in handle
- super(Command, self).handle('project', project_name, target, **options)
- File "/usr/lib/python2.7/dist-packages/django/core/management/templates.py", line 162, in handle
- new_file.write(content)
- UnicodeEncodeError: 'ascii' codec can't encode character u'\xf1' in position 1242: ordinal not in range(128)
- (geonode)kevin@odin:~$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement