zim-wiki team mailing list archive
-
zim-wiki team
-
Mailing list archive
-
Message #00218
Re: Zim 0.42-alpha1 (python branch)
Hi Jaap,
here is what I have on Fedora 10:
=== cut here ====
$ ./test.py --full
Test if all modules compile ... ok
testRe (tests.parsing.TestParsing) ... ok
testSplitWords (tests.parsing.TestParsing) ... ok
testTextBuffer (tests.parsing.TestParsing) ... ok
Test Dir object ... ok
Test File object ... ok
Test FileHandle object ... ok
Test Path constructor ... ok
runTest (tests.config.TestHeaders) ... ok
testConfigList (tests.config.testUtils) ... ok
testListDict (tests.config.testUtils) ... ok
Test HTML encoding ... ok
Test exporting wiki format to Html ... ok
Test ParseTree.cleanup_headings() ... ok
Test ParseTree.fromstring() and .tostring() ... ok
testRoundtrip (tests.formats.TestTextFormat) ... ok
testBackward (tests.formats.TestWikiFormat) ... ok
testLink (tests.formats.TestWikiFormat) ... ok
Test wiki parse tree generation. ... ok
testRoundtrip (tests.formats.TestWikiFormat) ... ok
testUnicodeBullet (tests.formats.TestWikiFormat) ... ok
Test Template invalid syntax raises TemplateError ... ok
Test Template processing simple statements without page ... ok
runTest (tests.templates.TestPageProxy) ... ok
runTest (tests.templates.TestTemplate) ... ok
runTest (tests.templates.TestTemplateDict) ... ok
runTest (tests.templates.TestTemplateParam) ... ok
Load all shipped templates for syntax check ... ok
Test we get a proper index ... ok
Test we get a proper index ... ok
Test indexing ... ok
Test indexing ... ok
Test PageTreeStore index interface ... ok
Test PageTreeStore index interface ... ok
Test various notebook methods ... ok
Test notebook.resolve_file() ... ok
Test notebook.resolve_path() ... ok
runTest (tests.notebook.TestPage) ... ok
runTest (tests.notebook.TestPath) ... ok
Walk back and forth through the history ... ok
Test loading a plugin ... ok
testListPlugins (tests.plugins.testPlugins) ... ok
----------------------------------------------------------------------
Ran 42 tests in 2.056s
OK
The Second test:
=== cut here ===
$ ./zim.py
--index /home/USER/Documents/ZimWiki/ManagedServices/notebook.zim
Traceback (most recent call last):
File "./zim.py", line 198, in <module>
main(sys.argv)
File "./zim.py", line 182, in main
handler = zim.NotebookInterface(notebook=args[0])
File "/home/USER/Desktop/pyzim-0.42-alpha1/zim/__init__.py", line 63,
in __init__
self.open_notebook(notebook)
File "/home/USER/Desktop/pyzim-0.42-alpha1/zim/__init__.py", line 96,
in open_notebook
notebook = zim.notebook.get_notebook(notebook)
File "/home/USER/Desktop/pyzim-0.42-alpha1/zim/notebook.py", line 49,
in get_notebook
raise Exception, 'no such notebook: %s' % notebook
Exception: no such
notebook: /home/USER/Documents/ZimWiki/ManagedServices/notebook.zim
=== cut here ====
... and the third one:
=== cut here ===
$ ./zim.py
--server /home/USER/Documents/ZimWiki/ManagedServices/notebook.zim
Traceback (most recent call last):
File "./zim.py", line 198, in <module>
main(sys.argv)
File "./zim.py", line 192, in main
handler = zim.www.Server(*args, **optsdict)
File "/home/USER/Desktop/pyzim-0.42-alpha1/zim/www.py", line 264, in
__init__
self.interface = WWWInterface(notebook, **opts)
File "/home/USER/Desktop/pyzim-0.42-alpha1/zim/www.py", line 89, in
__init__
self.open_notebook(notebook)
File "/home/USER/Desktop/pyzim-0.42-alpha1/zim/__init__.py", line 96,
in open_notebook
notebook = zim.notebook.get_notebook(notebook)
File "/home/USER/Desktop/pyzim-0.42-alpha1/zim/notebook.py", line 49,
in get_notebook
raise Exception, 'no such notebook: %s' % notebook
Exception: no such
notebook: /home/USER/Documents/ZimWiki/ManagedServices/notebook.zim
=== cut ===
Regards,
Yovko Yovkov
On Thu, 2009-04-02 at 00:41 +0200, Jaap Karssenberg wrote:
> All,
>
> Just uploaded a development snapshot dubbed as "alpha1". You can get it
> at http://www.zim-wiki.org/downloads/ .
>
> This snapshot is not nearly ready for day to day usage, and only works
> as a read-only client at the moment. However some early testing would be
> very good. Most of th framework is in place, so index is build in SQLite
> and parsing works. Also included is a proof-of-concept stand-along web
> server which displays zim pages.
>
> For those will to test please run two commands in the source directory
> and let me know any errors:
> $ ./test.py --full
> $ ./zim.py --index /path/to/your/notebook
>
> To run the gui use
> $ ./zim.py /path/to/your/notebook
>
> Webserver can be accessed from the "Tools" menu, or from the commandline by:
> $ ./zim.py --server /path/to/your/notebook
>
> ( Check --help for more commandline options. )
>
> I will now start working on making the editing components work and try
> to get page creation / renaming / moving / deletion right.
>
> Enjoy!
>
> Jaap
>
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~zim-wiki
> Post to : zim-wiki@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~zim-wiki
> More help : https://help.launchpad.net/ListHelp
Follow ups
References