Modify

Opened 6 years ago

Closed 6 years ago

#13471 closed defect (worksforme)

Can't see table child tickets into parents

Reported by: morsi Owned by: Mark Ryan
Priority: normal Component: ChildTicketsPlugin
Severity: normal Keywords:
Cc: Trac Release: 1.2

Description

Hi, After installing the plugin into my trac (1.2.2) and adding configuration part like this :

[components]
childtickets.* = enabled

[ticket-custom]
parent = text
parent.format = wiki
parent.label = Parent ID

[childtickets]
# 'enhancements': child tickets will typically be bug-fix tickets with the same milestone, component and keywords.
parent.Evolution.allow_child_tickets = true
parent.Evolution.restrict_child_type = Recette_(integration), Evolution, Developpement
parent.Evolution.table_headers = type, status, owner, summary
parent.Evolution.inherit = milestone

# 'bug-report': child tickets will typically be bug-fix
parent.Developpement.allow_child_tickets = true
parent.Developpement.default_child_type = bug-fix, Recette_(integration), Evolution, Developpement
parent.Developpement.table_headers = type, priority, owner, summary, milestone
parent.Developpement.inherit = milestone, keywords

# 'issue': child tickets will typically be task tickets with no default milestone.
parent.Recette_(integration).allow_child_tickets = true
parent.Recette_(integration).restrict_child_type = task, Evolution, Recette_(integration), Developpement
parent.Recette_(integration).table_headers = milestone

Note : Evolution, Recette_(integration) and Developpement are the type of tickets i have

i don't see anything on the parent ticket (no new section child tickets).

How can i be sure that the plugin work correctely and how to debug to find the problem ?

thanks in advance

Attachments (0)

Change History (5)

comment:1 Changed 6 years ago by Morsi

i'm using Tracchildtickets-2.5.5-py2.7.egg as version of plugin, and i'm on a windows OS

comment:2 Changed 6 years ago by Ryan J Ollos

comment:3 in reply to:  2 Changed 6 years ago by Morsi

Replying to Ryan J Ollos:

Please check the logs.

Thank you for your message. The log indicate :

DEBUG: Loading plugin "childtickets" from "c:\python27"
ERROR: Skipping "childtickets = childtickets": ImportError: No module named childtickets

Why he is trying to load from c:\python27 ? when i create the .egg file, i copy it from "dist" to "plugins" folder of my environment (shown here trac:TracPlugins#Forasingleproject)

Last edited 6 years ago by Ryan J Ollos (previous) (diff)

comment:4 Changed 6 years ago by Morsi

I have fixed the problem. i just copied the folder "childtickets" (of plugins downloaded) into "site-packages" of my python27.

comment:5 Changed 6 years ago by Ryan J Ollos

Resolution: worksforme
Status: newclosed

I'm unsure why you get this behavior. I built and inspected the egg and it looks correct to me.

To install to site-packages you should be able to run python setup.py install from the source directory.

Modify Ticket

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