Giter Club home page Giter Club logo

Comments (6)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
I'm not sure what to make of this error. Can you see if the newly uploaded 
1.0.2 version 
has the same issue?

Original comment by [email protected] on 8 Dec 2009 at 7:33

  • Changed state: Accepted

from namebench.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024

Original comment by [email protected] on 8 Dec 2009 at 7:36

  • Changed title: Error when writing results: File "Tkinter.pyc", line 1378, in event_generate

from namebench.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
I am also getting this with 1.0.2.  Same error as the OP.

expected boolean value but got "??"
  File "libnamebench\base_ui.pyc", line 46, in UpdateStatus
  File "libnamebench\tk.pyc", line 81, in msg
  File "libnamebench\tk.pyc", line 49, in AddMsg
  File "Tkinter.pyc", line 1378, in event_generate

I am also 64-bit on Win2k8.

Original comment by [email protected] on 8 Dec 2009 at 10:30

from namebench.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
Not sure if it helps, but here is the more complete stack track from the log 
file:

Traceback (most recent call last):
  File "libnamebench\tk.pyc", line 86, in run
  File "libnamebench\base_ui.pyc", line 73, in PrepareBenchmark
  File "libnamebench\base_ui.pyc", line 46, in UpdateStatus
  File "libnamebench\tk.pyc", line 81, in msg
  File "libnamebench\tk.pyc", line 49, in AddMsg
  File "Tkinter.pyc", line 1378, in event_generate
TclError: expected boolean value but got "??"

Clicking "Start Benchmark" a second time allowed it to complete with no errors. 
Entering new DNS servers and clicking "Start Benchmark" a third time eventually
failed with another error:

Traceback (most recent call last):
  File "libnamebench\tk.pyc", line 88, in run
  File "libnamebench\base_ui.pyc", line 91, in RunBenchmark
  File "libnamebench\base_ui.pyc", line 107, in CreateReports
  File "libnamebench\base_ui.pyc", line 46, in UpdateStatus
  File "libnamebench\tk.pyc", line 81, in msg
  File "libnamebench\tk.pyc", line 49, in AddMsg
  File "Tkinter.pyc", line 1378, in event_generate
TclError: invalid command name ""[45760024MessageHandler 3603 ?? ?? ?? ?? 0 0 
?? 0 0
?? 0 ?? ?? . 35 -1 -1 ??]" == "break""

A fourth run with the same DNS servers from attempt #3 completed successfully 
with no
errors.

Original comment by [email protected] on 8 Dec 2009 at 10:50

from namebench.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
I was not able to replicate this on Windows 7 64-bit Home Premium, but I did 
put in 
a hacky bandaid for this error. Can someone who experienced this issue try this 
debug build of namebench:

http://namebench.googlecode.com/files/namebench-1.0.2-test-issue-47.exe

It patches my code so that if event_generate() fails for whatever reason, it 
simply 
ignores the status update and catches it on the next cycle. This appears to be 
a 
thread-safety issue with the Tk libraries, so I'm just masking it for now. I 
have a 
feeling this is not the only place I will be seeing this issue.


Original comment by [email protected] on 8 Dec 2009 at 3:52

  • Changed state: Started
  • Added labels: Priority-High
  • Removed labels: Priority-Medium

from namebench.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 21, 2024
While there may be other thread safety issues with Tk, I believe this one has 
been fixed 
by version 1.0.3. Please let me know if this is not the case.

Original comment by [email protected] on 8 Dec 2009 at 5:45

  • Changed state: Fixed

from namebench.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.