[Eric] Eric Digest, Vol 44, Issue 24
detlev
detlev at die-offenbachs.de
Sun Feb 21 09:38:31 GMT 2010
On Samstag, 20. Februar 2010, David Ally wrote:
> Hi,
>
> Use the "menu options" to do what? I have already got the django plugins
> installed. I just need to start the plugin, and there is no way to do this
> from the menu items, atleasr i do not know how to do this.
The plugin is automatically activated, when a project of type "Django" is
opened or created. Please see the project properties dialog.
>
> David
>
>
>
>
> ________________________________
> From: "eric-request at riverbankcomputing.com"
> <eric-request at riverbankcomputing.com> To: eric at riverbankcomputing.com
> Sent: Sat, February 20, 2010 1:00:01 PM
> Subject: Eric Digest, Vol 44, Issue 24
>
> 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: Adding a text file to project (detlev)
> 2. Re: Auto-complete weird behaviour (detlev)
> 3. Re: Eric Digest, Vol 44, Issue 20 (detlev)
> 4. Re: Svn install (detlev)
> 5. Re: AUto-complete suggestion box (detlev)
> 6. Re: Debugger crashes 2 (detlev)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 19 Feb 2010 21:46:59 +0100
> From: detlev <detlev at die-offenbachs.de>
> To: eric at riverbankcomputing.com
> Subject: Re: [Eric] Adding a text file to project
> Message-ID: <201002192146.59459.detlev at die-offenbachs.de>
> Content-Type: Text/Plain; charset="iso-8859-1"
>
> On Sonntag, 14. Februar 2010, Kirk Lowery wrote:
> > 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?
>
> Just do it on the Others tab of the project viewer.
>
> Detlev
>
> > 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 ?
>
> What's so bad about "Enter" or "Escape"?
>
> Detlev
>
> > 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
> >
> > > 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)
> >
> > > 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
> >
> >
> >
> > Hi David,
> >
> > Go to http://eric-ide.python-projects.org/eric-code.html
> > or use
> > svn co
> > http://die-offenbachs.homelinux.org/svn/eric4repository/eric4/trunk/
> > (which will give you a 'trunk' folder in the directory where run, unless
> > you define a custom dir name)
> >
> > Also, you can run 'svn help co' in Terminal for info on the checkout
> > sub-command. Learn more about Subversion @ http://subversion.apache.org
> > or http://svnbook.red-bean.com
> >
> > The checkouts tend to be a bit slow. It's not a stable release, so I
> > believe you do not run the install.py script, but instead copy over your
> > existing install in site-packages (after backing it up first). Detlev
> > would know more about the correct way to 'install' the checkout.
>
> You don't "install" it. Just run it directly from the sources. However, as
> a first step you should run the compileUi.py script to compile all the
> *.ui files to Python code.
>
> > PS: you can use svn on your Mac within eric for your eric projects by
> > setting up an svn repository directory first, then create sub directories
> > (with similar names to your projects) within it for your project's svn
> > version info. You do not have to use http:// (apache) with eric, if you
> > use file:// and set up your repository for local development (e.g., in
> > Terminal):
> >
> > svnadmin create /path/to/repository
> > (only have to do this once, to set up the repository)
> >
> > mkdir /path/to/repository/myprojectname
> > (do for every eric project, from Terminal or from within eric)
> >
> > then set the protocol for your eric project to file:// and the URL to
> > /path/to/repository/myprojectname (you can make that folder from within
> > the URL folder dialog as well). That's it. I set mine up in a disk image
> > or via Dropbox.com to have it portable between machines.
> >
> > > From: David Arnold <dwarnold45 at suddenlink.net>
> > > Date: Wed, 17 Feb 2010 11:22:36 -0800
> > > To: <eric at riverbankcomputing.com>
> > > Subject: [Eric] Svn install
> > >
> > > Detlev,
> > >
> > > Did you update the repo regarding your fix for the help browser
> > > crashes?
> > >
> > > If so, how do you do an install from the repository download?
> > >
> > > David.
> > > _______________________________________________
> > > Eric mailing list
> > > Eric at riverbankcomputing.com
> > > http://www.riverbankcomputing.com/mailman/listinfo/eric
> >
> > _______________________________________________
> > Eric mailing list
> > Eric at riverbankcomputing.com
> > http://www.riverbankcomputing.com/mailman/listinfo/eric
>
> Detlev
>
> > Hi
> >
> > I'm coming back again on this subjezct.
> >
> > When I start typing a word and the auto-complete suggestion box appears,
> > if I finish typing the word by myself (and in the case only one
> > suggestion remains) the box remains open and waiting for a "Enter" or
> > "Escape".
> >
> > Can it not disappear automatically in the case only one suggestion
> > remains and maches the complete word typed ? Or alternatively, can not
> > "Space" also close the box automatically (ie, I go on to the next word so
> > I ignore the suggestions) ?
>
> That feature is not provided by QScintilla. You should post a request on
> the QScintilla mailing list.
>
> Detlev
>
> > Hi
> >
> > When i try to debug my project the debugger crashes after the main calls
> > gui.start() 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.
> >
> > I traced it back to that command:
> >
> > gui.start() # starts the run fct and keeps the window open
> >
> > after that the debugger crashes.
> >
> > The code for reproducing:
> >
> > import pygame, time, threading, sys
> > from pygame.locals import *
> > class Screen:
> > def __init__(self,size,name):
> > pygame.init() # init pygame things like sound,video ....
> > self.Surface = pygame.display.set_mode(size)
> > self.Surface.fill((255,255,255))
> > pygame.display.set_caption(name)
> > self.resolution = size
> > def clear(self):
> > self.Surface.fill((255,255,255))
> > class Main(threading.Thread):
> > def __init__(self):
> > threading.Thread.__init__(self)
> > self.stopthread = threading.Event()
> > self.Screen = Screen((800,600),"Tesz")
> > def run(self): # runs with .start() main program not the fork
> > while not self.stopthread.isSet():
> > pygame.display.update()
> > for event in pygame.event.get():
> > if event.type == QUIT: # if X is pressed
> > pygame.quit() # exit pygame
> > sys.exit()
> > pygame.display.update()
> > def stop(self): # func to stop progammm e.g. for button
> > self.stopthread.set()
> > if __name__ == "__main__": # if this is the mainporgamm and no module
> > gui = Main() # generate main obj
> > gui.start() # starts the run fct and keeps the window open
> >
> > 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
>
--
Detlev Offenbach
detlev at die-offenbachs.de
More information about the Eric
mailing list