Opened 13 years ago
Last modified 12 years ago
#9125 new defect
Warning: Failed write operation: cannot import name client — at Initial Version
Reported by: | ksariash | Owned by: | Alex Willmer |
---|---|---|---|
Priority: | normal | Component: | BrowserSvnOperationsPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.12 |
Description
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)