Opened 15 years ago
Closed 14 years ago
#6338 closed defect (worksforme)
Error when using trac-admin upgrade
Reported by: | anonymous | Owned by: | osimons |
---|---|---|---|
Priority: | highest | Component: | FullBlogPlugin |
Severity: | blocker | Keywords: | |
Cc: | Trac Release: | 0.11 |
Description (last modified by )
Error info:
d:\server\web\xampp\python\Scripts>trac-admin d:\management\trac\iqube upgrade Traceback (most recent call last): File "d:\server\web\xampp\python\Scripts\trac-admin-script.py", line 8, in <module> load_entry_point('Trac==0.11.6', 'console_scripts', 'trac-admin')() File "d:\server\web\xampp\python\lib\site-packages\Trac-0.11.6-py2.5-win32.egg\trac\admin\console.py", line 1321, in run return admin.onecmd(command) File "d:\server\web\xampp\python\lib\site-packages\Trac-0.11.6-py2.5-win32.egg\trac\admin\console.py", line 138, in onecmd rv = cmd.Cmd.onecmd(self, line) or 0 File "d:\server\web\xampp\python\lib\cmd.py", line 219, in onecmd return func(arg) File "d:\server\web\xampp\python\lib\site-packages\Trac-0.11.6-py2.5-win32.egg\trac\admin\console.py", line 1159, in do_upgrade self.__env.upgrade(backup=do_backup) File "d:\server\web\xampp\python\lib\site-packages\Trac-0.11.6-py2.5-win32.egg\trac\env.py", line 462, in upgrade self.backup(backup_dest) File "d:\server\web\xampp\python\lib\site-packages\Trac-0.11.6-py2.5-win32.egg\trac\env.py", line 430, in backup return DatabaseManager(self).backup(dest) File "d:\server\web\xampp\python\lib\site-packages\Trac-0.11.6-py2.5-win32.egg\trac\db\api.py", line 120, in backup return connector.backup(dest) File "d:\server\web\xampp\python\lib\site-packages\Trac-0.11.6-py2.5-win32.egg\trac\db\mysql_backend.py", line 173, in backup p = Popen(args, env=environ, stderr=PIPE, close_fds=close_fds) File "D:\server\web\xampp\python\Lib\subprocess.py", line 594, in __init__ errread, errwrite) File "D:\server\web\xampp\python\Lib\subprocess.py", line 816, in _execute_child startupinfo) WindowsError: [Error 2]
Tininks
Attachments (0)
Change History (8)
comment:1 Changed 15 years ago by
comment:2 Changed 15 years ago by
Description: | modified (diff) |
---|
(Fixed formatting of error.)
I don't actually see anything related to the plugin in the traceback, and Windows error number 2 is "The system cannot find the file specified." It can be anything related to your install or config. If you remove the enabling of the FullBlogPlugin in trac.ini
, does the command run without issues? If so (ie. it is plugin stuff it has trouble reading), I'd look at how/where the plugin is installed and check permissions, try installing again etc.
comment:3 Changed 15 years ago by
Thanks for u answer!
My flow 1 Created svn's source to "TracFullBlogPlugin-0.1.1-py2.5.egg" 2 Copy "TracFullBlogPlugin-0.1.1-py2.5.egg" to d:\trac\env\plugins 3 When using trac-admin d:\trac\env\ upgrade
Now,the CMD show the Error messages,then I don't add FullBlogPlugin's enabling in trac.ini.
comment:4 Changed 15 years ago by
If I remove the TracFullBlogPlugin-0.1.1-py2.5.egg form d:\trac\env\plugins, and run "trac-admin d:\trac\env\ upgrade",no error output.
comment:6 Changed 15 years ago by
comment:7 Changed 14 years ago by
I have the saame error before,I think you should put mysql in your $PATH!
comment:8 Changed 14 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
That makes sense. Seen that in the main Trac bugtracker too for some other plugin, and any upgrade will fail if the mysql command cannot be found.
Not a plugin issue.
my trac version 0.11.6 python 2.5 apache 2.2 mysql 5.1