Ed Leafe

Show:

What's happening?

  • Comment: Slider mouse events on OS X

    The problem that I was trying to solve was that as the thumb control is dragged, wx.EVT_SLIDER events are continuously emitted, and binding non-trivial code to that really bogged down responsiveness. I wanted to be able to only bind to the thumb release when it was dragged, but also respond to keyboard-type movement. Tracking the mouse up/down events worked on Gtk and Windows, but failed on OS X,

    2007-04-03 12:05:21 UTC in wxWidgets

  • Comment: Slider mouse events on OS X

    I'm not sure that I understand your reply. Are you saying that this is a *feature*, and will not be changed? It always sucks to have to bracket code to work differently depending on platform.

    2007-04-03 11:10:07 UTC in wxWidgets

  • Slider mouse events on OS X

    I've noticed that when using a slider on OS X, the EVT_LEFT_UP never gets triggered when the mouse is over the thumb control. However, if you click within the rectangular area of the control, but not along the slider "slot" (i.e., click on the control where it won't affect the thumb control), the event is triggered. I've created a simple program that demonstrates this problem. I see both the...

    2007-04-02 23:01:42 UTC in wxWidgets

  • Comment: Incorrect import

    OK, there were a couple of old processes still running. After killing them it's working. Thanks - I never would have figured that one out.

    2007-03-29 17:13:20 UTC in Scribes

  • Comment: Incorrect import

    OK, I manually deleted all those entries that you listed, downloaded a fresh copy of the 0.3.1 release, and ran the installation again. Now I get a different error: [ed@otto ~]$ scribes Traceback (most recent call last): File "/usr/bin/scribes", line 40, in ? main(argv[1:]) File "/usr/lib/python2.4/site-packages/SCRIBES/Main.py", line 47, in main __open() File...

    2007-03-29 16:25:07 UTC in Scribes

  • Incorrect import

    In your main script, line 37 reads: from SCRIBES.Main import main This gives the error: Traceback (most recent call last): File "/usr/bin/scribes", line 37, in ? from SCRIBES.Main import main ImportError: No module named Main Changing the line to: from SCRIBES.main import main fixes the problem. This is with the 0.3.1 package.

    2007-03-28 14:46:25 UTC in Scribes

  • Comment: Methods called on self.__source that don't exist

    OK, I was wrong about the retraction. I had an old .pyc file from my changed version in site-packages, which is why it was working for me. I deleted both the existing .py and .pyc, re-installed a fresh copy from you, and it is now throwing the same error again. Please let me know if you can reproduce the problem.

    2007-01-09 02:16:21 UTC in Simple MS SQL Python extension module

  • Comment: Methods called on self.__source that don't exist

    Now that's really odd. I used the downloaded Win32 installer to test on a WinXP client, and it worked without any modifications. So I re-installed on my Mac, and it worked there, too. I don't know why I kept getting the error message that: self._pymssqlCnx__source doesn't have a method 'query', but for some reason it is working correctly now. So please disregard this bug report.

    2006-12-29 16:46:00 UTC in Simple MS SQL Python extension module

  • Methods called on self.__source that don't exist

    The pymssqlCnx class is returned to the pymssqlCursor class when it is created, and stored in self.__source. Later in the code, there are calls to self.__source.query(sql), but the pymssqlCnx class doesn't have a query method. Nor does it have an errmsg() method. Those are on the lower-level _mssql connection object, which is stored in the pymssqlCnx.__cnx object. I don't understand how they...

    2006-12-29 01:06:25 UTC in Simple MS SQL Python extension module

  • Comment: SpinCtrl accepts text strings when pasted

    Logged In: YES user_id=501059 If you say that that's how it's supposed to work, fine, but I think a more acceptable behavior is to update the displayed value with the last correct value instead of leaving the nonsense visible. Every other toolkit I've worked with doesn't even allow the paste in the first place if it isn't numeric; I think that if the input isn't valid when the control...

    2006-10-20 12:13:52 UTC in wxWidgets

About Me

  • 2002-03-30 (8 years ago)
  • 501059
  • msborg (My Site)
  • Ed Leafe

  • SQL-based SQL-based AppleScript Java PHP Python HTML/XHTML Object Oriented Object Oriented Documentation

Send me a message