Description
I have used the MacroMarket/Form macro with the example "recipes". In moin-1.6.2 it worked as described, but no longer in moin-1.7.1.
Fixed 2008-07-29 RudolfReuter with version 0.9alpha:
- changes in moin-1.7.1:
- MoinMoin/wikidicts.py - Function get_dict was dropped
- MoinMoin/wikiutil.py - Function renderText, 4th parameter dropped
In case of an index error it might help to clear the dicts_group cache (2008-07-31):
stop the wiki server rm wiki/data/cache/wikiconfig/wikidicts/dicts_groups start the wiki server
hmm. if this happens after migration then I assume the reason for the problem was that not moin maint cleancache was called or was it? It ist better to clean the other cache files too. -- ReimarBauer 2008-07-31 14:35:12
Steps to reproduce
Setup:
For test purposes I am using Windows XP SP3 and moin-1.6.2 and moin-1.7.1. Under moin-1.6.2 I installed the sample pages from MacroMarket/Form, with the form.py macro in /wiki/data/plugin/macro. That works fine, as described in the wiki moinmo.in.
I have tried it also under Linux (Ubuntu 8.04, Python 2.5.2), with the same result. 2008-07-28 Rudolf Reuter
Target:
Now I want to move those pages to the new moin-1.7.1:
- I started moin.py in moin-1.6.2 as desktop server, worked OK.
- I opened a command window and run:
G:\INSTALL\Python\Moin\moin-1.7.1>MoinMoin\script\moin.py --config-dir=G:/INSTAL L/Python/Moin/moin-1.7.1 --wiki-url=http://localhost:8080 migration data
2008-07-26 15:52:20,562 WARNING MoinMoin.log:120 using logging configuration rea d from built-in fallback in MoinMoin.log module!
2008-07-26 15:52:20,750 INFO MoinMoin.config.multiconfig:124 using wiki config:
G:\INSTALL\Python\Moin\moin-1.7.1\wikiconfig.pyc Calling migration script for G:\INSTALL\Python\Moin\moin-1.7.1\wiki\data, base r evision 1070100
Final mig script reached, migration is complete.
- But nothing really happened
- Then I copied all private pages from moin-1.6.2/wiki/data/pages
to moin-1.7.1/wiki/data/pages and cleared also the cache folder of each page (not "lock").
- Now I can search for the pages and can see then. But when I open a page
- that needs the form.py macro I get a traceback with an index error. By tracing in moinmoin\wikidicts.py I can see that in "self.dictdict" only the "underlay" pages are listed, not my private pages. When I do the same trace in moin-1.6.2 I can see my private pages listed in "self.dictdict".
What can I do to make the private pages work with the form.py macro as in moin-1.6.2?
I hope, I expressed myself in a way that could be understood. If not, please tell me.
Greeting Rudi48
Example
Component selection
- general
Details
MoinMoin Version |
1.7.1/1.8.1 |
OS and Version |
Windows XP SP3 |
Python Version |
2.5.2 |
Server Setup |
standalone |
Server Details |
desktop |
Language you are using the wiki in (set in the browser/UserPreferences) |
en |
Workaround
At the moment I have no idea.
Discussion
Plan
- Priority:
- Assigned to:
- Status: