Author Topic: How To Find Pygtk Ide For Pdaxrom?  (Read 3009 times)

Kondou

  • Newbie
  • *
  • Posts: 37
    • View Profile
How To Find Pygtk Ide For Pdaxrom?
« on: March 15, 2006, 10:12:07 am »
I Need a pyGTK IDE app. to creat pyGTK program how can find this is on Zaurus Pdaxrom?

Armagon

  • Full Member
  • ***
  • Posts: 106
    • View Profile
    • http://
How To Find Pygtk Ide For Pdaxrom?
« Reply #1 on: March 16, 2006, 01:21:55 pm »
Quote
I Need a pyGTK IDE app. to creat pyGTK program how can find this is on Zaurus Pdaxrom?
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

You should definitely try SciTE, which is installed by default (under Office).  Also, [a href=\"https://www.oesf.org/forums/index.php?showtopic=17932&hl=gtksourceview]gtksourceview[/url] sounds interesting (but I think it has more dependancies than are listed in the .ipk).  

I was (and still want to -- when I have time) trying to learn pyGTK myself.  The pyGTK tutorials have sample apps that are supposed to let you do things really quickly -- but I couldn't get them to run.

I think some of the other errors I got may be resolved by installing additional python modules.  (One error was about not being able to find a "signal" package, for example.)

One troublesome problem, in particular, is that if I execute "import pygtk", I get this error:

Quote
File "/home/sash/Work/Akita/pdaXrom-builder/build/pygtk-2.5.3/ipkg_tmp/usr/lib/python2.4/site-packages/pygtk.py", line 22, in ?
ImportError: No module named fnmatch

While I'm talking about python and bugs, if I run "python" in a terminal, my arrow keys do not work correctly.  If I push up to edit the previous line, I get "^[[A" as output instead.  [The arrow keys work normally in the terminal when python is not running.]

Are there work arounds for these?  I suppose I should write bug reports, eh (after verifying that they aren't already there -- but I didn't see them at a glance)?  Oh, and I am using 1.1.0beta1 -- is it OK to still write bugs for it, or should I check 1.1.0beta2 first?

Thanks,
Armagon
Sharp Zaurus SL-C1000 -- 2 GB SD Card -- Zippy Slim Mini Keyboard -- Loving pdaXii13!

bubak

  • Newbie
  • *
  • Posts: 13
    • View Profile
    • http://
How To Find Pygtk Ide For Pdaxrom?
« Reply #2 on: April 22, 2006, 04:42:25 am »
Quote
Quote
I Need a pyGTK IDE app. to creat pyGTK program how can find this is on Zaurus Pdaxrom?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=118718\"][{POST_SNAPBACK}][/a][/div]

One troublesome problem, in particular, is that if I execute "import pygtk", I get this error:

Quote
File "/home/sash/Work/Akita/pdaXrom-builder/build/pygtk-2.5.3/ipkg_tmp/usr/lib/python2.4/site-packages/pygtk.py", line 22, in ?
ImportError: No module named fnmatch

While I'm talking about python and bugs, if I run "python" in a terminal, my arrow keys do not work correctly.  If I push up to edit the previous line, I get "^[[A" as output instead.  [The arrow keys work normally in the terminal when python is not running.]

Are there work arounds for these?  I suppose I should write bug reports, eh (after verifying that they aren't already there -- but I didn't see them at a glance)?  Oh, and I am using 1.1.0beta1 -- is it OK to still write bugs for it, or should I check 1.1.0beta2 first?

Thanks,
Armagon
[div align=\"right\"][a href=\"index.php?act=findpost&pid=118891\"][{POST_SNAPBACK}][/a][/div]

1. ad import pygtk

yes, the error is raised, but you dont need to import the pygtk -- just gtk is enough -- it contains all you need.  i use this import sequence (just ignor the pygtk stuff):

Code: [Select]
import gtk
you can use all of the gtk objects, constants and such

2.  ad history in intercative shell

install the readline ipk.  it contains the readline support => ie. history then works
SL-C3200
pdaXrom 1.1.0beta3
1G Kingston SD
WiFi Planex GW-CF11X
Bluetooth USB 3com dongle,
Sharp CE-RH2 remote

Armagon

  • Full Member
  • ***
  • Posts: 106
    • View Profile
    • http://
How To Find Pygtk Ide For Pdaxrom?
« Reply #3 on: April 22, 2006, 10:54:09 am »
Quote
1. ad import pygtk

yes, the error is raised, but you dont need to import the pygtk -- just gtk is enough -- it contains all you need.  i use this import sequence (just ignor the pygtk stuff):

Code: [Select]
import gtk
you can use all of the gtk objects, constants and such

Awesome.  I'll give it a shot.

Quote
2.  ad history in intercative shell

install the readline ipk.  it contains the readline support => ie. history then works
[div align=\"right\"][a href=\"index.php?act=findpost&pid=124175\"][{POST_SNAPBACK}][/a][/div]

I just found out about that a couple of weeks ago.

Thank you!
Sharp Zaurus SL-C1000 -- 2 GB SD Card -- Zippy Slim Mini Keyboard -- Loving pdaXii13!