Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
First off I'd like to start out by safing that perhaps this question doesn't belong on "general" Linux boards.
My problem is related to a program called Pythoñol (I had a link... but well not 5 posts yot )", a program of which the author has shown on the site not to want to give much, if any support, (which, is of course, her good right).
No reports from the mailing list I mailed to, their sourceforge forums deserted, and a personal e-mail was not replied to.
I include the two e-mails I sent them, which is a much faster way to describe my problem.
EMAIL 1:
Quote:
I run Ubuntu Linux 5.04
with kernel
I have installed packages
python2.4 (as well as python)
python2.4-Gtk2 (as well as python-gtk2)
I'm running Gnome so I'm sure I have gtk+ too, though I can find no packages in my package list actually called that.
INSTALL_ME and PyInstallshield both produce:
./PyInstallShield:214: DeprecationWarning: use gtk.UIManager
itemf=ItemFactory(MenuBar,"<main>",ag)
./PyInstallShield:249: Warning: unsupported arithmetic operation for flags type
table1.attach( Label(_("Installation Directory:")),0,1,0,1,(EXPAND+FILL),(EXPAND+FILL),0,0)
Traceback (most recent call last):
File "./PyInstallShield", line 1468, in ?
runbabel()
File "./PyInstallShield", line 1464, in runbabel
mybabel=installwin()
File "./PyInstallShield", line 249, in __init__
table1.attach( Label(_("Installation Directory:")),0,1,0,1,(EXPAND+FILL),(EXPAND+FILL),0,0)
TypeError: flag values must be strings, ints or tuples
Trying to Compile Produces:
SQLite Python Extension Library.
Michael Owens
Sun May 29 16:23:28 CEST 2005
Century 21 Mike Bowman, Inc.
BUILDING SHARED LIBRARY:
# # cc -shared -o
python sqlite_setup.py build
running build
running build_py
creating build
creating build/lib.linux-i686-2.4
creating build/lib.linux-i686-2.4/sqlite
copying sqlite/__init__.py -> build/lib.linux-i686-2.4/sqlite
copying sqlite/main.py -> build/lib.linux-i686-2.4/sqlite
running build_ext
building '_sqlite' extension
creating build/temp.linux-i686-2.4
creating build/temp.linux-i686-2.4/sqlite
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/sqlite -I./sqlite -I/usr/include/python2.4 -c ./sqlite/_sqlite.c -o build/temp.linux-i686-2.4/./sqlite/_sqlite.o
sqlite/_sqlite.c: In function `process_record':
sqlite/_sqlite.c:1242: warning: `expected_type_name' might be used uninitialized in this function
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/sqlite -I./sqlite -I/usr/include/python2.4 -c ./sqlite/encode.c -o build/temp.linux-i686-2.4/./sqlite/encode.o
sqlite/encode.c: In function `sqlite_encode_binary':
sqlite/encode.c:119: warning: `e' might be used uninitialized in this function
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes -fPIC -I/usr/include/sqlite -I./sqlite -I/usr/include/python2.4 -c ./sqlite/strsep.c -o build/temp.linux-i686-2.4/./sqlite/strsep.o
sqlite/strsep.c:50: warning: function declaration isn't a prototype
gcc -pthread -shared build/temp.linux-i686-2.4/./sqlite/_sqlite.o build/temp.linux-i686-2.4/./sqlite/encode.o build/temp.linux-i686-2.4/./sqlite/strsep.o -L/usr/lib/ -L./sqlite -lsqlite -o build/lib.linux-i686-2.4/_sqlite.so
./sqlite/libsqlite.a: could not read symbols: File truncated
collect2: ld returned 1 exit status
error: command 'gcc' failed with exit status 1
EMAIL 2
Quote:
After installing older versions of python and sqlite I managed to build the databases.
(Databases for Pythonol successfully built.)
It told me to run PyInstallShield or make install after that, which produced the same error as BUILD_ME and PyIstallShield did in the Install version.
I have now also tried converting the rpm to a deb and installing it. I afterwards had to run it as root to create database files.
After this I got
/usr/share/Pythonol/sqlite/__init__.py:1: RuntimeWarning: Python C API version mismatch for module _sqlite: This Python has API version 1012, module _sqlite has version 1011.
import _sqlite
./pythonolui.py:137: DeprecationWarning: use gtk.UIManager
itemf=ItemFactory(MenuBar, "<main>", ag)
./pythonolui.py:392: DeprecationWarning: use gtk.ComboBoxEntry
conjcombo=Combo()
./pythonolui.py:398: Warning: unsupported arithmetic operation for flags type
conjtable.attach(conjcombo,1,2,1,2,(EXPAND+FILL),(0),0,0)
Traceback (most recent call last):
File "./pythonolui.py", line 1945, in ?
run()
File "./pythonolui.py", line 1941, in run
pythonolwin()
File "./pythonolui.py", line 398, in __init__
conjtable.attach(conjcombo,1,2,1,2,(EXPAND+FILL),(0),0,0)
TypeError: flag values must be strings, ints or tuples
I too had many many MANY headaches trying to get this to run. Seems to be a bit over-dependent and quite difficult to build. I gave up, and in months of searching I've found no help from anyone or even mentions of Pythoñol anywhere on the web. Last visit, though, they were moving the web site, so maybe there is some activity going on that no one knows about!?
What I would really like is a STABLE version that installs well across distros (the screen shots are from SuSE 9.1 but I couldn't get it to go with my 9.1) AND/OR a live cd that is in Spanish and has Pythoñol pre-configured to run. Talk about a good resource for students, as well as a way to introduce Linux to future generations!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.