Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fixed docs

  • Loading branch information...
commit 924dfc6a453ee89e419c8c0849c7f47f997317ba 1 parent c2be41b
@ghtdak authored
Showing with 17 additions and 4 deletions.
  1. +17 −4 README
View
21 README
@@ -1,12 +1,25 @@
-Unpack this directory into your PYTHONPATH. Install with:
+Unpack this directory into your PYTHONPATH.
+
+test with:
+
+trial --reactor=qt4 twisted (or twisted.test or twisted.test.test_internet)
+
+If you're using Qt 4.4 and the newer versions of twisted, I've been using:
+
+trial --reactor=qt4 --without-module gtk2reactor --recursionlimit=2000
+twisted 2>&1 | tee trial.out
+
+particularly on a 64 bit OS... I have no idea why the recursion limit matters more on 64 bit machines... maybe there's deeper to go so it does :-)
+
+= Using the Qt4Reactor =
+
+In your own code, BEFORE you import the reactor...
app = QApplication(sys.argv)
import qt4reactor
qt4reactor.install()
-test with:
-
-trial --reactor=qt4 twisted (or twisted.test or twisted.test.test_internet)
+= Gui =
There is a way to run trial using a gui... in bin, there is a routine
gtrial. Put that in the same directory as trial and it pops up a
Please sign in to comment.
Something went wrong with that request. Please try again.