Hi All, How do i start Django in the eric4 environment on my ubuntu 9.10?
David ________________________________ From: "[email protected]" <[email protected]> To: [email protected] Sent: Tue, February 16, 2010 1:00:02 PM Subject: Eric Digest, Vol 44, Issue 20 Send Eric mailing list submissions to [email protected] 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 [email protected] You can reach the person managing the list at [email protected] 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 <[email protected]> To: David Arnold <[email protected]>, [email protected] Subject: Re: [Eric] How do you detect such an error? Message-ID: <[email protected]> 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 > [email protected] > http://www.riverbankcomputing.com/mailman/listinfo/eric > ------------------------------ Message: 2 Date: Sun, 14 Feb 2010 11:10:51 +0100 From: detlev <[email protected]> To: [email protected] Subject: Re: [Eric] Icon Directory Message-ID: <[email protected]> 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 [email protected] ------------------------------ Message: 3 Date: Sun, 14 Feb 2010 11:11:36 +0100 From: detlev <[email protected]> To: [email protected] Subject: Re: [Eric] Switching source windows Message-ID: <[email protected]> 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 [email protected] ------------------------------ Message: 4 Date: Sun, 14 Feb 2010 11:12:36 +0100 From: detlev <[email protected]> To: [email protected] Subject: Re: [Eric] Paren matching highlighter Message-ID: <[email protected]> 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 [email protected] ------------------------------ Message: 5 Date: Sun, 14 Feb 2010 10:21:29 -0500 From: Kirk Lowery <[email protected]> To: [email protected] Subject: [Eric] Adding a text file to project Message-ID: <[email protected]> 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 <[email protected]> To: [email protected] Subject: [Eric] Completion popup Message-ID: <[email protected]> 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" <[email protected]> To: "Eric \(E-mail\)" <[email protected]> Subject: [Eric] Auto-complete weird behaviour Message-ID: <24784_1266260994_4b799c02_24784_103_1_041722ab1b763f4a93a9208ed7fb8d4c0720b...@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 <[email protected]> To: [email protected] Subject: [Eric] Debugger crashes Message-ID: <[email protected]> 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 [email protected] http://www.riverbankcomputing.com/mailman/listinfo/eric End of Eric Digest, Vol 44, Issue 20 ************************************
_______________________________________________ Eric mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/eric
