Modify

Opened 7 years ago

Closed 7 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 7 years ago by osimons

  • Resolution set to worksforme
  • Status changed from new to 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 7 years ago by anonymous

  • Resolution worksforme deleted
  • Status changed from closed to 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

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

comment:3 Changed 7 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 7 years ago by anonymous

  • Resolution set to fixed
  • Status changed from reopened to closed

Ok after update Trac to Trunk via:

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

both issues are fixed.

Thanks for Helping

Add Comment

Modify Ticket

Action
as closed The owner will remain osimons.
The resolution will be deleted. Next status will be 'reopened'.
Author


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

 
Note: See TracTickets for help on using tickets.