Re: trans.py
Brandon Long <[email protected]>
| Newsgroups | gmane.text.clearsilver.general |
|---|---|
| Organization | Fiction L Networks |
| Message-ID | <20071109232547.GB30216@bl1> |
Not sure, but that doesn't necessarily sound like a bad version. Its
porbably fixable, but are you actually going to use trans.py? Its more
an example.
Brandon
On 11/08/07 jdev1001 uttered the following other thing:
> Hi,
>
> I've downloaded CS version 0.10.5, and I couldn't manage to test the
> trans.py file (see Traceback below) :
> My configuration is
> Fedoro core 5
> clearsilver-0.10.5
> python-2.4.2-3.2.1
> MySQL-python-1.2.0-3.2.2
> MySQL-5.0.45
>
> Any suggestions? Is there any particular MySQL, MySQL-python, python
> version that clearsilver work with?
>
> Thanks
> J
>
> [11/08 14:36:50] trans: start
> Translation Error
> Traceback (most recent call last):
> File "trans.py", line 580, in main
> t = Translator()
> File "trans.py", line 56, in __init__
> self.tdb = db_trans.trans_connect()
> File "db_trans.py", line 82, in trans_connect
> retval = DB(db, debug=debug)
> File "db_trans.py", line 55, in __init__
> self.addTable("strings", "nt_trans_strings", TransStringTable)
> File "../base/odb.py", line 127, in addTable
> create=create, rowListClass=rowListClass)
> File "../base/odb.py", line 226, in __init__
> self.__defaultRowClass = database.getDefaultRowClass()
> File "../base/odb.py", line 112, in getDefaultRowClass
> def getDefaultRowClass(self): return self.__defaultRowClass
> File "../base/odb.py", line 144, in __getattr__
> table_dict = getattr(self,"_tables")
> File "../base/odb.py", line 141, in __getattr__
> raise AttributeError, "odb.Database: not initialized properly,
> self._tables does not exist"
> AttributeError: odb.Database: not initialized properly, self._tables
> does not exist
>
>
>
>
>
> Yahoo! Groups Links
>
>
>
--
"Understanding is a three-edged sword" -- Kosh Naranek
http://www.fiction.net/blong/