Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - hatchetman

Pages: [1] 2 3 4
1
Python / Setting The Environment For Pygtk On Oz Gpe 3.5.4
« on: May 15, 2006, 04:07:43 pm »
I've installed OZ GPE image 3.5.4, build 2006-03-14. I've installed all the relevent python packages for the program I am trying to run.
Code: [Select]
matt@tosa:/media/cf/Downloads/straw-0.26/src$ ipkg list_installed | grep python
libpython2.4-1.0 - 2.4.2-ml4 -
python-codecs - 2.4.2-ml2 -
python-core - 2.4.2-ml2 -
python-crypt - 2.4.2-ml1 -
python-datetime - 2.4.2-ml1 -
python-distutils - 2.4.2-ml2 -
python-io - 2.4.2-ml2 -
python-lang - 2.4.2-ml1 -
python-logging - 2.4.2-ml1 -
python-math - 2.4.2-ml1 -
python-mime - 2.4.2-ml2 -
python-netclient - 2.4.2-ml2 -
python-pygtk2 - 2.6.2-r2 -
python-pysqlite2 - 2.0.2-ml0 -
python-pyxml - 0.8.3-r0 -
python-re - 2.4.2-ml2 -
python-shell - 2.4.2-ml1 -
python-stringold - 2.4.2-ml2 -
python-textutils - 2.4.2-ml1 -
python-xml - 2.4.2-ml1 -

I have tried several python gtk programs with no success. The one I most desire is straw, an RSS reader. I can run python setup.py build, and it succeeds. When I try to straw I get:
Code: [Select]
matt@tosa:/media/cf/Downloads/straw-0.26/src$ ./straw
Traceback (most recent call last):
  File "./straw", line 150, in ?
    main()
  File "./straw", line 137, in main
    run(options)
  File "./straw", line 107, in run
    from straw import Application, Config
ImportError: No module named straw
and on line 107 you see:
Code: [Select]
   if ENV_IN_SOURCE:
        from lib import Application, Config
    else:
        from straw import Application, Config

Now I'm pretty certain my immediate problem is that my evironment paths are all wrong. To get this far I had to set PYTHONHOME=/usr/ and I sometimes need to sys.path.append("/folder/"); to add libraries to the search path. This all seems very hackish, and I'm hoping theirs a more appropriate way to fix things so that the imports work.

Can someone help me get my environment set up correctly, and does anyone have any success stories with other PyGTK applications?

2
6000 - Tosa / Root Password Reset
« on: January 20, 2005, 10:23:28 pm »
If you can still set programs to run as root by clicking and holding down on the icon, then you may be able to run a file manager that can copy a modified passwd file to /etc/passwd.

3
X/Qt / Debian with Xqt
« on: January 20, 2005, 05:59:53 pm »
To do the middle mouse button:
# Fn + Shift + Tap : Center click

I looked over the Xqt source code for how it handles choosing which button to choose but I don't have many answers.

At line 330 in qtscreen.cc you have this function
void qtScreen::mouseButtonEvent(QMouseEvent *ev, int isPress)
which interprets ev->button() to decide what mouse button you want.

I think ev->button() is passed from Qt because the case statement refers to LeftButton, MidButton, and RightButton which are also found in qnamespace.h. This says to me that the mouse button control isn't even a part of Xqt but comes from Qtopia. Maybe someone with with Qt development experience could enlighten us. This doesn't mean it still can't be remapped inside the X server, I don't know what applications to use though.

I checked out to see if xmodmap could be used to modify the mouse clicks, but I didn't come up with any usefull information. Have you checked out KeyHelper? I never tried running it, but maybe that can do what you are looking for.

4
X/Qt / Debian with Xqt
« on: January 17, 2005, 09:25:13 pm »
You can't link the device because it's outside of the chroot environment, and there's no way access what's outside when inside. Even so, you should't have to because all the devices would have been created when you extracted the tarball. My sound worked right out of the box, you might want to check your xmms settings instead for a problem.

5
X/Qt / Debian with Xqt
« on: January 16, 2005, 11:37:39 pm »
It's my understanding that when you chroot the variables such as your PATH and such become the same thing in the chroot environment. Please try this to see if it's true, I remember seeing my PATH in the chroot environment. Anyways assuming that's true, because $HOME on the Sharp ROM is /home/root when any program refers to $HOME it won't find anything since the chroot environment's home directory is set to /root.

Simple solution, link the location of the Sharp ROM's home directory with chroot environment's home directory.

