Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #81541 > unrolled thread

Re: Fwd: Python Signal/Slot + QThred code analysis

Started byMichael Torrie <torriem@gmail.com>
First post2014-11-25 20:15 -0700
Last post2014-11-25 20:15 -0700
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Fwd: Python Signal/Slot + QThred code analysis Michael Torrie <torriem@gmail.com> - 2014-11-25 20:15 -0700

#81541 — Re: Fwd: Python Signal/Slot + QThred code analysis

FromMichael Torrie <torriem@gmail.com>
Date2014-11-25 20:15 -0700
SubjectRe: Fwd: Python Signal/Slot + QThred code analysis
Message-ID<mailman.16305.1416971743.18130.python-list@python.org>
On 11/25/2014 02:36 PM, Juan Christian wrote:
> So guys, I had to change to approach, I read that using Qt I can't do
> multiple inheritance. So my Outpost class can't be like 'Outpost(QObject,
> QThred)'. I had to change the code a bit:
> <snip>
> So, let's see the problems:
> 
> Traceback (most recent call last):
>   File "D:/.../main.py", line 44, in output_slot
>     outpost = Outpost('12345')
>   File "D:\...\outpost.py", line 27, in __init__
>     self.received.emit(worker)
> TypeError: received() only accepts 0 arguments, 2 given!

You're going to have to post a complete, but small, code example, I
think.  Working with fragments of code is very difficult if not
impossible to assist with, resulting in obtuse, obvious replies from folks.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web