[2008.12] Enlightenment not starting anymore.

2008-12-27 Thread Ivar Mossin
 Angstrom is up to svnr27988 now so I'm guessing that's exactly where it got
 that.  It's a BAD idea to do an upgrade from a 'foreign' repo - pulling
 specific packages from a different feed is one thing, but letting it
 autonomously replace whatever it wants is a recipe for a broken system...

 take a look with opkg list_installed | grep e-wm and see what version of
 e-wm is currently in place.

 You tried opkg -force-downgrade install
 http://downloads.openmoko.org/repository/Om2008.8/armv4t/e-wm_0.16.999.043+svnr36882-r14.01_armv4t.opk;
  
 http://downloads.openmoko.org/repository/Om2008.8/armv4t/e-wm_0.16.999.043+svnr36882-r14.01_armv4t.opk%22
 and it failed?Either it's already/still installed (the 27988 version)
 or Angstrom is still in the opkg repo lists in /etc/opkg, so if that failed
 maybe try opkg -force-depends remove e-wm;opkg install
 http://downloads.openmoko.org/repository/Om2008.8/armv4t/e-wm_0.16.999.043+svnr36882-r14.01_armv4t.opk;.
  
 http://downloads.openmoko.org/repository/Om2008.8/armv4t/e-wm_0.16.999.043+svnr36882-r14.01_armv4t.opk%22.

 You can open up an ipk with ar x {pkgname.opk} which will give you
 control.tar.gz and data.tar.gz (the latter contains the files) but I'd
 advise against trying to install most things that way...

 j

 --
 Joel Newkirk
 http://jthinks.com http://jthinks.com/  (blog)
 http://newkirk.us/om http://newkirk.us/om (FR stuff)


I thought I didn't do an 'opkg upgrade' with the angstrom repository
included. But as we see, I did get the angstrom e-wm at some point. So
that must indeed have happened.

Let's first look at my current opkg repositories:
r...@om-gta02:/etc/opkg# grep . *
Multiverse-feed.conf:src/gz daily-Multiverse
http://downloads.openmoko.org/repository/Multiverse
all-feed.conf:src/gz om-dev-all
http://downloads.openmoko.org/repository/Om2008.8/all
arch.conf:arch all 1
arch.conf:arch any 6
arch.conf:arch noarch 11
arch.conf:arch arm 16
arch.conf:arch armv4t 21
arch.conf:arch om-gta02 26
armv4t-feed.conf:src/gz om-dev-armv4t
http://downloads.openmoko.org/repository/Om2008.8/armv4t
om-gta02-feed.conf:src/gz om-dev-om-gta02
http://downloads.openmoko.org/repository/Om2008.8/om-gta02

This seems fine to me. So I do an update:
r...@om-gta02:~# opkg update
Downloading http://downloads.openmoko.org/repository/Multiverse/Packages.gz
Inflating http://downloads.openmoko.org/repository/Multiverse/Packages.gz
Updated list of available packages in /var/lib/opkg/daily-Multiverse
Downloading http://downloads.openmoko.org/repository/Om2008.8/all/Packages.gz
Inflating http://downloads.openmoko.org/repository/Om2008.8/all/Packages.gz
Updated list of available packages in /var/lib/opkg/om-dev-all
Downloading http://downloads.openmoko.org/repository/Om2008.8/armv4t/Packages.gz
Inflating http://downloads.openmoko.org/repository/Om2008.8/armv4t/Packages.gz
Updated list of available packages in /var/lib/opkg/om-dev-armv4t
Downloading 
http://downloads.openmoko.org/repository/Om2008.8/om-gta02/Packages.gz
Inflating http://downloads.openmoko.org/repository/Om2008.8/om-gta02/Packages.gz
Updated list of available packages in /var/lib/opkg/om-dev-om-gta02

