[Eric] Eric Digest, Vol 44, Issue 20

David Ally david_ally at yahoo.com
Tue Feb 16 15:35:59 GMT 2010


Hi All,

How do i start Django in the eric4 environment on my ubuntu 9.10?

David





________________________________
From: "eric-request at riverbankcomputing.com" <eric-request at riverbankcomputing.com>
To: eric at riverbankcomputing.com
Sent: Tue, February 16, 2010 1:00:02 PM
Subject: Eric Digest, Vol 44, Issue 20

Send Eric mailing list submissions to
    eric at riverbankcomputing.com

To subscribe or unsubscribe via the World Wide Web, visit
    http://www.riverbankcomputing.com/mailman/listinfo/eric
or, via email, send a message with subject or body 'help' to
    eric-request at riverbankcomputing.com

You can reach the person managing the list at
    eric-owner at riverbankcomputing.com

When replying, please edit your Subject line so it is more specific
than "Re: Contents of Eric digest..."


Today's Topics:

   1. Re: How do you detect such an error? (Linos)
   2. Re: Icon Directory (detlev)
   3. Re: Switching source windows (detlev)
   4. Re: Paren matching highlighter (detlev)
   5. Adding a text file to project (Kirk Lowery)
   6. Completion popup (David Arnold)
   7. Auto-complete weird behaviour (NARCISO, Rui)
   8. Debugger crashes (Manuel Soukup)


----------------------------------------------------------------------

Message: 1
Date: Sun, 14 Feb 2010 10:22:45 +0100
From: Linos <info at linos.es>
To: David Arnold <dwarnold45 at suddenlink.net>,
    eric at riverbankcomputing.com
Subject: Re: [Eric] How do you detect such an error?
Message-ID: <4B77C0E5.7030604 at linos.es>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed

Hello David,
    self.connect should return True if the connection has found the signature, so 
when for first time i write a connect and i am not sure i write "print 
self.connect(....)"

Regards,
Miguel Angel.

El 14/02/10 06:48, David Arnold escribi?:
> All,
>
> What do you do when your code doesn't seem to throw any errors but does not work as expected? In this case, the error lies in:
>
>          self.connect(slider, QtCore.SIGNAL('valuechanged(int)'), lcd,
>                  QtCore.SLOT('display(int)'))
>
> Which should be:
>
>          self.connect(slider, QtCore.SIGNAL('valueChanged(int)'), lcd,
>                  QtCore.SLOT('display(int)'))
>
> How can you find errors like this?
>
> David
>
>
> # sigslot.py
>
> import sys
> from PyQt4 import QtGui, QtCore
>
> class SigSlot(QtGui.QWidget):
>      def __init__(self, parent=None):
>          QtGui.QWidget.__init__(self, parent)
>
>          self.setWindowTitle('Signals and Slots')
>
>          lcd = QtGui.QLCDNumber(self)
>          slider=QtGui.QSlider(QtCore.Qt.Horizontal, self)
>
>          vbox=QtGui.QVBoxLayout()
>          vbox.addWidget(lcd)
>          vbox.addWidget(slider)
>
>          self.setLayout(vbox)
>
>          self.connect(slider, QtCore.SIGNAL('valuechanged(int)'), lcd,
>                  QtCore.SLOT('display(int)'))
>
>          self.resize(250, 150)
>
> app=QtGui.QApplication(sys.argv)
> ss=SigSlot()
> ss.show()
> sys.exit(app.exec_())
>
> _______________________________________________
> Eric mailing list
> Eric at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/eric
>



------------------------------

Message: 2
Date: Sun, 14 Feb 2010 11:10:51 +0100
From: detlev <detlev at die-offenbachs.de>
To: eric at riverbankcomputing.com
Subject: Re: [Eric] Icon Directory
Message-ID: <201002141110.51137.detlev at die-offenbachs.de>
Content-Type: Text/Plain;  charset="iso-8859-1"

On Sonntag, 14. Februar 2010, David Arnold wrote:
> All,
> 
> What is the proper way to add a directory of icons to a project?
> 

In eric4/5 I added the icon directory via the Others tab of the project 
viewer.

Detlev
-- 
Detlev Offenbach
detlev at die-offenbachs.de


------------------------------

Message: 3
Date: Sun, 14 Feb 2010 11:11:36 +0100
From: detlev <detlev at die-offenbachs.de>
To: eric at riverbankcomputing.com
Subject: Re: [Eric] Switching source windows
Message-ID: <201002141111.36551.detlev at die-offenbachs.de>
Content-Type: Text/Plain;  charset="iso-8859-1"

On Sonntag, 14. Februar 2010, David Arnold wrote:
> Hi,
> 
> Say I have two files open in the editor pane, each with its own tab. Is
>  there a keyboard shortcut to switch back and forth from one to the other?
> 

Yes (s. shortcuts dialog)

-- 
Detlev Offenbach
detlev at die-offenbachs.de


------------------------------

