On Tuesday, May 16, 2017 at 6:44:07 AM UTC-7, toto200891 wrote: > > Hi, > > I got this error after installing annoncer plugin > > AttributeError: 'Environment' object has no attribute 'get_db_cnx' > > File "build/bdist.win32/egg/trac/web/main.py", line 623, in _dispatch_request > dispatcher.dispatch(req) > File "build/bdist.win32/egg/trac/web/main.py", line 239, in dispatch > resp = chosen_handler.process_request(req) > File "build/bdist.win32/egg/trac/prefs/web_ui.py", line 111, in > process_request > chosen_provider.render_preference_panel(req, panel_id) > File "build/bdist.win32/egg/announcer/pref.py", line 87, in > render_preference_panel > for name, label, template, data in self._get_boxes(req): > File "build/bdist.win32/egg/announcer/pref.py", line 82, in _get_boxes > boxname)) > File "build/bdist.win32/egg/announcer/resolvers.py", line 107, in > render_announcement_preference_box > specified = self.setting.get_user_setting(req.session.sid)[1] or '' > File "build/bdist.win32/egg/announcer/util/settings.py", line 51, in > get_user_setting > db = self.env.get_db_cnx() > > Package > > > Version > Trac 1.2.1 > Babel 2.4.0 > Genshi 0.7 (without speedups) > pysqlite 2.6.0 > Python 2.7.12 (v2.7.12:d33e0cf91556, Jun 27 2016, 15:19:22) [MSC v.1500 > 32 bit (Intel)] > pytz 2017.2 > setuptools 35.0.2 > SQLite 3.8.11 > jQuery 1.11.3 > jQuery UI 1.11.4 > jQuery Timepicker > Any help is appreciated? > > Regards, > > SF >
The major features of AnnouncerPlugin has been integrated into Trac 1.2. What features are you hoping to get by installing the plugin? AnnouncerPlugin is not yet compatible with Trac 1.2. You can keep an eye on #12120 if you want to wait for a 1.2-compatible version to be available. https://trac-hacks.org/ticket/12120 - Ryan -- You received this message because you are subscribed to the Google Groups "Trac Users" 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 https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
