Le mardi 02 septembre 2008 à 21:24 +0200, Jaap Karssenberg a écrit :

> What is going wrong here is that zim thinks it is a notebook name 
> because there is no "/" in it. Using "zim ./test.gjots" should work. 
> Probably I should consider this a bug and check all names also as file 
> in the local dir.

Strange. I ran :

        zim ./test.gjots

But it's still buggy :

    ## Got notebook: /home/rnb/test.gjots
    # No daemon listening .. let's start one
    # locale: fr_FR.UTF-8
    # Loading translation from: /usr/local/bin/../share/zim/lingua/fr.pl
    # This is zim 0.26
    # Gtk2 version is 1.161
    #   compiled against gtk+ 2.12.0
    #   linked   against gtk+ 2.12.9
    # Notebook path = /home/rnb/test.gjots
    #          page = 
    ## Daemon: Forked client with PID 8631
    ## Daemon: Listening at PID 8629
    # Adding store of type 'Gjots' at ':'
    ## FS read: /home/rnb/notebook.zim
    # Store does not use version control
    # History file: /home/rnb/.zim/history.cache (max 15)
    ## FS read: /home/rnb/.zim/state.conf
    # Profile: reader
    # Reading config from: /usr/local/bin/../share/zim/reader.conf
    ## FS read: /usr/local/share/zim/reader.conf
    ## Call daemon: register /home/rnb/
    # Notebook: /home/rnb/
    ## Daemon: PID 8631 says: register /home/rnb/
    TODO resolve case for: Home
    # Home: :Home
    ## FS read: /usr/local/share/zim/default.style
    TODO resolve case for: Home
    ## GUI load_page:  (obj:  rec: )
    WARNING: You tried to load an empty name.
    ## emit t_read_only: 0 (Zim::GUI)
    Can't call method "name" on unblessed reference
at /usr/local/share/perl/5.8.8/Zim/GUI.pm line 2416.
    ## Daemon: Client with PID 8631 exited
    ## Daemon: Last client exited
    ## Daemon: Exiting 

> In theory you should be able to do a commandline command to have zim 
> export a gjots notebook to a zim notebook. Just tested it but it doesn't 
> work :( Give me a few days and I'll push a fix to the bazaar tree.
> 

Cool. Thanks Jaap.

-- 
Rui Nibau <[EMAIL PROTECTED]>
http://www.omacronides.com
http://www.framasoft.net



_______________________________________________
Mailing list: https://launchpad.net/~zim-wiki
Post to     : zim-wiki@lists.launchpad.net
Unsubscribe : https://launchpad.net/~zim-wiki
More help   : https://help.launchpad.net/ListHelp

Reply via email to