Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: TypeError: _new_() takes exactly 3 arguments (2 given) - what doesit mean?

Reply
Thread Tools

Re: TypeError: _new_() takes exactly 3 arguments (2 given) - what doesit mean?

 
 
Jesse McDonnell
Guest
Posts: n/a
 
      05-28-2010
On Wed, 26 May 2010 14:30:21 -0400
Terry Reedy <> wrote:

> On 5/24/2010 2:52 PM, Jesse McDonnell wrote:
> > I'm attempting to install Powerline http://code.google.com/p/powerline/,
> > a computer reservation software based on CherryPy/Python using a MYSql
> > database, at my local library and I've run up against an error that I
> >

>
> Honestly, unless you find a Python+Powerline expert who will help, I
> suggest that you delete Powerline and look for something else. The most
> recent release is an alpha release over 2 years old. Except for the Feb
> 2010 wiki updates, the project appears to be dead. Even if someone
> helped you past this, there is no evidence that the fix would applied
> back to the codebase. And what about the next bug or problem?


> Terry Jan Reedy
>

and

On Wed, 26 May 2010 12:04:53 -0700 (PDT)
Carl Banks <> wrote:

> [Again, can't see the original, sorry]
>
> On May 26, 11:30*am, Terry Reedy <tjre...@udel.edu> wrote:
> > On 5/24/2010 2:52 PM, Jesse McDonnell wrote:


>
> The most common reason for this message is trying to subclass a
> module. (Very easy mistake when a module has the same name as a
> class, which is part of why I don't like the practice, though the
> modern PEP 8 reduces the issue.)
>
> IOW, someone did something like this:
>
> import foo
> class bar(foo): pass
>
> when they should have done this:
>
> from foo import foo
> class bar(foo): pass
>


Terry and Carl,

Thanks for your replies. I got a response from the guy who coded Powerline through the google group for the app and upgrading dbwrap resolved this particular error. He also helped me work through some python-genshi issues and I now have a working web interface.

Thanks again for your help.

Jesse
 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: TypeError: _new_() takes exactly 3 arguments (2 given) - whatdoes it mean? Terry Reedy Python 1 05-26-2010 07:04 PM
Confused newbie needs help with "__init__() takes exactly 11 arguments (1 given)" googleboy Python 4 08-19-2005 08:29 PM
Confused newbie needs help with "__init__() takes exactly 11 arguments (1 given)" googleboy Python 0 08-18-2005 05:32 PM
function call with arguments which takes no arguments Neo C Programming 10 01-20-2005 06:31 AM
Why doesit cost so much $ ?? kc5cqa@yahoo.com Computer Information 1 11-22-2003 06:26 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57