Rocksolid Light

Welcome to novaBBS (click a section below)

mail  files  register  newsreader  groups  login

Message-ID:  

OS/2 must die!


devel / comp.lang.python / Re: Neither pdb or print() displays the bug

SubjectAuthor
o Re: Neither pdb or print() displays the bugPeter Otten

1
Re: Neither pdb or print() displays the bug

<mailman.497.1622624582.3087.python-list@python.org>

  copy mid

https://www.novabbs.com/devel/article-flat.php?id=13525&group=comp.lang.python#13525

  copy link   Newsgroups: comp.lang.python
Path: i2pn2.org!i2pn.org!news.swapon.de!fu-berlin.de!uni-berlin.de!not-for-mail
From: __pete...@web.de (Peter Otten)
Newsgroups: comp.lang.python
Subject: Re: Neither pdb or print() displays the bug
Date: Wed, 2 Jun 2021 11:02:55 +0200
Lines: 29
Message-ID: <mailman.497.1622624582.3087.python-list@python.org>
References: <alpine.LNX.2.20.2106011309580.25401@salmo.appl-ecosys.com>
<20cb1a4f-ec85-9ea0-effe-b916f8be5a23@stoneleaf.us>
<alpine.LNX.2.20.2106011339300.25401@salmo.appl-ecosys.com>
<0343b334-2e10-f055-896b-b3ef9d080401@stoneleaf.us>
<alpine.LNX.2.20.2106011431130.25401@salmo.appl-ecosys.com>
<s97hfv$9b3$1@ciao.gmane.io>
Mime-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: news.uni-berlin.de 7XlXo4NZ2NMUQ8i/8ugTqAqTfrOz2cfIazRe+gVtPWCw==
Return-Path: <python-python-list@m.gmane-mx.org>
X-Original-To: python-list@python.org
Delivered-To: python-list@mail.python.org
Authentication-Results: mail.python.org; dkim=none reason="no signature";
dkim-adsp=none (unprotected policy); dkim-atps=neutral
X-Spam-Status: OK 0.000
X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'gui': 0.05; 'debug': 0.07;
'debugging': 0.07; 'message-id:@ciao.gmane.io': 0.09; 'module.':
0.09; 'received:ciao.gmane.io': 0.09; 'received:gmane.io': 0.09;
'received:list': 0.09; 'subject:bug': 0.09; 'problem': 0.15;
'ethan': 0.16; 'from:addr:web.de': 0.16; 'gui.': 0.16;
'received:116.202': 0.16; 'received:116.202.254': 0.16;
'received:116.202.254.214': 0.16; 'shepard': 0.16; 'subject:() ':
0.16; 'unittest': 0.16; 'well-defined': 0.16; 'wrote:': 0.16;
'tue,': 0.18; 'focused': 0.23; 'to:addr:python-list': 0.23; 'run':
0.24; 'code': 0.24; 'jun': 0.27; 'else': 0.27; 'header:User-
Agent:1': 0.31; 'it,': 0.31; 'there': 0.31; "i'm": 0.32;
'available.': 0.32; 'header:In-Reply-To:1': 0.33; 'well,': 0.35;
'complex': 0.35; 'two': 0.37; 'way': 0.37; 'thanks.': 0.37;
'those': 0.38; 'test': 0.40; 'everything': 0.64; 'unit': 0.65;
'received:116': 0.71; 'tool': 0.72
X-Injected-Via-Gmane: http://gmane.org/
User-Agent: Mozilla/5.0 (Windows NT 10.0; rv:78.0) Gecko/20100101
Thunderbird/78.10.2
In-Reply-To: <alpine.LNX.2.20.2106011431130.25401@salmo.appl-ecosys.com>
Content-Language: en-US
X-BeenThere: python-list@python.org
X-Mailman-Version: 2.1.34
Precedence: list
List-Id: General discussion list for the Python programming language
<python-list.python.org>
List-Unsubscribe: <https://mail.python.org/mailman/options/python-list>,
<mailto:python-list-request@python.org?subject=unsubscribe>
List-Archive: <https://mail.python.org/pipermail/python-list/>
List-Post: <mailto:python-list@python.org>
List-Help: <mailto:python-list-request@python.org?subject=help>
List-Subscribe: <https://mail.python.org/mailman/listinfo/python-list>,
<mailto:python-list-request@python.org?subject=subscribe>
X-Mailman-Original-Message-ID: <s97hfv$9b3$1@ciao.gmane.io>
X-Mailman-Original-References: <alpine.LNX.2.20.2106011309580.25401@salmo.appl-ecosys.com>
<20cb1a4f-ec85-9ea0-effe-b916f8be5a23@stoneleaf.us>
<alpine.LNX.2.20.2106011339300.25401@salmo.appl-ecosys.com>
<0343b334-2e10-f055-896b-b3ef9d080401@stoneleaf.us>
<alpine.LNX.2.20.2106011431130.25401@salmo.appl-ecosys.com>
 by: Peter Otten - Wed, 2 Jun 2021 09:02 UTC

On 01/06/2021 23:32, Rich Shepard wrote:
> On Tue, 1 Jun 2021, Ethan Furman wrote:
>
>> Well, you only had two logging statements in that code -- logging is like
>> print: if you want to see it, you have to call it:
>
> Ethan,
>
> Got it, thanks.
>
> I believe

Do you have unit tests? Those are an excellent tool to ensure that the
components of an application work as expected and that those components
have well-defined interfaces. Debugging a failing unittest is usually
easier than to debug a complex application.
While I don't know if there is a convenient way to test the GUI
everything else should run reliably *before* connecting it with the GUI.

> my problem is with the datasource module. I'm focused on
> making it
> work (using logging to confirm that it is doing so). Will report results
> when they're available.
>
> Regards,
>
> Rich

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor