On 6/7/2019 12:26 PM, Rich Shepard wrote:
Running python3-3.7.3 on Slackware-14.2.
$ python3 geochem.py
File "geochem.py", line 35
boxchoices = ttk.Combobox(self, textvariable=med,
^
SyntaxError: invalid syntax
An addendum to previous comments solving the issue. In 3.8
On Fri, 7 Jun 2019, Danilo Coccia wrote:
self.inputs['medium'] = LabelInput(
self, 'Medium',
med = tk.StringVar()
^^^
Missing a comma here!
Thanks, Danilo! When we write the code we too often see
On 2019-06-07 18:31, Rich Shepard wrote:
On Fri, 7 Jun 2019, MRAB wrote:
It's possible that the error is actually on the previous line and that it
thinks that what's on line 35 is a continuation of what's on line 34, but
it isn't.
MRAB,
If that's the case I'm missing seeing the error. Here a
On Fri, 7 Jun 2019, Rhodri James wrote:
The syntax error causes Python to halt before it has finished compiling
your program into byte code. There is nothing to run pdb on!
Okay. That certainly makes sense. It's been a very long time since I did any
Python coding.
Regards,
Rich
--
https://ma
Il 07/06/2019 19:31, Rich Shepard ha scritto:
> On Fri, 7 Jun 2019, MRAB wrote:
>
>> It's possible that the error is actually on the previous line and that it
>> thinks that what's on line 35 is a continuation of what's on line 34, but
>> it isn't.
>
> MRAB,
>
> If that's the case I'm missing se
On 07/06/2019 18:28, Rich Shepard wrote:
On Fri, 7 Jun 2019, Peter Otten wrote:
You need to fix all syntax errors before you can run the script, with or
without pdb.
Peter,
I thought the debugger would show me the location of the syntax error.
The syntax error causes Python to halt before
On Fri, 7 Jun 2019, MRAB wrote:
It's possible that the error is actually on the previous line and that it
thinks that what's on line 35 is a continuation of what's on line 34, but
it isn't.
MRAB,
If that's the case I'm missing seeing the error. Here are the lines prior to
and including line 3
On Fri, 7 Jun 2019, Peter Otten wrote:
You need to fix all syntax errors before you can run the script, with or
without pdb.
Peter,
I thought the debugger would show me the location of the syntax error.
The syntax error you are seeing is typically caused by unclosed
parentheses in a line pr
On 2019-06-07 17:26, Rich Shepard wrote:
Running python3-3.7.3 on Slackware-14.2.
I'm trying to debug a module using pdb but failing with all attempts. For
example, using breakpoint() at the line where I want to stop the running
module and examine each line's execution, the program runs to compl
Rich Shepard wrote:
> Running python3-3.7.3 on Slackware-14.2.
>
> I'm trying to debug a module using pdb but failing with all attempts. For
> example, using breakpoint() at the line where I want to stop the running
> module and examine each line's execution, the program runs to completion
> and
Running python3-3.7.3 on Slackware-14.2.
I'm trying to debug a module using pdb but failing with all attempts. For
example, using breakpoint() at the line where I want to stop the running
module and examine each line's execution, the program runs to completion and
shows there's a syntax error:
$
11 matches
Mail list logo