0
Answered

ImportError at /api/v2/ping

Benjamin Khoo 11 years ago updated by Eugene Pankov (Project coordinator) 11 years ago 0
hi

i am trying to write a small plugin to Ajenti but i ran into the Import error above.
the trace thrown doesn't seem to indicate anything from my code but it gets thrown at load up.

i'm not so sure if what i am writing caused this. But it didn't for a while.

my plugin imports and the error attached below.
let me know if this is something i can fix or i can ignore? coz my plugin still works fine...

import os
import json
import subprocess
from ajenti.api import *
from ajenti.ui.binder import Binder
from ajenti.plugins.main.api import SectionPlugin
from ajenti.ui import on
from ajenti.util import platform_select

ImportError at /api/v2/ping

No module named defaults
Request Method:POST
Request URL:http://meta.ajenti.org/api/v2/ping
Django Version:
Exception Type:ImportError
Exception Value:
No module named defaults
Exception Location:/srv/meta2/config/urls.py in <module>, line 1
Python Executable:/srv/meta2/env/bin/python
Python Version:
Python Path:
[path(u'/srv/meta2/apps'),
 path(u'/srv/meta2/libs'),
 '/srv/meta2',
 '/srv/meta2/env/local/lib/python2.7/site-packages/pip-1.1-py2.7.egg',
 '/srv/meta2/env/lib/python2.7/site-packages/pip-1.1-py2.7.egg',
 '/srv/meta2/env/lib/python2.7',
 '/srv/meta2/env/lib/python2.7/plat-linux2',
 '/srv/meta2/env/lib/python2.7/lib-tk',
 '/srv/meta2/env/lib/python2.7/lib-old',
 '/srv/meta2/env/lib/python2.7/lib-dynload',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-linux2',
 '/usr/lib/python2.7/lib-tk',
 '/srv/meta2/env/local/lib/python2.7/site-packages',
 '/srv/meta2/env/lib/python2.7/site-packages']
Server time:Mon, 23 Dec 2013 10:46:09 -0600


Answer

Answer
Answered
This is a remote-side bug (just fixed).
GOOD, I'M SATISFIED
that's great. thanks for your consistently fast replies!
Satisfaction mark by Benjamin Khoo 11 years ago