Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Aug 2005 22:04:59 +0000
From:      Marcin Jessa <yazzy@yazzy.org>
To:        ports@FreeBSD.org
Subject:   qtorrent
Message-ID:  <20050809220459.34fc8c13.yazzy@yazzy.org>

next in thread | raw e-mail | index | archive | help
Hi.

There is an error in /usr/local/lib/python2.4/site-packages/pyqtorrent/torrentmain.py on line 504.
        fn = QFileDialog.getOpenFileName(None, "*.torrent")
 Needs to be replaced with:
       fn = QFileDialog.getOpenFileName("*.torrent")
Otherwise one will be unable to open any folder.

Error given then is:

Traceback (most recent call last):
  File "/usr/local/lib/python2.4/site-packages/pyqtorrent/torrentmain.py", line
504, in openFile
    fn = QFileDialog.getOpenFileName(None, "*.torrent")
RuntimeError: cannot pass None as argument 0 in this call

Cheers,
Marcin Jessa

P.S I am not subscribed to ports@ , please CC any responses to me.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050809220459.34fc8c13.yazzy>