LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 06-12-2005, 06:16 PM   #1
Linforcer
LQ Newbie
 
Registered: Jan 2005
Distribution: Ubuntu, Novell Linux Desktop
Posts: 1

Rep: Reputation: 0
Pythoñol


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

Sure hope someone can help.
 
Old 06-13-2005, 03:32 PM   #2
lefty.crupps
Member
 
Registered: Apr 2005
Location: Minneap USA
Distribution: Debian, Mepis, Sidux
Posts: 470

Rep: Reputation: 32
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!

Good luck.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 06:41 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration