Ok.. if it is empty, the plugin doesn't work. But, if I put /, I can see the groups defined at the SVN file.
I didn't understood what the field authz_module_name means. What should I put there? On 28 maio, 16:56, rupert thurner <[EMAIL PROTECTED]> wrote: > authz_module_name = > > seems to be wrong. we use a string, no "/", or empty. > > br José Renato escreveu: > > > I'm trying to use this plugin, but only part of the plugin is working. > > > At my WebAdmin page, at the Subversion > Subversion Access section, I > > can see the groups of subversion file that I created, but I can't see > > the permissions per subversion paths, at the Subversion Paths list. > > > And, when I tried to create a new Path using Add Path (for exemplo, > > trunk), no error message is displayed, but, when I tried to do > > something with this path, this message appeared: > > > Traceback (most recent call last): > > File "c:\arquivos de programas\phyton24\lib\site-packages\TraM-0.1- > > py2.4.egg\tram\main.py", line 252, in dispatch_request > > dispatcher.dispatch(req) > > File "C:\Arquivos de programas\Phyton24\Lib\site-packages\trac\web > > \main.py", line 237, in dispatch > > resp = chosen_handler.process_request(req) > > File "c:\arquivos de programas\phyton24\lib\site-packages > > \TracWebAdmin-0.1.2dev_r6060-py2.4.egg\webadmin\web_ui.py", line 119, > > in process_request > > path_info) > > File "build\bdist.win32\egg\svnauthz\admin_ui.py", line 70, in > > process_admin_request > > File "build\bdist.win32\egg\svnauthz\admin_ui.py", line 320, in > > _edit_path > > File "C:\Arquivos de programas\Phyton24\lib\nturl2path.py", line 26, > > in url2pathname > > raise IOError, error > > IOError: Bad URL: ////|/trunk > > > ---------------------- > > this is a piece of my log file: > > > Trac[TEST.db:loader] DEBUG: Loading egg plugin svnauthz.SvnAuthzFile > > from c:\arquivos de programas\phyton24\lib\site-packages > > \svnauthzadminplugin-0.1-py2.4.egg > > Trac[TEST.db:loader] ERROR: Failed to load plugin > > svnauthz.SvnAuthzFile from c:\arquivos de programas\phyton24\lib\site- > > packages\svnauthzadminplugin-0.1-py2.4.egg > > Traceback (most recent call last): > > File "C:\Arquivos de programas\Phyton24\Lib\site-packages\trac > > \loader.py", line 101, in load_components > > entry_point.load() > > File "c:\arquivos de programas\phyton24\lib\site-packages > > \setuptools-0.6c8-py2.4.egg\pkg_resources.py", line 1912, in load > > entry = __import__(self.module_name, globals(),globals(), > > ['__name__']) > > ImportError: No module named SvnAuthzFile > > > ------------------------ > > this is my ini file (of this environment): > > [header_logo] > > height = -1 > > src = common/trac_banner.png > > width = -1 > > > [project] > > descr = Projeto de teste dos meus plugins > > name = TEST > > > [trac] > > repository_dir = e:\SCM\REPOSITORIOS\TEST > > > ---------------------- > > this is my ini file (placed at /shared/trac/conf): > > [account-manager] > > password_file = E:\SCM\auth\users > > password_store = HtPasswdStore > > > [attachment] > > max_size = 262144 > > render_unsafe_content = false > > > [browser] > > downloadable_paths = /trunk, /branches/*, /tags/* > > hide_properties = svk:merge > > render_unsafe_content = false > > > [changeset] > > max_diff_bytes = 10000000 > > max_diff_files = 0 > > wiki_format_messages = true > > > [components] > > * = enabled > > > [customsetup] > > project_defaults_ini = E:\SCM\TRAC_DEFAULTS\defaults.ini > > > [header_logo] > > alt = Subversion - Ir para pagina do Reposit�rio > > link =http://jrpajr.no-ip.info/svn/ > > > [intertrac] > > # -- SCA > > projSCA = sca > > > # -- Link to an external Trac: > > sca.title = Sistema de Controle de Captacao de Alunos > > sca.url =http://localhost/trac/SCA.db > > > [logging] > > log_file = trac.log > > log_format = Trac[$(basename)s:$(module)s] $(levelname)s: $(message)s > > log_level = DEBUG > > log_type = file > > > [mimeviewer] > > enscript_modes = text/x-dylan:dylan:4 > > enscript_path = enscript > > max_preview_size = 262144 > > mime_map = text/x-dylan:dylan,text/x-idl:ice,text/x-ada:ads:adb > > php_path = php > > silvercity_modes = > > tab_width = 8 > > > [notification] > > always_notify_owner = false > > always_notify_reporter = false > > always_notify_updater = true > > mime_encoding = base64 > > smtp_always_bcc = > > smtp_always_cc = > > smtp_default_domain = > > smtp_enabled = false > > smtp_from = [EMAIL PROTECTED] > > smtp_password = > > smtp_port = 25 > > smtp_replyto = [EMAIL PROTECTED] > > smtp_server = localhost > > smtp_subject_prefix = __default__ > > smtp_user = > > use_public_cc = false > > use_short_addr = false > > use_tls = false > > > [project] > > footer = Visit the Trac open source project at<br /><a href="http:// > > trac.edgewall.org/">http://trac.edgewall.org/</a> > > icon = common/trac.ico > > url =http://example.org/ > > > [search] > > min_query_length = 3 > > > [svnauthzadmin] > > show_all_repos = true > > > [ticket] > > default_component = > > default_milestone = > > default_priority = major > > default_type = defect > > default_version = > > restrict_owner = true > > > [ticket-custom] > > action_item = text > > action_item.label = Action Item > > billable = checkbox > > billable.label = Billable? > > billable.order = 3 > > billable.value = 0 > > estimatedhours = text > > estimatedhours.label = Estimated Number of Hours > > estimatedhours.order = 1 > > estimatedhours.value = 0 > > hours = text > > hours.label = Add Hours to Ticket > > hours.order = 2 > > hours.value = 0 > > totalhours = text > > totalhours.label = Total Hours > > totalhours.order = 4 > > totalhours.value = 0 > > > [timeline] > > changeset_long_messages = true > > changeset_show_files = -1 > > default_daysback = 30 > > ticket_show_details = true > > > [trac] > > authz_file = E:\SCM\auth\svn_rules > > authz_module_name = / > > base_url = > > check_auth_ip = true > > database = sqlite:db/trac.db > > default_charset = iso-8859-15 > > default_handler = WikiModule > > htdocs_location = > > ignore_auth_case = false > > mainnav = wiki,timeline,roadmap,browser,tickets,newticket,search > > metanav = login,logout,settings,help,about > > permission_store = DefaultPermissionStore > > repository_type = svn > > timeout = 20 > > > [wiki] > > ignore_missing_pages = true > > render_unsafe_content = false > > split_page_names = false > > > ------------------------------- > > this is my svn auth file: > > [groups] > > group_adm = JoseRenato > > group_guest = Guest > > > [/] > > @group_adm = rw > > @group_guest = r > > > [TEST:/] > > @group_adm = rw --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/trac-users?hl=en -~----------~----~----~----~------~----~------~--~---
