Re: [maemo-developers] Best IDE for maemo development?

2006-02-21 Thread Kasper Souren
For the people that develops often on maemo, what IDE/set of tools have youfound to be essential to this task?
Since I'm travelling, without a laptop, I find it handy to have everything inside my Nokia.I usually log in from a desktop over ssh, open up GNU screen and jmacs and starthacking. I only did stuff in Python however.
Last couple of days I also did some developing without a desktop near, but that wasquite masochistic considering the Nokia's input methods... I really have to find myselfa Bluetooth keyboard...
-- http://industree.org/guaka/blog
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Best IDE for maemo development?

2006-02-21 Thread Kasper Souren
Encode, of course--the only IDE in the world that has been designed forMaemo development from the ground-up. :)
http://encode.sourceforge.net/screenshots.xhtmlLooks good. What about a LiveCD containing this thing?And, is it possible to use Encode for Python development?
 
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Tips for making an application installer package

2006-02-23 Thread Kasper Souren
Does anyone have a similar method for Python?
I´d like to create a package for MaemoDict.
And, would it be okay to include dictd in the package, or is it better to point people to the official Debian arm package?Kasper-- http://industree.org/guaka/blog

___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Number of ptys

2006-02-23 Thread Kasper Souren
I don´t have an answer, just a remark, that I have the same problem, though it seems unrelated to the 4: when opening a GNU screen session on the Nokia accessed over ssh, I can only have 2 windows...
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Disconnect rfcomm stays between bt_disconnected and rf_disconnected

2006-03-27 Thread Kasper Souren
GPSDrive, ported to Hildon, is a really nice addition to N770. HoweverI'm having some trouble with my bt GPS receiver and N770.
1. Often after a few minutes GPSDrive reports a timeout on the GPS receiver.2 The bt commection doen't disconnect properly.Would it somehow be possible to have  a useable GPSDrive without GPS? I would like to have maps in my N770, but I don't wanna spend money on a GPS device right now. It would be even nicer if it were easy to keep maps for offline usage...
peace,Kasper-- http://industree.org/guaka/blog
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


[maemo-developers] MaemoDict deb file

2006-04-19 Thread Kasper Souren
I created a Debian package for MaemoDict. To use it you also need
to put some dicts somewhere. You can install Debian's dict-* packages or
manually put the .dict.dz and index files in /media/mmc1/MaemoDict or
/home/user/MyDocs/.documents/MaemoDict

The package: http://www.sia.huaral.org/download/maemodict-0.1.7.0.deb
More information at http://www.industree.org/guaka/wiki/MaemoDict
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Too busy to accept help? I'm not complaining

2006-04-19 Thread Kasper Souren
The product is on the market for less than half a year. There are
already tens of usable free software applications ported or created.
That's pretty impressive for the first 'open product' of such a big
company. I'm not complaining. I'm a pretty satisfied customer _and_
developer myself.

Just a little thank you to all the Nokia folks who made this possible...
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


[maemo-developers] Memory card corrupted or unformatted

2006-04-19 Thread Kasper Souren
Somehow some files got mixed up on my memory card. I copied them to a laptop.
And then I was looking for where I can reformat the card. But I can't find it.
Neither did the mkfs.vfat incantation have the proper effects. I guess it made
it worse, since I did that before making an imagedump.

The N770 keeps on complaining "Memory card corrupted or unformatted" and
I can't find out how to format it on the Nokia.

What can I do to use it again?
And, what would be the right mkfs.vfat incantation?


(oh, and Googling "memory card corrupted or unformatted" did not match
any documents.)
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


[maemo-developers] Re: Memory card corrupted or unformatted

2006-04-19 Thread Kasper Souren
> The N770 keeps on complaining "Memory card corrupted or unformatted" and
> I can't find out how to format it on the Nokia.

http://serendipity.ravenwolf.de/index.php?/archives/11-extrootfs_1.0_arm.deb.html
does the trick. Now it would still be nice to know why the mkfs.vfat
from the laptop didn't work as expected.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Re: Memory card corrupted or unformatted

2006-04-20 Thread Kasper Souren
Later I found the format thing in the File manager's menu. I didn't
expect it to be there. I guess it'd be nice to also add it to the
context menu of the memory card. Or simply ask the question "Do you
want to format the memory card now?", after the first time the device
finds out the card is "unformatted or corrupted".
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


