Thanks for the patch, Andrew. Based on your suggestion, I'm trying for a 2.0 
deployment, which seems to be stuck at the following -- I plan to apply the 
patch to the 1.1.2 to try things out. Thanks for all your help:

sudo paster setup-app config.ini
Running setup_app() from baruwa.websetup
----------------------------------------------------------------------------------------------------
2012-11-02 09:24:16,648 INFO  [baruwa.websetup] [MainThread] Creating tables
/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/default.py:331: 
Warning: BLOB/TEXT column 'errorstr' can't have a default value
  cursor.execute(statement, parameters)
Traceback (most recent call last):
  File "/usr/bin/paster", line 4, in <module>
    command.run()
  File "/usr/lib/python2.7/dist-packages/paste/script/command.py", line 104, in 
run
    invoke(command, command_name, options, args[1:])
  File "/usr/lib/python2.7/dist-packages/paste/script/command.py", line 143, in 
invoke
    exit_code = runner.run(args)
  File "/usr/lib/python2.7/dist-packages/paste/script/appinstall.py", line 68, 
in run
    return super(AbstractInstallCommand, self).run(new_args)
  File "/usr/lib/python2.7/dist-packages/paste/script/command.py", line 238, in 
run
    result = self.command()
  File "/usr/lib/python2.7/dist-packages/paste/script/appinstall.py", line 456, 
in command
    self, config_file, section, self.sysconfig_install_vars(installer))
  File "/usr/lib/python2.7/dist-packages/paste/script/appinstall.py", line 598, 
in setup_config
    mod.setup_app, command, filename, section, vars)
  File "/usr/lib/python2.7/dist-packages/paste/script/appinstall.py", line 614, 
in _call_setup_app
    func(command, conf, vars)
  File "/home/likewise-open/GRUADMIN/morganjr0/baruwa2/baruwa/websetup.py", 
line 53, in setup_app
    Base.metadata.create_all(bind=Session.bind)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/schema.py", line 
2571, in create_all
    tables=tables)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 
2302, in _run_visitor
    conn._run_visitor(visitorcallable, element, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 
1972, in _run_visitor
    **kwargs).traverse_single(element)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/visitors.py", 
line 106, in traverse_single
    return meth(obj, **kw)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/ddl.py", line 
67, in visit_metadata
    self.traverse_single(table, create_ok=True)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/visitors.py", 
line 106, in traverse_single
    return meth(obj, **kw)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/ddl.py", line 
86, in visit_table
    self.connection.execute(schema.CreateTable(table))
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 
1449, in execute
    params)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 
1542, in _execute_ddl
    compiled
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 
1698, in _execute_context
    context)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 
1691, in _execute_context
    context)
  File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/default.py", 
line 331, in do_execute
    cursor.execute(statement, parameters)
  File "/usr/lib/python2.7/dist-packages/MySQLdb/cursors.py", line 174, in 
execute
    self.errorhandler(self, exc, value)
  File "/usr/lib/python2.7/dist-packages/MySQLdb/connections.py", line 36, in 
defaulterrorhandler
    raise errorclass, errorvalue
sqlalchemy.exc.OperationalError: (OperationalError) (1170, "BLOB/TEXT column 
'id' used in key specification without a key length") '\nCREATE TABLE 
dstmsgtotals (\n\tid TEXT NOT NULL, \n\ttotal BIGINT, \n\tvolume BIGINT, 
\n\tspam BIGINT, \n\tvirii BIGINT, \n\tinfected BIGINT, \n\totherinfected 
BIGINT, \n\truntotal FLOAT, \n\tPRIMARY KEY (id)\n)\n\n' ()

-----Original Message-----
From: [email protected] [mailto:[email protected]] 
On Behalf Of Andrew Colin Kissa
Sent: Thursday, November 01, 2012 5:40 PM
To: Baruwa users list
Subject: Re: [Baruwa] AD Authentication Config failing: list index out of range 
(1.1.2)


On 01 Nov 2012, at 9:28 PM, Morgan, Jeffrey R. wrote:

>  Any help would be greatly appreciated. I need to get started evaluating this 
> product before considering production use...

If you are not an existing user, may be you should consider going straight to 
2.0

--
www.baruwa.org




_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056

_______________________________________________
Keep Baruwa FREE - http://pledgie.com/campaigns/12056

Reply via email to