I was attempting to confirm that I upgraded SQLAlchemy to 0.3 okay.
Previously I've had 0.2.7 and 0.2.8. I've never attempted this command
before, so it may not work with those versions either. (Since my
attempt, I've run the tests in 0.3 and all by 2 passed confirming that
I have 0.3 installed and am using 0.3)
Here is what I attempted:
Python 2.4.3 (#2, Apr 27 2006, 14:43:58)
[GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import sqlalchemy
>>> dir(sqlalchemy)
['AbstractDialect', 'Alias', 'BLOB', 'BOOLEAN', 'Binary', 'Boolean',
'BoundMetaData', 'CHAR', 'CLOB', 'CheckConstraint', 'ClauseElement',
'ClauseParameters', 'ClauseVisitor', 'Column', 'ColumnCollection',
'ColumnDefault', 'ColumnElement', 'Compiled', 'CompoundSelect',
'Constraint', 'DATE', 'DATETIME', 'DECIMAL', 'Date', 'DateTime',
'DefaultGenerator', 'DynamicMetaData', 'EXT_PASS', 'Executor', 'FLOAT',
'Float', 'ForeignKey', 'ForeignKeyConstraint', 'FromClause', 'INT',
'Index', 'Integer', 'Join', 'MapperExtension', 'MetaData', 'NCHAR',
'NULLTYPE', 'NullTypeEngine', 'Numeric', 'PassiveDefault',
'PickleType', 'PrimaryKeyConstraint', 'Query', 'SMALLINT',
'SchemaItem', 'SchemaVisitor', 'Select', 'Selectable', 'Sequence',
'Smallinteger', 'String', 'TEXT', 'TIME', 'TIMESTAMP', 'Table',
'TableClause', 'Time', 'TypeDecorator', 'TypeEngine', 'Unicode',
'UniqueConstraint', 'VARCHAR', '__builtins__', '__doc__', '__file__',
'__loader__', '__name__', '__path__', 'alias', 'and_', 'asc',
'backref', 'between_', 'bindparam', 'cascade_mappers', 'case', 'cast',
'class_mapper', 'clear_mapper', 'clear_mappers', 'column',
'contains_eager', 'create_engine', 'create_session', 'databases',
'default_metadata', 'defer', 'deferred', 'delete', 'desc', 'eagerload',
'engine', 'exceptions', 'exists', 'extension', 'extract', 'func',
'global_connect', 'insert', 'join', 'lazyload', 'literal', 'logging',
'mapper', 'noload', 'not_', 'null', 'object_mapper', 'or_', 'orm',
'outerjoin', 'polymorphic_union', 'pool', 'queue', 'relation',
'schema', 'select', 'sql', 'sql_util', 'subquery', 'synonym', 'table',
'text', 'topological', 'types', 'undefer', 'union', 'union_all',
'update', 'util']
>>> help (sqlalchemy)
Traceback (most recent call last):
File "<stdin>", line 1, in ?
File "/usr/lib/python2.4/site.py", line 339, in __call__
return pydoc.help(*args, **kwds)
File "/usr/lib/python2.4/pydoc.py", line 1656, in __call__
self.help(request)
File "/usr/lib/python2.4/pydoc.py", line 1700, in help
else: doc(request, 'Help on %s:')
File "/usr/lib/python2.4/pydoc.py", line 1483, in doc
pager(title % desc + '\n\n' + text.document(object, name))
File "/usr/lib/python2.4/pydoc.py", line 303, in document
if inspect.ismodule(object): return self.docmodule(*args)
File "/usr/lib/python2.4/pydoc.py", line 1060, in docmodule
for file in os.listdir(object.__path__[0]):
OSError: [Errno 20] Not a directory:
'/usr/lib/python2.4/site-packages/SQLAlchemy-0.3.0-py2.4.egg/sqlalchemy'
>>>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sqlalchemy" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/sqlalchemy
-~----------~----~----~----~------~----~------~--~---