Turbopress right now has not been ported to TG2.3.5 yet.
As TG 2.3.5 changed how the config visibility works some pluggable apps
might need minor changes to be able to work.

Porting them to TG2.3.5 is usually just a matter of few minutes, I'll try
to have a look at porting Turbopress to TG2.3.5 in the next few days and
I'll try to release a new turbopress version right after. In the mean time
you might want to work with TG2.3.4 if you need to work on an app that
depends on Turbopress.

On Tue, Jun 16, 2015 at 12:54 AM, Diego García <[email protected]>
wrote:

> Hi community!
>
> I'm installing tgapp-turbopress. Delete the current database to generate
> the new with turbopress, add the line plug(base_config, 'turbopress') at
> config/app__cfg.py at the end of the file, run setup- app gearbox
> development.ini but I get the follow error.
>
> (regina)diegogarcia@it-4:~/regina/regina$ gearbox setup-app -c
> development.ini
>
> 17:45:16,388 INFO  [tgext.pluggable] Plugging turbopress
> Running setup_app() from regina.websetup
> 17:45:16,395 INFO  [tgapp-turbopress] Configuring Turbopress for SQLAlchemy
> 17:45:16,500 ERROR [tgext.pluggable] Failed to plug turbopress
> Traceback (most recent call last):
>   File
> "/home/diegogarcia/regina/local/lib/python2.7/site-packages/tgext/pluggable/plug.py",
> line 63, in plug
>     self._plug_application(self.app_config, self.module_name, self.options)
>   File
> "/home/diegogarcia/regina/local/lib/python2.7/site-packages/tgext/pluggable/plug.py",
> line 78, in _plug_application
>     0
>   File
> "/home/diegogarcia/regina/local/lib/python2.7/site-packages/turbopress/controllers/__init__.py",
> line 4, in <module>
>     from .root import RootController
>   File
> "/home/diegogarcia/regina/local/lib/python2.7/site-packages/turbopress/controllers/root.py",
> line 53, in <module>
>     class RootController(TGController):
>   File
> "/home/diegogarcia/regina/local/lib/python2.7/site-packages/turbopress/controllers/root.py",
> line 150, in RootController
>     @validate(get_article_form(), error_handler=edit)
>   File
> "/home/diegogarcia/regina/local/lib/python2.7/site-packages/turbopress/lib/forms.py",
> line 77, in get_article_form
>     config = tg.config['_turbopress']
>   File
> "/home/diegogarcia/regina/local/lib/python2.7/site-packages/tg/configuration/app_config.py",
> line 56, in __getitem__
>     return self.config_proxy.current_conf()[key]
> KeyError: '_turbopress'
> 17:45:16,508 ERROR [gearbox] 'NoneType' object has no attribute 'bind'
>
>  --
> 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/d/optout.
>

-- 
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/d/optout.

Reply via email to