Hi,
I need some help!
The SimpleMultiProjectPlugin
<https://trac-hacks.org/wiki/SimpleMultiProjectPlugin> doesn't work in my
new trac installation:
1. Installation:
pip2 install TracSimpleMultiProject
2. Change the trac.ini:
add:
[components]
simplemultiproject.* = enabled
[ticket-custom]
project = select
project.label = Project
project.value =
3. upgrade environment:
trac-admin /instance_trac/ upgrade
(smp_project, smp_milestone_project, smp_version_project,
smp_component_project tables are created)
4. restart webserver:
systemctl restart httpd
5. log in as admin
6. I can:
* see the plugin:
* TracSimpleMultiProject 0.7.1 and all component are enabled:
* simplemultiproject.admin.* -> SmpAdminPanel
* simplemultiproject.admin_command.* -> SmpAdminCommands
* simplemultiproject.environmentSetup.* ->
smpEnvironmentSetupParticipant
* simplemultiproject.model.* -> SmpModel
* simplemultiproject.permission.* -> SmpPermission
* create project:
* ADMIN => Projects - admin/projects/simplemultiproject
* one record created in the smp_project table
* modify project:
* click on the project name, change the description on the new form and
click on Modify button.
* the description field had modified in the smp_project table
7. I cannot:
* add project on:
* "Admin" -> "Ticket System" -> "Milestones" / "Versions"
* "Admin" -> "Ticket System" -> "Components"
* "New Ticket"
* see the projects chosen in the filter box on:
* "Timeline"
* "Roadmap"
* "View Tickets"
8. Change the trac.ini:
[trac]
deleted: permission_policies =
DefaultWikiPolicy,DefaultTicketPolicy,DefaultPermissionPolicy,LegacyAttachmentPolicy
added: permission_policies =
SmpPermissionPolicy,DefaultWikiPolicy,DefaultTicketPolicy,DefaultPermissionPolicy,LegacyAttachmentPolicy
9. restart webserver:
systemctl restart httpd
10. The trac application not available anymore! The error message:
Configuration Error
Cannot find implementation(s) of the IPermissionPolicy interface named
SmpPermissionPolicy. Please check that the Component is enabled or update
the option [trac] permission_policies in trac.ini.
System Information
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:85.0) Gecko/20100101
Firefox/85.0
Package Version
Trac 1.4.2
Genshi (not installed, some old plugins may not work as expected)
Jinja2 2.11.3
mod_wsg 4.7.1 (WSGIProcessGroup WSGIApplicationGroup %{GLOBAL})
MySQL server: "5.5.5-10.5.8-MariaDB", client: "0.8.0", thread-safe: True
pymysql 0.8.0
Python 2.7.17 (default, Aug 31 2020, 21:02:14) [GCC 8.3.1 20191121
(Red Hat 8.3.1-5)]
setuptools 39.0.1
jQuery 1.12.4
jQuery UI 1.12.1
jQuery Timepicker 1.6.3
Installed Plugins
Name Version Location
TracSimpleMultiProject 0.7.1 /usr/lib/python2.7/site-packages
Not installed the TracFineGrainedPermissions plugin.
What should I change in the configuration?
Thanks!
SzL
--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/fb1cc4e8-1e6d-49f7-ab73-71013e3843c7n%40googlegroups.com.
I need some help!
The SimpleMultiProjectPlugin
<https://trac-hacks.org/wiki/SimpleMultiProjectPlugin> doesn't work in my
new trac installation:
1. Installation:
pip2 install TracSimpleMultiProject
2. Change the trac.ini:
add:
[components]
simplemultiproject.* = enabled
[ticket-custom]
project = select
project.label = Project
project.value =
3. upgrade environment:
trac-admin /instance_trac/ upgrade
(smp_project, smp_milestone_project, smp_version_project,
smp_component_project tables are created)
4. restart webserver:
systemctl restart httpd
5. log in as admin
6. I can:
* see the plugin:
* TracSimpleMultiProject 0.7.1 and all component are enabled:
* simplemultiproject.admin.* -> SmpAdminPanel
* simplemultiproject.admin_command.* -> SmpAdminCommands
* simplemultiproject.environmentSetup.* ->
smpEnvironmentSetupParticipant
* simplemultiproject.model.* -> SmpModel
* simplemultiproject.permission.* -> SmpPermission
* create project:
* ADMIN => Projects - admin/projects/simplemultiproject
* one record created in the smp_project table
* modify project:
* click on the project name, change the description on the new form and
click on Modify button.
* the description field had modified in the smp_project table
7. I cannot:
* add project on:
* "Admin" -> "Ticket System" -> "Milestones" / "Versions"
* "Admin" -> "Ticket System" -> "Components"
* "New Ticket"
* see the projects chosen in the filter box on:
* "Timeline"
* "Roadmap"
* "View Tickets"
8. Change the trac.ini:
[trac]
deleted: permission_policies =
DefaultWikiPolicy,DefaultTicketPolicy,DefaultPermissionPolicy,LegacyAttachmentPolicy
added: permission_policies =
SmpPermissionPolicy,DefaultWikiPolicy,DefaultTicketPolicy,DefaultPermissionPolicy,LegacyAttachmentPolicy
9. restart webserver:
systemctl restart httpd
10. The trac application not available anymore! The error message:
Configuration Error
Cannot find implementation(s) of the IPermissionPolicy interface named
SmpPermissionPolicy. Please check that the Component is enabled or update
the option [trac] permission_policies in trac.ini.
System Information
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:85.0) Gecko/20100101
Firefox/85.0
Package Version
Trac 1.4.2
Genshi (not installed, some old plugins may not work as expected)
Jinja2 2.11.3
mod_wsg 4.7.1 (WSGIProcessGroup WSGIApplicationGroup %{GLOBAL})
MySQL server: "5.5.5-10.5.8-MariaDB", client: "0.8.0", thread-safe: True
pymysql 0.8.0
Python 2.7.17 (default, Aug 31 2020, 21:02:14) [GCC 8.3.1 20191121
(Red Hat 8.3.1-5)]
setuptools 39.0.1
jQuery 1.12.4
jQuery UI 1.12.1
jQuery Timepicker 1.6.3
Installed Plugins
Name Version Location
TracSimpleMultiProject 0.7.1 /usr/lib/python2.7/site-packages
Not installed the TracFineGrainedPermissions plugin.
What should I change in the configuration?
Thanks!
SzL
--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/fb1cc4e8-1e6d-49f7-ab73-71013e3843c7n%40googlegroups.com.