Hi folks,
Apologies for the simple question... but this one just stopped me in
my tracks. I don't know what I've changed and I'm having trouble
tracking it down.
In my main controllers.py I have the following:
from ProjectController import ProjectController
from ClientController import ClientController
from UserController import UserController
Which did work fine. After a bunch of various changes in the
ClientController directory the project stopped running, without giving
me sufficient information to attempt to fix it:
/ricochet/trunk rangi$ ./start-ricochet.py
Traceback (most recent call last):
File "./start-ricochet.py", line 23, in ?
from ricochet.controllers import Root
File "/Users/rangi/ricochet/trunk/ricochet/controllers.py", line 10, in ?
from ClientController import ClientController
ImportError: cannot import name ClientController
I've attempted to revert the ClientController/controller.py to an
older working state but no luck. Always the same error.
Commenting out the ClientController import line and subsequent clients
= ClientController() line means that the project will start again, but
of course the client methods don't work.
I'd post code.. but don't know where to start! Anyone point me in the
right direction? What sort of thing would cause an ImportError? If
there's actual syntax errors in my code usually I'd get much more
verbose reporting.
Cheers,
r.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TurboGears" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears?hl=en
-~----------~----~----~----~------~----~------~--~---