Hi!

I've just upgraded to MoinMoin 1.6.1. 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?


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.


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:

$ 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 1050400
Returned. New rev is 1050500.
Calling migration script for /usr/local/www/vhost/chime/moin/wiki/data, base 
revision 1050500
Returned. New rev is 1050600.
Calling migration script for /usr/local/www/vhost/chime/moin/wiki/data, base 
revision 1050600
Returned. New rev is 1050700.
Calling migration script for /usr/local/www/vhost/chime/moin/wiki/data, base 
revision 1050700
Returned. New rev is 1050800.
Calling migration script for /usr/local/www/vhost/chime/moin/wiki/data, base 
revision 1050800
Returned. New rev is 1059999.
Calling migration script for /usr/local/www/vhost/chime/moin/wiki/data, base 
revision 1059999
You must first edit /usr/local/www/vhost/chime/moin/wiki/data/rename1.txt.
For editing it, please use an editor that is able to edit UTF-8 encoded files.
Carefully edit - the fields are separated by a | char, do not change this!
Entries in this file look like:
PAGE OLDPAGENAME NEWPAGENAME
FILE OLDPAGENAME OLDFILENAME NEWFILENAME
You may ONLY edit the rightmost field (the new name - in case you want to 
rename the page or file).

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'.


Thanks for your support!

// George


-- 
George Georgalis, information system scientist <IXOYE><

-------------------------------------------------------------------------
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