Issue 1441336
Created on 2006-03-01 22:31 by anonymous, last changed 2019-10-07 00:26 by rouilj.
Messages | |||
---|---|---|---|
msg2196 | Author: [hidden] (anonymous) | Date: 2006-03-01 22:31 | |
When I try to export my tracker I get this: --- roundup> export C:\roundup\export Traceback (most recent call last): File "C:\Python24\Lib\site-packages\roundup\admin.py", line 1356, in run_comma nd ret = function(args[1:]) File "C:\Python24\Lib\site-packages\roundup\admin.py", line 1082, in do_export os.makedirs(dir) File "C:\Python24\lib\os.py", line 156, in makedirs makedirs(head, mode) File "C:\Python24\lib\os.py", line 159, in makedirs mkdir(name, mode) OSError: [Errno 17] File exists: 'C:' --- |
|||
msg2197 | Author: [hidden] (anonymous) | Date: 2006-03-02 01:17 | |
Logged In: NO This is using 1.1.0 with sqlite. |
|||
msg2198 | Author: [hidden] (a1s) | Date: 2006-03-02 06:18 | |
Logged In: YES user_id=8719 you cannot use windows notation of "current directory on drive c" for export. please specify either relative path (no drive letter) or full absolute path with backslash after drive name. |
|||
msg2199 | Author: [hidden] (anonymous) | Date: 2006-03-02 21:36 | |
Logged In: NO a1s, My bug was not a bad one, although you are partially correct. Please look at this log below. Notice that it works without quotation marks in one place, but not the other? I would still consider it a bug. --- C:\Python24\Scripts>roundup-admin.bat Roundup 1.1.0 ready for input. Type "help" for help. Note: command history and editing not available roundup> help Usage: help topic Give help about topic. commands -- list commands <command> -- help specific to a command initopts -- init command options all -- all available help roundup> export Enter tracker home: C:\roundup\trackers\misas Error: Not enough arguments supplied Usage: export [class[,class]] export_dir Export the database to colon-separated-value files. Optionally limit the export to just the names classes. This action exports the current data from the database into colon-separated-value files that are placed in the nominated destination directory. roundup> export "C:\roundup\export" roundup> export C:\roundup\export Traceback (most recent call last): File "C:\Python24\Lib\site-packages\roundup\admin.py", line 1356, in run_comma nd ret = function(args[1:]) File "C:\Python24\Lib\site-packages\roundup\admin.py", line 1082, in do_export os.makedirs(dir) File "C:\Python24\lib\os.py", line 156, in makedirs makedirs(head, mode) File "C:\Python24\lib\os.py", line 159, in makedirs mkdir(name, mode) OSError: [Errno 17] File exists: 'C:' roundup> --- So, I did manage to get an export, and thank you for that! :) But it's still a bug. |
|||
msg2200 | Author: [hidden] (a1s) | Date: 2006-03-03 08:56 | |
Logged In: YES user_id=8719 parsing command line in roundup-admin shell is not consistent with command line arguments. if i run export from command line like 'roundup-admin export C:\roundup\export' it works ok, but the same command entered at roundup-admin prompt raises error shown above. the culprit is the token module eating up backslashes: >>> from roundup import token >>> token.token_split("export C:\\roundup\\export") ['export', 'C:\roundupexport'] |
|||
msg5862 | Author: [hidden] (rouilj) | Date: 2016-07-17 00:13 | |
Does this work if the user uses: c:/roundup/export AFAIK the underlying windows calls will use either \ or /. If so we can document it and move on. |
|||
msg6704 | Author: [hidden] (rouilj) | Date: 2019-10-07 00:26 | |
Added reference to this ticket to admin_guide.txt in the first export reference in the migrate backend workflow. Use can try using command line only (not interactive) using / rather than \ path separators. |
History | |||
---|---|---|---|
Date | User | Action | Args |
2019-10-07 00:26:21 | rouilj | set | status: open -> closed resolution: abandoned messages: + msg6704 |
2016-07-17 00:13:04 | rouilj | set | nosy:
+ rouilj messages: + msg5862 |
2006-03-01 22:31:44 | anonymous | create |