tags:

views:

22

answers:

0

So here are my classes and when I run I dont get any error at all just exits:

User class in user.py

from models.WO_list import WOList
from models.WO_list_user import WOListUser

WOList class in WO_list.py

from models.user import User
from models.WO_list_WO import WOListWO

WOListWO class in WO_list_WO.py

from models.WO_list import WOList # here it stops!

    Traceback (most recent call last):
,  File "D:\Totty\webDevelopment\TottysWorld\src\pyamf\remoting\amf0.py", line 108, in __call__
    *args, **kwargs)
,  File "D:\Totty\webDevelopment\TottysWorld\src\pyamf\remoting\amf0.py", line 61, in _getBody
    **kwargs)
,  File "D:\Totty\webDevelopment\TottysWorld\src\pyamf\remoting\gateway\__init__.py", line 510, in callServiceRequest
    return service_request(*args)
,  File "D:\Totty\webDevelopment\TottysWorld\src\pyamf\remoting\gateway\__init__.py", line 233, in __call__
    return self.service(self.method, args)
,  File "D:\Totty\webDevelopment\TottysWorld\src\pyamf\remoting\gateway\__init__.py", line 133, in __call__
    return func(*params)
,  File "D:\Totty\webDevelopment\TottysWorld\src\services\WO_lists\get_all_for_current_user.py", line 21, in get_all_for_current_user
    lists = user.get_lists()
,  File "D:\Totty\webDevelopment\TottysWorld\src\models\user.py", line 36, in get_lists
    from models.WO_list import WOList
,  File "C:\GAE\google\appengine\tools\dev_appserver.py", line 1287, in Decorate
    return func(self, *args, **kwargs)
,  File "C:\GAE\google\appengine\tools\dev_appserver.py", line 1937, in load_module
    return self.FindAndLoadModule(submodule, fullname, search_path)
,  File "C:\GAE\google\appengine\tools\dev_appserver.py", line 1287, in Decorate
    return func(self, *args, **kwargs)
,  File "C:\GAE\google\appengine\tools\dev_appserver.py", line 1839, in FindAndLoadModule
    description)
,  File "C:\GAE\google\appengine\tools\dev_appserver.py", line 1287, in Decorate
    return func(self, *args, **kwargs)
,  File "C:\GAE\google\appengine\tools\dev_appserver.py", line 1790, in LoadModuleRestricted
    description)
,  File "D:\Totty\webDevelopment\TottysWorld\src\models\WO_list.py", line 5, in <module>
    class WOList(db.Model):
,  File "D:\Totty\webDevelopment\TottysWorld\src\models\WO_list.py", line 7, in WOList
    from models.WO_list_WO import WOListWO
,  File "C:\GAE\google\appengine\tools\dev_appserver.py", line 1287, in Decorate
    return func(self, *args, **kwargs)
,  File "C:\GAE\google\appengine\tools\dev_appserver.py", line 1937, in load_module
    return self.FindAndLoadModule(submodule, fullname, search_path)
,  File "C:\GAE\google\appengine\tools\dev_appserver.py", line 1287, in Decorate
    return func(self, *args, **kwargs)
,  File "C:\GAE\google\appengine\tools\dev_appserver.py", line 1839, in FindAndLoadModule
    description)
,  File "C:\GAE\google\appengine\tools\dev_appserver.py", line 1287, in Decorate
    return func(self, *args, **kwargs)
,  File "C:\GAE\google\appengine\tools\dev_appserver.py", line 1790, in LoadModuleRestricted
    description)
,  File "D:\Totty\webDevelopment\TottysWorld\src\models\WO_list_WO.py", line 3, in <module>
    class WOListWO(db.Model):

WO_list_WO.py from google.appengine.ext import db

class WOListWO(db.Model):
    from models.WO_list import WOList
    WO_list = db.ReferenceProperty(WOList, required=True, collection_name='world_objects')
    world_objects = db.ReferenceProperty(db.Key, required=True, collection_name='WO_lists')

    title = db.StringProperty()