6
Site Suggestions, Requests, and Updates / Uploading Files To The Forum
« on: January 16, 2005, 11:12:11 am »
I'm really not trying to distribute porn through the forums! But I noticed that pictures didn't show up in the threads anymore (seems all other types of attachments made it fine). I was going to simply re-upload a pic that I had put one a thread before but I get:
Code: [Select]
THE FOLLOWING ERROR(S) WERE FOUND
The requested file upload failed because suitable permissions have not been enabled on the 'uploads' directory. Please contact the board administrator and inform them of this error.
Sorry to keep buggin about errors. Btw I love the new forum, great job.

7
6000 - Tosa / OpenZaurus, OZ on the 6000
« on: January 15, 2005, 01:47:18 pm »
1. I don't know how the 3.5.2 release does with power management, but I compiled a newer version awhile ago that I tested and everything like the power suspending and backlight function worked great. So if you can wait for the next release I think the power stuff will be working. Check out the Light's and Power setting anyways because I seem to remember suspending to work. Should be able to set the timing how you like.

2. Never herd of textrix, but you may try to opening the icon file to see what it's trying to call. I think they're in /opt/QtPalmtop/apps/*. If it installed it's binary into /opt/QtPalmtop/bin and that isn't in your path that could be your problem.

3. I haven't found a way to send control characters yet, even using the opie keyboard. It has to do with how everything is mapped in the kernel and Opie. If you figure something out let me know.

4. I don't understand the RAM thing either. I would expect to have one 64MB swap partition setup. I guess maybe there are two 32MB SDRAM chips inside that would explain it being split up (just guessing!). It doesn't look like it uses it for anything though, it just mounts them as temporary storage that nothing uses. I'm using GPE now, and the system information says I have 64MB of memory, and it's using a good portion of it.  I didn't take a lot of time to investigate Opie to see what was going on.

5. Don't know about the screen size.

8
Guylhem Rom / fast 6000 kernel, along with special libsdl
« on: January 15, 2005, 12:42:15 pm »
I think it would be very beneficial if somebody could compile a set of instructions on how-to load this kernel on to the 6000. In fact I think this kernel could be used on all zaurus models, so it wouldn't really be 6000 specific except for loading the config file. I haven't tried it myself which makes it hard to write up any kind of documentation on it, but I'm going to try to start something on www.oesf.org to hopefully get the ball rolling.

https://www.oesf.org/index.php?title=Kernels will be the page that has a link to the page about loading this kernel.

9
Angstrom & OpenZaurus / Custom Rom
« on: January 14, 2005, 05:23:34 am »
Code: [Select]
$ ./arm-linux-gcc --version
arm-linux-gcc (GCC) 3.4.3
Copyright (C) 2004 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Checking my gcc binary it seems I'm running 3.4.3 (with the visibility patch), and without any problem. It's my understanding though that the kernel isn't even built with that cross compiler, but a prebuilt 2.95.3 toolchain so it's compatible with the closed source Sharp binaries.

If that's right, I can't imaging why 3.4.2 worked or made a difference. I think there's a good chance it was something else that made it successfull.

10
6000 - Tosa / 6000 Kernel Choices
« on: January 14, 2005, 05:02:37 am »
Would there be any benefit to 6000 users to merge the patch for the 6000 (found on ezaurus.com) to the linux kernel, instead of the C860 patch?

11
X/Qt / I'm flabbergasted!!
« on: January 14, 2005, 12:23:25 am »
oh! I think I didn't even realize what forum I was in. Want me to send you them from my Sharp ROM?

12
X/Qt / I'm flabbergasted!!
« on: January 13, 2005, 11:48:19 am »
Should be able to download it here:
http://www.openzaurus.org/official/unstabl....4.2-r3_arm.ipk
http://www.openzaurus.org/official/unstabl...726-r12_arm.ipk

Looking over the Packages file it seems that libgcc is depended on by almost everything in the world. If you have internet access on your PDA an update might fix all your weird depency problems.

13
X/Qt / Debian with Xqt
« on: January 13, 2005, 12:02:27 am »
Did you use the gnu-tar binary found on pocketworkstations website or did you use the busybox tar? Or maybe if you extracted the files on another computer things got messed up somehow. Where do these symbolic links link to? Another possibility is maybe your filesystem is corrupt. Unmount it and run fsck.ext2 see if it finds any errors.

14
Site Suggestions, Requests, and Updates / Uploading Files To The Forum
« on: January 12, 2005, 03:46:41 pm »
Hehe no. It was an image of the internal wireless module of the 6000 in a PDF.

I left you a note on your wiki talk at oesf.org about uploading pictures/etc there. Didn't really know where was the best place to report problems.

15
Angstrom & OpenZaurus / Custom Rom
« on: January 12, 2005, 12:01:59 pm »
The only thing I can think of is that maybe you flashed a .jffs2.bz2 file instead of the jffs2 file.

Pages: [1] 2 3 4