Hi-

I am new to Trac.  (And Python/GIT)  ...   Please bear with me ...

I have inherited a Trac system with the following:

1.       Windows based using ISAPI

2.       Trac 0.12.4

3.       GIT  ??

4.       Active Directory for security

5.       Account Manager configuration

6.       SqLLite

7.       No documentation on the security and Trac setup

8.       Python 2.7

There are several projects in the Trac folder which inherit from a global.ini 
file their TRAC setup.

I have particular interest in getting access to view only one of the projects 
on the Wiki.

To note, other pre-existing users can access all the Wiki  projects w/o 
incident.

When I try to access the Trac home page,  I get the following:

No module named log  displayed for the code in the otherwise block displayed 
below for the \.templates\index.html page:

<ul>
        <li py:for="project in projects" py:choose="">
          <a py:when="'href' in project" href="$project.href"
             title="$project.description"><em>$project.name</em></a>
          <py:otherwise>
            <small>$project.name: <em>Error</em> <br /> 
($project.description)</small>
          </py:otherwise>
        </li>
      </ul>

The ($project.description) value is -->   No module named log.

We tried the following with no success:

1.       Place myself in the same Active Directory group as the pre-existing 
users

2.       Grant myself TRAC-ADMIN permission to the particular project in 
question

3.       Isolate the project configuration in question configuration by 
creating a new Trac.ini for it by:

a.       Decoupling the global.ini by collapsing its configuration into one ini 
file by removing

Inherit of the global.ini.  (See ini file snippet below)

4.       Attempted to enable more logging by adding the following lines to the 
Trac.ini:



[logging]

log_file = trac.log

log_level = DEBUG

log_type = file



5.       Attempted to only access the project need by adding its name to the URL

Enclosed below please see a snippet of this ini file.  (I have XXX the 
sensitive info)