[maemo-developers] some packages

2006-04-20 Thread Kasper Souren
After finding out how to make packages I created some more today, forGNU Screen, bzip2 and ar (for making packages on the N770 itself)Available here:    
http://www.sia.huaral.org/download/Comments welcome...
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] some packages

2006-04-21 Thread Kasper Souren
I added them to http://maemo.org/maemowiki/ApplicationCatalopWip already.
The least I wanna know  before putting them in ApplicationCatalog is that they work on someone else's N770 :)
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] python question

2006-04-26 Thread Kasper Souren
> [Desktop Entry]
> Encoding=UTF-8
> Version=1.0
> Name=Python on the 770
> Comment=Python
> Exec=/usr/lib/python2.4 uitest.py
> Icon=qgn_list_gene_default_app
> Terminal=false
> Type=Application
> X-HildonDesk-ShowInToolbar=true
>
> Not sure of what to put in the Exec part of this file. The file itself 
> (uitest.py) is in
> /home/user/uitest.py I found out my python path using:

You need to put the path to uitest.py in the .desktop file.
Then do chmod +x uitest.py, and make sure the first line of uitest.py is
#!/usr/bin/python2.4

That should work, but don't hesitate to ask more questions :)
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Shared Library problems

2006-05-03 Thread Kasper Souren

When I run the main file, import error occurs:
ImportError : /var/lib/install/usr/bin/mblob/sharedlibrary.so
(folder where main.py is)
cannot open shared object file: No such file or directory

Any idea how this should be done?


Try putting the .so's in /var/lib/install/usr/lib/python2.4/site-packages...
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


[maemo-developers] Re: uffff

2006-05-05 Thread Kasper Souren

Sending this to maemo-developers, maybe someone there knows more about
how to tackle this issue.


Now my feeling is that it is definitely python-related, coz' last night
I made one more experiment, installing the following things on a fresh German 
machine (who knows...!)
1. ossoXterm, FBReader, PSWDSafe, Nano, Plucker (everything through the 
Application install tool in a ROW),
2. then: python (for-do-dpkg -X), and (libgpgpe*.lib by using for-do-dpkg in 
Xterm)
3. sqlite (by install tool) => Paket nicht kompatible!
So the thing happens I think when installing whatever which is Python-related!!!


I think the dpkg -X is the culprit...


AFTER this case the install tool works no more, but dpkg -X package 
/var/lib/install still does his job
- putting the links even into the menu (!!!)
- but not listing the apps we install in this way in the 'Application Installer'


dpkg -X is just installing by force, into the specified directory,
without bothering about the package information...


I know you are getting tired with it, but still, if you 'd have any idea what 
to do in a different way, pls let me know!


Not getting tired of it. Just wanna get it solved!

Got this from Igor Tkach:

/ $ app-installer-tool install /media/mmc1/maemodict-0.1.9.3.deb
dpkg-deb: failed to create directory: Permission denied
dpkg: error processing /media/mmc1/maemodict-0.1.9.3.deb (--install):
subprocess dpkg-deb --control returned error exit status 2
Errors were encountered while processing:
/media/mmc1/maemodict-0.1.9.3.deb
failed
Installation of /media/mmc1/maemodict-0.1.9.3.deb failed, removing
package maemodict.
dpkg - warning: ignoring request to remove maemodict which isn't installed.

I wonder how dpkg can fail to create a directory? I know
app-installer-tool is suppsed to run as user, but I tend to always use
it as root.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Re: uffff

2006-05-05 Thread Kasper Souren

> I know
> app-installer-tool is suppsed to run as user,

It is actually supposed to run as the user "install", like so


Aha.. What about ownership in /var/lib/install?


> but I tend to always use it as root.

That might leave files behind that can not be modified by the
"install" user, and thus can break the Application installer.


So I noticed. However, there is no problem when only using commandline
all the time :)
I guess app-installer-tool should actually be smart, and switch to
user install if it's running as root...

But that still leaves the question. Is there something wrong with my
maemodict package or do people encounter other problems?
In the first case: what's wrong? In the latter, how do people avoid
running into these problems?

ciao,
Kasper
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Re: uffff

2006-05-07 Thread Kasper Souren

