#39 testsuite, Test.py, _constructor, vector isn't callable

None
closed-fixed
Adrian
None
5
2013-09-26
2013-02-06
Ian Delaney
No

line 342; w = classCmd(*(), **kw)

tests trip over every time in py3 at this line,

Pmw/Pmw_2_0_0/tests/Test.py", line 342, in _constructor
w = classCmd(*(), **kw)
TypeError: 'Vector' object is not callable

and the constructor is ofcourse common to almost every test

Python py32, pmw-2.0.0

Discussion

  • Ian Delaney

    Ian Delaney - 2013-02-06
     
    Attachments
  • Ian Delaney

    Ian Delaney - 2013-02-06

    or, and for pmw-1.3.3 under py2.7. See attached file

     
  • Ian Delaney

    Ian Delaney - 2013-02-06
    • assigned_to: nobody --> adyh
     
  • Ian Delaney

    Ian Delaney - 2013-02-06

    Oh right, and for pmw-1.3.3 under p[y2,7, see attached file

     
  • Adrian

    Adrian - 2013-02-12

    Ian, I haven't been able to reproduce this on either Python 3.2.3 or 3.3. It might be an older problem which was already solved in CVS. I've just uploaded a changed build of Pmw2 (the Py3 version) which passes all tests without any error messages - please try this one and see if the problem persists.

    Regarding Pmw1.3.3, I've also uploaded an improved version which passes all tests quietly. I'll keep checking for problems in case everything comes up (I'm not sure if the python version I'd tested before is 2.6 or 2.7, I currently have 2.6 on my dev machine but I'll give 2.7 a try).

     
  • Adrian

    Adrian - 2013-09-26
    • status: open --> closed-fixed
    • Group: -->
     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks