> I've just upgraded to MoinMoin 1.6.1.

Then please upgrade to 1.6.3 now for security reasons (see
MoinMoin:SecurityFixes).

>  This was from a backup copy
> of my data and config; due to a hardware failure I'm not sure what
> moin version I started with but the install was 6 to 18 months old
> and from pkgsrc.
> 
> Seems to be working just fine! But I have a question and two
> comments.
> 
> In the old install I configured InterWiki and Apache so that
> this wiki text LINK:/usr/local/software/R/dot.Renviron would be
> this link http://hostname/usr/local/software/R/dot.Renviron and
> download from the filesystem. But the new interpreter parses
> that to http://hostname/usr/local/software/R/dot and the link is
> broken. What can be done?

The interwiki link parsing was made to behave similar as link parsing.
If it doesn't detect the end like you wish, use [[...]] notation.

(it is hard to do it automatically right for all sorts of punctiation
marks)

> I use mod_python and I realize this isn't a moin issue,
> but the upgrade would have been much smoother if the httpd.conf
> change for apache 2.2 upgrade:
> 
> #PythonHandler MoinMoin.request::RequestModPy.run
>  PythonHandler MoinMoin.request.request_modpython::Request.run
> 
> was mentioned in docs/CHANGES or docs/README.migration
> ....seems a lot of people have tripped over this.

This is not only a mod_python thing. It is expected for all server
methods that you upgrade the adaptor code from wiki/server/...

> Maybe the moin migration output will help with some logic in it; I think
> it was incorrect where it says "re-issue the moin migrate command" below:

You need to re-issue the command to do the real migration, of course it
shouldn't crash.

> After you have finished editing, rename the file to 
> /usr/local/www/vhost/chime/moin/wiki/data/rename2.txt and re-issue the moin 
> migrate command.
> Final mig script reached, migration is complete.
> $ moin --config-dir=/usr/local/www/vhost/chime/moin/wiki/  
> --wiki-url=intra.metXX.net/wiki/ migration data
> Calling migration script for /usr/local/www/vhost/chime/moin/wiki/data, base 
> revision 1059999
> Traceback (most recent call last):
>   File "/usr/pkg/bin/moin", line 6, in ?
>     run()
>   File "/usr/pkg/lib/python2.4/site-packages/MoinMoin/script/moin.py", line 
> 15, in run
>     MoinScript().run(showtime=0)
>   File "/usr/pkg/lib/python2.4/site-packages/MoinMoin/script/__init__.py", 
> line 138, in run
>     self.mainloop()
>   File "/usr/pkg/lib/python2.4/site-packages/MoinMoin/script/__init__.py", 
> line 251, in mainloop
>     plugin_class(args[2:], self.options).run() # all starts again there
>   File "/usr/pkg/lib/python2.4/site-packages/MoinMoin/script/__init__.py", 
> line 138, in run
>     self.mainloop()
>   File 
> "/usr/pkg/lib/python2.4/site-packages/MoinMoin/script/migration/data.py", 
> line 48, in mainloop
>     curr_rev = execute(self, data_dir, curr_rev)
>   File 
> "/usr/pkg/lib/python2.4/site-packages/MoinMoin/script/migration/1059999.py", 
> line 34, in execute
>     shutil.move(data_dir, src_data_dir)
>   File "/usr/pkg/lib/python2.4/shutil.py", line 189, in move
>     raise Error, "Cannot move a directory '%s' into itself '%s'." % (src, dst)
> shutil.Error: Cannot move a directory 
> '/usr/local/www/vhost/chime/moin/wiki/data' into itself 
> '/usr/local/www/vhost/chime/moin/wiki/data.pre160'.

Strange error msg.
If you have something named data.pre160 there, remove it.




-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Moin-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/moin-user

Reply via email to