bugSkencil - Bugs: bug #10345, paxtkinter number of parameter for...

 
 

bug #10345: paxtkinter number of parameter for _tkinter.create

Submitter:  None
Submitted:  Fri 10 Sep 2004 06:56:20 PM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  Bug Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  0.6.x
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 25 Sep 2004 06:40:36 PM UTC, comment #1: 

I ran into this myself back in August when I tried skencil with Python 2.4 for the first time.  See attached patch for a fix.  This will be in the next release too, of course.

Bernhard Herzog <bh>
Group administrator
Fri 10 Sep 2004 06:56:20 PM UTC, original submission:  

in paxtkinter TkinterCreate has 4 parameters, but in _tkinter.c from python 2.4 Tkinter_Create har 8 parameters.

This cause a "plantage" in skencil
[bertrand@serber /usr/src]$ skencil
Traceback (most recent call last):
  File "/usr/local/bin/skencil", line 34, in ?
    Sketch.main.main()
  File "/usr/local/lib/skencil-0.6.16/Sketch/Base/main.py", line 148, in main
    run_script = options.run_script)
  File "/usr/local/lib/skencil-0.6.16/Sketch/UI/skapp.py", line 181, in _init_
    geometry = geometry)
  File "/usr/local/lib/skencil-0.6.16/Sketch/UI/skapp.py", line 100, in _init_
    self.init_tk(screen_name, geometry)
  File "/usr/local/lib/skencil-0.6.16/Sketch/UI/skapp.py", line 210, in init_tk
    geometry = geometry)
  File "/usr/local/lib/skencil-0.6.16/Sketch/UI/skapp.py", line 105, in init_tk
    className = self.tk_class_name)
  File "/usr/local/lib/python2.4/lib-tk/Tkinter.py", line 1569, in _init_
    self.tk = _tkinter.create(screenName, baseName, className, interactive, wantobjects, useTk, sync, use)
TypeError: function takes at most 4 arguments (8 given)

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #1801:  savannah-bug-10345.diff added by bh (1KiB - application/octet-stream)

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

Follow 2 latest changes.

Date Changed by Updated Field Previous Value => Replaced by
2004-09-25 bh StatusNone Fixed
2004-09-25 bh Attached File- Added savannah-bug-10345.diff, #1706

Back to the top

Powered by Savane 3.13-cf05.
Corresponding source code