Opened 12 years ago
Last modified 12 years ago
#9125 new defect
Warning: Failed write operation: cannot import name client — at Version 3
| Reported by: | ksariash | Owned by: | Alex Willmer |
|---|---|---|---|
| Priority: | normal | Component: | BrowserSvnOperationsPlugin |
| Severity: | normal | Keywords: | |
| Cc: | Trac Release: | 0.12 |
Description (last modified by )
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)
Change History (3)
comment:1 Changed 12 years ago by
comment:2 Changed 12 years ago by
| Description: | modified (diff) |
|---|
comment:3 Changed 12 years ago by
| Description: | modified (diff) |
|---|
Note: See
TracTickets for help on using
tickets.



Hello, are there any news on that issue ?