From pykde Mon Nov 20 03:59:49 2006 From: Daryl Dusheiko Date: Mon, 20 Nov 2006 03:59:49 +0000 To: pykde Subject: Re: [PyKDE] TypeError: argument 1 of QsciScintilla() has an invalid Message-Id: <45612835.7090406 () magtech ! com ! au> X-MARC-Message: https://marc.info/?l=pykde&m=116399557915873 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--------------070206030703060707060305" This is a multi-part message in MIME format. --------------070206030703060707060305 Content-Type: text/html; charset=ISO-8859-15 Content-Transfer-Encoding: 7bit Hi the type is:
<class 'PyQt4.QtGui.QDockWidget'>

Detlev Offenbach wrote:
Hallo,

unfortunately I cannot reproduce the problem. Cann you please try to determine 
the type of "parent" in the file given below?

Regards,
Detlev

On Thursday 16 November 2006 10:49, Daryl Dusheiko wrote:
  
Hi

I am using Ubuntu (edgy). I have manually built and installed the
following: eric4-snapshot-20061112
PyQt-x11-gpl-4.1
QScintilla2-1.71-gpl-2-snapshot-20061104
sip-4.5

Python 2.4 was installed as part of the distro.


When I start eric4 I get the following error:


Warning: translation file 'qt_en_AU'could not be loaded.
Using default.
Warning: translation file 'eric4_en_AU'could not be loaded.
Using default.
Warning: translation file 'qscintilla_en_AU'could not be loaded.
Using default.
Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/eric4/eric4.py", line 155, in ?
    main()
  File "/usr/lib/python2.4/site-packages/eric4/eric4.py", line 140, in main
    mw = UserInterface(loc, splash)
  File "/usr/lib/python2.4/site-packages/eric4/UI/UserInterface.py",
line 229, in __init__
    self.__createLayout(debugServer)
  File "/usr/lib/python2.4/site-packages/eric4/UI/UserInterface.py",
line 657, in __createLayout
    self.shell = Shell(debugServer, self.viewmanager, self.shellDock)
  File "/usr/lib/python2.4/site-packages/eric4/QScintilla/Shell.py",
line 41, in __init__
    QsciScintillaCompat.__init__(self, parent)
  File
"/usr/lib/python2.4/site-packages/eric4/QScintilla/QsciScintillaCompat.py",
line 52, in __init__
    QsciScintilla.__init__(self, parent)
TypeError: argument 1 of QsciScintilla() has an invalid type


Cheers

Daryl
    

  

-- 
Direct line: +61 2 9562 9858
Come and visit us at the ID WORLD at Stand C01 from 29 to 30 November, 2006 in Milan, ITALY. Visit www.idworldonline.com for more information. 

______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________
--------------070206030703060707060305 Content-Type: text/x-vcard; charset=utf-8; name="daryld.vcf" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="daryld.vcf" begin:vcard fn:Daryl Dusheiko n:Dusheiko;Daryl adr:;;65 Johnston St;Annandale;NSW;2038;Australia email;internet:daryld@magtech.com.au tel;work:+ 61 2 9562 9858 tel;fax:+61 2 9518 7620 url:http://www.magtech.com.au version:2.1 end:vcard --------------070206030703060707060305 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ PyKDE mailing list PyKDE@mats.imk.fraunhofer.de http://mats.imk.fraunhofer.de/mailman/listinfo/pykde --------------070206030703060707060305--