It seems that you have 6000 LOC file; you mention multitasking, you
have lots of class inheritance (a guess from previous mails) but you
barely made a connection to your database. I honestly think that you
should reconsider your approach to this problem. Think big, start
small. I'm not going to tell you to start writing unit tests first
because that is something that I'm still struggling with by myself,
but, please, start with smaller bits factored out in functions and
work your way up from there. Call those functions from inside
interpreter, play with them (hint: I find ipython's run command very
helpful).

Just a friendly advice.

As for your error, I have no idea what is happening, but I used to get
the similar messages (regarding password) when I tried to create
engine which expected passwd argument instead of password.

Tvrtko

On 4/1/06, Jonathan Hayward http://JonathansCorner.com
<[EMAIL PROTECTED]> wrote:
> I am trying to load documents, which are being loaded into class "webpage",
> a subclass of class "document" which is mapped to document_table ("should"
> be Document) via a mapper.
>
>  I have not directly or indirectly added a field called "password" to any
> object so far as I know.
>
>  Can you tell me what TypeError: webpage.'password' is an invalid keyword
> argument for this function means?
>
>   Traceback (most recent call last):
>    File
> "/server1/users/jonathan/creations/inventions/software/insight/alchemy",
> line 5831, in ?
>      multitasking.start_oracle()
>    File
> "/server1/users/jonathan/creations/inventions/software/insight/alchemy",
> line 3473, in start_oracle
>      server_init()
>    File
> "/server1/users/jonathan/creations/inventions/software/insight/alchemy",
> line 5720, in server_init
>      section.get_documents(1)
>    File
> "/server1/users/jonathan/creations/inventions/software/insight/alchemy",
> line 3922, in get_documents
>      self.possibly_include_files_from_directory, "")
>    File "/usr/lib/python2.4/posixpath.py", line 290, in
> walk
>      func(arg, top, names)
>    File
> "/server1/users/jonathan/creations/inventions/software/insight/alchemy",
> line 4003, in possibly_include_files_from_directory
>      self.register(current_filename, directory_name)
>    File
> "/server1/users/jonathan/creations/inventions/software/insight/alchemy",
> line 4021, in register
>      self)
>    File
> "/server1/users/jonathan/creations/inventions/software/insight/alchemy",
> line 1365, in get_document
>      return webpage(filename, section)
>    File
> "/server1/users/jonathan/creations/inventions/software/insight/alchemy",
> line 4231, in __init__
>      document.__init__(self, filename, section)
>    File
> "build/bdist.linux-i686/egg/sqlalchemy/mapping/mapper.py",
> line 225, in init
>  TypeError: webpage.'password' is an invalid keyword argument for this
> function
>
>
> --
> ++ Jonathan Hayward, [EMAIL PROTECTED]
> ** To see an award-winning website with stories, essays, artwork,
> ** games, and a four-dimensional maze, why not visit my home page?
> ** All of this is waiting for you at http://JonathansCorner.com
>
> ** If you'd like a Google Mail (gmail.com) account, please tell me!


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Sqlalchemy-users mailing list
Sqlalchemy-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlalchemy-users

Reply via email to