Author Topic: Outliner / Journal Application For Z / Linux  (Read 8493 times)

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Outliner / Journal Application For Z / Linux
« Reply #15 on: August 31, 2006, 04:21:45 am »
Good news!
LEO runs with tk and tcl installed, together with python 2.4 and the python-tk module. It only complains about no rst3 plugin but it doesn't hurt.  
It runs a bit slow on SD card and seems to have big overhead. And the fonts are too small. After all it's a nice app. Will go on playing with it when free.

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
Outliner / Journal Application For Z / Linux
« Reply #16 on: August 31, 2006, 05:08:04 am »
Quote
Good news!
LEO runs with tk and tcl installed, together with python 2.4 and the python-tk module. It only complains about no rst3 plugin but it doesn't hurt. 
It runs a bit slow on SD card and seems to have big overhead. And the fonts are too small. After all it's a nice app. Will go on playing with it when free.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=140291\"][{POST_SNAPBACK}][/a][/div]

hm - could you please explain step by step how you did that?
I just downloaded the latest version 4.4.1final from today and tried it (tk, tcl and python-tk installed). I get the same error as on my last attempt some weeks ago:

Code: [Select]
# cd src
# python
Python 2.4.1...
...
>>> import leo
>>> leo.run()
"isValidPython: can not import leoGlobals"

What should I do differently?
(running "python leo.py" directly has the same effect)


Could you please give me the output of

Code: [Select]
ipkg status | grep pyon your machine? Maybe I have to install another python package?
According to my very limited python knowledge and a first analysis fo this error message it seems that some definitions (TRUE, FALSE...) are not set.

