Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After installation failed to find a link to create a child task #42

Open
tianmingxing opened this issue Oct 13, 2016 · 10 comments
Open

Comments

@tianmingxing
Copy link

Below you can see some information after the installation of the software:

Tracchildtickets    2.5.4.dev0  /home/projects/idouzi/plugins/Tracchildtickets-2.5.4.dev0-py2.6.egg

childtickets.*  enabled
childtickets.admin.childticketsadminpanel   enabled
childtickets.childtickets.tracchildticketsmodule    enabled

Trac    1.0.13
Babel   2.3.4
Genshi  0.7 (without speedups)
GIT 1.7.1
mod_wsgi    3.2 (WSGIProcessGroup WSGIApplicationGroup %{GLOBAL})
MySQL   server: "5.5.49-log", client: "5.1.73", thread-safe: 1
MySQLdb 1.2.3c1
Pygments    2.1.3
Python  2.6.6 (r266:84292, Jul 23 2015, 15:22:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-11)]
pytz    2016.4
RPC 1.1.5
setuptools  21.2.0
Subversion  1.6.11 (r934486)
jQuery  1.7.2
jQuery UI   1.8.21
jQuery Timepicker   1.0.1

But I can't find the entrance to create a sub task in the existing task page, at least it should have a Add button for me to use, but in fact, there is No. I don't know whether it's a problem.

@rjollos
Copy link
Contributor

rjollos commented Oct 17, 2016

I suggest starting the debug process with checking the logs.

@tianmingxing
Copy link
Author

tianmingxing commented Oct 18, 2016

I do not see any valuable information, the log level is now INFO

2016-10-18 15:02:14,225 Trac[env] INFO: -------------------------------- environment startup [Trac 1.0.13] --------------------------------
2016-10-18 15:02:16,427 Trac[web_ui] WARNING: ResetPwStore is disabled, therefore password reset won't work.
2016-10-18 15:02:16,621 Trac[git_fs] INFO: detected GIT version 1.7.1
2016-10-18 15:02:18,232 Trac[env] INFO: -------------------------------- environment startup [Trac 1.0.13] --------------------------------
2016-10-18 15:02:18,232 Trac[env] INFO: -------------------------------- environment startup [Trac 1.0.13] --------------------------------
2016-10-18 15:02:20,541 Trac[web_ui] WARNING: ResetPwStore is disabled, therefore password reset won't work.
2016-10-18 15:02:20,552 Trac[web_ui] WARNING: ResetPwStore is disabled, therefore password reset won't work.
2016-10-18 15:02:20,742 Trac[git_fs] INFO: detected GIT version 1.7.1
2016-10-18 15:02:20,745 Trac[git_fs] INFO: detected GIT version 1.7.1
2016-10-18 15:02:21,336 Trac[env] INFO: -------------------------------- environment startup [Trac 1.0.13] --------------------------------
2016-10-18 15:02:23,519 Trac[web_ui] WARNING: ResetPwStore is disabled, therefore password reset won't work.
2016-10-18 15:02:23,720 Trac[git_fs] INFO: detected GIT version 1.7.1

default

@rjollos
Copy link
Contributor

rjollos commented Oct 18, 2016

You need to set log level to DEBUG, as described in check the logs.

Set the LogLevel to DEBUG, restart tracd or the web server and then inspect the log.

Make sure to set tracsubtickets.* = enabled in your [components] section of trac.ini. The plugin works for me.

@tianmingxing
Copy link
Author

I'm sure the model tracsubtickets.* = enabled has been opened in the configuration file. In the list below I can see that Tracchildtickets has been properly loaded.

