[Zope3-Users] Urgent: What to do with ZODB.FileStorage.FileStorage.CorruptedTransactionError

2008-04-29 Thread Fet Biz

Yes, I has known that I got the Error.
But What to do with it? (And Why?)

Appreciate!
Iap

===

CRITICAL ZODB.FileStorage /home/workspace/zope3/var/Data.fs data record 
exceeds transaction record at 36977087

Traceback (most recent call last):
 File zope3/bin/runzope, line 49, in ?
   run()
 File zope3/bin/runzope, line 45, in run
   main([-C, CONFIG_FILE] + sys.argv[1:])
 File /usr/local/Zope-3.4.0c1/lib/python/zope/app/twisted/main.py, line 
74, in main

   service = setup(load_options(args))
 File /usr/local/Zope-3.4.0c1/lib/python/zope/app/twisted/main.py, line 
147, in setup

   db = zope.app.appsetup.appsetup.multi_database(options.databases)[0][0]
 File /usr/local/Zope-3.4.0c1/lib/python/zope/app/appsetup/appsetup.py, 
line 213, in multi_database

   db = factory.open()
 File /usr/local/Zope-3.4.0c1/lib/python/ZODB/config.py, line 97, in open
   storage = section.storage.open()
 File /usr/local/Zope-3.4.0c1/lib/python/ZODB/config.py, line 135, in 
open

   quota=self.config.quota)
 File /usr/local/Zope-3.4.0c1/lib/python/ZODB/FileStorage/FileStorage.py, 
line 164, in __init__

   ltid=ltid, start=start, read_only=read_only,
 File /usr/local/Zope-3.4.0c1/lib/python/ZODB/FileStorage/FileStorage.py, 
line 1729, in read_index

   name, pos)
 File /usr/local/Zope-3.4.0c1/lib/python/ZODB/FileStorage/FileStorage.py, 
line 53, in panic

   raise CorruptedTransactionError(message)
ZODB.FileStorage.FileStorage.CorruptedTransactionError: %s data record 
exceeds transaction record at %s



___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] What's wrong to this html block to testbrowser.Browser?

2008-04-19 Thread Fet Biz

If the retrieved Browser.contents contains the following block :

select name=ldap.miCosdn_options
   option 
value=uid=MailUser,dc=totalbb,dc=net.dc=twuid=MailUser,dc=totalbb,dc=net.dc=tw/option
   option 
value=uid=powerMailUser,dc=totalbb,dc=net.dc=twuid=powerMailUser,dc=totalbb,dc=net.dc=tw/option

/select


it complains:

 File /usr/local/Zope-3.4.0c1/lib/python/ClientForm/ClientForm.py, line 
548, in _start_option

   raise ParseError(OPTION outside of SELECT)
ParseError: OPTION outside of SELECT

What's the problem of this block of html ?
Appreciate any suggestion.

Iap, Singuan 


___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] How to set excutable permission for a container ?

2008-04-12 Thread Fet Biz

Hi,

Suppose a is an instance object of class A which implements interface IA,
in the configiure.zcml, b is a view for class A.

a is locked by requiring permission A.canEdit.
b is intents to be public accessible (zope.Public).

My problem is that, since b is below a, it's URL is:
http://host.domain:8080/a/b

but
http://host.domain:8080/a

is not accessible for public. then http://host.domain:8080/a/b is also not 
accessible neither.

although, zope.Public is declared in configure.zcml.

How can I get the b to be public? Just like the file permissions in the 
file system.
which means, If file b contains in folder a, we can set chmod o+x to 
a and o+r to b,

which results b is accessible and a is not accessible?

(The use case is a for the membership container, b is the membership 
apply form which should be public to non-members)


Thanks in advance

Iap, Singuan 


___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users


[Zope3-Users] if make check(test) failure, should I make install?

2008-02-19 Thread Fet Biz
What to do next?

If the make test results:
--
 

Ran 9471 tests with 4 failures and 9 errors in 12 minutes 31.391 seconds.

Tests with errors:
   testInheritanceAcrossModules (zodbcode.tests.test_class.TestClass)
   testPersistentSubclass (zodbcode.tests.test_class.TestClass)
   testSavePersistentSubclass (zodbcode.tests.test_class.TestClass)
   testClass (zodbcode.tests.test_module.TestModule)
   testUpdateClass (zodbcode.tests.test_module.TestModule)
   testClassReload (zodbcode.tests.test_module.TestModuleReload)
   testAPPE (zope.server.ftp.tests.test_ftpserver.Tests)
   testSTOR (zope.server.ftp.tests.test_ftpserver.Tests)
   testSTOR_over (zope.server.ftp.tests.test_ftpserver.Tests)

Tests with failures:
   checkOldStyleRoot (ZODB.tests.testPersistentMapping.PMTests)
   testPatch (zodbcode.tests.test_patch.TestPatch)
   testPASS (zope.server.ftp.tests.test_ftpserver.Tests)
   
/root/zope3/Zope-3.4.0c1/build/lib.linux-i686-2.4/zope/testing/testrunner-layers-ntd.txt

--
 

Appreciate any suggestions.

Singuan Iap___
Zope3-users mailing list
Zope3-users@zope.org
http://mail.zope.org/mailman/listinfo/zope3-users