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 1142 - QNetworkReply objects returned at random by unrelated functions
: QNetworkReply objects returned at random by unrelated functions
Status: UNCONFIRMED
Product: PySide
Classification: Unclassified
Component: QtNetwork
: 1.1.0
: PC Linux
: P5 normal
Assigned To: Hugo Parente Lima
:
:
:
  Show dependency treegraph
 
Reported: 2012-02-20 03:34 EET by Sam Lade
Modified: 2012-03-08 16:57 EET (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 Sam Lade 2012-02-20 03:34:40 EET
This appears to occur very infrequently and at random when a
QNetworkAccessManager is in use. Completely unrelated Qt functions return
QNetworkReply objects, which usually leads to missing attribute exceptions.
Some examples:

I recently observed QWebView.page() return a QNetworkReply object on my Ubuntu
system, with PySide 1.1.0 from the official PPA.

At a similar time, one of my Windows users reported a QPlainTextEdit.document()
returning a QNetworkReply.

I have seen the same issue a few times on my own system with different
originating functions, and get both occasional reports with enough detail
(debug logs) to be sure it is this issue and multiple reports of odd transient
issues which could be attributed to this problem from my users, on both Windows
and Linux systems.

I have also seen the same issue reported by another user on #pyside:
Feb 12 13:31:35 <shevron> I am seeing very strange intermittent errors, where
an object which should be a QWebPage object is actually a QNetworkReply object
(yes I know it sounds wierd) - has anyone encountered something like that?
Feb 12 13:32:27 <shevron> actually now I see it's not the web page, it's the
QWebFrame object belonging to that page
Feb 12 13:33:09 <shevron> what version / OS are you on? I'm on the Ubuntu
packages for 11.10
Feb 12 13:33:21 <shevron> (I guess it's Qt 4.7.4, PySide 1.1.0 from the PPA)


Due to the infrequent nature of this issue, it's proven immensely difficult to
pin down any more debugging information, which I was hoping to obtain before
reporting. The glitch is too infrequent and random to be easily trapped to try
and work out what's happening. If I do find any more information, I'll update
the bug report.
Comment 1 Matti Airas 2012-03-08 16:57:41 EET
PySide is now a Qt-addon and uses Qt Project's JIRA tool for tracking bugs.
Please verify that the bug is still valid and re-submit it in the address
below:

https://bugreports.qt-project.org/

Sorry for the inconvenience!