← Return to Tree.io
login about faq

Hi, I am using the hosting service ep.io for my django projects, and ep.io is adding the django project to python's path. Because of this, the imports with treeio.something is not working. So I've removed them all, the initial module not found error was gone, but a new one came up:

Traceback (most recent call last):

File "/bundles/port-8369/app_image/epio_wsgi.py", line 32, in call output = wsgi_entrypoint(environ, self.start_response) File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/wsgi.py", line 273, in call response = self.get_response(request) File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 169, in get_response response = self.handle_uncaught_exception(request, resolver, sys.exc_info()) File "/usr/local/lib/python2.7/dist-packages/django/core/handlers/base.py", line 214, in handle_uncaught_exception if resolver.urlconf_module is None: File "/usr/local/lib/python2.7/dist-packages/django/core/urlresolvers.py", line 274, in _get_urlconf_module self._urlconf_module = import_module(self.urlconf_name) File "/usr/local/lib/python2.7/dist-packages/django/utils/importlib.py", line 35, in import_module import(name) File "/mnt/bundles/port-8369/app_image/app/urls.py", line 13, in dajaxice_autodiscover() File "/bundles/port-8369/app_image/pyenv/lib/python2.7/site-packages/dajaxice/core/Dajaxice.py", line 181, in dajaxice_autodiscover import_module("%s.ajax" % app) File "/usr/lib/python2.7/importlib/init.py", line 37, in import_module import(name) File "/mnt/bundles/port-8369/app_image/app/projects/ajax.py", line 9, in from projects.models import Task, Milestone File "/mnt/bundles/port-8369/app_image/app/projects/models.py", line 13, in from identities.models import Contact ImportError: No module named models

I've checked and the files are right there. Why is this error, then? I've also done the same on my ubuntu installation (tree.io worked locally for me) and though treeio's path is added I still get the error (just to make sure this is unrelated to ep.io).

Thanks again!

asked Jan 04 '12 at 14:04

Ofek's gravatar image

Ofek
6224


Looks like an ep.io specific question, and we haven't really tried it. It's likely that the "identities" module that it tries to import doesn't actually come from Tree.io but from some other app (this is why we explicitly import from treeio throughout the code).

I'm not sure if there's a way to deploy treeio into a folder called "treeio" using ep.io (or maybe create a symlink and run it from there?).

You're probably better off requesting support from them, otherwise I would recommend using another hosting provider. We've had good experience with Leasweb and Amazon. I've looked briefly though Epio documentation and it seems to give pretty limited control over the server. Tree.io is technically meant to run on a dedicated server and it's beneficial to have the ability to tweak things. Btw, Amazon give you a small server for free if you're a new user.

answered Jan 04 '12 at 21:53

Alex%20Berezovskiy's gravatar image

Alex Berezovskiy ♦
62118

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or __italic__
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×4
×2
×1
×1
×1

Asked: Jan 04 '12 at 14:04

Seen: 991 times

Last updated: Jan 04 '12 at 21:53

© 2012 Tree.io Ltd. All rights reserved.
Registered in England. Company No. 07416236