From pykde Wed Nov 22 06:14:43 2006 From: Daryl Dusheiko Date: Wed, 22 Nov 2006 06:14:43 +0000 To: pykde Subject: Re: [PyKDE] TypeError: argument 1 of QsciScintilla() has an invalid Message-Id: <4563EAD3.4010706 () magtech ! com ! au> X-MARC-Message: https://marc.info/?l=pykde&m=116417701215401 MIME-Version: 1 Content-Type: multipart/mixed; boundary="--------------070109070600090809010504" This is a multi-part message in MIME format. --------------070109070600090809010504 Content-Type: text/html; charset=ISO-8859-15 Content-Transfer-Encoding: 8bit Hi,

Got it working by installing the latest snapshot. But the bug I reported in an email on 11 Oct 2006,
"[PyKDE] Edge mode not working with eric an ubuntu",  still exists in this version. I'll send a separate email to Phil.

I've included the original email in this message.

I'm wanting to display a line at column 80 using the edge mode with the
mode set to draw line. A line is  displayed but is not at column 80. It
is being shown at position 40.
I think it is because the character spacing looks wrong. I've got the
tab width and indentation widths set to 4 but is seems to be only two
characters wide - judged by enabling show indentation guide.


Cheers

Daryl

Detlev Offenbach wrote:
Hi,

that type is correct and should work because QDockWidget is inheriting from 
QWidget, which is the correct type for the parent argument.

Detlev

On Monday 20 November 2006 04:59, Daryl Dusheiko wrote:
  
 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
______________________________________________________________________
--------------070109070600090809010504 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 --------------070109070600090809010504 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 --------------070109070600090809010504--