So now I try to install the suggested package:
r...@om-gta02:~# opkg -force-downgrade install
http://downloads.openmoko.org/repository/Om2008.8/armv4t/e-wm_0.16.999.043+svnr36882-r14.01_armv4t.opk
Downloading 
http://downloads.openmoko.org/repository/Om2008.8/armv4t/e-wm_0.16.999.043+svnr36882-r14.01_armv4t.opk
Multiple packages (e-wm and e-wm) providing same name marked HOLD or
PREFER.  Using latest.
Multiple packages (e-wm and e-wm) providing same name marked HOLD or
PREFER.  Using latest.
Installing e-wm (0.16.999.050+svnr37988-r0.1) to root...
Collected errors:
 * ERROR: Package e-wm (parent e-wm) is not available from any configured src.
 * Failed to download e-wm. Perhaps you need to run 'opkg update'?

Which failed. Let's see if there is an e-wm installed:
r...@om-gta02:~# opkg list_installed | grep e-wm
r...@om-gta02:~# opkg -force-depends remove e-wm
No packages removed.

So, as far as I can see, the package is in fact not installed. (I did
remove it earlier to try to fix the problem).

As we see, I don't have the angstrom repository included (anymore), I
have run an opkg update and installing the package still wants the
newer version. From where does opkg get the information that there is
a newer version? There is also no e-wm currently installed on the
system. Where does this leave me? What would be a plausible next step?

Another question. When I wanted to install mplayer, which I didn't
find in the normal repository, I could of course just install the opk
file directly, but then I would not be notified of any updates on that
package. So how would I be able to keep the angstrom repository
without letting it upgrade all the other packages as well?

Thanks for the help so far.
___
Openmoko community mailing list
community@lists.openmoko.org

[2008.12] Enlightenment not starting anymore.

2008-12-26 Thread Ivar Mossin
 On Thu, 25 Dec 2008 16:15:51 +0100, Ivar Mossin ivar.mossin at gmail.com 
 http://lists.openmoko.org/mailman/listinfo/community
 wrote:
 * anyway), it gives a clue. It is looking for the file