Message: 4
Date: Sun, 14 Feb 2010 11:12:36 +0100
From: detlev <detlev at die-offenbachs.de>
To: eric at riverbankcomputing.com
Subject: Re: [Eric] Paren matching highlighter
Message-ID: <201002141112.36360.detlev at die-offenbachs.de>
Content-Type: Text/Plain;  charset="iso-8859-1"

On Sonntag, 14. Februar 2010, David Arnold wrote:
> All,
> 
> I made a setting some time back that changed the color of matching braces
>  to green while typing.
> 
> I cannot find that setting to make a change.
> 
> Can someone point me in the right direction?
> 

Editor->Styles


-- 
Detlev Offenbach
detlev at die-offenbachs.de


------------------------------

Message: 5
Date: Sun, 14 Feb 2010 10:21:29 -0500
From: Kirk Lowery <empirical.humanist at gmail.com>
To: eric at riverbankcomputing.com
Subject: [Eric] Adding a text file to project
Message-ID:
    <e74dfca61002140721i29c359ffk5a84b890bec63da0 at mail.gmail.com>
Content-Type: text/plain; charset=UTF-8

I'd like to add a *.txt file to a project (I'm keeping notes about
things as I go). But eric won't let me add the file to the project
file list.

What am I missing?

Kirk


------------------------------

Message: 6
Date: Sun, 14 Feb 2010 20:41:14 -0800
From: David Arnold <dwarnold45 at suddenlink.net>
To: eric at riverbankcomputing.com
Subject: [Eric] Completion popup
Message-ID: <9B382893-84C5-4BC9-B80F-080B7FCEA326 at suddenlink.net>
Content-Type: text/plain; charset=us-ascii

All,

It would be a nice feature if the completion popup box would automatically close if you use Alt+Tab or the mouse to switch applications. It's a pain when it stays open when you switch applications and covers what you might need to read.

D.

------------------------------

Message: 7
Date: Mon, 15 Feb 2010 20:09:48 +0100
From: "NARCISO, Rui" <RUI.NARCISO at airbus.com>
To: "Eric \(E-mail\)" <eric at riverbankcomputing.com>
Subject: [Eric] Auto-complete weird behaviour
Message-ID:
    <24784_1266260994_4B799C02_24784_103_1_041722AB1B763F4A93A9208ED7FB8D4C0720B48D at fr0-mailmb19.res.airbus.corp>
    
Content-Type: text/plain;    charset="iso-8859-1"


Hi all,

I'm using Eric for a python project (by the way, amazing tool!!).

I have auto-complete activated, however, when a list is presented with several choices, if I continue typing until only one suggesiton exists, the box remains open and if I want to continue typeing (ie, ignore the suggestion) I'm am blocked until I type "Enter" or "Escape". Cannot "Space" be also recognised so as to close the box and allow to continue the sentence ?

Cheers
Rui

The information in this e-mail is confidential. The contents may not be disclosed or used by anyone other than the addressee. Access to this e-mail by anyone else is unauthorised.
If you are not the intended recipient, please notify Airbus immediately and delete this e-mail.
Airbus cannot accept any responsibility for the accuracy or completeness of this e-mail as it has been sent over public networks. If you have any concerns over the content of this message or its Accuracy or Integrity, please contact Airbus immediately.
All outgoing e-mails from Airbus are checked using regularly updated virus scanning software but you should take whatever measures you deem to be appropriate to ensure that this message and any attachments are virus free.



------------------------------

Message: 8
Date: Tue, 16 Feb 2010 03:15:08 +0000
From: Manuel Soukup <linuxuser-sky at gmx.de>
To: eric at riverbankcomputing.com
Subject: [Eric] Debugger crashes
Message-ID: <4B7A0DBC.4000907 at gmx.de>
Content-Type: text/plain; charset=ISO-8859-15; format=flowed

Hi

When i try to debug my project the debugger crashes after graphic init with:

/home/manuel/Python/new/workspace/mySoko/Main.py has terminated with an
exit status of 0.

The Debugger window is closed and im back in the editor view.

Other debugger like winpdb work.

My code can be seen here for reproducing:

http://pastebin.com/mc79efb

All is one file.

As well you need the following:

data/img/bg.png
data/img/box.png
data/img/target.png
data/img/palyer.png

and a file called level2.data

With this content:

!Test
#######
* @ $ .
########
%
########
** @ ..$$


At first there wehre some errors in the console about eric***.py but now
i cant reproduce it anymore. *very strange*

I use the latest stable eric4.

I deleted .eric4 already but does not help.

I think eric is a great IDE but whithout a working debugger useless.

Please help

Thanks



------------------------------

_______________________________________________
Eric mailing list
Eric at riverbankcomputing.com
http://www.riverbankcomputing.com/mailman/listinfo/eric


End of Eric Digest, Vol 44, Issue 20
************************************



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.riverbankcomputing.com/pipermail/eric/attachments/20100216/28dae604/attachment.html>


More information about the Eric mailing list