daniel
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Outliner / Journal Application For Z / Linux
« Reply #17 on: August 31, 2006, 05:36:41 am »
Well, i'm afraid my ipkg status | grep py output can't help much here, coz i already installed python and ALL the python packages on my Z (when trying to build pygtk and other python stuff.  )
AFAIK python-tk needs python-core.
Or just like me install everything just to see how LEO fares. (I'm being too lazy to track down the dependencies) Actually those python packages are very small and won't take up much space.
« Last Edit: August 31, 2006, 05:37:04 am by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Outliner / Journal Application For Z / Linux
« Reply #18 on: August 31, 2006, 05:41:44 am »
Forgot to mention that I didn't do "import leo", but simply go to src/ and "python leo.py". Dunno if that makes any difference?

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
Outliner / Journal Application For Z / Linux
« Reply #19 on: August 31, 2006, 05:42:48 am »
Quote
Well, i'm afraid my ipkg status | grep py output can't help much here, coz i already installed python and ALL the python packages on my Z (when trying to build pygtk and other python stuff.  )
AFAIK python-tk needs python-core.
Or just like me install everything just to see how LEO fares. (I'm being too lazy to track down the dependencies) Actually those python packages are very small and won't take up much space.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=140304\"][{POST_SNAPBACK}][/a][/div]

okay, so I may try to install all python modules available in the feeds.
I am on GPRS line currently, so this must wait until I am back home (evening).
I tracked it down a bit:
Executing the "import leoGlobals as g" command manually on the Python command line revealed that the needed module "filecmp" is not available.

Every attempt to find out which of the Zaurus modules could contain that python module failed.
On the Internet I find a lot of references for Python functions but none mentions packages or modules these functions are be contained in, let alone giving download links...  

Actually, I don't want to install all modules because I'd like to save root space. So if you could try to find out which or the installed modules contains filecmp, it would be great!

Thanks
daniel
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Outliner / Journal Application For Z / Linux
« Reply #20 on: August 31, 2006, 05:48:48 am »
Hey, "filecmp" is found in the big python 2.4 package.

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
Outliner / Journal Application For Z / Linux
« Reply #21 on: August 31, 2006, 05:58:41 am »
Quote
Hey, "filecmp" is found in the big python 2.4 package.
[div align=\"right\"][a href=\"index.php?act=findpost&pid=140309\"][{POST_SNAPBACK}][/a][/div]

So maybe I should install that.  
I thought it would be installed, as pdaXrom relies so much on Python, so I didn't even check it is installed. But you are right: it is not!

So maybe my other Python problems (module "glob" not found on other outliners etc.) are also related to that.

Bugger! I should have checked that before. Would probably have saved my a lot of trouble.

Thanks a lot! Will try tonight.

daniel
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0

Drake01

  • Full Member
  • ***
  • Posts: 226
    • View Profile
Outliner / Journal Application For Z / Linux
« Reply #22 on: September 01, 2006, 06:44:49 pm »
Quote
pdaXrom: NoteCase
Similar to TuxCards, NoteCase also organize notes hierarchically.  Although the interface is less good-looking than TuxCards' and does not have date/time insertion, NoteCase can take  web links and file links. Export to HTML and TXT work well, despite the simple formatting. It can also import from XML, which I haven't tried. It is GTK app so the current multi-language inputmethods (SCIM, UIM, etc) work very well with it.
Developer's site: http://notecase.sourceforge.net/
Previous discussion: https://www.oesf.org/forums/index.php?showtopic=16816
(There is also a simple GTK journal taking app Cire, which I also like very much, discussed in this thread)
[div align=\"right\"][a href=\"index.php?act=findpost&pid=137665\"][{POST_SNAPBACK}][/a][/div]
Can I assume that the same NoteCase data file is readable in all versions of the app (Zaurus, Linux, Win)?

And the developer's site mentions encryption, but I didn't see any details.  Do you know if this is relatively strong encryption?  Or something pathetic like an XOR function?
Device: SL-C3200 running pdaXii13v2 build 5.5.0
Networking: Symbol Spectrum24 WLAN card; Kingston CIO10T CF NIC
Storage: 4GB Transcend 150x SD; 16GB Transcend 133x CF; 4GB Seagate CF HDD; 4GB Patriot SD
HID: Logitech V450 Laser Mouse; generic silicone USB keyboard; 2 generic optical mice; stock plastic stylus
GPS: generic "UT-41" USB GPS Receiver
Case: neoprene case from my old Palm foldable keyboard

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Outliner / Journal Application For Z / Linux
« Reply #23 on: September 02, 2006, 01:57:30 am »
Quote
Can I assume that the same NoteCase data file is readable in all versions of the app (Zaurus, Linux, Win)?

And the developer's site mentions encryption, but I didn't see any details.  Do you know if this is relatively strong encryption?  Or something pathetic like an XOR function?
[div align=\"right\"][a href=\"index.php?act=findpost&pid=140499\"][{POST_SNAPBACK}][/a][/div]

The notecase encrypted format (.nce) uses SHA-1. The help file in the program will tell you more.
Both the uncrypted .ncd and the encrypted .nce are just HTML so you can open them with a web browser or even a text editor.  
Although it appears simpler than other outliners, the good thing about notecase is there are versions for Linux, Zaurus and Windows. I am using the Linux version at home, the Zaurus version on the fly, and the Windows version in my office (installed on a USB stick).  
« Last Edit: September 02, 2006, 01:58:28 am by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

ZDevil

  • Hero Member
  • *****
  • Posts: 1998
    • View Profile
    • http://
Outliner / Journal Application For Z / Linux
« Reply #24 on: September 02, 2006, 11:02:30 am »
Just uploaded knowde here

p.s. Oops. Just saw Chero's another post saying that he's already compiled it. Sorry!  
« Last Edit: September 02, 2006, 11:10:31 am by ZDevil »

Life is too precious for hacking *too much*
Visit my Z screencap gallery[/color]
My EeePC 701 Black = Debian (Lenny) on IceRocks + Transcend SDHC Class6 8GB + 2GB RAM
My Zaurus SL-C3200 = Debian EABI (kernel 2.6.24.3-yonggun) on a swapped internal Sandisk Extreme III CF 16gb
My Debian EABI feed: http://matrixmen.free.fr/zaurus/debian/
My OpenBSD/Zaurus feeds:  Link1, Link2
[/i][/font][/color][/size]

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
Outliner / Journal Application For Z / Linux
« Reply #25 on: September 05, 2006, 11:47:54 am »
Quote
Just uploaded knowde here

p.s. Oops. Just saw Chero's another post saying that he's already compiled it. Sorry! 
[div align=\"right\"][a href=\"index.php?act=findpost&pid=140539\"][{POST_SNAPBACK}][/a][/div]

Don't worry, it was an easy one  
Thanks for packing it up.

Have fun,
Chero.
HP-95LX -> HP Jornada 680 -> SL-C860 -> SL-C3100 -> Fuji u810 -> SL-C1000 -> HTC uni -> SL-C860 -> SL-C760.
March 12 2009 : Back because the Zaurus is one of a kind.
SL-C760 : pdaXrom
Pandora pre-ordered -> received and tested : great device but not my cup of tea -> sold.

danr

  • Full Member
  • ***
  • Posts: 138
    • View Profile
    • http://
Outliner / Journal Application For Z / Linux
« Reply #26 on: September 08, 2006, 05:57:47 am »
Quote
I'm looking for an application which can be used for outlining and quick note taking in form of a journal (i.e. date / time stamp automatically added etc.) in combination, which is usable on the Zaurus and any (Linux) PC and / or Mac.

The method I currently use isn't particularly glamorous, but it's straightforward.  I simply write notes with a text editor, with extension ".note", and have set up syntax highlighting to display a line starting with '-- ' as a comment, and it also differentiates text between quotes as a string.

For example,

Code: [Select]
-- Fri 08/09/06
This is some text, e.g. a diary entry

I've set up my editor to automatically add the date line with a certain key press.

I've taken this all a step further as well as at work I make notes on my work, and then I use a perl script to look for all entries within the last week, and put those in a weekly report file.

I also use notes for personal use, using a directory hierarchy to store individual note items, with titles such as computer, finance, local, music, other, personal, etc.  Then I can use 'find . | xargs grep <text>' to search for info.

pros: simple, can sync with a PC and edit files there, then sync back (I use unison)
cons: not very flashy.
SL-C860 running Debian EABI on top of Angstrom 2.6 kernel

daniel3000

  • Hero Member
  • *****
  • Posts: 1003
    • View Profile
    • http://
Outliner / Journal Application For Z / Linux
« Reply #27 on: September 11, 2006, 03:59:23 am »
...but very appealing!
This is about the method I have used on the HP palmtop before switching to the Zaurus. One difference:
There was a PIM GUI tool which allowed to view data in such text files wasily in calendar views, list views etc. and to manipulate them a bit.

Will have to think about that.

The Journal feature in KO/PI supports rudimantary calendar view (days which HAVE a journal entry are marked in the date navigator) and the search feature is also quite good.
What I dislike is that the search only shows the title of the journal, which is usually not what I am interested in (beacuse I know under which title I have to search).
Grep would allow to see the word searched for and some context. Much better!

And since there is no real connection between the KO/PI journal feature and the other features (no links possible etc.), i.e. the Journal feature in KO/PI is like a stand-alone solution, I can wasily migrate to another solution, keeping the remaining (brilliant!) KO/PI setup as it is.

Thanks for the idea!
daniel
SL-C3200 with weeXpc, based on pdaXrom 1.1.0beta3
HP 200LX with MS-DOS 5.0