JFTR , have you considered trying WikiImport plugin (web UI rather
than command-line but may be useful ...)
I've used it to import wiki pages using admin panel .
--
Regards,
Olemis.
Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/
Featured article:
Barça es todo CORAZÓN -
http://simelo-es.blogspot.com/2010/12/barca-es-todo-corazon.html
Standard reply : http://trac-hacks.org/wiki/WikiImportPlugin
--
Regards,
Olemis.
Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/
Featured article:
Usar bindings de XAML para mostrar valores de tipos enumerados en
controles WPF -
http://simelo-es.blogspot.com/2010/12/usar-bindings-de-xaml-con-tipos.html
Don't remember right now , sorry. You should try. On failure, consider
these approaches (maybe in this order) :
- Map network drive ... many ways to do so .
- Simple script using Trac XmlRpcPlugin's wiki namespace .
--
Regards,
Olemis.
Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/
Featured article:
On 1/13/2011 3:30 PM, janiv wrote:
> Thanks,
> Tried it.
> Did not work for me.
> I prefer working with the command line.
> I get back to my original question:
>
> I have two environments, I want to import wiki pages from one trac to
> another one.
> On one of my trac I can do dump& load.
This is a Trac >= 0.12 environment.
> On another trac environment I cannot do dump nor load.
This is a Trac < 0.12 environment.
> I get the following error:
> OperationalError: no such table: cache
>
> My commands are as follows:
> trac-admin EssenceSecurity wiki dump E:\Janiv\Wiki\AgiloWiki
> trac-admin EssenceSecurity wiki load E:\Janiv\Wiki\AgiloWiki
>
> Both commands return the same error:
> OperationalError: no such table: cache
This must be the trac-admin script from Trac 0.12, as at one point the
code expects to deal with the `cache` table, which is not present in
Trac databases that have not been upgraded to 0.12.
> The following command works fine for me:
> trac-admin EssenceSecurity wiki list
That command doesn't trigger the use of `cache`.
> Any ideas on how to solve it?
2 possibilities:
- trac-admin E:\Janiv\Wiki\AgiloWiki upgrade
- use a matching version of trac-admin (i.e. from Trac 0.11 or Trac 0.10)
Apparently we don't check for the need to upgrade the environment, for
trac-admin commands...
-- Christian
>> My commands are as follows:
>> trac-admin EssenceSecurity wiki dump E:\Janiv\Wiki\AgiloWiki
>> ...
>
...
> 2 possibilities:
> - trac-admin E:\Janiv\Wiki\AgiloWiki upgrade
I should have written: trac-admin EssenceSecurity upgrade
-- Christian