Comments (12)
Could you please paste the output of ../venv/bin/pip --version
?
from labadmin.
pip 8.1.1 from /var/www/labadmin/venv/lib/python3.5/site-packages (python 3.5)
from labadmin.
Please do ../venv/bin/pip install --upgrade pip
and retry to install the upgrade.
from labadmin.
when I run
../venv/bin/pip install --upgrade pip and
I get
Traceback (most recent call last): File "../venv/bin/pip", line 11, in <module> sys.exit(main()) File "/var/www/labadmin/venv/lib/python3.5/site-packages/pip/__init__.py", line 215, in main locale.setlocale(locale.LC_ALL, '') File "/usr/lib/python3.5/locale.py", line 594, in setlocale return _setlocale(category, locale) locale.Error: unsupported locale setting
from labadmin.
Which version of pip is now installed?
from labadmin.
The same as before.
May the problem be that I am in the wrong folder?
I'm running commands from here:
/var/www/labadmin/labadmin
from labadmin.
You really have to fix the locales (as superuser) of the machine then as pip is not even able to upgrade itself. That error has been made non fatal in pip 8.1.2.
from labadmin.
uhmm, any idea on how to do this?
I've tried with sudo locale-gen "it_IT.UTF-8"
and sudo dpkg-reconfigure locales
but nothing changed
from labadmin.
I solved the issue with locale and completed the installation. but now when I click on a user profile i get this:
from labadmin.
Did sudo -H -u labadmin ../venv/bin/python manage.py migrate
returned any error?
from labadmin.
I got this error using the command sudo -H -u labadmin ../venv/bin/python manage.py collectstatic
:
File "manage.py", line 22, in <module> execute_from_command_line(sys.argv) File "/var/www/labadmin/venv/lib/python3.5/site-packages/django/core/management/__init__.py", line 367, in execute_from_command_line utility.execute() File "/var/www/labadmin/venv/lib/python3.5/site-packages/django/core/management/__init__.py", line 359, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/var/www/labadmin/venv/lib/python3.5/site-packages/django/core/management/base.py", line 294, in run_from_argv self.execute(*args, **cmd_options) File "/var/www/labadmin/venv/lib/python3.5/site-packages/django/core/management/base.py", line 345, in execute output = self.handle(*args, **options) File "/var/www/labadmin/venv/lib/python3.5/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 193, in handle collected = self.collect() File "/var/www/labadmin/venv/lib/python3.5/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 124, in collect handler(path, prefixed_path, storage) File "/var/www/labadmin/venv/lib/python3.5/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 349, in copy_file if not self.delete_file(path, prefixed_path, source_storage): File "/var/www/labadmin/venv/lib/python3.5/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py", line 255, in delete_file if self.storage.exists(prefixed_path): File "/var/www/labadmin/venv/lib/python3.5/site-packages/django/core/files/storage.py", line 394, in exists return os.path.exists(self.path(name)) File "/var/www/labadmin/venv/lib/python3.5/site-packages/django/contrib/staticfiles/storage.py", line 49, in path raise ImproperlyConfigured("You're using the staticfiles app " django.core.exceptions.ImproperlyConfigured: You're using the staticfiles app without having set the STATIC_ROOT setting to a filesystem path.
but now it seem to be working fine on the front end...
from labadmin.
It works because you previously forget to run migrations which updates the database to match the code.
The next error is because your installation differs from the tutorial as it's using the django builtin runserver instead of gunicorn so you don't need to run staticfiles. If user's image upload is not working you'll probably need something like these:
889d9e0#diff-ecfc8407f6ffb94bfe056d82854abe80
889d9e0#diff-b5779d9d37148b123f51392efda6409a
Closing as there's nothing actionable to do on labadmin.
from labadmin.
Related Issues (20)
- [CL] add different roles HOT 3
- [CL] add editing view of roles HOT 1
- [CL] add multiple variables (besides credits) per user
- [CL] add history view of variables HOT 1
- [CL] make labadmin SES-friendly
- [CL] mail digest
- [CL] booking machines HOT 3
- [CL] buying credits HOT 1
- Telegram Digest
- Aggiungere handle social al profilo utente
- Add mail field in profile page HOT 1
- Add Satispay client to allow users to buy / load credits
- Helping Users
- Add "mantainance button" in order to let machines track the last mantainance received
- [Laser] Adding a double Relay on the Laser could help trigger the aspiration for better use of power consuption
- EndSubcription Doesn't prevent users to use machines HOT 1
- Add a Form users can us to apply and insert information on their profile
- Creazione Sito / Landing Page
- [WEB] TODO HOT 2
- Idee per la mappa (non google)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from labadmin.