- is there a way to rescue the 'App installer' functionslity after
installing sthng as root,
and damaging the App. installer?


Probably, but I don't know exactly how.


is sudo gainroot and dpkg -X xxx.deb /var/lib/install a good way to
install further things? Are those further installations safe?


It's definitely not ideal. But if it keeps you from flashing every other day,
I'd say, why not? :)
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Re: uffff

2006-05-08 Thread Kasper Souren

Yeees, but app-installer tool was primarily meant to be invoked by the
osso-application-installer via sudo.  It was kind of unanticipated
that people are using it from the command line so much.  I actually
only created app-installer-tool so that I could use sudo to do the
user switching


It's convenient to copy an URL on a desktop and wget and install
the package inside an ssh session on the Nokia.


(not trusting myself to get it right when
app-installer-tool is setuid and does the user switching itself).


Why not? Just try, and post it here, I guess someone will yell if it's
not right. :)
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] python on maemo

2006-05-09 Thread Kasper Souren

Nokia770-13:/home/user# run-standalone.sh ./uitest.py
./uitest.py: 1: import: not found
./uitest.py: 2: import: not found
./uitest.py: 4: class: not found
./uitest.py: 6: Syntax error: "(" unexpected


Looks like it's not executing as Python, but as shell.
The first line should look something like #/usr/bin/python2.4
It looks like a comment, but it's not just a comment.
Otherwise you can try to run-standalone.sh python2.4 uitest.py
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] Happy birthday Maemo!

2006-05-28 Thread Kasper Souren

MoinMoin wiki is ok.  Would you also consider switching MoinMoin to
MediaWiki http://www.mediawiki.org/wiki/MediaWiki at this point in time.


I would be very happy with that. I must confess I am somewhat biased,
but I think MediaWiki is much easier to use and pages tend to look
better in the long run.
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


[maemo-developers] Re: [fbreader] ZBedic integration

2006-08-29 Thread Kasper Souren

I hope, the next release will contain same feature for Nokia 770 --
with maemodict. (Btw, does mamodict work on Maemo 2.0?)


My laptop is still lost in transit :(
So I'm trying to get myself to directly do stuff on the N770. Which sucks.

I am getting closer to getting MaemoDict to run on Maemo 2.0.
But it seems that the binary dictd I'm using is not working. Probably
due to arm/armel differences. I haven't even been lurking on
maemo-developers. I did a quick search but couldn't find useful
information.

When I try to start /usr/bin/dictd I get:
/bin/sh: /usr/bin/dictd: not found

dictd is simply taken from the Debian package for the arm
architecture. That is probably the problem here. Is it somehow easy to
get dictd for armel? I guess it can be done easily inside a scratchbox
environment. But not by me, I don't have my own laptop. I can sort of
use some MacBook, but no chance of installing a free operating system
on it.

Kasper



P.S. Anyone knows where I can buy a small and easy laptop without
Windows or other proprietary OS? Cheap, and preferably from a store in
NYC (or Philly, or on the way West).
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers


Re: [maemo-developers] dictd and MaemoDict

2006-09-20 Thread Kasper Souren

> Try the one from http://mg.pov.lt/770 (mistral, user).  I just built it,
> haven't tested it.

Now I've tested dict (but not dictd).  It works, most of the time.  Once I
got this error:
  ~ $ dict snake
  *** glibc detected *** free(): invalid pointer: 0x4015 ***
but I repeated the command and it worked.  Strange.


Finally got a laptop again. (My old one is still lost in transit.)
Unfortunately I didn't get the wireless thing working under GNU/Linux yet.
Since internet is more important, I can't use scratchbox yet.

dictd is working. More or less. It actually only works correctly when
I do a -d nodetach. I don't know why this happens. But it's good
enough for now. I actually have something working right now.

Maybe the dictd package should not start the server (e.g. mv S20dictd
K20dictd)? That way  MaemoDict can simply depend on it without
resources being wasted when MaemoDict is not running. It would also be
really cool to have Debian's dict-* packages in some maemo repository.
Later on I will try to create some dict-wikipedia and dict-wiktionary
packages.

Now I'm going to check if creating packages is still possible on the
N770 itself.

Also, could someone could create an armel version of GNU screen and slocate?
That would be very helpful for developing. Especially since I'm doing
it directly on the N770.

Kasper
___
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers