attributes and the gui don't like each other
Mike Carifio
carifio at usys.com
Tue Aug 6 19:43:28 UTC 2002
On RH7.1 or RH7.3, Python 2.2.1 and QMTest 1.1.5:
# Create a new db with an attribute author=carifio at usys.com (for no good
reason).
[carifio at qmtest qm]$ qmtest -D firstdb create-tdb --attribute
author=carifio at usys.com
QMTest has created a new test database at /home/carifio/qm/firstdb.
# Take a look at the empty database
[carifio at qmtest qm]$ qmtest -D firstdb gui --address $(hostname -i)
--port 8888 --no-browser
Traceback (most recent call last):
File "/usr/local/lib/qm/qm/test/qmtest.py", line 78, in ?
command.Execute(sys.stdout)
File "/usr/local/lib/qm/qm/test/cmdline.py", line 401, in Execute
self.__database = base.load_database(db_path)
File "/usr/local/lib/qm/qm/test/base.py", line 137, in load_database
return apply(database_class, (db_path,), attributes)
TypeError: __init__() got an unexpected keyword argument 'author'
What are attributes actually used for?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Mike Carifio.vcf
Type: text/x-vcard
Size: 282 bytes
Desc: not available
URL: <http://sourcerytools.com/pipermail/qmtest/attachments/20020806/789fbe9b/attachment-0001.vcf>
More information about the qmtest
mailing list