You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
(11) |
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
(1) |
Dec
(1) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(3) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2004 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
|
2006 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Thomas J. <th...@ta...> - 2004-09-07 11:24:05
|
Greetings, I got the following problem when i try to run the form example in the example/ directory: morpheus# python form_example.py Traceback (most recent call last): File "form_example.py", line 2, in ? from ncurses.form import * File "/usr/local/lib/python2.3/site-packages/ncurses/form.py", line 27, in ? from ncurses.panel import * File "/usr/local/lib/python2.3/site-packages/ncurses/panel.py", line 23, in ? from ncurses.curses import * File "/usr/local/lib/python2.3/site-packages/ncurses/curses.py", line 23, in ? from ncurses import _curses # import curses interface ImportError: /usr/local/lib/python2.3/site-packages/ncurses/_curses.so: Undefined symbol "_nc_tracebits" Im running Python 2.3 from a FreeBSD 5.2.1 system, and I installed both python and pynurses from the ports. Any help would be greatly appriciated. Best Regards, Thomas Jacobsen |
From: Matthias R. <ra...@fs...> - 2001-07-29 03:48:05
|
Dear *, yesterday I downloaded the debianized version of pyncurses-0.3. Everytime I tried "from ncurses import curses", I got an error saying "ImportError: /usr/lib/python1.5/site-packages/ncurses/_curses.so: undefined symbol: trace". After some research via "nm -D -g /usr/lib/libncurses.so", I found out that the Debian version of libncurses.so does not contain the debugging trace routines. This could also be the reason for an error I saw on the mailinglist (http://www.geocrawler.com/archives/3/2143/2000/11/0/4727576/). After commenting out extern char *_nc_tracebits(void); extern char *_tracechar(const unsigned char); extern void trace(const unsigned int); in "ncurses/_curses.i" and changing mcprint, has_key, _nc_tracebits, _tracechar, \ trace, _nc_visbuf to mcprint, has_key, _nc_visbuf in "ncurses/curses.py" the examples seem to work fine (except for menu_example.py which seems to have the same problems as mentioned by Tom Newman in "http://www.geocrawler.com/archives/3/2143/2000/5/0/3689787/".) Rebuilding the Debian-packet from source didn't work, because "debian/rules" needed the missing files "compile.sh" and "install.sh". So I had to re-debianize pyncurses. I submitted the patch to the tracker. To Radovan: I don't want to "steal" your maintainership, I just don't want to blame you for all the errors I possibly introduced. share and enjoy, matthias -- www.cgi.vim.py.latex.ps.xml.kif.zope.ftp.w3c.tunix.html.pl.cvs.webding.org <matthias rahlf> <mailto:ra...@fs...> <fachschaft mathe/physik/info> <tel: (089) 289 - 22997> |
From: richard h. <gr...@fr...> - 2001-07-05 19:19:05
|
hi all, is there any activity on the list? I'm encountering nasty troubles trying to compile the package: neither the distutils way nor the swig one will work on my box ;( (see attachments) Could any body point me to the correct link where i could find a solution? Thx --=20 Richard Hitier ric...@di... 02 38 62 09 84 http://sourceforge.net/projects/formica (Orl=E9ans) http://groz.free.fr |
From: jose <jo...@ur...> - 2001-07-04 06:07:22
|
Hi all, I would like to use pyNcurses to interface python with PostgresSQL. I was trying the examples but I see only very rudimental examples, the menu_example doesn't work for me and I don't know how to use colors. I see this project is still in alpha release. Is it still active or it is dead? Is there anyone on the list using pyNcurses for a real world project? Someone has more sophisticated examples how to use pyNcurses? I'm new to ncurses, I would like to know if there is some documentation about how to use pyNcurses. Thank you very much for any help Jose Soares |
From: daniel <da...@12...> - 2001-01-01 21:57:17
|
Hello if i run de command "python ./test.py" i have this error "Traceback (innermost last): File "./test.py", line 1, in ? from ncurses.curses import * File "/usr/lib/python1.5/site-packages/ncurses/curses.py", line 23, in ? from ncurses import _curses # import curses interface ImportError: /usr/lib/python1.5/site-packages/ncurses/_curses.so: undefined symbol: trace" and the file test.py = "from ncurses.curses import * sc=initscr() sc.clear() sc.refresh()" and if i run python, and i type all this commands at prompt all this commands works !!!! way daniel (sorry for may bad anglais) |
From: h3o <h3...@ve...> - 2000-12-13 12:47:51
|
hello. on freebsd 4.0, python 1.5.2 and python 2.0, the only example which works is curses_example.py. the rest are as follows (substituting the example files names) ./panel_example.py Traceback (innermost last): File "./panel_example.py", line 2, in ? from ncurses.panel import * # import panel module File "/usr/local/lib/python1.5/site-packages/ncurses/panel.py", line 24, in ? from ncurses import _panel ImportError: /usr/local/lib/python1.5/site-packages/ncurses/_panel.so: Undefined symbol "update_panels" on linux RH 6 2.29, python 2.0 for all examples: ./curses_example.py Traceback (most recent call last): File "./curses_example.py", line 2, in ? from ncurses.curses import * # import the curses module File "/usr/local/lib/python2.0/site-packages/ncurses/curses.py", line 23, in ? from ncurses import _curses # import curses interface ImportError: /usr/local/lib/python2.0/site-packages/ncurses/_curses.so: undefined symbol: keybound can anyone shed any light on this? best andrew mckenzie |
From: janne h. <jha...@pp...> - 2000-11-27 15:23:54
|
Hello, I've successfully used Pyncurses-package (.rpm) in my app with Mandrake Linux 7.0. But when I installed 7.2 of the same dist, Pyncurses stopped working. I compiled the .src.rpm, but no avail. Here's the output: -- 8< -- from ncurses.panel import * File "/var/tmp/pyncurses-buildroot/usr//lib/python1.5/site-packages/ncurses/panel.py", line 23, in ? File "/var/tmp/pyncurses-buildroot/usr//lib/python1.5/site-packages/ncurses/curses.py", line 23, in ? ImportError: /usr/lib/python1.5/site-packages/ncurses/_curses.so: undefined symbol: trace -- >8 -- Something is obviously missing but what could it be? TIA, jsh |
From: igor <ig...@so...> - 2000-07-03 08:24:28
|
confirm 977159 |
From: Ulf B. <fl...@ik...> - 2000-05-23 18:59:30
|
http://lemon.tky.hut.fi/linux/cplay/ Supports both pyncurses and the old cursesmodule. I haven't done too much testing, but it seems ok. -- flu |
From: Thomas A. N. <ta...@po...> - 2000-05-04 01:26:14
|
Harry, On Wed, May 03, 2000 at 04:24:03PM -0400, Harry Henry Gebel wrote: > On Wed, May 03, 2000 at 11:05:43AM -0700, Thomas Andrew Newman wrote: > > > example/menu_example.py gives me a full-screen box > > containing, on the line above the bottom border: > > > > Press space to select, arrow and Home/End to navigate > > This is a known bug when using both 'menu' and 'panel', I hope to get a > chance to look at it this weekend. Is the bug in ncurses or in pyncurses? (I've never used either menu or panel, using cursesmodule-1.5b2 or the perl Curses module. I create menus and text entry windows using Curses::Widgets in perl.) Tom -- Tom Newman ta...@po... |
From: Thomas A. N. <ta...@po...> - 2000-05-04 01:21:30
|
Harry and folks, I got menu_example working. Here's the diff: [tan@tan examples]$ diff menu_example.py menu_example_tan.py 16c16,17 < --- > stdscr.refresh() > 36,37c37,38 < doupdate() < --- > doupdate() # update read screen > 41,42c42,45 < ch = getch() < if ch == KEY_UP: --- > # ch = getch() > ch = menu_window.getch() > # if ch == KEY_UP: > if ch == ord('u'): 44c47,48 < elif ch == KEY_DOWN: --- > # elif ch == KEY_DOWN: > elif ch == ord('d'): -- I had to change getch() to menu_window.getch() in the input loop. I had to add a refresh after the stdscr was created in order to see it. Before I changed getch() to menu_window.get(), the stdscr did get displayed (but the menu window didn't). KEY_DOWN and KEY_UP aren't recognized (and they are when I'm using cursesmodule-1.5b2). (I haven't tried the HOME and END keys.) Tom --- Tom Newman ta...@po... |
From: Harry H. G. <hg...@in...> - 2000-05-03 20:32:50
|
On Wed, May 03, 2000 at 11:05:43AM -0700, Thomas Andrew Newman wrote: > example/menu_example.py gives me a full-screen box > containing, on the line above the bottom border: > > Press space to select, arrow and Home/End to navigate This is a known bug when using both 'menu' and 'panel', I hope to get a chance to look at it this weekend. -- Harry Henry Gebel, Senior Developer, Landon House SBS West Dover Hundred, Delaware PyNcurses ncurses binding for Python: http://pyncurses.sourceforge.ne |
From: Thomas A. N. <ta...@po...> - 2000-05-03 19:23:27
|
On Wed, May 03, 2000 at 11:05:43AM -0700, Thomas Andrew Newman wrote: > Here's what I did: > > - removed the lines mentioning keybound and curses_version > from both _curses.i and ncurses_new.h (I had to use the > debian patch) > - ran make_c.sh > - ran setup.py build > - ran setup.py install > - ran the example scripts from inside their directory > (examples/) I forgot to mention: either I or one of the scripts removed 'keybound' and 'curses_version' from the '# import some built-in functions from _curses import...' statement in curses.py. Tom -- Tom Newman ta...@po... |
From: Thomas A. N. <ta...@po...> - 2000-05-03 18:08:59
|
Harry, Success! Thanks for your help. Here's what I did: - removed the lines mentioning keybound and curses_version from both _curses.i and ncurses_new.h (I had to use the debian patch) - ran make_c.sh - ran setup.py build - ran setup.py install - ran the example scripts from inside their directory (examples/) example/menu_example.py gives me a full-screen box containing, on the line above the bottom border: Press space to select, arrow and Home/End to navigate I.e., there are no choices printed. And the space, arrow, Home and End keys do anything. But I haven't yet looked at the script - maybe I can figure it out. Tom -- Tom Newman ta...@po... |
From: Harry H. G. <hg...@in...> - 2000-05-03 07:43:02
|
On Tue, May 02, 2000 at 11:04:11PM -0700, Thomas Andrew Newman wrote: > On Tue, May 02, 2000 at 11:47:49PM -0400, Harry Henry Gebel wrote: > > Try building again with line 243 missing from _curses.i , tell mo > > the result and we will work from there. > > When I do that, I no longer get the keybound error message, > but now I get this: > > [tan@tan pyncurses-0.3]$ examples/curses_example.py > Traceback (innermost last): > File "examples/curses_example.py", line 2, in ? > from ncurses.curses import * # import the curses module > File "ncurses/curses.py", line 23, in ? > from ncurses import _curses # import curses interface > ImportError: cannot import name _curses > Try running curses_example.py from inside the 'examples/' directory, or if you did not run `./setup.py install` from inside the 'build/lib.linux2-ppc' directory. If you run it from the top directory it will pick up the 'ncurses/' as module ncurses and will not be able to import _curses.so because that is in 'build/lib.linux2-ppc/ncurses' (or '/usr/lib/python15/site-packages/ncurses' if you ran `./setup.py install`. -- Harry Henry Gebel, Senior Developer, Landon House SBS West Dover Hundred, Delaware PyNcurses ncurses binding for Python: http://pyncurses.sourceforge.ne |
From: Thomas A. N. <ta...@po...> - 2000-05-03 06:07:20
|
Harry, On Tue, May 02, 2000 at 11:47:49PM -0400, Harry Henry Gebel wrote: > Try removing _curses.i line 243, many functions in ncurses are really > macros, and macros do not get along with SWIG (at least not 1.1.5), for > whatever reason your version of ncurses may have keybound as a macro while > mine has it as a function (you could also look into curses.h, all the > definitions are commented in the prototype to show whether they are macros > or not.) Here's the only reference to keybound in curses.h: extern char *keybound (int, int); and keybound does not appear in the list of function prototypes in curses.h > Try building again with line 243 missing from _curses.i , tell mo > the result and we will work from there. When I do that, I no longer get the keybound error message, but now I get this: [tan@tan pyncurses-0.3]$ examples/curses_example.py Traceback (innermost last): File "examples/curses_example.py", line 2, in ? from ncurses.curses import * # import the curses module File "ncurses/curses.py", line 23, in ? from ncurses import _curses # import curses interface ImportError: cannot import name _curses Tom -- Tom Newman ta...@po... |
From: Harry H. G. <hg...@in...> - 2000-05-03 04:00:03
|
> -rwxrwxr-x 1 root root 219780 May 2 18:52 _curses.so* > -rwxrwxr-x 1 root root 139581 May 2 18:52 _form.so* > -rwxrwxr-x 1 root root 107299 May 2 18:52 _menu.so* > -rwxrwxr-x 1 root root 56810 May 2 18:52 _panel.so* They are slightly bigger than mine, but that is almost certainly the result of being built for PPC which I am almost certain has larger binaries. (PS Is the PPC as fast as they say? A friend of mine keeps promising to put Linux on his Mac but keeps wimping out.) -- Harry Henry Gebel, Senior Developer, Landon House SBS West Dover Hundred, Delaware PyNcurses ncurses binding for Python: http://pyncurses.sourceforge.ne |
From: Harry H. G. <hg...@in...> - 2000-05-03 03:56:38
|
On Tue, May 02, 2000 at 07:10:26PM -0700, Thomas Andrew Newman wrote: > I ran setup.py build and setup.py install. > I get this when I try any of the example scripts or even a > script that says nothing but 'import ncurses.curses': > > Traceback (innermost last): > File "curses_example.py", line 2, in ? > from ncurses.curses import * # import the curses module > File > "/usr/lib/python1.5/site-packages/ncurses/curses.py", line > 23, in ? > from ncurses import _curses # import curses interface > ImportError: > /usr/lib/python1.5/site-packages/ncurses/_curses.so: > undefined symbol: keybound > linux 2.2.15pre3 on a power mac (linuxppc distro) > ncurses 5.0 > python 1.5.2-7 > I've used ncurses successfully using the python module cursesmodule.1.5b2 > and using the perl module Curses. > Here's the sizes of the .so files. Do these look right? > > -rwxrwxr-x 1 root root 219780 May 2 18:52 _curses.so* > -rwxrwxr-x 1 root root 139581 May 2 18:52 _form.so* > -rwxrwxr-x 1 root root 107299 May 2 18:52 _menu.so* > -rwxrwxr-x 1 root root 56810 May 2 18:52 _panel.so* Tom, Try removing _curses.i line 243, many functions in ncurses are really macros, and macros do not get along with SWIG (at least not 1.1.5), for whatever reason your version of ncurses may have keybound as a macro while mine has it as a function (you could also look into curses.h, all the definitions are commented in the prototype to show whether they are macros or not.) Try building again with line 243 missing from _curses.i , tell mo the result and we will work from there. -- Harry Henry Gebel, Senior Developer, Landon House SBS West Dover Hundred, Delaware PyNcurses ncurses binding for Python: http://pyncurses.sourceforge.ne |
From: Thomas A. N. <ta...@po...> - 2000-05-03 02:13:34
|
hi, Thanks for creating this module, Harry. I ran setup.py build and setup.py install. I get this when I try any of the example scripts or even a script that says nothing but 'import ncurses.curses': Traceback (innermost last): File "curses_example.py", line 2, in ? from ncurses.curses import * # import the curses module File "/usr/lib/python1.5/site-packages/ncurses/curses.py", line 23, in ? from ncurses import _curses # import curses interface ImportError: /usr/lib/python1.5/site-packages/ncurses/_curses.so: undefined symbol: keybound I then cleaned all the files made in the previous try and ran make_c.sh. No change - I got the same error message. linux 2.2.15pre3 on a power mac (linuxppc distro) ncurses 5.0 python 1.5.2-7 I've used ncurses successfully using the python module cursesmodule.1.5b2 and using the perl module Curses. Is keybound the first symbol in _curses.so? I'm wondering if the problem has nothing to do with 'keybound', but rather with importing _curses.so at all... Here's the sizes of the .so files. Do these look right? -rwxrwxr-x 1 root root 219780 May 2 18:52 _curses.so* -rwxrwxr-x 1 root root 139581 May 2 18:52 _form.so* -rwxrwxr-x 1 root root 107299 May 2 18:52 _menu.so* -rwxrwxr-x 1 root root 56810 May 2 18:52 _panel.so* thanks, Tom -- Tom Newman ta...@po... |
From: Harry H. G. <hg...@in...> - 2000-04-26 17:09:17
|
> I want to create an application that uses colors and buttons... > > 1. Is it possible to use colors with pyncurses? How? The two features I don't use, panels and colors, an you've asked about both ;) There are color functions in there, but I have not tested them (having no experience my self with ncurses) I will check these out (as well as the panel problem.) > 2. How do i create "ok", "clear", "cancel" buttons that give > color feedback to the user? How do I tab between the buttons? I will try to work up an example of this an put it on the list. > 3. Can someone direct me to script examples of pyncurses or > ncurses. Hopefully there will be more examples as more people use the library, right now there are only three of us on the list, but 167 people downloaded 0.2, and 87 people have downloaded 0.3 in the last three days, so I hope there are more users than that. I do almost all of my work in the form module for clients with monochrome terminals, so I do not have alot of experience with certain areas of ncurses, but if people will tell me where they are having problems I will do my best to try to figure them out. How was the new installation procedure? -- Harry Henry Gebel, Senior Developer, Landon House SBS West Dover Hundred, Delaware PyNcurses ncurses binding for Python: http://pyncurses.sourceforge.net |
From: pauld <p...@ch...> - 2000-04-26 10:14:15
|
Hello, I want to create an application that uses colors and buttons... 1. Is it possible to use colors with pyncurses? How? 2. How do i create "ok", "clear", "cancel" buttons that give color feedback to the user? How do I tab between the buttons? 3. Can someone direct me to script examples of pyncurses or ncurses. Thanks alot! pauld | p...@ch... |
From: Harry H. G. <hg...@in...> - 2000-04-22 06:21:12
|
There is a new procedure for compiling the CVS version of PyNcurses. First, you must install the Python Distutils available from one of the following addresses: http://www.python.org/sigs/distutils-sig/download/Distutils-0.8.1.tar.gz ftp://pyncurses.sourceforge.net/pub/pyncurses/Distutils-0.8.1.tar.gz These are easy to install, untar them and change to the Distutils-0.8.1 directory, then run the following commands: =2E/setup build su =2E/setup install To install PyNcurses run the following commands =2E/make_c # generates C from SWIG =2E/setup build su =2E/setup install --=20 Harry Henry Gebel, Senior Developer, Landon House SBS West Dover Hundred, Delaware PyNcurses: python binding for ncurses http://pyncurses.sourceforge.net |