Opened 10 years ago

Closed 10 years ago

#2346 closed defect (fixed)

Reported by: Owned by: Simon Odd Simon Simonsen normal FullBlogPlugin normal 0.11

Description

After i upgraded the fullblogplugin to rev 2956 the plugin does not load, no blog-tab in the menu appears, and "http://mytracproject/trac/blog" doesn't work either. This is what my trac.log shows:

Trac[loader] ERROR: Skipping "tracfullblog.web_ui = tracfullblog.web_ui": (can't import "cannot import name add_warning")


I haven't found any similar problem/solution anywhere.

comment:1 Changed 10 years ago by Odd Simon Simonsen

Resolution: → worksforme new → closed

You need to use the most recent Trac 0.11 dev (or rather 0.11b1). The trac.web.chrome.add_warning() was introduced via a refactoring done right before it went into beta 1 a couple of weeks ago.

Closing as I'm quite sure that will solve it. Please reopen if the Trac update does not solve it.

comment:2 Changed 10 years ago by anonymous

Resolution: worksforme closed → reopened

i have more or less the same problem whit the trac version 0.11b1 and tracfullblog

ERROR: Skipping "tracfullblog.web_ui = tracfullblog.web_ui": (can't import "cannot import name add_notice")



also after install the egg file i have to copy the template files to the /path/to/project/templates/

if i dont do this i see a error on the adminpage of blog on the webadmin

...
...


comment:3 Changed 10 years ago by Odd Simon Simonsen

Right, seems to be 2 issues:

1. The add_notice() was added to Trac in changeset:6379 - that may have been after the b1, but it is in trunk and will be part of Trac 0.11. You need to update Trac.
1. The second issue seems to be more install related. If you easy_install with --always-unzip option it will not store the egg as a zip file, but as a folder instead. Could you try that, remove copies of templates, and see if it works? If so, you likely have an issue with PYTHON_EGG_CACHE variable, or permissions related to it - Google for information about this. If this isn't the issue, I'd appreciate some help researching it.

comment:4 Changed 10 years ago by anonymous

Resolution: → fixed reopened → closed

Ok after update Trac to Trunk via:

easy_install http://svn.edgewall.com/repos/trac/trunk/


both issues are fixed.

Thanks for Helping

Modify Ticket

Change Properties