Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

0.4.3: Skipping "wikinotification = WikiNotification": ImportError: cannot import name Notify #15

Open
axd1967 opened this issue Oct 30, 2019 · 2 comments

Comments

@axd1967
Copy link

axd1967 commented Oct 30, 2019

this appears in the logs of Trac 1.4:

2019-10-30 17:05:32,794 Trac[loader] ERROR: Skipping "wikinotification = WikiNotification": ImportError: cannot import name Notify

maybe this is due to the PyPI version still on 0.4.3 while here it's 0.4.4.?
(also, when clicking on the URL in the admin panel, one gets redirected to some commercial site: : http://wikinotification.ufsoft.org/ )

and it looks like Genshi is a deeper issue:

2019-10-31 09:43:11,264 Trac[loader] ERROR: Skipping "wikinotification = WikiNotification": ImportError: cannot import name Notify
2019-10-31 09:43:11,338 Trac[chrome] WARNING: Component WikiNotificationWebModule relies on deprecated Genshi stream filtering
@rjollos
Copy link
Member

rjollos commented Oct 31, 2019

We need to modify the plugin to use the new notification API (new in Trac 1.2, old API removed in Trac 1.4).

@rjollos
Copy link
Member

rjollos commented Apr 24, 2020

Also, as you've noted, we also need to replace ITemplateStreamFilter (deprecated Genshi stream filtering). The plugin basically needs to be re-written.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants