Trac Error basedn not defined!

45 views
Skip to first unread message

Venu Pillai

unread,
Mar 11, 2023, 9:20:52 AM3/11/23
to Trac Users
Hi Support ,
I am new to Trac.
---------------------------------------------------------------------------------
I had installed Trac Version 1.4.3.
When i login it gives Error
1)  " basedn not defined!"
2) WIKI_VIEW privileges are required to perform this operation on WikiStart. You don't have the required permissions.
---------------------------------------------------------------------------------
Logs of TRAC 
Trac[main] WARNING: [.X.X.X.X] HTTPInternalServerError: 500 Trac Error (basedn not defined!), <RequestWithSession "GET '/wiki'">, referrer 'https://X.X.X.X/test/newticket'

Trac[main] WARNING: [X.X.X.X] HTTPForbidden: 403 Forbidden (WIKI_VIEW privileges are required to perform this operation on WikiStart. You don't have the required permissions.), <RequestWithSession "GET '/wiki'">, referrer

---------------------------------------------------------------
 In Trac.ini LDAP_URL is set

Installed the Plugin


Please help

RjOllos

unread,
Mar 14, 2023, 4:23:24 PM3/14/23
to Trac Users
The error is raised by TracDirectoryAuth, so you may not have properly configured the plugin. Also, TracLDAPAuth might conflict with TracDirectoryAuth. I'm not sure why you would want both. 

Venu Pillai

unread,
Mar 18, 2023, 3:00:39 AM3/18/23
to trac-...@googlegroups.com
Thanks.
After removing the Dirauth Plugin it worked , thanks for the help.
Do we need to upgrade python from 2.7.9? or this version will worked with trac 1.4.3

Regards
Venu

--
You received this message because you are subscribed to a topic in the Google Groups "Trac Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/trac-users/8u3Zyz8V5Z8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to trac-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/trac-users/5dac9f4f-536a-49cc-a5f4-44233cc86ad7n%40googlegroups.com.

RjOllos

unread,
Mar 20, 2023, 4:46:20 PM3/20/23
to Trac Users
On Saturday, March 18, 2023 at 12:00:39 AM UTC-7 vpill...@gmail.com wrote:
Thanks.
After removing the Dirauth Plugin it worked , thanks for the help.
Do we need to upgrade python from 2.7.9? or this version will worked with trac 1.4.3

Regards
Venu

For Trac 1.4.3, only 2.7.x is supported, so 2.7.9 should be fine.

Venu Pillai

unread,
May 8, 2023, 9:40:47 AM5/8/23
to trac-...@googlegroups.com
I had installed TRAC 1.2.3 successfully, installed the plugin required .

I am facing issue. When i click on URL of newly created project , its give error the SITE is misconfigured ".
I am getting the below error in var\log\httpd\
 "File "build/bdist.linux-x86_64/egg/trac/core.py", line 155, in __call__    self.__init__()
   File "/usr/lib/python2.7/site-packages/acct_mgr/web_ui.py", line 204, in __init__[     self._write_check(log=True)
  File "/usr/lib/python2.7/site-packages/acct_mgr/web_ui.py", line 207, in _write_check   writable = self.acctmgr.get_all_supporting_stores('set_password')
   File "/usr/lib/python2.7/site-packages/acct_mgr/api.py", line 386, in get_all_supporting_stores     for store in self.password_store:
  File "/usr/lib/python2.7/site-packages/acct_mgr/api.py", line 358, in password_store    for store in self.stores:
  File "build/bdist.linux-x86_64/egg/trac/core.py", line 93, in extensions   components = [component.compmgr[cls] for cls in classes]
  File "build/bdist.linux-x86_64/egg/trac/core.py", line 238, in __getitem__    component = cls(self)
  File "build/bdist.linux-x86_64/egg/trac/core.py", line 155, in __call__     self.__init__()
  File "/usr/lib/python2.7/site-packages/acct_mgr/svnserve.py", line 33, in __init__    repo_dir = RepositoryManager(self.env).repository_dir
 AttributeError: 'RepositoryManager' object has no attribute 'repository_dir'

List of plugin installed.
Babel                            2.9.1
backports.ssl-match-hostname     3.5.0.1
blivet                           0.61.15.76
Brlapi                           0.6.0
chardet                          2.2.1
configobj                        4.7.2
coverage                         3.6b3
cupshelpers                      1.0
decorator                        3.4.0
di                               0.3
ethtool                          0.8
firstboot                        19.5
fros                             1.0
futures                          3.1.1
Genshi                           0.7.7
iniparse                         0.4
initial-setup                    0.3.9.45
ipaddress                        1.0.16
IPy                              0.75
javapackages                     1.0.0
Jinja2                           2.11.3
kitchen                          1.1.1
langtable                        0.0.31
LdapAuthStorePlugin              0.4.0.dev0
LdapPlugin                       0.7.0.dev0
lxml                             3.2.1
MarkupSafe                       1.1.1
MultipleWorkflowPlugin           1.5.3
ntplib                           0.3.2
perf                             0.1
pip                              20.3.4
policycoreutils-default-encoding 0.1
pycups                           1.9.63
pycurl                           7.19.0
pygobject                        3.22.0
pygpgme                          0.3
pyinotify                        0.9.4
pykickstart                      1.99.66.22
pyliblzma                        0.5.3
pyparsing                        1.5.6
pyparted                         3.9
pysmbc                           1.0.13
python-augeas                    0.5.0
python-linux-procfs              0.4.9
python-meh                       0.25.3
python-nss                       0.16.0
pytz                             2016.10
pyudev                           0.15
pyxattr                          0.5.1
PyYAML                           3.10
schedutils                       0.4
seobject                         0.1
sepolicy                         1.1
setroubleshoot                   1.1
setuptools                       0.9.8
six                              1.9.0
slip                             0.4.0
slip.dbus                        0.4.0
subprocess32                     3.2.6
Trac                             1.2.3
TracAccountManager               0.3.2
TracTags                         0.13.dev0
TracWikiExtras                   1.3.2.dev0
TracWikinfo                      0.2
urlgrabber                       3.10
wheel                            0.37.1
yum-langpacks                    0.4.2
yum-metadata-parser              1.1.4"

Please help if i am missing any plugin


--
You received this message because you are subscribed to a topic in the Google Groups "Trac Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/trac-users/8u3Zyz8V5Z8/unsubscribe.
To unsubscribe from this group and all its topics, send an email to trac-users+...@googlegroups.com.

Venu Pillai

unread,
May 8, 2023, 1:16:24 PM5/8/23
to trac-...@googlegroups.com
Installed Tracldap Plugin .The above issue is gone..
Now it is giving error "
Warning:
  • Error with navigation contributor "RPCWeb"
  • Error with navigation contributor "RoadmapModule"
  • Error with navigation contributor "QueryModule"
  • Error with navigation contributor "TicketModule"
  • Error with navigation contributor "SearchModule"
  • Error with navigation contributor "AdminModule"
  • Error with navigation contributor "ReportModule"
  • Error with navigation contributor "TimelineModule"
  • Error with navigation contributor "WikiModule"

RjOllos

unread,
May 10, 2023, 10:10:08 AM5/10/23
to Trac Users
On Monday, May 8, 2023 at 3:40:47 PM UTC+2 vpill...@gmail.com wrote:
I had installed TRAC 1.2.3 successfully, installed the plugin required .

I am facing issue. When i click on URL of newly created project , its give error the SITE is misconfigured ".
I am getting the below error in var\log\httpd\
 "File "build/bdist.linux-x86_64/egg/trac/core.py", line 155, in __call__    self.__init__()
   File "/usr/lib/python2.7/site-packages/acct_mgr/web_ui.py", line 204, in __init__[     self._write_check(log=True)
  File "/usr/lib/python2.7/site-packages/acct_mgr/web_ui.py", line 207, in _write_check   writable = self.acctmgr.get_all_supporting_stores('set_password')
   File "/usr/lib/python2.7/site-packages/acct_mgr/api.py", line 386, in get_all_supporting_stores     for store in self.password_store:
  File "/usr/lib/python2.7/site-packages/acct_mgr/api.py", line 358, in password_store    for store in self.stores:
  File "build/bdist.linux-x86_64/egg/trac/core.py", line 93, in extensions   components = [component.compmgr[cls] for cls in classes]
  File "build/bdist.linux-x86_64/egg/trac/core.py", line 238, in __getitem__    component = cls(self)
  File "build/bdist.linux-x86_64/egg/trac/core.py", line 155, in __call__     self.__init__()
  File "/usr/lib/python2.7/site-packages/acct_mgr/svnserve.py", line 33, in __init__    repo_dir = RepositoryManager(self.env).repository_dir
 AttributeError: 'RepositoryManager' object has no attribute 'repository_dir'

You need to upgrade TracAccoutManager. The 0.3.2 version is too old. You can install either trunk or version 0.5.0.

Remove old version:
pip uninstall TracAccountManager

Install trunk:

Or install TracAccountManager 0.5.0
pip install TracAccountManager
 
Trac                             1.2.3
TracAccountManager               0.3.2
TracTags                         0.13.dev0
TracWikiExtras                   1.3.2.dev0
TracWikinfo                      0.2

If you intend to use Trac 1.2.x you'll need to install some specific versions. For example, TracTags 0.13.dev0 does not support Trac 1.2.3 (tool old).

pip uninstall TracTags
pip install TracTags==0.11

You should check TracWikiExtras and TracWikinfo as well. I'm not sure if those versions you have installed are compatible with Trac 1.2.x


 

RjOllos

unread,
May 10, 2023, 10:12:39 AM5/10/23
to Trac Users
On Monday, May 8, 2023 at 7:16:24 PM UTC+2 vpill...@gmail.com wrote:
Installed Tracldap Plugin .The above issue is gone..
Now it is giving error "
Warning:
  • Error with navigation contributor "RPCWeb"
  • Error with navigation contributor "RoadmapModule"
  • Error with navigation contributor "QueryModule"
  • Error with navigation contributor "TicketModule"
  • Error with navigation contributor "SearchModule"
  • Error with navigation contributor "AdminModule"
  • Error with navigation contributor "ReportModule"
  • Error with navigation contributor "TimelineModule"
  • Error with navigation contributor "WikiModule"

This is most likely due to an incompatible TracAccountManager as mentioned in the previous message. If necessary, you could look deeper into the problem by enabling logging.

I noticed you started with Trac 1.4.3 but are now using Trac 1.2.3. I recommend using the former.

Venu Pillai

unread,
Jul 26, 2023, 2:55:16 AM7/26/23
to Trac Users
Hi,

I had moved to Trac 1.4.3
i am getting this error now on first page
  • RoadmapModule failed with ConfigurationError: Cannot find implementation(s) of the <code>IPermissionPolicy</code> interface named <code>AuthzPolicy</code>. Please check that the Component is enabled or update the option <code>[trac] permission_policies</code> in trac.ini.
  • TicketModule failed with ConfigurationError:
  • AdminModule failed with ConfigurationError:
  • SearchModule failed with ConfigurationError:
  • QueryModule failed with ConfigurationError:
  • ReportModule failed with
  • TimelineModule failed
  • WikiModule failed
  • TagRequestHandler failed.
PIP list

AllAttachmentsMacro              0.2
Babel                            2.9.1
backports.ssl-match-hostname     3.5.0.1
configobj                        4.7.2
Cython                           0.19
decorator                        3.4.0
docutils                         0.18.1
et-xmlfile                       1.0.1
GDAL                             1.11.4
Genshi                           0.7.7
html5lib                         1.1
iniparse                         0.4

ipaddress                        1.0.16
IPy                              0.75
javapackages                     1.0.0
jdcal                            1.4.1
Jinja2                           2.11.3
LDAPAuthNZPlugin                 1.0

lxml                             3.2.1
MarkupSafe                       1.1.1
MultipleWorkflowPlugin           1.5.3
netCDF4                          1.2.7
netsnmp-python                   1.0a1
nose                             1.3.7
numpy                            1.7.1
openpyxl                         2.6.4

perf                             0.1
pip                              20.3.4
policycoreutils-default-encoding 0.1
pycurl                           7.19.0
Pygments                         2.5.2
pygobject                        3.22.0
pygpgme                          0.3
pyliblzma                        0.5.3
pyparsing                        1.5.6
python-ldap                      2.4.15
python-linux-procfs              0.4.9
pytz                             2023.3
pyudev                           0.15
pyxattr                          0.5.1

schedutils                       0.4
seobject                         0.1
sepolicy                         1.1
setuptools                       0.9.8
six                              1.16.0
slip                             0.4.0
slip.dbus                        0.4.0
SSSDConfig                       1.16.5
textile                          3.0.4
Trac                             1.4.3
TracAccountManager               0.6.dev0
TracAutocompleteUsersPlugin      0.4.7
TracGraphviz                     1.4.0.3
TracLDAPAuth                     1.2.1
TracSensitiveTickets             1.2.4
TracTags                         0.12.1
TracWikiExtras                   1.3.2.dev0
TracWikinfo                      0.2
TracXMLRPC                       1.1.9
urlgrabber                       3.10
webencodings                     0.5.1
wheel                            0.37.1
yum-metadata-parser              1.1.4


Please help me,

Regards
Venu

RjOllos

unread,
Jul 26, 2023, 4:24:07 PM7/26/23
to Trac Users
To start, you need to enable the optional permission policy:

You may have other issues that will be more clear after that step. 
Reply all
Reply to author
Forward
0 new messages