﻿ticket	summary	type	release	owner	status	created	modified	_description	_reporter
9125	Warning: Failed write operation: cannot import name client	defect	0.12	Alex Willmer	new	2011-08-26T04:01:15+02:00	2012-01-24T01:16:59+01:00	"The plugin fails when trying to create a new folder with the error:
`Warning: Failed write operation: cannot import name client`

I did some digging and was able to track down the error
{{{
File: trac_browser_svn_ops/svn_fs.py
        # have to avoid importing this from the svn bindings directly,
        # see #define bug #420
        SubversionConnector(env)
        from trac.versioncontrol.svn_fs import core, fs, repos, client
}}}

The error is fixed if `trac.versioncontrol.svn_fs` is replaced with `svn`, but the comment says that should be avoided, not sure why. If I change the import line, I'm unable to delete files. I get this error:

{{{
Warning: Delete failed: ('The root directory cannot be deleted', 160021)
}}}"	ksariash
11383	Trac detected an internal error:  ImportError: cannot import name core	defect	1.0	Alex Willmer	new	2013-11-12T22:12:59+01:00	2013-11-15T03:18:41+01:00	"{{{
Python Traceback
Most recent call last:

    File ""/usr/lib/python2.6/site-packages/Trac-1.1.2dev_r0-py2.6.egg/trac/web/main.py"", line 497, in _dispatch_request
    File ""/usr/lib/python2.6/site-packages/Trac-1.1.2dev_r0-py2.6.egg/trac/web/main.py"", line 179, in dispatch
    File ""/usr/lib/python2.6/site-packages/Trac-1.1.2dev_r0-py2.6.egg/trac/web/main.py"", line 325, in _pre_process_request
    File ""build/bdist.linux-x86_64/egg/trac_browser_svn_ops/web_ui.py"", line 508, in pre_process_request
    File ""build/bdist.linux-x86_64/egg/trac_browser_svn_ops/web_ui.py"", line 569, in _edit_request
    File ""build/bdist.linux-x86_64/egg/trac_browser_svn_ops/svn_fs.py"", line 13, in __init__
    Code fragment:
    Line	
    8	global fs, repos, delta, _kindmap, client
    9	 
    10	# have to avoid importing this from the svn bindings directly,
    11	# see #define bug #420
    12	SubversionConnector(env)
    13	from trac.versioncontrol.svn_fs import core, fs, repos, client
    14	 
    15	self.repos = repository
    16	self.log = repository.log
    17	self.username = username
    18	
    Local variables:
    Name	Value
    env 	<trac.env.Environment object at 0x7f3f00987250>
    repository 	<tracopt.versioncontrol.svn.svn_fs.SvnCachedRepository object at ...
    self 	<trac_browser_svn_ops.svn_fs.SubversionWriter object at 0x7f3f01b0bbd0>
    username 	u'dhealey@caci.com'

