anygui-users Mailing List for anygui - Generic GUI Module for Python (Page 5)
Brought to you by:
mlh
You can subscribe to this list here.
2001 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(6) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2002 |
Jan
(9) |
Feb
(27) |
Mar
(1) |
Apr
(2) |
May
(3) |
Jun
|
Jul
|
Aug
(1) |
Sep
(2) |
Oct
(4) |
Nov
(1) |
Dec
(3) |
2003 |
Jan
(3) |
Feb
(2) |
Mar
(19) |
Apr
(15) |
May
(11) |
Jun
(2) |
Jul
|
Aug
|
Sep
(7) |
Oct
|
Nov
|
Dec
(2) |
2004 |
Jan
|
Feb
(5) |
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(2) |
Oct
(1) |
Nov
|
Dec
|
From: Terry <tg...@ci...> - 2002-02-07 22:59:01
|
> Yep. You don't have the module named weakref, as the error says. > You should upgrade to Python 2.1 (as pointed out by the FAQ at > anygui.org/faq). I first installed Python 2.1.1 from an rpm at Python.org that I had previously downloaded. Got exactly the same 'weakref' error as with the 2.0 that came with SuSE 7.2. Undaunted, I got Python 2.2 and installed it - and the error went away. :-) (Using the just released AnyGUI 0.1!) I don't know why since all the docs say weakref is in 2.1, but maybe the FAQ should read 2.2? I'm a newbe to Python (but have been programming since ENIAC II times), so bear with me. I'm starting a medium sized business app development (Python, Postgres, AnyGUI), and am hoping that AnyGUI will move along enough to keep me from too much re-work. I'll just be building prototype screens for a while, but I will be 'user-developer' testing AnyGUI quite a lot. I would like to put in a small request for some mega-widgets - Combo Box and Notebook are the most prominent by far as they are heavily used in business apps. I could deal with only a Tkinter backend for 3-6 months.... Thanks, Terry |
From: Boulet Stephen-C. <Ste...@mo...> - 2002-02-07 15:58:10
|
Is the anygui.backend() function supposed to report all available backends or just a default one? I have tk, wx, and msw available, and msw is the only one reported reported (anygui 0.1; python 2.2). Thanks. -- Stephen ________________________________________________ # testBackends.py tk = 0 wx = 1 msw= 0 qt = 0 if tk: import anygui.backends.tkgui as tkgui app = tkgui.Application() win = tkgui.Window() app.add(win) app.run() if wx: import anygui.backends.wxgui as wxgui app = wxgui.Application() win = wxgui.Window() app.add(win) app.run() if msw: import anygui.backends.mswgui as mswgui app = mswgui.Application() win = mswgui.Window() app.add(win) app.run() if qt: import anygui.backends.qtgui as qtgui app = qtgui.Application() win = qtgui.Window() app.add(win) app.run() |
From: Magnus L. H. <ma...@he...> - 2002-02-07 09:15:42
|
Thomas Heller <tho...@io...>: > > I've appended a simpleminded 'deinstall' class which I use in other setup > scripts. > Enable it with > setup(... > cmdclass = {'deinstall': deinstall}, > ... > ) > > in the setup script. This looks very good. Anyone opposed to adding this? (I wonder why distutils itself doesn't include something like this :) > Thomas -- Magnus Lie Hetland The Anygui Project http://hetland.org http://anygui.org |
From: Thomas H. <tho...@io...> - 2002-02-07 09:01:23
|
From: "Magnus Lie Hetland" <ma...@he...> > Thomas Heller <tho...@io...>: > > > > > > > We could of course add this sort of thing in our setup script (i.e. ad > > > an uninstall command), but then we'd have to remember the install > > > prefix etc. I guess there is a reason why they haven't added this to > > > distutils in general (although I wish they had :) > > > > > They have ;-). At least in the windows installer (setup.py bdist_wininst), > > which can also be created on Linux, btw. > > Knowing (nearly) nothing about Linux, isn't there also uninstall support > > for rpm? > > Yes. > > :) > > I meant for the distutils install mechanism. The others (windows > installer, rpm etc.) are really different mechanisms. That they have > uninstall options is nice, of course, but I still think the distutils > command set ought to include it... So you could do > > $ python setup.py install > > and then > > $ python setup.py uninstall > > It sounds so logical... But, as I said, we *can* do it ourselves... > We'd just have to store (in a file in the distribution) where the > files go. > I've appended a simpleminded 'deinstall' class which I use in other setup scripts. Enable it with setup(... cmdclass = {'deinstall': deinstall}, ... ) in the setup script. Thomas |
From: Magnus L. H. <ma...@he...> - 2002-02-07 08:47:22
|
Thomas Heller <tho...@io...>: > > > > We could of course add this sort of thing in our setup script (i.e. ad > > an uninstall command), but then we'd have to remember the install > > prefix etc. I guess there is a reason why they haven't added this to > > distutils in general (although I wish they had :) > > > They have ;-). At least in the windows installer (setup.py bdist_wininst), > which can also be created on Linux, btw. > Knowing (nearly) nothing about Linux, isn't there also uninstall support > for rpm? Yes. :) I meant for the distutils install mechanism. The others (windows installer, rpm etc.) are really different mechanisms. That they have uninstall options is nice, of course, but I still think the distutils command set ought to include it... So you could do $ python setup.py install and then $ python setup.py uninstall It sounds so logical... But, as I said, we *can* do it ourselves... We'd just have to store (in a file in the distribution) where the files go. > Maybe we should provide more downloads than the tar.gz archive... Perhaps. I know I like rpms and windos installers myself... :) I'll take a look when we get to the next release. > Thomas -- Magnus Lie Hetland The Anygui Project http://hetland.org http://anygui.org |
From: Thomas H. <tho...@io...> - 2002-02-07 08:38:43
|
> We could of course add this sort of thing in our setup script (i.e. ad > an uninstall command), but then we'd have to remember the install > prefix etc. I guess there is a reason why they haven't added this to > distutils in general (although I wish they had :) > They have ;-). At least in the windows installer (setup.py bdist_wininst), which can also be created on Linux, btw. Knowing (nearly) nothing about Linux, isn't there also uninstall support for rpm? Maybe we should provide more downloads than the tar.gz archive... Thomas |
From: Magnus L. H. <ma...@he...> - 2002-02-07 08:19:13
|
Kalle Svensson <ka...@gn...>: > > [Stephen Boulet] > > ... so that I can uninstall the newer version, of course. > > > > I thought that "python setup.py uninstall" in the previous beta would work, > > but it doesn't. What's the correct way to uninstall the previous version > > before installing the newer version? > > I don't think you have to, at the moment. No, neither do I. The old stuff will be overwritten by the new stuff. (I guess that if a new release doesn't have a file that was present in an old one, that wouldn't be overwritten, but it wouldn't be used either, so... :) > But the easiest way would > be to > rm -r /usr/local/lib/python2.1/site-packages/anygui > or your local equivalent. That is, just remove the anygui directory. Right. We could of course add this sort of thing in our setup script (i.e. ad an uninstall command), but then we'd have to remember the install prefix etc. I guess there is a reason why they haven't added this to distutils in general (although I wish they had :) > Peace, > Kalle -- Magnus Lie Hetland The Anygui Project http://hetland.org http://anygui.org |
From: Kalle S. <ka...@gn...> - 2002-02-06 15:13:59
|
[Stephen Boulet] > ... so that I can uninstall the newer version, of course. > > I thought that "python setup.py uninstall" in the previous beta would work, > but it doesn't. What's the correct way to uninstall the previous version > before installing the newer version? I don't think you have to, at the moment. But the easiest way would be to rm -r /usr/local/lib/python2.1/site-packages/anygui or your local equivalent. That is, just remove the anygui directory. Peace, Kalle -- Kalle Svensson (ka...@gn...) - Laziness, impatience, hubris: Pick two! English: http://www.gnupung.net/ Svenska: http://www.lysator.liu.se/~kalle/ Stuff: ["http://www.%s.org/" % x for x in "gnu debian python emacs".split()] |
From: Stephen B. <st...@th...> - 2002-02-06 14:55:16
|
... so that I can uninstall the newer version, of course. I thought that "python setup.py uninstall" in the previous beta would work, but it doesn't. What's the correct way to uninstall the previous version before installing the newer version? Thanks. -- Stephen |
From: Magnus L. H. <ma...@he...> - 2002-02-06 02:29:37
|
I have officially released Anygui 0.1 (final). Yay! :) Now we can really start working on all the good stuff for 0.2... -- Magnus Lie Hetland The Anygui Project http://hetland.org http://anygui.org |
From: Magnus L. H. <ma...@he...> - 2002-02-03 19:51:28
|
Terry <tg...@ci...>: > > > > You should upgrade to Python 2.1 (as pointed out by the FAQ at > > anygui.org/faq). > > Well, that should teach me to RTF(aq).... :) We originally supported 2.0... Until we started using weak references. (It may be that you can still make things work if you get the weakref module separately; but don't count on it ;) > Thanks, > > -- > Terry -- Magnus Lie Hetland The Anygui Project http://hetland.org http://anygui.org |
From: Terry <tg...@ci...> - 2002-02-03 04:54:29
|
> You should upgrade to Python 2.1 (as pointed out by the FAQ at > anygui.org/faq). Well, that should teach me to RTF(aq).... Thanks, -- Terry |
From: Magnus L. H. <ma...@he...> - 2002-02-02 16:05:20
|
Terry <tg...@ci...>: > > > Hello, > > I'm using 0.1beta1 (using Python 2.0 that came with the SuSE7.2 > distro)I downloaded on 01/05/2002. > > When I tried the tutorial example, I got the error (without all of the > traceback) "ImportError No module named weakref" from References.py. > The error occurs on tutorial line "btn=Button()". I have tried the > tests (both all and individually) and get the same error. > > Any thoughts? Yep. You don't have the module named weakref, as the error says. You should upgrade to Python 2.1 (as pointed out by the FAQ at anygui.org/faq). Good luck :) > Thanks, -- Magnus Lie Hetland The Anygui Project http://hetland.org http://anygui.org |
From: G. <fgr...@ma...> - 2002-02-02 09:05:31
|
At 15:19 -0500 1/02/02, in message [Anygui-users] Import error on widget use, Terry wrote: >Hello, > >I'm using 0.1beta1 (using Python 2.0 that came with the SuSE7.2 >distro)I downloaded on 01/05/2002. > >When I tried the tutorial example, I got the error (without all of the >traceback) "ImportError No module named weakref" from References.py. As far as I remember, you need a more recent version of Python. I think that it is 2.1 -- François Granger fgr...@ma... |
From: Terry <tg...@ci...> - 2002-02-01 19:02:39
|
Hello, I'm using 0.1beta1 (using Python 2.0 that came with the SuSE7.2 distro)I downloaded on 01/05/2002. When I tried the tutorial example, I got the error (without all of the traceback) "ImportError No module named weakref" from References.py. The error occurs on tutorial line "btn=Button()". I have tried the tests (both all and individually) and get the same error. Any thoughts? Thanks, -- Terry |
From: Magnus L. H. <ml...@id...> - 2002-01-07 16:22:13
|
On Mon, Jan 07, 2002 at 02:46:32PM +0100, Kalle Svensson wrote: > [Karthik Gurumurthy] > > I have decided to use anygui for gui demo. > > I'm looking for a combobox and am unable to find one. > > That's probably because there isn't one (AFAIK). Anygui is still in version > 0.1beta, and some planned components aren't implemented. Sorry. But there will be one soon... Dallas is working on it, and will be making a "default" version based on a text field, a button, and a listbox, for those backends that don't support comboboxes natively. So we'll probably have this in release 0.2, and getting a "trial version" before that ought to be possible, I'm sure ;) > Peace, > Kalle -- Magnus Lie Hetland The Anygui Project http://hetland.org http://anygui.org |
From: Kalle S. <ka...@gn...> - 2002-01-07 13:46:40
|
[Karthik Gurumurthy] > I have decided to use anygui for gui demo. > I'm looking for a combobox and am unable to find one. That's probably because there isn't one (AFAIK). Anygui is still in version 0.1beta, and some planned components aren't implemented. Sorry. Peace, Kalle -- Kalle Svensson (ka...@gn...) - Laziness, impatience, hubris: Pick two! English: http://www.gnupung.net/ Svenska: http://www.lysator.liu.se/~kalle/ Stuff: ["http://www.%s.org/" % x for x in "gnu debian python emacs".split()] |
From: Karthik G. <kar...@az...> - 2002-01-07 11:54:00
|
hi!, I have been doing python for a couple of months now. Ours is mainly a java and shop and people have kind of heard about python but not much really. I too am a newbie in python but am doing a presentation here @ our place on python. I picked up martin fowler's refactoring example and rewrote it in python. That would be telling more of python language core features. I have decided to use anygui for gui demo. I'm looking for a combobox and am unable to find one. any help? thanks, karthik. |
From: Patrick K. O'B. <po...@or...> - 2002-01-04 20:47:25
|
That would be an interesting possibility. Anygui has talked about supporting HTML. Webware adds another layer over that. I'm not sure how easy the combination would be. It isn't something I plan to tackle any time soon. --- Patrick K. O'Brien Orbtech.com - Your Source For Python Development Services Phone: 314-963-3206 > -----Original Message----- > From: any...@li... > [mailto:any...@li...]On Behalf Of > Rodion Zvorygin > Sent: Friday, January 04, 2002 1:51 PM > To: us...@an...; po...@or... > Subject: [Anygui-users] Webware integrated > > > You plan to integrate anygui with webware? > (http://webware.sourceforge.net) > > Rodion. |
From: Magnus L. H. <ml...@id...> - 2002-01-04 20:45:01
|
On Fri, Jan 04, 2002 at 11:42:27PM +0300, Rodion Zvorygin wrote: > > > You plan to integrate anygui with webware? > > > (http://webware.sourceforge.net) > > > > I'm not sure how that would work... If we get a HTML backend (which we > > currently don't have) we certainly might look into it. Do you have any > > thoughts in the matter? > > > May be with help of http://www.cheetahtemplate.org/ ? Interesting. I hadn't seen that one. I'm not sure whether it's exactly what's needed for Anygui, but it's cool nonetheless :) > I don't no. But I like webware, cheetah and anygui now! I'm glad to hear that :) > > Rodion. > -- Magnus Lie Hetland The Anygui Project http://hetland.org http://anygui.org |
From: Magnus L. H. <ml...@id...> - 2002-01-04 20:05:46
|
On Fri, Jan 04, 2002 at 10:50:52PM +0300, Rodion Zvorygin wrote: > You plan to integrate anygui with webware? > (http://webware.sourceforge.net) I'm not sure how that would work... If we get a HTML backend (which we currently don't have) we certainly might look into it. Do you have any thoughts in the matter? > > Rodion. -- Magnus Lie Hetland The Anygui Project http://hetland.org http://anygui.org |
From: Rodion Z. <rzv...@ya...> - 2002-01-04 19:48:21
|
You plan to integrate anygui with webware? (http://webware.sourceforge.net) Rodion. _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com |
From: Magnus L. H. <ml...@id...> - 2002-01-04 18:40:31
|
I have just written a tutorial and added it to the distribution. It is also available from the website. -- Magnus Lie Hetland The Anygui Project http://hetland.org http://anygui.org |
From: Magnus L. H. <ml...@id...> - 2002-01-04 18:40:04
|
Just in case someone here on the user list hadn't picked up the news: The first beta release is out, and is available from the website. :) -- Magnus Lie Hetland The Anygui Project http://hetland.org http://anygui.org |
From: Magnus L. H. <ml...@id...> - 2001-12-27 11:14:14
|
On Wed, Dec 26, 2001 at 10:29:50PM -0800, Brett wrote: > > I can already see that be a great boon for anygui. I am sure their are going > to be many people who already know a GUI API and are not going to want to give > them up because they know the one so well. But if they can leverage anygui's > platform-agnostic power while being able to backend-specific abilities when > needed that whould be able to convert a lot of people to using the API. I hope so :) I've been thinking a bit about how to do it, and although it is already possible, it isn't very convenient. But a simple API should be in place by release 0.2, at the latest (I think). > > > I think you can very well use it for experimentation and learning, > > yes. There are changes ahead, though. The most noticable are perhaps > > a more extensive set of events and the addition of menus (which > > currently aren't available). > > > > If they are mostly going to be additions and not changes, then I I already know > which GUI API I am going to start with. =) > Well, as the documentation warns, we may see changes still... But by summer next year, we'll hopefully have reached release 0.3, and then things will probably be quite stable for a while. But I think most changes will be internal -- except for added functionality. > I would be honored to act as a test subject for anygui-dev. Someone has to be > the space monkey, right? =) :) > I will be happy to e-mail comments, questions, suggestions, etc. as I delve into > the world of GUI programming. It might be a little while, though, because a > project that I must do in pure Scheme (using STk and Tk, actually) first. But > when that is done, I have the perfect project to add a GUI to. Good. > -Brett C. -- Magnus Lie Hetland The Anygui Project http://hetland.org http://anygui.org |