Released Tgext admin and sprox currently do not support python 3. If you want to keep working on py3 you should install sprox, tgext.crud and tgext.admin from development branch on github. Otherwise you can disable the admin controller or switch to python 2.7 writing forward compatible code so you can go back to python 3 when needed. Il 01/gen/2014 11:31 "Peter Szintai" <[email protected]> ha scritto:
> Hi All! > > For my new project I choosed the TG2 2.3.1, as framework. > My environment is: Win 8.1 64 bit, Python 3.3. I had problems with the > installing of sprox, but I could hack and install it on Python 3.3 > > Then I followed the instruction found on the turbogears.org site under > the section "Give it a try", and yesssss, it was successful, and I got the > basic welcome page! > I started to play with the gearbox quickstart arguments: > > gearbox quickstart -j -s -a ... > > (jinja2, sqlalchemy and authentication/authorization) > > And the problems came here, I got the following error message: > > builtins.ImportError > > ImportError: No module named 'controller' > Traceback *(most recent call last)* > > - File > > "d:\a_work\aptanaworkbench\abacusportalpydevproject\abacusportalsite\abacusportalsite\controllers\root.py", > line *10*, in <module> > > from tgext.admin.tgadminconfig import TGAdminConfig > > - File > > "C:\Python33\Scripts\AbacusPortalEnv\lib\site-packages\tgext.admin-0.5.4-py3.3.egg\tgext\admin\__init__.py", > line *1*, in <module> > > ImportError: No module named 'controller' > > > I know, that the source of the problem is the -a option in the gearbox > quickstart command, if I leave it, the page works fine, but of course, > there is not login/logout possibility. > > So, my question: is it an installation problem, or I have to do something? > Maybe I have to write additional code? In this case, can somebody help > me,how and where to write what? Or where can I find info about it? > (for me it would be best if you could find somewhere a working example > with a simple login / logout functionality) > > regards, > Peter > > -- > You received this message because you are subscribed to the Google Groups > "TurboGears" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at http://groups.google.com/group/turbogears. > For more options, visit https://groups.google.com/groups/opt_out. > -- You received this message because you are subscribed to the Google Groups "TurboGears" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/turbogears. For more options, visit https://groups.google.com/groups/opt_out.

