PySide Bugzilla Closed for New Bugs

PySide is now a Qt Add-on and uses the Qt Project's JIRA Bug Tracker instead of this Bugzilla instance. This Bugzilla is left for reference purposes.

Bug 955 - Bad argument to internal function
: Bad argument to internal function
Status: CLOSED WORKSFORME
Product: PySide
Classification: Unclassified
Component: QtCore
: 1.0.4
: PC Linux
: P5 critical
Assigned To: renato filho
:
:
:
  Show dependency treegraph
 
Reported: 2011-08-04 12:29 EEST by Rahman
Modified: 2011-08-23 15:04 EEST (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Rahman 2011-08-04 12:29:50 EEST
# -*- coding: utf-8 -*-
#!/usr/bin/env python

import PySide

class Test:
    def __init__(self):
        if PySide.QtCore.QDir.exists(PySide.QtCore.QDir("/home/rahman/newdir"))
== False:
            PySide.QtCore.QDir("/home/rahman/").mkpath("newdir")

test = Test()


Traceback (most recent call last):
  File "/home/rahman/eclipse/workspace/PySidePyVakitci/src/Test.py", line 12,
in <module>
    test = Test()
  File "/home/rahman/eclipse/workspace/PySidePyVakitci/src/Test.py", line 8, in
__init__
    if PySide.QtCore.QDir.exists(PySide.QtCore.QDir("/home/rahman/newdir")) ==
False:
SystemError: ../Objects/methodobject.c:120: bad argument to internal function
Comment 1 Hugo Parente Lima 2011-08-10 21:49:00 EEST
Works for me.
Comment 2 renato filho 2011-08-23 00:37:15 EEST
Release PySide 1.0.6
Comment 3 Rahman 2011-08-23 15:04:56 EEST
(In reply to comment #2)
> Release PySide 1.0.6

Thanks. I am Ubuntu 10.10 user. 

(PySide 1.0.4 --> 1.0.5.)
PySide 1.0.4 then updated after the problem is solved.