2016-10-19 16:42:41,256 Trac[env] INFO: -------------------------------- environment startup [Trac 1.0.13] --------------------------------
2016-10-19 16:42:41,510 Trac[loader] DEBUG: Adding plugin GroupTicketFields 0.0.1dev-r0 from /home/projects/xxx/plugins/GroupTicketFields-0.0.1dev_r0-py2.6.egg
2016-10-19 16:42:41,511 Trac[loader] DEBUG: Adding plugin GridModify 0.1.6dev-r0 from /home/projects/xxx/plugins/GridModify-0.1.6dev_r0-py2.6.egg
2016-10-19 16:42:41,511 Trac[loader] DEBUG: Adding plugin BreadCrumbsNav 0.3dev-r0 from /home/projects/xxx/plugins/BreadCrumbsNav-0.3dev_r0-py2.6.egg
2016-10-19 16:42:41,511 Trac[loader] DEBUG: Adding plugin STractistics 0.6dev-r0 from /home/projects/xxx/plugins/STractistics-0.6dev_r0-py2.6.egg
2016-10-19 16:42:41,512 Trac[loader] DEBUG: Adding plugin Lineno 1.2dev-r0 from /home/projects/xxx/plugins/Lineno-1.2dev_r0-py2.6.egg
2016-10-19 16:42:41,512 Trac[loader] DEBUG: Adding plugin TracProjectMenu 2.0dev-r0 from /home/projects/xxx/plugins/TracProjectMenu-2.0dev_r0-py2.6.egg
2016-10-19 16:42:41,512 Trac[loader] DEBUG: Adding plugin cc-selector 0.0.4 from /home/projects/xxx/plugins/cc_selector-0.0.4-py2.6.egg
2016-10-19 16:42:41,512 Trac[loader] DEBUG: Adding plugin trac-UserPicturesPlugin 0.1.1 from /usr/lib/python2.6/site-packages/trac_UserPicturesPlugin-0.1.1-py2.6.egg
2016-10-19 16:42:41,513 Trac[loader] DEBUG: Adding plugin TablePlugin 0.2.post0 from /home/projects/xxx/plugins/TablePlugin-0.2.post0-py2.6.egg
2016-10-19 16:42:41,513 Trac[loader] DEBUG: Adding plugin TracSectionEditPlugin 0.2.6.post0 from /home/projects/xxx/plugins/TracSectionEditPlugin-0.2.6.post0-py2.6.egg
2016-10-19 16:42:41,513 Trac[loader] DEBUG: Adding plugin TracCustomFieldAdmin 0.2.12 from /home/projects/xxx/plugins/TracCustomFieldAdmin-0.2.12-py2.6.egg
2016-10-19 16:42:41,514 Trac[loader] DEBUG: Adding plugin TracExtractUrl 0.3 from /home/projects/xxx/plugins/TracExtractUrl-0.3-py2.6.egg
2016-10-19 16:42:41,514 Trac[loader] DEBUG: Adding plugin TicketExtPlugin 0.3.2.post0 from /home/projects/xxx/plugins/TicketExtPlugin-0.3.2.post0-py2.6.egg
2016-10-19 16:42:41,514 Trac[loader] DEBUG: Adding plugin TracNumberedHeadlinesPlugin 0.4.post0 from /home/projects/xxx/plugins/TracNumberedHeadlinesPlugin-0.4.post0-py2.6.egg
2016-10-19 16:42:41,514 Trac[loader] DEBUG: Adding plugin TracAccountManager 0.5.dev0 from /home/projects/xxx/plugins/TracAccountManager-0.5.dev0-py2.6.egg
2016-10-19 16:42:41,515 Trac[loader] DEBUG: Adding plugin TracMindMapMacro 0.5.dev0 from /home/projects/xxx/plugins/TracMindMapMacro-0.5.dev0-py2.6.egg
2016-10-19 16:42:41,515 Trac[loader] DEBUG: Adding plugin TracUserManagerPlugin 0.5.dev0 from /home/projects/xxx/plugins/TracUserManagerPlugin-0.5.dev0-py2.6.egg
2016-10-19 16:42:41,515 Trac[loader] DEBUG: Adding plugin SimpleMultiProject 0.5.2.dev0 from /home/projects/xxx/plugins/SimpleMultiProject-0.5.2.dev0-py2.6.egg
2016-10-19 16:42:41,516 Trac[loader] DEBUG: Adding plugin TracGanttCalendarPlugin 0.6.4.post0 from /home/projects/xxx/plugins/TracGanttCalendarPlugin-0.6.4.post0-py2.6.egg
2016-10-19 16:42:41,516 Trac[loader] DEBUG: Adding plugin TracTags 0.9.dev0 from /home/projects/xxx/plugins/TracTags-0.9.dev0-py2.6.egg
2016-10-19 16:42:41,516 Trac[loader] DEBUG: Adding plugin TracMarkdownMacro 0.11.4.post0 from /home/projects/xxx/plugins/TracMarkdownMacro-0.11.4.post0-py2.6.egg
2016-10-19 16:42:41,517 Trac[loader] DEBUG: Adding plugin TracHtmlNotificationPlugin 0.12.0.1 from /home/projects/xxx/plugins/TracHtmlNotificationPlugin-0.12.0.1-py2.6.egg
2016-10-19 16:42:41,517 Trac[loader] DEBUG: Adding plugin TicketCalendarPlugin 0.12.0.2 from /home/projects/xxx/plugins/TicketCalendarPlugin-0.12.0.2-py2.6.egg
2016-10-19 16:42:41,517 Trac[loader] DEBUG: Adding plugin TracWorkflowAdmin 0.12.0.2 from /home/projects/xxx/plugins/TracWorkflowAdmin-0.12.0.2-py2.6.egg
2016-10-19 16:42:41,517 Trac[loader] DEBUG: Adding plugin TracWysiwyg 0.12.0.5.post0 from /home/projects/xxx/plugins/TracWysiwyg-0.12.0.5.post0-py2.6.egg
2016-10-19 16:42:41,518 Trac[loader] DEBUG: Adding plugin BlackMagicTicketTweaks 0.12.2 from /home/projects/xxx/plugins/BlackMagicTicketTweaks-0.12.2-py2.6.egg
2016-10-19 16:42:41,518 Trac[loader] DEBUG: Adding plugin SvnAuthzAdminPlugin 1.0.dev0 from /home/projects/xxx/plugins/SvnAuthzAdminPlugin-1.0.dev0-py2.6.egg
2016-10-19 16:42:41,518 Trac[loader] DEBUG: Adding plugin TracAnnouncer 1.0.dev0 from /home/projects/xxx/plugins/TracAnnouncer-1.0.dev0-py2.6.egg
2016-10-19 16:42:41,519 Trac[loader] DEBUG: Adding plugin TracCodeReviewer 1.0.0.dev0 from /home/projects/xxx/plugins/TracCodeReviewer-1.0.0.dev0-py2.6.egg
2016-10-19 16:42:41,519 Trac[loader] DEBUG: Adding plugin TracWikiExtras 1.0.dev0 from /home/projects/xxx/plugins/TracWikiExtras-1.0.dev0-py2.6.egg
2016-10-19 16:42:41,519 Trac[loader] DEBUG: Adding plugin NoteBox 1.0.post0 from /home/projects/xxx/plugins/NoteBox-1.0.post0-py2.6.egg
2016-10-19 16:42:41,520 Trac[loader] DEBUG: Adding plugin TracIniAdminPanel 1.0.2 from /home/projects/xxx/plugins/TracIniAdminPanel-1.0.2-py2.6.egg
2016-10-19 16:42:41,520 Trac[loader] DEBUG: Adding plugin TracXMLRPC 1.1.5 from /home/projects/xxx/plugins/TracXMLRPC-1.1.5-py2.6.egg
2016-10-19 16:42:41,520 Trac[loader] DEBUG: Adding plugin CodeExampleMacro 1.2.post0 from /home/projects/xxx/plugins/CodeExampleMacro-1.2.post0-py2.6.egg
2016-10-19 16:42:41,521 Trac[loader] DEBUG: Adding plugin DataSaverPlugin 2.0.dev0 from /home/projects/xxx/plugins/DataSaverPlugin-2.0.dev0-py2.6.egg
2016-10-19 16:42:41,521 Trac[loader] DEBUG: Adding plugin PlantUML 2.1.dev0 from /home/projects/xxx/plugins/PlantUML-2.1.dev0-py2.6.egg
2016-10-19 16:42:41,521 Trac[loader] DEBUG: Adding plugin TracDynamicFields 2.2.0 from /home/projects/xxx/plugins/TracDynamicFields-2.2.0-py2.6.egg
2016-10-19 16:42:41,521 Trac[loader] DEBUG: Adding plugin Tracchildtickets 2.5.4.dev0 from /home/projects/xxx/plugins/Tracchildtickets-2.5.4.dev0-py2.6.egg
2016-10-19 16:42:41,522 Trac[loader] DEBUG: Adding plugin TracIncludeMacro 3.0.0.dev0 from /home/projects/xxx/plugins/TracIncludeMacro-3.0.0.dev0-py2.6.egg
2016-10-19 16:42:41,522 Trac[loader] DEBUG: Adding plugin TracDateField 3.0.0 from /home/projects/xxx/plugins/TracDateField-3.0.0-py2.6.egg
2016-10-19 16:42:41,522 Trac[loader] DEBUG: Adding plugin TracPermRedirect 3.0 from /home/projects/xxx/plugins/TracPermRedirect-3.0-py2.6.egg
2016-10-19 16:42:41,523 Trac[loader] DEBUG: Adding plugin BackLinksMacro 7.0.dev0 from /home/projects/xxx/plugins/BackLinksMacro-7.0.dev0-py2.6.egg

@rjollos
Copy link
Contributor

rjollos commented Oct 19, 2016

TracSubtickets is not the same as TracChildTickets. It appears you haven't installed TracSubtickets. If you are having trouble with TracChildTickets, you need to look here. Even better, report the issue on the MailingList.

@tianmingxing
Copy link
Author

In accordance with your guidance, I have successfully installed TracSubtickets. But there are still some problems:
qq 20161020153501
qq 20161020153539

There is no single task list in the parent task list, as well as the parent task in the child task list. I don't think this module has a very good job.

@rjollos
Copy link
Contributor

rjollos commented Oct 20, 2016

It works for me. You can add child tickets in one of two ways:

  • Click add in the Subtickets section and create a new ticket
  • Navigate to the ticket and add it's parent ticket in the form #33 (you must prefix with the hash). After adding the parent, the child will appear in the Subtickets list of the parent.

screen shot 2016-10-20 at 15 04 23

@rjollos
Copy link
Contributor

rjollos commented Oct 20, 2016

@iota, I think this ticket can be closed.

@tianmingxing
Copy link
Author

Click add in the Subtickets section and create a new ticket, My link address is the way it is:
http://trac.xxx.com/trac/project/newticket?parents=362

qq 20161024100902

@rjollos
Copy link
Contributor

rjollos commented Oct 26, 2016

I cannot reproduce the issue you show in a clean environment. You have a lot of plugins installed. Most likely one of the plugin is causing the problem.

The screen capture you show makes it look like the field is disabled. Is one of your plugins setting the disabled or readonly attribute of the field?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants