On Tue, Jun 6, 2017 at 6:32 AM, <[email protected]> wrote: > Thanks again, Ryan, > > > > I have done the pip uninstall TracAnnouncer, twice. > > The first time it did prompt to confirm uninstall action, > > the second time it shows: > > Cannot uninstall requirement TracAnnouncer, not installed > > > > I then restarted Trac, and in trac.log, it shows: > > > > “2017-06-06 11:21:34,856 Trac[loader] DEBUG: Skipping > "acct_mgr.opt.announcer.uid_chg = acct_mgr.opt.announcer.uid_chg > [announcer]": ("DistributionNotFound: TracAnnouncer" not found)” > > > > I am still on Trac 1.0.13, so not really getting the Announcer functions > yet. > > > > I then installed the AnnouncerPlugin 0.11 again, and restarted Trac. > > Trac.log now shows: > > > > “2017-06-06 11:26:04,574 Trac[loader] ERROR: Skipping > "acct_mgr.opt.announcer.uid_chg = acct_mgr.opt.announcer.uid_chg > [announcer]": > > Traceback (most recent call last): > > File "/usr/lib/python2.7/site-packages/trac/loader.py", line 68, in > _load_eggs > > entry.load(require=True) > > File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2260, in > load > > entry = __import__(self.module_name, globals(),globals(), ['__name__']) > > File "build/bdist.linux-x86_64/egg/acct_mgr/opt/announcer/uid_chg.py", > line 11, in <module> > > ImportError: No module named announcer.api” > > > > Below is the log. > > > > Regards, > > Peter > > > > [root@plum ~]# pip uninstall TracAnnouncer > > Uninstalling TracAnnouncer-0.11.1: > > /usr/lib/python2.7/site-packages/TracAnnouncer-0.11.1-py2.7.egg-info > > /usr/lib/python2.7/site-packages/announcerplugin/__init__.py > > /usr/lib/python2.7/site-packages/announcerplugin/__init__.pyc > > /usr/lib/python2.7/site-packages/announcerplugin/api.py > > /usr/lib/python2.7/site-packages/announcerplugin/api.pyc > > /usr/lib/python2.7/site-packages/announcerplugin/ > distributors/__init__.py > > /usr/lib/python2.7/site-packages/announcerplugin/ > distributors/__init__.pyc > > /usr/lib/python2.7/site-packages/announcerplugin/distributors/email_ > distributor.py > > … > > /usr/lib/python2.7/site-packages/announcerplugin/ > templates/ticket_email_mimic.html > > /usr/lib/python2.7/site-packages/announcerplugin/templates/ticket_email_ > plaintext.txt > > /usr/lib/python2.7/site-packages/announcerplugin/templates/wiki_email_ > plaintext.txt > > Proceed (y/n)? y > > Successfully uninstalled TracAnnouncer-0.11.1 > > [root@plum ~]# pip uninstall TracAnnouncer > > Cannot uninstall requirement TracAnnouncer, not installed > > [root@plum ~]# > > > > # Now restart trac > > > > egrep announcer trac.log > > 2017-06-06 11:21:34,856 Trac[loader] DEBUG: Skipping > "acct_mgr.opt.announcer.uid_chg = acct_mgr.opt.announcer.uid_chg > [announcer]": ("DistributionNotFound: TracAnnouncer" not found) > > > > # resinstall AnnouncerPlugin > > > > [root@plum log]# easy_install https://trac-hacks.org/svn/ > announcerplugin/tags/0.11.0/ > > Downloading https://trac-hacks.org/svn/announcerplugin/tags/0.11.0/ > > Doing subversion checkout from https://trac-hacks.org/svn/ > announcerplugin/tags/0.11.0/ to /tmp/easy_install-ppab8X/__downloaded__ > > Processing __downloaded__ > > Writing /tmp/easy_install-ppab8X/__downloaded__/setup.cfg > > Running setup.py -q bdist_egg --dist-dir /tmp/easy_install-ppab8X/__ > downloaded__/egg-dist-tmp-c11PVH > > zip_safe flag not set; analyzing archive contents... > > Adding TracAnnouncer 0.11.0 to easy-install.pth file > > > > Installed /usr/lib/python2.7/site-packages/TracAnnouncer-0.11.0-py2.7.egg > > Processing dependencies for TracAnnouncer==0.11.0 > > Finished processing dependencies for TracAnnouncer==0.11.0 > > [root@plum log]# > > > > # restart trac > > > > # trac.log records: > > > > 2017-06-06 11:26:04,574 Trac[loader] ERROR: Skipping > "acct_mgr.opt.announcer.uid_chg = acct_mgr.opt.announcer.uid_chg > [announcer]": > > Traceback (most recent call last): > > File "/usr/lib/python2.7/site-packages/trac/loader.py", line 68, in > _load_eggs > > entry.load(require=True) > > File "/usr/lib/python2.7/site-packages/pkg_resources.py", line 2260, in > load > > entry = __import__(self.module_name, globals(),globals(), ['__name__']) > > File "build/bdist.linux-x86_64/egg/acct_mgr/opt/announcer/uid_chg.py", > line 11, in <module> > > ImportError: No module named announcer.api >
Do you need the "uid changer" functionality? If not, I would set acct_mgr.opt.announcer.uid_chg = disabled in your [components] section. I'm unsure why you are seeing the error, but it shouldn't prevent the core features of AnnouncerPlugin from functioning. Make sure to switch back to using the 1.0 branch. You don't want to use 0.11. - 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.
