[Moin-user] Can't get the GUI editor to work
Dave Hodgman
dhodgman at linkme.com.au
Mon Sep 10 23:35:53 EDT 2007
Hi all,
probably just a moin/python newbie question here. I've got moinmoin mostly
working on a new machine but can't get the GUI editor to run.
I'm assuming that moin still needs pyxml so I've tried to install it using
PyXML-0.8.4.win32-py2.4.exe but this doesn't work because I'm using python
2.5.
My next stop was to try to build and install from the pyxml source but was
then getting complaints about the wrong compiler.
I'm getting sick of hitting one road block after another and would
appreciate some advice before I waste any more time on this. Where do I go
from here? Do I go back to python 2.4? Or do I try to manually install
pyxml? And how? Or do I not need pyxml anyway?
The diagnostics output below might help I guess. Any help you can give me
would be much appreciated.
MoinMoin Diagnosis
======================
Release 1.5.8
Revision release
Python version 2.5.1 (r251:54863, Apr 18 2007, 08:51:08) [MSC v.1310 32 bit
(Intel)]
Python installed to F:\Python25
PyXML is NOT installed
Python Path:
F:/moin/wikime
F:/moin/lib/site-packages
F:\moin\wikime
F:\WINDOWS\system32\python25.zip
F:\Python25\DLLs
F:\Python25\lib
F:\Python25\lib\plat-win
F:\Python25\lib\lib-tk
F:\Python25
F:\Python25\lib\site-packages
F:/moin/Lib/site-packages
Checking directories...
data directory tests OK (set to 'F:\moin\wikime\data')
user directory tests OK (set to 'F:\moin\wikime\data\user')
Server Environment:
ONLY AVAILABLE FOR LOCAL REQUESTS ON THIS HOST!
Unit Tests:
error: access error like a dict ... ok
error: create with encoded string ... ok
error: create with any object ... ok
error: create with unicode ... ok
new locking: NoLockingForReading tests if files still work when filename is
target of a rename ... ERROR
ERROR
testQuoting (MoinMoin._tests.test_packages.QuotingTestCase) ... ok
testBasicPackageThings (MoinMoin._tests.test_packages.UnsafePackageTestcase)
... ERROR
Page: page.exists() finds existing pages only ... ok
PageEditor: expand @USERNAME@ CamelCase ... ok
PageEditor: expand @USERNAME@ extended name - enabled ... ok
PageEditor: expand @MAILTO@ ... ok
PageEditor: expand user variables ... ok
PageEditor: expand general variables ... ok
pysupport: import existing wiki plugin ... ok
pysupport: import name from existing module ... ok
pysupport: import nonexistent attritbue raises AttributeError ... ok
pysupport: import nonexistent module raises ImportError ... ok
pysupport: import nonexistent wiki plugin fail ... ok
request: normalize pagename: restrict groups to alpha numeric Unicode ... ok
request: httpDate default rfc1123 ... ok
request: httpDate rfc850 ... ok
request: normalize pagename: normalize slashes ... ok
request: normalize pagename: normalize whitespace ... ok
request: normalize pagename: remove invalid unicode chars ... ok
request: normalize pagename: underscore convert to spaces and normalized ...
ok
search: quoting bug - unquoted terms ... ok
search: quoting bug - quoted terms ... ok
user: encode ascii password ... ok
user: encode unicode password ... ok
user: isValidName: reject group names ... ok
user: isValidName: reject unicode non alpha numeric characters ... ok
user: isValidName: accept names in any language, with spaces ... ok
user: isValidName: reject leading, trailing or multiple whitespace ... ok
user: login with ascii password ... ok
user: login with non-ascii password in pre 1.3 user file ... ok
user: login replace old non-ascii password in pre 1.3 user file ... ok
user: login with non-ascii password ... ok
util.lock: ExclusiveLock: acquire ... ok
util.lock: ExclusiveLock: acquire after timeout ... ok
util.lock: os.stat().mtime consistency with time.time() ... ok
util.lock: ExclusiveLock: lock is exclusive ... ok
util.lock: ExclusiveLock: exists ... ok
util.lock: ExclusiveLock: expire ... FAIL
util.lock: ExclusiveLock: isExpired ... FAIL
util.lock: ExclusiveLock: isLocked ... ok
util.lock: ExclusiveLock: release ... ok
util.lock: ExclusiveLock: raise ValueError for timeout < 2.0 ... ok
util.mail: encode address: 'Phrase <local at domain>' ... ok
util.mail: encode Uncode address: 'ויקי <local at domain>' ... ok
util.mail: encode address with empty address: 'Phrase <>' ... ok
util.mail: encode address with empty phrase: '<local at domain>' ... ok
util.mail: encode invalid address 'Phrase <blah' ... ok
util.mail: encode simple address: local at domain ... ok
util.mail: decoding spam safe mail ... ok
util.web: make query sting from argument ... ok
util.web: make query sting from argument and keywords ... ok
util.web: make query sting from keywords ... ok
util.web: creating html select with no selection ... ok
util.web: creating html select with non existing selection ... ok
util.web: creating html select with selected item ... ok
widget.html: append to and extend composite element ... ok
widget.html: creating html widgets ... ok
widegt.html: invalid attributes raises exception ... ok
wikiacl: allow extra white space between entries ... ok
wikiacl: bad guy may not allowed anything ... ok
wikiacl: default meta acl ... ok
wikiacl: empty acl string raise StopIteration ... ok
wikiacl: empty names with rights ... ok
wikiacl: empty rights ... ok
wikiacl: ignore rights not in acl_rights_valid ... ok
wikiacl: ignore invalid acl ... ok
wikiacl: mixed wiki names and names with spaces ... ok
wikiacl: acl modifiers ... ok
wikiacl: multiple entries ... ok
wikiacl: multiple entries with spaces ... ok
wikiacl: multiple names with spaces ... ok
wikiacl: single name with spaces ... ok
wikiacl: single wiki name, single right ... ok
wikiacl: white space acl string raise StopIteration ... ok
wikiacl: applying acl by user name ... ok
wikidicts: create dict from keys and values in text ... ok
wikidict: names in SystemPagesGroup should be in request.dicts ... ok
wikidicts: initFromText: CamelCase links ... ok
wikidicts: initFromText: extended link ... ok
wikidicts: initFromText: extended names ... ok
wikidicts: initFromText: ignore anything but first level list itmes ... ok
wikidicts: initFromText: ignore non first level items ... ok
wikidicts: initFromText: strip whitespace around items ... ok
wikimacro: trivial macro works ... ok
wikiutil: good system page names accepted, bad rejected ... ok
wikiutil: good template names accepted, bad rejected ... ok
wikixml.marshal: create new marshal ... ok
wikixml.marshal: setting marshal property ... ok
======================================================================
ERROR: new locking: NoLockingForReading tests if files still work when
filename is target of a rename
----------------------------------------------------------------------
Traceback (most recent call last):
File "f:\moin\Lib\site-packages\MoinMoin\_tests\test_newlocking.py", line
70, in testNoLockingForReading
rename(tmpfname, fname)
File "f:\moin\Lib\site-packages\MoinMoin\_tests\test_newlocking.py", line
43, in rename
from win32file import MoveFileEx, MOVEFILE_REPLACE_EXISTING
ImportError: No module named win32file
======================================================================
ERROR: new locking: NoLockingForReading tests if files still work when
filename is target of a rename
----------------------------------------------------------------------
Traceback (most recent call last):
File "f:\moin\Lib\site-packages\MoinMoin\_tests\test_newlocking.py", line
59, in tearDown
shutil.rmtree(self.test_dir)
File "F:\Python25\Lib\shutil.py", line 174, in rmtree
onerror(os.remove, fullname, sys.exc_info())
File "F:\Python25\Lib\shutil.py", line 172, in rmtree
os.remove(fullname)
WindowsError: [Error 32] The process cannot access the file because it is
being used by another process: 'f:\\windows\\temp\\lock_tcv779\\readtest'
======================================================================
ERROR: testBasicPackageThings
(MoinMoin._tests.test_packages.UnsafePackageTestcase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "f:\moin\Lib\site-packages\MoinMoin\_tests\test_packages.py", line
54, in setUp
raise TestSkipped('This test needs to be run using the test wiki.')
TestSkipped: This test needs to be run using the test wiki.
======================================================================
FAIL: util.lock: ExclusiveLock: expire
----------------------------------------------------------------------
Traceback (most recent call last):
File "f:\moin\Lib\site-packages\MoinMoin\_tests\test_util_lock.py", line
99, in testExpire
self.failUnless(lock.expire(), "lock should be expired")
AssertionError: lock should be expired
======================================================================
FAIL: util.lock: ExclusiveLock: isExpired
----------------------------------------------------------------------
Traceback (most recent call last):
File "f:\moin\Lib\site-packages\MoinMoin\_tests\test_util_lock.py", line
89, in testIsExpired
self.failUnless(lock.isExpired(), "lock should be expired")
AssertionError: lock should be expired
----------------------------------------------------------------------
Ran 93 tests in 7.265s
FAILED (failures=2, errors=3)
Regards,
Dave Hodgman
LinkMe Pty <http://linkme.com.au/> Ltd <http://linkme.com.au/>
Ground Floor, 615 Dandenong Rd
Armadale VIC 3143
mobile 0412 322 847
direct 03 8508 9156
main 03 8508 9111
fax 03 8508 9191
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/moin-user/attachments/20070911/a7088dfa/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: attaaf3d.bmp
Type: image/bmp
Size: 30454 bytes
Desc: not available
URL: <http://mail.python.org/pipermail/moin-user/attachments/20070911/a7088dfa/attachment.bin>
More information about the Moin-user
mailing list