export will not work

40 views
Skip to first unread message

Silvio Schaerig

unread,
May 31, 2012, 4:11:01 AM5/31/12
to wikidpad-devel
Hi,

i use wikipdad 2.4beta4 and i will export my wiki at the command
prompt to a directory. I have read the help-wiki and i think it is
easy! But:

xxx@yyy:~/apps/WikidPad2.3-rc4/WikidPad-2.3beta04-src$ python
WikidPad.py --wiki /home/xxx/workspace/webwiki/index.wiki --export-
what wiki --export-type html_multi --export-compfn --export-dest /home/
xxx/workspace/webwiki/tmp
Traceback (most recent call last):
File "/home/xxx/apps/WikidPad2.3-rc4/WikidPad-2.3beta04-src/
WikidPadStarter.py", line 233, in main
app = App(0)
File "lib/pwiki/MainApp.py", line 110, in __init__
wx.App.__init__(self, *args, **kwargs)
File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/
_core.py", line 7981, in __init__
self._BootstrapApp()
File "/usr/lib/python2.7/dist-packages/wx-2.8-gtk2-unicode/wx/
_core.py", line 7555, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "lib/pwiki/MainApp.py", line 214, in OnInit
return self.initStep2(cmdLine)
File "lib/pwiki/MainApp.py", line 402, in initStep2
self.startPersonalWikiFrame(cmdLine)
File "lib/pwiki/MainApp.py", line 680, in startPersonalWikiFrame
self.globalConfigDir, self.globalConfigSubDir, clAction)
File "lib/pwiki/PersonalWikiFrame.py", line 415, in __init__
cmdLineAction.actionBeforeShow(self)
File "lib/pwiki/CmdLineAction.py", line 181, in actionBeforeShow
self.exportAction(pWiki)
File "lib/pwiki/CmdLineAction.py", line 333, in exportAction
mainControl, None).values():
NameError: global name 'mainControl' is not defined
Traceback (most recent call last):
File "lib/pwiki/WikiTxtCtrl.py", line 1213, in OnStyleNeeded
self.buildStyling(text, 0, threadstop=DUMBTHREADSTOP)
File "lib/pwiki/WikiTxtCtrl.py", line 1548, in buildStyling
formatDetails = docPage.getFormatDetails()
File "lib/pwiki/DocPages.py", line 788, in getFormatDetails
langHelper = wx.GetApp().createWikiLanguageHelper(
AttributeError: 'Error' object has no attribute
'createWikiLanguageHelper'

And i have a Error-Dialog which i can not close with his own contolls!

Urgg, it's not so easy !!

Whats wrong??

Thanx, Silvio

Erik L

unread,
Jan 21, 2015, 1:36:58 PM1/21/15
to wikidpa...@googlegroups.com, scha...@googlemail.com
Might be too late, but maybe try something like this?
(I'm running WikidPad on Linux, from an export script
 - so the "2>~/tmp/wperrors.log" could probably be removed for Windows)
- This still spits out some error messages, but it does export all html pages correctly.


wikidpad --wiki ~/Dropbox/Wikis/MyWiki/MyWiki.wiki --export-saved "export" --exit 2>~/tmp/wperrors.log
Reply all
Reply to author
Forward
0 new messages