Modify

Opened 17 years ago

Closed 17 years ago

#2346 closed defect (fixed)

rev 2956 will not load

Reported by: Simon Owned by: osimons
Priority: normal Component: FullBlogPlugin
Severity: normal Keywords:
Cc: Trac Release: 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.
Thanks in advance!

Attachments (0)

Change History (4)

comment:1 Changed 17 years ago by osimons

Resolution: worksforme
Status: newclosed

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 17 years ago by anonymous

Resolution: worksforme
Status: closedreopened

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

...
TemplateNotFound: Template "fullblog_admin.html" not found
...

comment:3 Changed 17 years ago by osimons

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 17 years ago by anonymous

Resolution: fixed
Status: reopenedclosed

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
Set your email in Preferences
Action
as closed The owner will remain osimons.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.