* * /usr/share/enlightenment/data/themes/default.edj, which does not exist.
* * But
* * this is strange, as it didn't exist on the jffs2 flash image either.
* *
* * I thought something had gone wrong with enlightenment, so I decided to
* * reinstall e-wm by using opkg e-wm remove. This was not possible without
* * removing most of the installed software on the phone, so I decided to
* * ignore
* * its dependencies by using:
* * $ opkg remove e-wm -force-depends
* *
* * Then I wanted to installed it again from repository:
* * $ opkg install e-wm
* * Installing e-wm (0.16.999.050+svnr37988-r0.1) to root...
* * Collected errors:
* *  * ERROR: Package e-wm (parent e-wm) is not available from any configured
* * src.
* *  * Failed to download e-wm. Perhaps you need to run 'opkg update'?
* *
* *
* * What is this message actually saying? Apparently it does find the e-wm
* * package in the repository (as it's able to find its versioning numbers),
* * but
* * then reports e-wm not available? How do I install this package?
* * root at om-gta02
http://lists.openmoko.org/mailman/listinfo/community:~# opkg list |
grep e-wm
* * e-wm - 0.16.999.043+svnr36882-r14.01 - The Enlightenment Window Manager
* * Version 17
* * e-wm - 0.16.999.050+svnr37988-r0.1 -
* * e-wm-theme-default - 0.16.999.043+svnr36882-r14.01 - The Enlightenment
* * Window Manager Version 17
*

 You need to opkg update - somehow you've got two versions of e-wm listed
 in the local (IE on the FreeRunner) package list.  I'm not sure how that
 happened, unless you added a repository to the config.  (check in
 /etc/opkg)   svnr36882-r14.01 is the latest in the OM2008 repository,
 which matches with the svn versions of the other enlightenment packages
 you're seeing in 'opkg list', I don't know where it's getting the reference
 to svnr37988-r0.1...  When you run 'opkg upgrade' or 'opkg list' it's NOT
 looking at the repository itself, it's looking at the package list locally
 on the FreeRunner that is constructed during 'opkg update'.  THAT list
 contains a 'newer' version of e-wm (37988) so it picks that one, being the
 newest, but cannot actually find the package in the repository when it
 tries to download.

 For a quick fix (which might fix enlightenment but not address the cause of
 this problem) try:
 opkg install
 http://downloads.openmoko.org/repository/Om2008.8/armv4t/e-wm_0.16.999.043+svnr36882-r14.01_armv4t.opk
  
 http://downloads.openmoko.org/repository/Om2008.8/armv4t/e-wm_0.16.999.043+svnr36882-r14.01_armv4t.opk
 opkg install
 http://downloads.openmoko.org/repository/Om2008.8/armv4t/e-wm-theme-default_0.16.999.043+svnr36882-r14.01_armv4t.opk
  
 http://downloads.openmoko.org/repository/Om2008.8/armv4t/e-wm-theme-default_0.16.999.043+svnr36882-r14.01_armv4t.opk

 That second one is the 'real' fix to your original issue - it contains
 /usr/share/enlightenment/data/themes/default.edj.  I looked in my NAND (I
 usually run SHR from uSD but have 2008.12 on NAND) and sure enough there
 are illume.edj and asu.edj in that folder, no default.edj.  I can only
 assume that they'd reconfigured it to use asu.edj instead of default.edj,
 but that a newer e-wm requires default.edj again.

 But again, none of this answers why it's looking for a newer svn version of
 e-wm than is actually in the repository, which makes me suspect that a repo
 was added somehow that contains the svnr37988-r0.1...  It's not in 2008.8
 repo, testing, or unstable AFAICS.  So the steps I'd suggest are try
 manually installing the two packages noted above, then take a look in
 /etc/opkg and see what repositories are referenced, remove any
 inconsistencies, then try 'opkg update' and 'opkg upgrade'.

 j


 --
 Joel Newkirk
 http://jthinks.com http://jthinks.com/  (blog)
 http://newkirk.us/om http://newkirk.us/om (FR stuff)


Thanks for you quick reply.

What you wrote could indeed be true. I remember I tried installing
mplayer that day, which I didn't find in the repositories. But I did
find it in the angstorm repository. So I added this repository,
updated, installed mplayer and removed it (the repository). I've
checked and double-checked my current /etc/opkg files, and they seem
sane. Also compared with what is on the flash-image.

So, if this is the case, how do I make opkg forget what the no
longer included angstrom repository says about available packages? I
tried deleting /var/lib/opkg/*, 'opkg update' and both versions of
e-wm still show up on list.

I tried installing the package you suggested:
$ opkg install 
http://downloads.openmoko.org/repository/Om2008.8/armv4t/e-wm_0.16.999.043+svnr36882-r14.01_armv4t.opk
Downloading 
http://downloads.openmoko.org/repository/Om2008.8/armv4t/e-wm_0.16.999.043+svnr36882-r14.01_armv4t.opk
Multiple packages (e-wm and e-wm) providing same name marked

[2008.12] Enlightenment not starting anymore.

2008-12-25 Thread Ivar Mossin
Hey.

I have a problem with starting enlightenment. Unfortunately I do not know
what caused it to stop working. I shut down the phone one day and everything
was seemingly working. Then two days later I wanted to play with the
openmoko again and booted up, but it stopped in text-mode.

With some help from IRC, I figured it is enlightenment not starting.
Enlightenment seemingly can't find it's prefix directory. Setting the
environment-variable E_PREFIX to /usr (which is the hard-coded default
anyway), it gives a clue. It is looking for the file
/usr/share/enlightenment/data/themes/default.edj, which does not exist. But
this is strange, as it didn't exist on the jffs2 flash image either.

I thought something had gone wrong with enlightenment, so I decided to
reinstall e-wm by using opkg e-wm remove. This was not possible without
removing most of the installed software on the phone, so I decided to ignore
its dependencies by using:
$ opkg remove e-wm -force-depends

Then I wanted to installed it again from repository:
$ opkg install e-wm
Installing e-wm (0.16.999.050+svnr37988-r0.1) to root...
Collected errors:
 * ERROR: Package e-wm (parent e-wm) is not available from any configured
src.
 * Failed to download e-wm. Perhaps you need to run 'opkg update'?


What is this message actually saying? Apparently it does find the e-wm
package in the repository (as it's able to find its versioning numbers), but
then reports e-wm not available? How do I install this package?
r...@om-gta02:~# opkg list | grep e-wm
e-wm - 0.16.999.043+svnr36882-r14.01 - The Enlightenment Window Manager
Version 17
e-wm - 0.16.999.050+svnr37988-r0.1 -
e-wm-dbg - 0.16.999.043+svnr36882-r14.01 - The Enlightenment Window Manager
Version 17
e-wm-dev - 0.16.999.043+svnr36882-r14.01 - The Enlightenment Window Manager
Version 17
e-wm-fm-data - 0.16.999.043+svnr36882-r14.01 - The Enlightenment Window
Manager Version 17
e-wm-locale-bg - 0.16.999.043+svnr36882-r14.01 - bg translation for e-wm
e-wm-locale-ca - 0.16.999.043+svnr36882-r14.01 - ca translation for e-wm
e-wm-locale-de - 0.16.999.043+svnr36882-r14.01 - de translation for e-wm
e-wm-locale-eo - 0.16.999.043+svnr36882-r14.01 - eo translation for e-wm
e-wm-locale-es - 0.16.999.043+svnr36882-r14.01 - es translation for e-wm
e-wm-locale-fi - 0.16.999.043+svnr36882-r14.01 - fi translation for e-wm
e-wm-locale-fr - 0.16.999.043+svnr36882-r14.01 - fr translation for e-wm
e-wm-locale-fr-ch - 0.16.999.043+svnr36882-r14.01 - fr_CH translation for
e-wm
e-wm-locale-hu - 0.16.999.043+svnr36882-r14.01 - hu translation for e-wm
e-wm-locale-it - 0.16.999.043+svnr36882-r14.01 - it translation for e-wm
e-wm-locale-ja - 0.16.999.043+svnr36882-r14.01 - ja translation for e-wm
e-wm-locale-ko - 0.16.999.043+svnr36882-r14.01 - ko translation for e-wm
e-wm-locale-pt-br - 0.16.999.043+svnr36882-r14.01 - pt_BR translation for
e-wm
e-wm-locale-ru - 0.16.999.043+svnr36882-r14.01 - ru translation for e-wm
e-wm-locale-sl - 0.16.999.043+svnr36882-r14.01 - sl translation for e-wm
e-wm-locale-zh-cn - 0.16.999.043+svnr36882-r14.01 - zh_CN translation for
e-wm
e-wm-locale-zh-tw - 0.16.999.043+svnr36882-r14.01 - zh_TW translation for
e-wm
e-wm-theme-default - 0.16.999.043+svnr36882-r14.01 - The Enlightenment
Window Manager Version 17
$ opkg list_installed | grep e-wm
$


I might have made things worse by actually copying the raw files from the
flash image onto the phone:
scp /mnt/jffs2/usr/bin/enlightenment* r...@192.168.0.202:/usr/bin
scp -r /mnt/jffs2/usr/lib/enlightenment/* r...@192.168.0.202:
/usr/lib/enlightenment
... etc...

But at least this brought me back to where I started (except enlightenment
is installed, but not in opkgs' database). It is still looking for this
nonexisting file. I also tried to remove ~/.e/ directory, with no luck.
After starting X, the /tmp/x.log file looks like this:

(II) verbosity set to 5
Using GLAMO 3362 card
(II) Screen: 16/16 depth/bpp
(II) vram size:4194304, onscreen vram size:614400, offscreen vram
size:3579904
(II) initialising offscreen pixmaps
Extended Input Devices not yet supported. Impelement it at line 647 in
kinput.c
D-BUS per-session daemon address is:
unix:abstract=/tmp/dbus-B7VD7BIiIH,guid=417ab8356c2c4922c4da2d593898f595
[settings daemon] Forking. run with -n to prevent fork
ESTART: 0.00010 [0.00010] - begin
ESTART: 0.00194 [0.00185] - signals done
ESTART: 0.01848 [0.01654] - determine prefix
WARNING: Prefix guess was wrong. Guessed:
 /usr
 Tried to find file:
 /usr/share/enlightenment/data/themes/default.edj
WARNING: Enlightenment could not determine its installed prefix
 and is falling back on the compiled in default:
   /usr
 You might like to try setting the following environment variables:
   E_PREFIX - points to the base prefix of install
   E_BIN_DIR- optional in addition to E_PREFIX to provide
  a more specific binary directory
   E_LIB_DIR- optional in addition 

Changing layout of Qtopia predictive keyboard

2008-11-23 Thread Ivar Mossin
Hello.

I am wondering if and how it is possible to change the keyboard layout of
the Qtopia predictive keyboard. I've tried to search around, but only find
info on the Matchbox and Rasters Illume keyboard. I'm running 2008.testing.

1) How can I change the keyboard layout of the Qtopia predictive keyboard?

I assume it is possible, I just didn't find out how yet. The layout can't be
hardcoded in the source code, can it? If it's not possible, the next
question will be

2) How can I use Rasters Illume keyboard without using Illume theme as can
be specified in /etc/enlightenment/default_profile?

If I use the illume theme, enlightenment crashes way too often and because
of it, it's quite unusable.

Thanks for any help.

Kind Regards,
Ivar Mossin
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[2008.x] 'opkg upgrade' interrupted.

2008-11-22 Thread Ivar Mossin
Hey all.

I'm was just installing a stable 2008.9 image. The only changes made is that
a terminal is installed and the /etc/opkg/* is changed to pointing to the
testing repository instead. Then, from the local terminal, I run opkg update
and then opkg upgrade. The upgrade is working for some good 20-30 minutes
downloading and installing new packages until X is shut down. Apparently
opkg wanted to restart X or something?

Then I figure I'll do it over ssh instead, so I log in and run 'opkg
upgrade' again. To my surprise I see that it starts all over again,
downloading and installing (?) the same packages over again. Didn't the
previous upgrade just do that? Are the downloaded and installed files
stored in a temporary directory in the meantime? I checked the used
disk-space and found it to be only 81-82 MB. Didn't check how much was used
before the first run though. Or does the opkg wait with updating its
database of installed packages until the complete upgrade has finished?
Which means I by now actually have the latest and greatest, just opkg
doesn't know it is?

Anyway, the upgrade via ssh failed miserably as well. Of course dropbear had
to be restarted, I lost connection and opkg was interrupted (again). Next
try is screen, which is currently running, downloading and installing the
exact same packages done by the previous two upgrades.

Is there some way to make opkg continue where interrupted or some way of
specifying I don't want a certain service restarted (like dropbear) ?


-Ivar Mossin
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[2008.x] 'opkg upgrade' interrupted.

2008-11-22 Thread Ivar Mossin
 One possible way round this is to run your upgrade within a screen
 session.  The upgrade will continue even if you get disconnected from
 the session, in which case you can reconnect later.

That's what I did just now. Although I was a bit scared when I saw this:

Configuring dropbear
 System startup links for /etc/init.d/dropbear already exist.
Restarting Dropbear SSH server: Connection to 192.168.0.202 closed by remote
host.
Connection to 192.168.0.202 closed.
[EMAIL PROTECTED]:~$ ssh [EMAIL PROTECTED]
[EMAIL PROTECTED]'s password:
[EMAIL PROTECTED]:~# screen -ls
No Sockets found in /tmp/screens/S-root.

... I don't know why, but somehow I did actually try 'screen -R' anyway,
even though I saw the list was empty. And it did actually work. :)

I wouldn't call this a solution though, just a work-around.


-Ivar Mossin
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


[2008.x] Settings app not working

2008-11-17 Thread Ivar Mossin
November 1st I upgraded from 2008.9 stable to 2008.x testing, using opkg
update  opkg upgrade. This broke the settings applications which no longer
starts. I have just now updated and upgraded again to see if there would be
a fix in the repository without any luck. I have also searched google and
the mailing lists without finding anything relevant.

This is the bug #2088 ( http://docs.openmoko.org/trac/ticket/2088 ), in
which I have also pasted the backtrace. Apparently the bug has been
resolved, but I can not find out how to apply this fix.

The backtrace is:
[EMAIL PROTECTED]:~# exposure.py -f run
Traceback (most recent call last):
  File /usr/bin/exposure.py, line 304, in module
import etk
  File /usr/lib/python2.5/site-packages/etk/__init__.py, line 1, in
module
from core import *
  File /usr/lib/python2.5/site-packages/etk/core.py, line 1, in module
import c_etk
ImportError: /usr/lib/python2.5/site-packages/etk/c_etk.so: undefined
symbol: evas_list_append


Does anybody know how to fix this? Am I the only one getting this error? It
seems I have some incompatible packages. How can I find out which ones? Any
help would be greatly appreciated.

Kind Regards,
pooze!
___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community