Mac

10.6.4 Apple Wiki:新創建的使用者無能為力?

  • September 18, 2010

更新到 10.6.4 後出現了一個問題:我在 Server Prefs/WGM 中創建的任何新使用者都無法發佈到他們的部落格、評論、創建 wiki 頁面……他們什麼也做不了!有來自 Wiki 錯誤的日誌(當使用者 DURAK 嘗試創建新的部落格條目時):

[HTTPChannel,5,127.0.0.1] Traceback (most recent call last):
[HTTPChannel,5,127.0.0.1]   File "/usr/share/caldavd/lib/python/twisted/web/server.py", line 126, in process
self.render(resrc)
[HTTPChannel,5,127.0.0.1]   File "/usr/share/caldavd/lib/python/twisted/web/server.py", line 133, in render
body = resrc.render(self)
[HTTPChannel,5,127.0.0.1]   File "/usr/share/wikid/lib/python/apple_xmlrpc_server/WebAppServer.py", line 90, in render
d = defer.maybeDeferred(function, *args)
[HTTPChannel,5,127.0.0.1]   File "/usr/share/caldavd/lib/python/twisted/internet/defer.py", line 104, in maybeDeferred
result = f(*args, **kw)
[HTTPChannel,5,127.0.0.1] --- <exception caught here> ---
[HTTPChannel,5,127.0.0.1]   File "/usr/share/wikid/lib/python/apple_xmlrpc_server/ContentServiceBase.py", line 121, in xmlrpc_addEntry
aPage = ContentEntry.newBundleBasedContentEntry
(path = path, content = content, author = author, title = title, uid = uid, type = kind, versioned = self.versioned, templateName = template)
[HTTPChannel,5,127.0.0.1]   File "/usr/share/wikid/lib/python/apple_wlt/ContentEntry.py", line 794, in newBundleBasedContentEntry
aPage.save('First created', 'created')
[HTTPChannel,5,127.0.0.1]   File "/usr/share/wikid/lib/python/apple_wlt/ContentEntry.py", line 445, in save
revisions.addRevision(self.serializeEntry(revisionAttributes), inComment = comment, inAuthor = updateAuthor, inChangeType = editType)
[HTTPChannel,5,127.0.0.1]   File "/usr/share/wikid/lib/python/apple_utilities/sqlitersion.py", line 36, in _func
result = f(self, *args, **kwargs)
[HTTPChannel,5,127.0.0.1]   File "/usr/share/wikid/lib/python/apple_utilities/sqlitersion.py", line 49, in addRevision
contentPlistStr = plistlib.writePlistToString(inContentDict).decode("utf-8")
[HTTPChannel,5,127.0.0.1]   File "/S-m/Lib-ry/Fr-ks/Python.fr-k/Ver-s/2.6/lib/pyth-2.6/plistlib.py", line 110, in writePlistToString
[HTTPChannel,5,127.0.0.1]   File "/S-m/Lib-ry/Fr-ks/Python.fr-k/Ver-s/2.6/lib/pyth-2.6/plistlib.py", line 94, in writePlist
[HTTPChannel,5,127.0.0.1]   File "/S-m/Lib-ry/Fr-ks/Python.fr-k/Ver-s/2.6/lib/pyth-2.6/plistlib.py", line 251, in writeValue
[HTTPChannel,5,127.0.0.1]   File "/S-m/Lib-ry/Fr-ks/Python.fr-k/Ver-s/2.6/lib/pyth-2.6/plistlib.py", line 280, in writeDict
[HTTPChannel,5,127.0.0.1]   File "/S-m/Lib-ry/Fr-ks/Python.fr-k/Ver-s/2.6/lib/pyth-2.6/plistlib.py", line 238, in writeValue
[HTTPChannel,5,127.0.0.1]   File "/S-m/Lib-ry/Fr-ks/Python.fr-k/Ver-s/2.6/lib/pyth-2.6/plistlib.py", line 171, in simpleElement
[HTTPChannel,5,127.0.0.1]   File "/S-m/Lib-ry/Fr-ks/Python.fr-k/Ver-s/2.6/lib/pyth-2.6/plistlib.py", line 221, in _escapeAndEncode
[HTTPChannel,5,127.0.0.1] exceptions.UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 0: ordinal not in range(128)
[HTTPChannel,5,127.0.0.1] 'Unparseable html in page, removing whatever was already written.'
[HTTPChannel,5,127.0.0.1] Removing /Library/Collaboration/Users/durak/weblog/27133.page

任何“老”使用者都可以創建、修改、評論等。你有什麼建議來解決這個問題?

希望得到您的幫助…

Wiki 伺服器的更新消除了這個問題。

引用自:https://serverfault.com/questions/152177