I am seeing no logs get written as well ...   :(

This Wiki has limited use and removing security on the Project in question 
could be an option.

Any help or guidance that you could provide for this would be appreciated.

Thanks ....  Paul C.

INI -- BEGIN



# -*- coding: utf-8 -*-



# -- Start of global Section

# -- add account manager section but use # for commented lines instead of a ;



[account-manager]

password_store = ADAuthStore

ad_server = xxxxxxxxxx

base_dn = xxxxxx

bind_dn = xxxxxxxx

bind_passwd = xxxxxxx

# -- already commented out auth_group =

# -- already commented out admin_group =



[attachment]

max_size = 262144

render_unsafe_content = false



[breadcrumbs]

ignore_pattern =

max_crumbs = 6

paths = /wiki*,/ticket*,/milestone*



[browser]

color_scale = True

downloadable_paths = /trunk, /branches/*, /tags/*

hide_properties = svk:merge

intermediate_color =

intermediate_point =

newest_color = (255, 136, 136)

oldest_color = (136, 136, 255)

oneliner_properties = trac:summary

render_unsafe_content = false

wiki_properties = trac:description



[changeset]

max_diff_bytes = 10000000

max_diff_files = 0

wiki_format_messages = true



[components]

breadcrumbsnavplugin.* = enabled

tractoc.* = enabled

tractags.* = enabled

lineno.* = enabled

tracopt.ticket.commit_updater.* = enabled

tracopt.versioncontrol.svn.* = enabled

tracext.git.* = enabled

acct_mgr.api = enabled

acct_mgr.admin.AccountManagerAdminPage = enabled

acct_mgr.web_ui.LoginModule = enabled

trac.web.auth.LoginModule = disabled

permredirect.* = enabled

tracext.adauth.* = enabled

tracsubtickets.api.* = enabled

tracsubtickets.web_ui.* = enabled



# -- Commented out as collapsed into trac specific section below

#[git]

#git_bin = D:/Git/bin/git.exe

#cached_repository = true

#persistent_cache = true

#shortrev_len = 7



[header_logo]

alt = xxxxxx

height = 80

link = /trac

src = xxxxxxxx

width = 253



[inherit]

plugins_dir =

templates_dir =



[logging]

log_file = trac.log

log_level = DEBUG

log_type = file



[milestone]

stats_provider = DefaultTicketGroupStatsProvider



[mimeviewer]

max_preview_size = 262144

mime_map = 
text/x-dylan:dylan,text/x-idl:ice,text/x-ada:ads:adb,text/x-java:java,text/x-xml:wsdd,text/x-xml:jcml,text/x-yaml:yaml,text/x-sql:sql,text/x-ini:properties,application/x-dos-batch:bat,application/x-dos-batch:cmd,text/x-groovy:groovy,text/x-ruby:ru,text/x-ruby:Rakefile,text/x-ruby:Gemfile,text/html:mustache,text/xquery:xquery,text/x-jsp:jsp,text/coffeescript:coffee

pygments_default_style = manni

pygments_modes = text/x-java:java:7, text/x-xml:xml:7, text/x-yaml:yaml:7, 
text/x-sql:sql:7, text/x-java-source:java:7, text/x-ini:ini:7, 
application/x-dos-batch:bat:7, text/x-groovy:groovy:7, text/xquery:xquery:7, 
text/x-jsp:jsp:7, text/coffeescript:coffee-script:7

tab_width = 4

treat_as_binary = 
application/octet-stream,application/pdf,application/postscript,application/rtf



[notification]

admit_domains = xxxxxxxxx

always_notify_owner = false

always_notify_reporter = false

always_notify_updater = true

email_sender = SmtpEmailSender

ignore_domains =

mime_encoding = none

# sendmail_path = sendmail

smtp_always_bcc =

smtp_always_cc =

smtp_default_domain =

smtp_enabled = false

smtp_from = xxxxxxx

smtp_from_name = xxxxxxxxxxxxx

# smtp_password =

smtp_port = 25

smtp_replyto = xxxxxxx

smtp_server = xxxxxxxxxx

smtp_subject_prefix = __default__

# smtp_user =

ticket_subject_template = $prefix #$ticket.id: $summary

use_public_cc = false

use_short_addr = false

use_tls = false



# -- commented out as there is a specific trac section for this

#[project]

#admin =

#admin_trac_url = .

#descr =

#footer = Visit the Trac open source project at<br /><a 
href="http://trac.edgewall.org/";>http://trac.edgewall.org/</a>

#icon = /icon/favicon.ico

#name =

#url =



[query]

default_anonymous_query = status!=closed&cc~=$USER

default_query = status!=closed&owner=$USER

items_per_page = 100

ticketlink_query = ?status=!closed



[report]

items_per_page = 100

items_per_page_rss = 0



[revisionlog]

default_log_limit = 100



[roadmap]

stats_provider = DefaultTicketGroupStatsProvider



[search]

min_query_length = 3



[svn]

branches = trunk,branches/*

tags = tags/*



[ticket]

default_cc =

default_component =

default_description =

default_keywords =

default_milestone =

default_owner =

default_priority = major

default_resolution = fixed

default_severity =

default_summary =

default_type = defect

default_version =

max_comment_size = 262144

max_description_size = 262144

preserve_newlines = default

restrict_owner = false

workflow = ConfigurableTicketWorkflow



[ticket-workflow]

accept = new,assigned,accepted,reopened -> accepted

accept.operations = set_owner_to_self

accept.permissions = TICKET_MODIFY

leave = * -> *

leave.default = 1

leave.operations = leave_status

reassign = new,assigned,accepted,reopened -> assigned

reassign.operations = set_owner

reassign.permissions = TICKET_MODIFY

reopen = closed -> reopened

reopen.operations = del_resolution

reopen.permissions = TICKET_CREATE

resolve = new,assigned,accepted,reopened -> closed

resolve.operations = set_resolution

resolve.permissions = TICKET_MODIFY



[timeline]

abbreviated_messages = True

changeset_collapse_events = false

changeset_long_messages = false

changeset_show_files = 0

default_daysback = 30

max_daysback = 90

newticket_formatter = oneliner

ticket_show_details = false



[trac]

auth_cookie_lifetime = 0

auth_cookie_path =

authz_file =

authz_module_name =

auto_preview_timeout = 2.0

auto_reload = False

backup_dir = db

base_url =

check_auth_ip = false

database = sqlite:db/trac.db

debug_sql = False

default_charset = iso-8859-15

genshi_cache_size = 128

htdocs_location =

ignore_auth_case = false

mainnav = wiki,timeline,roadmap,browser,tickets,newticket,search

metanav = login,logout,prefs,help,about

mysqldump_path = mysqldump

never_obfuscate_mailto = false

permission_policies = DefaultPermissionPolicy, LegacyAttachmentPolicy

permission_store = UserExtensiblePermissionStore

pg_dump_path = pg_dump

# repository_dir =

repository_sync_per_request =

# repository_type = svn

resizable_textareas = true

secure_cookies = False

show_email_addresses = false

show_ip_addresses = false

timeout = 20

use_base_url_for_redirect = False



[wiki]

ignore_missing_pages = false

max_size = 262144

render_unsafe_content = false

split_page_names = false



# -- End of global Section



# -- Start of FairWarning Trac Specific Section

# -- Remove the inherit line and collapse the global.ini file into this one



# -- First 2 lines taken from global.ini

[git]

git_bin = D:/Git/bin/git.exe

#cached_repository = true

#persistent_cache = true

shortrev_len = 7

cached_repository = false

persistent_cache = false



# -- First three lines taken from global section

[project]

admin =

admin_trac_url = .

footer = Visit the Trac open source project at<br /><a 
href="http://trac.edgewall.org/";>http://trac.edgewall.org/</a>

icon = /icon/favicon.ico

descr = xxxxxxxx

name = Fairwarning

url = xxxxxxxxx



[ticket-custom]

parents = text

parents.label = Parent Tickets

vendor_ticket = text

vendor_ticket.format = plain

vendor_ticket.label = Vendor Ticket #



# -- This section commented out as it is in the global section

#[logging]

#log_type = file



# -- End Specific Section



INI -- END

-- 
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 [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/trac-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to