Modify

Opened 10 years ago

Closed 10 years ago

#1945 closed defect (invalid)

Discussion does not appear in menu

Reported by: hammond@… Owned by: Radek Bartoň
Priority: high Component: DiscussionPlugin
Severity: normal Keywords:
Cc: Trac Release: 0.10

Description

trac 0.10.4

sqlite-3.3.6-2

python-sqlite-1.1.7-1.2.1

I have:

[root@msrv site-packages]# pwd
/usr/lib/python2.4/site-packages
drwxr-xr-x  4 root root  4096 Aug 18 21:09 TracDiscussion-0.6-py2.4.egg
[components]
webadmin.* = enabled
tracdiscussion.admin.discussionwebadmin = enabled
tracdiscussion.core.discussioncore = enabled
tracdiscussion.init.discussioninit = enabled
tracdiscussion.search.discussionsearch = enabled
tracdiscussion.timeline.discussiontimeline = enabled
tracdiscussion.wiki.discussionwiki = enabled
tracdiscussion.notification.discussionnotifyemail = enabled

[discussion]
title = Discussion

but Discussion does not appear in the menu.

Also,

[root@msvr site-packages]# sudo trac-admin /msrv/trac_private/cws4db permission add hammond DISCUSSION_VIEW
Command failed: DISCUSSION_VIEW is not a valid action.

How can I troubleshoot this? In webadmin interface, under plugins DiscussionInit is "enabled" (checked).

I think the install instructions for Discussion can be expanded and could do this, but could like to get my installation working and tested.

Attachments (0)

Change History (3)

comment:1 Changed 10 years ago by Radek Bartoň

Status: newassigned

Hi,

accroding to egg's version (0.6), you are trying to run branch for Trac 0.11 in Trac 0.10. But don't worry you are second this week. Just use 0.10 branch. I'll add note about this to DiscussionPlugin page. Maybe if you were looked to debug log you would figure it out yourself.

comment:2 Changed 10 years ago by anonymous

Thanks very much for updating the page which makes it much clearer which branch to use.

I edited easy-install.pth to remove ./TracDiscussion-0.6... and removed the directory /usr/lib/python2.4/site-packages/TracDiscussion-0.6-py2.4egg/

I installed the branch for trac 10:

drwxr-xr-x 4 root root 4096 Aug 21 23:55 TracDiscussion-0.5-py2.4.egg

However, Discussion still does not appear in the menu, and this error appears in the log:

2007-08-21 23:56:48,350 Trac[loader] ERROR: Skipping "TracDiscussion 0.5" (versi
on conflict: "(TracDiscussion 0.6 (/usr/lib/python2.4/site-packages/TracDiscussi
on-0.6-py2.4.egg), Requirement.parse('TracDiscussion==0.5'))")

I can't find out where TracDiscussion 0.6 is coming from!

comment:3 Changed 10 years ago by Radek Bartoň

Resolution: invalid
Status: assignedclosed

/usr/lib/python2.4/site-packages/TracDiscussion-0.6-py2.4egg/ is only temporary directory for egg's files. You have to delete egg itself, in your case in /usr/lib/python2.4/site-packages/TracDiscussion-0.6-py2.4.egg. Eggs may be in plugins directories too.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Radek Bartoň.
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.