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

Can't install it #5

Closed
aparicioa opened this issue Mar 15, 2014 · 6 comments
Closed

Can't install it #5

aparicioa opened this issue Mar 15, 2014 · 6 comments

Comments

@aparicioa
Copy link

Hello,

I can't install it, get this error and I can't continue.


Hola, estoy intentando instalar este desarrollo que estás programando que me parece buenísimo, pero no puedo avanzar de este paso: He probado con diferentes vm's.

orchestra@status:/panel$ python manage.py setuppostgres
Traceback (most recent call last):
File "manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 399, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 242, in run_from_argv
self.execute(_args, *_options.dict)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 284, in execute
self.validate()
File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 310, in validate
num_errors = get_validation_errors(s, app)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/validation.py", line 34, in get_validation_errors
for (app_name, error) in get_app_errors().items():
File "/usr/local/lib/python2.7/dist-packages/django/db/models/loading.py", line 196, in get_app_errors
self._populate()
File "/usr/local/lib/python2.7/dist-packages/django/db/models/loading.py", line 78, in _populate
self.load_app(app_name)
File "/usr/local/lib/python2.7/dist-packages/django/db/models/loading.py", line 99, in load_app
models = import_module('%s.models' % app_name)
File "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py", line 40, in import_module
import(name)
File "/usr/local/lib/python2.7/dist-packages/orchestra/apps/domains/models.py", line 5, in
from orchestra.apps.accounts.utils import default_account
ImportError: No module named utils
orchestra@status:
/panel$ python manage.py syncdb
Traceback (most recent call last):
File "manage.py", line 10, in
execute_from_command_line(sys.argv)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 399, in execute_from_command_line
utility.execute()
File "/usr/local/lib/python2.7/dist-packages/django/core/management/init.py", line 392, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 242, in run_from_argv
self.execute(_args, *_options.dict)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 284, in execute
self.validate()
File "/usr/local/lib/python2.7/dist-packages/django/core/management/base.py", line 310, in validate
num_errors = get_validation_errors(s, app)
File "/usr/local/lib/python2.7/dist-packages/django/core/management/validation.py", line 34, in get_validation_errors
for (app_name, error) in get_app_errors().items():
File "/usr/local/lib/python2.7/dist-packages/django/db/models/loading.py", line 196, in get_app_errors
self._populate()
File "/usr/local/lib/python2.7/dist-packages/django/db/models/loading.py", line 78, in _populate
self.load_app(app_name)
File "/usr/local/lib/python2.7/dist-packages/django/db/models/loading.py", line 99, in load_app
models = import_module('%s.models' % app_name)
File "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py", line 40, in import_module
import(name)
File "/usr/local/lib/python2.7/dist-packages/orchestra/apps/domains/models.py", line 5, in
from orchestra.apps.accounts.utils import default_account
ImportError: No module named utils

Thank you

@glic3rinu
Copy link
Owner

Hi, just pushed the fix for this error, hope there are no further ones :)

I'm doing some major code refactorings, thinks will be a bit unstable for some weeks.

@Grejeru
Copy link

Grejeru commented Oct 25, 2014

How stable is it now, as I'm looking at this project and it's promising for me, as I want to use some nice Python/Django based hosting panel, but I want to do that on CentOS 6 (maybe 7 in the future) and I would like if You need any help in writing some code?

@glic3rinu
Copy link
Owner

It is not really stable yet, I have a long list of pending issues still to be fixed, but the good news is that the main features are already implemented and we will be moving into production during next weeks, so my focus now is stability.

The target platform for now (host ans servers) is Debian. The problem with the host is that the scripts for automated orchestra deployment relay on APT for installing dependencies. For the servers I don't expect much problem if you are using the supported services, but anyway it is almost trivial to provide support for other software and configuration, since the service management is completely decoupled, so you can just modify (subclass) or create your own ServiceControllers (e.g. https://github.com/glic3rinu/django-orchestra/blob/master/orchestra/apps/domains/backends.py).

The other issue is the almost nonexistent documentation, but I'll be happy to help with specific problems that you may have :)

also here is the current roadmap in case you've missed it.

@zenny
Copy link

zenny commented Nov 8, 2014

deploy.sh says there is no /home/orchestra/panel, but nginx works fine:

[....] Starting app server(s): uwsgi/usr/share/uwsgi/init/do_command: line 7: /dev/fd/62: No such file or directory
[ ok tted; missing conffile(s) in /etc/uwsgi/apps-enabled).
Setting up uwsgi-plugin-python (1.2.3+dfsg-5+deb7u1) ...
$ python /home/orchestra/panel/manage.py setupnginx
python: can't open file '/home/orchestra/panel/manage.py': [Errno 2] No such file or directory
$ service nginx start
Starting nginx: nginx.
$ python /home/orchestra/panel/manage.py restartservices
python: can't open file '/home/orchestra/panel/manage.py': [Errno 2] No such file or directory
python: can't open file '/home/orchestra/panel/manage.py': [Errno 2] No such file or directory
sed: can't read /home/orchestra/panel/panel/settings.py: No such file or directory
sed: can't read /home/orchestra/panel/panel/settings.py: No such file or directory

  • Admin interface login *
    • username: orchestra
    • password: orchestra

@zenny
Copy link

zenny commented Nov 8, 2014

Installed manually on an openvz instance under proxmox 3.3 with all dependencies fixed (particularly django-debug-tools and django_nose).

Very intuitive interface. :D

Didn't know why the installer didn't install all dependencies. Yet there are five warning message of deprecated calls as follows:

/usr/local/lib/python2.7/dist-packages/django/test/_doctest.py:59: RemovedInDjango18Warning: The django.test._doctest module is deprecated; use the doctest module from the Python standard library instead.
RemovedInDjango18Warning)

/usr/local/lib/python2.7/dist-packages/django/test/simple.py:27: RemovedInDjango18Warning: The django.test.simple module and DjangoTestSuiteRunner are deprecated; use django.test.runner.DiscoverRunner instead.
RemovedInDjango18Warning)

/usr/local/lib/python2.7/dist-packages/django/template/base.py:290: RemovedInDjango18Warning: 'The firstof template tag is changing to escape its arguments; the non-autoescaping version is deprecated. Load it from the future tag library to start using the new behavior.
compiled_result = compile_func(self, token)

/usr/local/lib/python2.7/dist-packages/django/template/base.py:290: RemovedInDjango18Warning: 'The cycle template tag is changing to escape its arguments; the non-autoescaping version is deprecated. Load it from the future tag library to start using the new behavior.
compiled_result = compile_func(self, token)

/usr/local/lib/python2.7/dist-packages/orchestra/templatetags/utils.py:31: RemovedInDjango18Warning: Options.module_name has been deprecated in favor of model_name
url = 'admin:%s_%s' % (model._meta.app_label, model._meta.module_name)

@glic3rinu
Copy link
Owner

fixed

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

4 participants