System Information:

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:25.0) Gecko/20100101 Firefox/25.0
Trac 	1.1.2dev-r0
Babel 	0.9.4
Docutils 	0.6
Genshi 	0.6.1 (without speedups)
mod_wsgi 	3.4 (WSGIProcessGroup WSGIApplicationGroup %{GLOBAL})
MySQL 	server: ""5.1.69-log"", client: ""5.1.69"", thread-safe: 1
MySQLdb 	1.2.3c1
Python 	2.6.6 (r266:84292, Jul 10 2013, 06:42:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-3)]
pytz 	2010h
setuptools 	0.6
Subversion 	1.9.0 (under development)
jQuery	1.8.3
Enabled Plugins:
AdvancedTicketWorkflowPlugin 	0.11dev 	/home/webuser/trac.eesohsupport.com_html/plugins/AdvancedTicketWorkflowPlugin-0.11dev-py2.6.egg
ContextMenuPlugin 	0.2dev 	/home/webuser/trac.eesohsupport.com_html/plugins/ContextMenuPlugin-0.2dev-py2.6.egg
HudsonTrac 	0.5 	/home/webuser/trac.eesohsupport.com_html/plugins/HudsonTrac-0.5-py2.6.egg
ImportExportXLS 	0.1.6 	/home/webuser/trac.eesohsupport.com_html/plugins/ImportExportXLS-0.1.6-py2.6.egg
IniAdmin 	0.3 	/home/webuser/trac.eesohsupport.com_html/plugins/IniAdmin-0.3-py2.6.egg
mail2trac 	1 	/usr/lib/python2.6/site-packages/mail2trac-1-py2.6.egg
MultipleWorkflowPlugin 	1.0 	/home/webuser/trac.eesohsupport.com_html/plugins/MultipleWorkflowPlugin-1.0-py2.6.egg
timingandestimationplugin 	1.3.7b 	/home/webuser/trac.eesohsupport.com_html/plugins/timingandestimationplugin-1.3.7b-py2.6.egg
Trac-jsGantt 	0.10 	/home/webuser/trac.eesohsupport.com_html/plugins/Trac_jsGantt-0.10-py2.6.egg
TracAccountManager 	0.5dev 	/home/webuser/trac.eesohsupport.com_html/plugins/TracAccountManager-0.5dev-py2.6.egg
TracBrowserSvnOperations 	0.1 	/home/webuser/trac.eesohsupport.com_html/plugins/TracBrowserSvnOperations-0.1-py2.6.egg
TracCondFields 	2.0 	/home/webuser/trac.eesohsupport.com_html/plugins/TracCondFields-2.0-py2.6.egg
TracCustomFieldAdmin 	0.2.8 	/home/webuser/trac.eesohsupport.com_html/plugins/TracCustomFieldAdmin-0.2.8-py2.6.egg
TracDiscussion 	0.8 	/home/webuser/trac.eesohsupport.com_html/plugins/TracDiscussion-0.8-py2.6.egg
TracDragDrop 	0.12.0.11 	/home/webuser/trac.eesohsupport.com_html/plugins/TracDragDrop-0.12.0.11-py2.6.egg
TracDynamicFields 	2.2.0dev 	/home/webuser/trac.eesohsupport.com_html/plugins/TracDynamicFields-2.2.0dev-py2.6.egg
TracMasterTickets 	3.0.5dev-r0 	/home/webuser/trac.eesohsupport.com_html/plugins/TracMasterTickets-3.0.5dev_r0-py2.6.egg
TracMenusPlugin 	0.1.1 	/home/webuser/trac.eesohsupport.com_html/plugins/TracMenusPlugin-0.1.1-py2.6.egg
TracReportManager 	0.1 	/home/webuser/trac.eesohsupport.com_html/plugins/TracReportManager-0.1-py2.6.egg
tracreposearch 	0.2 	/home/webuser/trac.eesohsupport.com_html/plugins/tracreposearch-0.2-py2.6.egg
TracRevtreePlugin 	0.6.4dev 	/home/webuser/trac.eesohsupport.com_html/plugins/TracRevtreePlugin-0.6.4dev-py2.6.egg
TracScheduler 	0.1 	/home/webuser/trac.eesohsupport.com_html/plugins/TracScheduler-0.1-py2.6.egg
TracSecDl 	0.1.2 	/home/webuser/trac.eesohsupport.com_html/plugins/TracSecDl-0.1.2-py2.6.egg
TracSubTicketsPlugin 	0.2.0.dev-20130917 	/home/webuser/trac.eesohsupport.com_html/plugins/TracSubTicketsPlugin-0.2.0.dev_20130917-py2.6.egg
TracWorkflowAdmin 	0.12.0.2 	/home/webuser/trac.eesohsupport.com_html/plugins/TracWorkflowAdmin-0.12.0.2-py2.6.egg
WorkflowEditorPlugin 	1.2.0dev 	/home/webuser/trac.eesohsupport.com_html/plugins/WorkflowEditorPlugin-1.2.0dev-py2.6.egg
}}}"	dhealey@…
12496	Plugin has no license	task		Alex Willmer	new	2015-08-25T14:52:00+02:00	2015-08-25T14:52:00+02:00	"The plugin currently does not indicate a license. Would you kindly add one? Suggested changes can be found in DevGuide#Licensing. 
"	figaro
