pythonol

2006-09-27 Thread John Martin
'pythonol' is a program for learning spanish. I think it's a really great
program. Unfortunately it ceased to work when I moved to SuSE 10 and 10.1 .
The author makes it clear on her website that she has devoted all the time
she's prepared to and won't maintain it. I think it's a shame as it's a
valuable educational tool. Sadly I know bugger all about python, this is
the error I get when running it.
---
/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, "", 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, longs, or tuples
-- 
Does anything stand out which might be fixable?

tia
-- 
John


-- 
http://mail.python.org/mailman/listinfo/python-list


Re: pythonol

2006-09-28 Thread John Martin
On Wed, 27 Sep 2006 14:41:36 -0700, George Sakkis wrote:

> John Martin wrote:
> 
>> 'pythonol' is a program for learning spanish. I think it's a really great
>- snip ---
>
>> --
>> Does anything stand out which might be fixable?
> 
> Search and replace all "EXPAND+FILL" with "EXPAND|FILL" (vertical bar
> instead of plus sign). This solves the specific error, though I've no
> idea what else may be broken.
> 
> George

Brilliant! I still get lots of deprecation warnings about gtk but the
program runs perfectly.

Many thanks George and all you python peeps.

-- 
John


-- 
http://mail.python.org/mailman/listinfo/python-list