Pro Projects with Custom XSL Procedure
Record existing Format Baselines
We recommend that before uninstalling your previous version of ePublisher that you take the following steps:
- Create a copy of your Projects directory as a backup.
- Make sure that all your production projects have been set up as Express Projects using standalone stationery.
- If you haven't done so already, make sure that all Stationery is saved as Standalone Stationery.
- If you have projects that included overrides to XSLT or other "Formats" files, then you should follow the procedures outlined in this HelpCenter article.
Migration of Pro Projects to 9.3
The following steps provide experienced ePublisher users with a clear upgrade path. Specifically, this applies to ePublisher Pro Master projects with custom overrides of version 9.x installation files (XSL, XML, Page.asp, etc.). The complexity of this procedure is related to the total number of project overrides, along with the nature and number of changes (if any) to the overridden files in ePublisher Pro 9.3. That is, if you didn't make many changes, and we didn't make any changes, then your job will be easier.
NOTE: These steps should be performed prior to upgrading to 9.3.
Collect all version specific files in one location.
Locate and copy the installed Formats folder to a safe location with the current version number noted:
copy "C:\Program Files\WebWorks\ePublisher Pro\Formats" to "C:\Documents and Settings\<user>\Desktop\ePublisher Pro 9.2.2\Formats"
Duplicate all Master projects (.wep), and save copies in the same version folder:
copy "Z:\My Documents\ePublisher Pro Projects" to "C:\Documents and Settings\<user>\Desktop\ePublisher Pro 9.2.2\My Projects"
- Uninstall all ePublisher products.
- Install new ePublisher products.
If you have project overrides, perform a three-way merge using your existing Master project override files, the original 9.2.2 Format files, and the new 9.3 Format files. The idea is to upgrade your overrides by applying similar changes (where appropriate) to the newest versions of those files, and to save the resultant merged file with your new Master project for use with 9.3.
Possible tools for this operation are:
- Araxis Merge Pro (http://www.araxis.com/merge/)
- KDiff3 (http://kdiff3.sourceforge.net/)
- Once your overrides have been replicated on copies of the version 9.3 Format files, test your output to ensure you are getting the expected results. If issues crop up, compare pre-existing 9.2.2 overrides (from the backup folder created in Step 1) to the new overrides you just created for 9.3.
--> -->
ValueError
list.remove(x): x not in list
If you want to report a bug, please save this page and attach it to your bug report.
Traceback
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/webworks/wiki/lib/python2.5/site-packages/MoinMoin/request/__init__.py in run (self=<MoinMoin.request.request_wsgi.Request object at 0x675fef0>)
- 1309 self.page.send_page()
- 1310 else:
- 1311 handler(self.page.page_name, self)
- 1312
- 1313 # every action that didn't use to raise MoinMoinFinish must call this now:
- handler = <function do_show at 0x117a370>
- self = <MoinMoin.request.request_wsgi.Request object at 0x675fef0>
- self.page = <MoinMoin.Page.Page object at 0x675f8b0>
- self.page.page_name = u'DevCenter/Documentation/ePublisher_9.3/Upgrading/Pro_Projects_with_Custom_XSL_Procedure'
/webworks/wiki/lib/python2.5/site-packages/MoinMoin/action/__init__.py in do_show (pagename=u'DevCenter/Documentation/ePublisher_9.3/Upgrading/Pro_Projects_with_Custom_XSL_Procedure', request=<MoinMoin.request.request_wsgi.Request object at 0x675fef0>, content_only=0, count_hit=1, cacheable=1, print_mode=0)
- 251 count_hit=count_hit,
- 252 print_mode=print_mode,
- 253 content_only=content_only,
- 254 )
- 255
- content_only = 0
/webworks/wiki/lib/python2.5/site-packages/MoinMoin/Page.py in send_page (self=<MoinMoin.Page.Page object at 0x675f450>, **keywords={'content_only': 0, 'count_hit': 1, 'print_mode': 0})
- 1199 format_args=pi['formatargs'],
- 1200 do_cache=do_cache,
- 1201 start_line=pi['lines'])
- 1202
- 1203 # check for pending footnotes
- start_line undefined
- pi = {'acl': <MoinMoin.security.AccessControlList instance at 0x675d5d0>, 'format': 'wiki', 'formatargs': '', 'language': 'en', 'lines': 1}
/webworks/wiki/lib/python2.5/site-packages/MoinMoin/Page.py in send_page_content (self=<MoinMoin.Page.Page object at 0x675f450>, request=<MoinMoin.request.request_wsgi.Request object at 0x675fef0>, body=u'{{{#!rst\n======================================\n...s=80, articleview=1, tablewidth=500, notify=1)>>\n', format='wiki', format_args='', do_cache=1, **kw={'start_line': 1})
- 1287 try:
- 1288 code = self.loadCache(request)
- 1289 self.execute(request, parser, code)
- 1290 except Exception, e:
- 1291 if not is_cache_exception(e):
- self = <MoinMoin.Page.Page object at 0x675f450>
- self.execute = <bound method Page.execute of <MoinMoin.Page.Page object at 0x675f450>>
- request = <MoinMoin.request.request_wsgi.Request object at 0x675fef0>
- parser = <MoinMoin.parser.text_moin_wiki.Parser instance at 0x675d3f0>
- code = <code object <module> at 0x1f189b0, file "DevCen.../Pro_Projects_with_Custom_XSL_Procedure", line 2>
/webworks/wiki/lib/python2.5/site-packages/MoinMoin/Page.py in execute (self=<MoinMoin.Page.Page object at 0x675f450>, request=<MoinMoin.request.request_wsgi.Request object at 0x675fef0>, parser=<MoinMoin.parser.text_moin_wiki.Parser instance at 0x675d3f0>, code=<code object <module> at 0x1f189b0, file "DevCen.../Pro_Projects_with_Custom_XSL_Procedure", line 2>)
- 1318 __file__ = os.path.join(MoinMoin.__loader__.archive, 'dummy')
- 1319 try:
- 1320 exec code
- 1321 except "CacheNeedsUpdate": # convert the exception
- 1322 raise Exception("CacheNeedsUpdate")
- code = <code object <module> at 0x1f189b0, file "DevCen.../Pro_Projects_with_Custom_XSL_Procedure", line 2>
/DevCenter/Documentation/ePublisher_9.3/Upgrading/Pro_Projects_with_Custom_XSL_Procedure in
() /webworks/wiki/lib/python2.5/site-packages/MoinMoin/formatter/__init__.py in macro (self=<MoinMoin.formatter.text_html.Formatter instance at 0x675dd28>, macro_obj=<MoinMoin.macro.Macro instance at 0x675d468>, name=u'PageComment2', args=u'markup=1, newerfirst=1, rows=4, cols=80, articleview=1, tablewidth=500, notify=1', markup=u'<<PageComment2(markup=1, newerfirst=1, rows=4, cols=80, articleview=1, tablewidth=500, notify=1)>>')
- 308 # call the macro
- 309 try:
- 310 return macro_obj.execute(name, args)
- 311 except ImportError, err:
- 312 errmsg = unicode(err)
- macro_obj = <MoinMoin.macro.Macro instance at 0x675d468>
- macro_obj.execute = <bound method Macro.execute of <MoinMoin.macro.Macro instance at 0x675d468>>
- name = u'PageComment2'
- args = u'markup=1, newerfirst=1, rows=4, cols=80, articleview=1, tablewidth=500, notify=1'
/webworks/wiki/lib/python2.5/site-packages/MoinMoin/macro/__init__.py in execute (self=<MoinMoin.macro.Macro instance at 0x675d468>, macro_name=u'PageComment2', args=u'markup=1, newerfirst=1, rows=4, cols=80, articleview=1, tablewidth=500, notify=1')
- 126 else:
- 127 raise ImportError("Cannot load macro %s" % macro_name)
- 128 return execute(self, args)
- 129
- 130 def _m_lang(self, text):
- execute = <function execute at 0x4777ab0>
- self = <MoinMoin.macro.Macro instance at 0x675d468>
- args = u'markup=1, newerfirst=1, rows=4, cols=80, articleview=1, tablewidth=500, notify=1'
/Volumes/Projects-Wiki/wiki.wiki/data/plugin/macro/PageComment2.py in execute (macro=<MoinMoin.macro.Macro instance at 0x675d468>, args=u'markup=1, newerfirst=1, rows=4, cols=80, articleview=1, tablewidth=500, notify=1')
/Volumes/Projects-Wiki/wiki.wiki/data/plugin/macro/PageComment2.py in setglobalvalues (macro=<MoinMoin.macro.Macro instance at 0x675d468>)
ValueError
list.remove(x): x not in list
- args = ('list.remove(x): x not in list',)
- message = 'list.remove(x): x not in list'
System Details
- Date: Wed, 23 May 2012 08:37:50 +0000
- Platform: Darwin hulahut 10.8.0 Darwin Kernel Version 10.8.0: Tue Jun 7 16:32:41 PDT 2011; root:xnu-1504.15.3~1/RELEASE_X86_64 x86_64
- Python: Python 2.5.4 (/webworks/wiki/bin/python)
- MoinMoin: Release 1.8.4 (release)
