Anzeige:
Ergebnis 1 bis 7 von 7

Thema: notes aus knotes - wie komme ich an die ran?

  1. #1
    ueberzeugte if-schleife! Avatar von luh
    Registriert seit
    Dec 2002
    Beiträge
    870

    notes aus knotes - wie komme ich an die ran?

    hi,
    Wie kann ich die notes von knotes aus files lesen? Habe gerade geschaut was es so in ~/.kde/share/apps/knotes alles so gibt. allerdings kann ich keine datei finden wo ich meine notes drinnen haette.
    luh
    vnh@fedora:~$ whatis sex
    sex: nothing appropriate.

  2. #2
    Registrierter Benutzer
    Registriert seit
    Jun 2004
    Beiträge
    1.423
    die notes befinden sich irgendwo in einem der Unterverzeichnisse von $HOME.
    Wenn du mind. einen String aus deiner Notes-Sammlung kennst, dann kannst
    du folgendes machen:
    find $HOME -type f -exec grep -l 'String' '{}' ';'
    (grep -l listet die Files, in denen der String 'Strig' enthalten ist.)

  3. #3
    Registrierter Benutzer
    Registriert seit
    Oct 2004
    Beiträge
    320

    Notes auslesen

    Hallo Luh

    habe das gleiche Problem mit den Notes: Wie kann ich sie auslesen (das Verzeichnis, wo sie gespeichert sind, kenne ich). Hast Du es herausgefunden?

    Gruß Franz N.

  4. #4
    ueberzeugte if-schleife! Avatar von luh
    Registriert seit
    Dec 2002
    Beiträge
    870
    hi nachbar
    habe gerade den schoenen befehl ausgefuehrt, und die dateien liegen irgendwo hier:
    /home/vnh/.kde/share/apps/knotesnotes.ics~
    /home/vnh/.kde/share/apps/knotesnotes.ics
    /home/vnh/.kde/share/apps/knotes/notes.ics
    /home/vnh/.kde/share/apps/knotes/notes.txt
    /home/vnh/.kde/share/apps/knotes/notes2.ics
    /home/vnh/.kde/share/apps/knotes/notes.ics~

    eines dieser dateien ist es "vnh" musst du durch deinen benutzernamen ersetzen.
    manche der dateien habe ich damals angelegt, aber eine der dateien hast du sicher, und da steht es dann drin!
    gruss
    luh
    vnh@fedora:~$ whatis sex
    sex: nothing appropriate.

  5. #5
    Registrierter Benutzer
    Registriert seit
    Oct 2004
    Beiträge
    320

    Knotes Probleme

    Hallo Luh
    danke für den Tipp, aber das Problem liegt woanders. Offensichtlich ist bei der Suse9.2 Distrib. mit KDE 3-3.3.0 ein fehlerhaftes Kommando bei Knotes implementiert, so dass Knotes nicht abspeichert (alle Memos und Notes sind nach dem Neustart weg). Das Programm sucht nach dem Neustart sozusagen im falschen Ordner (..../notes), obwohl die Notizen fehlerhafterweise dort nicht abgelegt wurden. Das Problem ist wohl bekannt (vfl. www.bugs.kde.org), leider ist mir die im dortigen Forum angebotene Lösung zu sopghisticated, vielleicht hat noch jemeand eine Idee.
    Danke.
    Franz Nachbar

  6. #6
    ueberzeugte if-schleife! Avatar von luh
    Registriert seit
    Dec 2002
    Beiträge
    870
    wenn du mal lust hast, dann poste hier mal die loesung, oder gib den genauen link - ich habe zu wenig zeit danach wirklich zu suchen.
    aber vielleicht kann ich damit was anfangen und dir das dann so erklaeren, dass du das trotzdem machen kannst.
    das seltsame ist dass ich auch 9.2 habe aber kein prob mit knotes.
    gruss
    luh
    vnh@fedora:~$ whatis sex
    sex: nothing appropriate.

  7. #7
    Registrierter Benutzer
    Registriert seit
    Oct 2004
    Beiträge
    320

    Knotes speichert nicht

    Hallo Luh, ist nett dass Du nochmals einen Check anbietest. Also das Problem ist Ende 2004 wohl in genau der Form bei anderen aufgetreten und in

    http://bugs.kde.org/show_bug.cgi?id=90744

    erörtert und gelöst? worden, braucht man einen Zugang zu diesem Forum, das Password erhält man in 1 Minute per Email.

    Die ganze Diskussion ist lang, wenn Du sie Dir antun magst, hier ist sie in Auszügen:

    Skip to main content :: Home

    Product: knotes
    Component: general
    Version: unspecified
    Status: RESOLVED
    Platform: SuSE RPMs
    Resolution: FIXED
    Reporter: Roland
    Assigned to: Michael Brade

    Version: (using KDE KDE 3.3.0)
    Installed from: SuSE RPMs

    hi. after update from 3.2.1 to 3.3 by suserpms, knotes dont save any note. not standalone and not n kontact. i have the notes till i shut down kde. next start, knotes dont work. there is no note everywehre and ant the starticon looks chrashed, ofcorse there is no note (this bug maybe knowen? -- to stop, creat a dummynote ).

    Additional Comment #1 From Kay Patzwald
    Hi,

    I have the same problem.

    Best regards, Kay

    i look at ~/.kde/share/apps/knotes. there are entrys for every note. but the text are not inside. have somebody a old correct entry? i want to copy the text into a note to have a dummy-entry like in the older version. can sombody help

    Additional Comment #5 From Roland
    i forget: there is a ~/.kde/share/apps/kontact/notes too. there are the libkcal-entrys for the notes make in kontact-notes.

    The bug with "knotesnotes.ics" is fixed already, too.

    i dont have a notes.ics, but a ~/.kde/share/apps/knotesnotes.ics. i have
    make a copy to ..../notes and rename it. no effekt.
    You have got a .../knotes/notes.ics now? Or a .../knotes/notes/notes.ics? You
    need the _former_! And then restart KNotes, this must work. Make sure KNotes
    has read-permission to notes.ics.

    and i have allready the libkcal entrys, for every test on i can see at the
    date of every data.
    I'm sorry, I don't understand the meaning of that sentence.
    Additional Comment #7 From Roland
    hi
    $dcop knotes
    this will start knotes with a empty note and no returnmessages. in the .../apps/knotes directory a libkcal... data will make, but no notes.ics. to make a note with the comandline hase no effekt, everytime the same returnmassage.

    i start kdcop. there is no entry for knotes. ??

    I'm sorry, I don't understand the meaning of that sentence.
    i mean, i have the notes config datas for every note i make.

    and i have copyed the data to /apps/knotes. what do you mean with _former_ ... sorry, i never work "so deep" in my kde .. readingpermissions i think it has. owner and group of me, reading and wrinting for me, all others can read.

    I tried the following:
    - Exited knotes
    - Removed ~/.kde/share/apps/knotesnotes.*
    - Removed ~/.kde/share/apps/knotes (directory)
    - Started knotes
    - A new message pops up; I filled in some stuff
    - Exited knotes
    - Result: ~/.kde/share/apps/knotesnotes.ics (!) is created, the stuff filled in is stored in there; ~/.kde/share/apps/knotes/notes/notes.ics does NOT exist
    - Started knotes
    - A new message pops up with a new creation time; the old stuff was obviously not loaded from knotesnotes.ics
    - Filled in some other stuff
    - Exited knotes
    - Result: ~/.kde/share/apps/knotesnotes.ics is overwritten; the only message is now the new one with the other stuff filled in. Still no notes.ics, BUT two libkcal-... entries in the knotes/notes directory. Only one is referenced in knotesnotes.ics.
    - Moved knotesnotes.ics to ~/.kde/share/apps/knotes/notes.ics.
    - Started knotes
    - Note with other stuff is loaded!
    - Modified the other stuff
    - Exited knotes
    - Result: notes.ics still has the older other stuff, knotesnotes.ics is created again and has the new stuff
    - Started knotes
    - As expected, knotes only loads the contents of notes.ics, which is the one with older other stuff.

    So it looks like knotes always SAVES stuff in knotesnotes.ics, even creating it when it does not exist, but LOADS stuff from notes.ics.

    WORKAROUND with symbolic link:
    - (Save old messages if needed)
    - rm ~/.kde/share/apps/knotesnotes.ics*
    - rm -r -f ~/.kde/share/apps/knotes
    - knotes
    - (Exit knotes)
    - ln -s ~/.kde/share/apps/knotesnotes.ics ~/.kde/share/apps/knotes/notes.ics
    - knotes
    This works for me, saving notes between sessions. However, editing notes in kontact still does not work
    Additional Comment #11 From Roland
    ok, i take the way with the link. but i have see, if i ending knotes and start it (in the same session), all old notes will be deleted.


    Additional Comment #12 From Jean-Philippe
    I have the problem too.. with KDE 3.2.3 and Knotes 3.3

    Additional Comment #13 From Michael Brade
    On Tuesday 05 October 2004 11:37, mail at joerg-brenninkmeyer.de wrote:
    I also analyzed the problem with kontact a little more.
    Thank you _very_ much, Joerg, for your detailed analysis of the problem! Much
    appreciated. Unfortunately, someone tried to fix a bug in KNotes in a
    slightly wrong way which introduced the problem with knotesnotes.ics.
    However, this was not released, but SuSE pulled the buggy fix for their KDE
    3.3 packages :-((

    Now, what I don't understand, and in fact I think this should not be possible
    at all, is that if there is an apps/knotes/notes.ics file and it is readable
    and writeable by KNotes, there can not be any knotesnotes.ics created. Are
    you _really_ sure about that? The file should only be created if apps/knotes
    is no directory, impossible to be created, or unreadable.

    This problem has been fixed in the meantime, btw. And your workaround using
    the symbolic link is really clever!
    and once I close the knotes-Application, notes.ics is overwritten by it so
    that all changes made in kontact are lost.
    Yes, I know. This is still an open issue and needs quite some work. I didn't
    have the time to implement synchronization between Kontact and KNotes yet.
    But hopefully in about 3-4 weeks...

    Additional Comment #14 From Roland
    I have the problem too.. with KDE 3.2.3 and Knotes 3
    in kde 3.2.1 i make a trick. i have insert only one note witch i never delete. now knotes was working right. maybe its works with your version... ??

    Additional Comment #15 From m00nraker
    Hi.

    Additional Comment #19 From Kay Patzwald
    Is there a tutorial how to build only knotes?


    Additional Comment #20 From Michael Brade --
    No, but "no" because it's easy

    cvs co kdepim OR tar xzf kdepim-version.tar.gz
    cd kdepim
    make -f Makefile.cvs
    ./configure
    cd libical
    make install
    cd libkcal
    make install
    cd knotes
    make install

    With unsermake the libkcal/libical bits are not needed. But don't worry if you
    don't know what unsermake is. Just do the above.

    Of course, you have to install the kdelibs-dev package that comes with your
    distribution first (and all the other required -dev packages, they include
    the header files needed for compilation). ./configure will complain about any
    missing pieces.

    Hope that helps.


    Additional Comment #21 From Kay Patzwald
    Thanks, it works finally :-), but I have to install also the following:
    libemailfunctions
    ktnef

    Kay
    Additional Comment #22 From mail at joerg-brenninkmeyer.de 2004-10-19 23:37
    Sorry for replying that late, I had to pass my oral exam in the meantime! :-)

    Now, what I don't understand, and in fact I think this should not be possible
    at all, is that if there is an apps/knotes/notes.ics file and it is readable
    and writeable by KNotes, there can not be any knotesnotes.ics created. Are
    you _really_ sure about that? The file should only be created if apps/knotes
    is no directory, impossible to be created, or unreadable.

    I checked it again, and knotesnotes.ics is definitely created when I proceed like described above. I also moved knotesnotes.ics to the notes.ics file, overwriting the latter, and doublechecked the permissions. After loading knotes, creating a new message and closing it, a knotesnotes.ics file is created, containing the old messages and the new one, while the notes.ics file is not changed and contains only the old messages.

    This problem has been fixed in the meantime, btw.

    I kept updating the SUSE KDE 3.3 packages, but the problem still exists. However, SUSE still provides 3.3.1 only, so it's probably just a matter of time. My current version of kdepim is 3.3.1-3.

    Another thing is that renaming
    notes in kontact leads to changes in notes.ics, but the note is not renamed
    in the kontact view. Only reloading kontact makes those changes visible
    (until they are overwritten when closing knotes again).
    But that means you have an old Kontact, that is, a contact that does not have
    the iconview for the notes part?
    I do have the iconview, the problem occurs when I right-click the icon and select "rename". A textfield is displayed in front of the original text and I can edit it, but when I hit Enter, the old text is displayed again. Only restarting kontact makes the changes visible.


    Additional Comment #23 From Paulo Dias
    Hi... i also had the same problem with kde 3.3.1 (compiled from sources with slackware 10.0), and after i downloaded the kdepim-041020 snapshot, it fixed the bug also, the "simbolic link method" workaround also worked

    i hope this nasty bug doesn't show up in kde 3.3.2
    thanks for a very VERY useful proggie knotes rocks


    Additional Comment #24 From Richard Fujimoto
    Wouldn't a patch be appropriate though? I mean, this bug does render knotes useless.... That way packagers could re-package kde-pim with a patch.


    Additional Comment #25 From Imre Tuske
    I have KDE 3.3.1 installed, and it seems that

    on startup, KNotes reads the ~/.kde/share/apps/knotesnotes.ics
    but on save/exit it saves to ~/.kde/share/apps/knotes/notes.ics

    My suspicion would be that a '/' character was left out from the source code (code typo?), wasn't it?

    I'm too lazy to recompile, rather go for the symlink workaround... thanks for the hints guys!


    Additional Comment #26 From Imre Tuske
    (Oops, I've accidentally confused the start/exit files in my previous post, but I think still shows the idea...)
    Additional Comment #28 From jeff pitman
    KDE 3.3.1, kde-redhat packages. Confirmed same behavior.

    Recommend status be upgraded to "Grave", as this constitutes Data Loss. Patch should be pushed to vendors prior to 3.3.2 in an errata update.


    Additional Comment #29 From Michael E. Stora, Ph.D.
    My experiance on a new SuSE 9.2 install:

    Knotes does not save notes. knotes crashes on restoring sesion.Knotes is looking for notes in the file ~/.kde/share/apps/knotes/notes.ics (which I suspect is the correct location) but writting notes to ~/.kde/share/apps/knotesnotes.ics (I suspect a missing slash in the code). Creating both files still leaves some bugs (can't delete notes, brings up new blank note on startup), but if you make ~/.kde/share/apps/knotes/notes.ics a symbolic link to ~/.kde/share/apps/knotesnotes.ics functionality is fully restored.

    Mike
    Additional Comment #30 From Alessandro Faustini
    I modified knotes source and now it seems working right.

    in file 'resourcelocal.cpp', function 'ResourceLocal::save()' change
    QString file = KGlobal::dirs()->saveLocation( "data", "knotes" ) + "notes.ics";
    with
    QString file = KGlobal::dirs()->saveLocation( "data" ) + "knotes/notes.ics";


    Additional Comment #31 From Michael Brade 2004-11-25 09:15
    On Wednesday 24 November 2004 20:23, Alessandro Faustini wrote:
    I modified knotes source and now it seems working right.
    Ah, I totally forgot that there's two bugreports about the same thing. Will
    close them on Saturday.

    in file 'resourcelocal.cpp', function 'ResourceLocal::save()' change
    QString file = KGlobal::dirs()->saveLocation( "data", "knotes" ) +
    "notes.ics"; with
    QString file = KGlobal::dirs()->saveLocation( "data" ) +
    "knotes/notes.ics";
    No, this is wrong, see #92596. It has to be
    QString file = KGlobal::dirs()->saveLocation( "data", "knotes/" )+"notes.ics";


    Additional Comment #32 From Michael Brade
    On Tuesday 19 October 2004 23:37, mail at joerg-brenninkmeyer.de wrote:
    I do have the iconview, the problem occurs when I right-click the icon and
    select "rename". A textfield is displayed in front of the original text and
    I can edit it, but when I hit Enter, the old text is displayed again. Only
    restarting kontact makes the changes visible.
    Has been fixed now as well.


    Additional Comment #33 From Michael Brade

    fixed #90744, #91702, #92596, #93499: save modified notes on quit, may
    not have happened when the note still had focus. Also, the problem
    with knotesnotes.ics should be gone now.

    To #91702: I guess you were takling about modifying only one note, because
    when changing to a second one the first one is saved immediately.

    BUG: 90744, 91702, 92596, 93499

    Will backport in a second.

    Leider komm ich da nicht so recht weiter, entscheidend ist wohl Comment #20 von Michael Brade, aber die Kommandos helfen mir nicht, weil ich kdepim schon gar nicht finde in meinem System. Also, wenn Du noch einen Tipp hast, wäre ich echt dankbar.

    Gruß Franz Nachbar
    Geändert von Nachbar (10.05.05 um 14:25 Uhr)

Ähnliche Themen

  1. Lotus Notes über Linux
    Von Pingu21 im Forum Virtuelle Maschinen und Emulatoren
    Antworten: 10
    Letzter Beitrag: 04.01.05, 11:03
  2. E-Mail-Adresse aus Kadressbook in Lotus Notes übernehmen
    Von upuaut im Forum Anwendungen Allgemein, Software
    Antworten: 1
    Letzter Beitrag: 03.12.04, 08:21
  3. knotes auf frischem Mandrake 10.0 unter KDE 3.2 läuft nicht
    Von wicking im Forum Anwendungen Allgemein, Software
    Antworten: 2
    Letzter Beitrag: 20.04.04, 21:03
  4. Antworten: 3
    Letzter Beitrag: 27.08.03, 17:28
  5. Einwahl über ISDN auf Windows Netzwerk bzw Notes über Linux
    Von Rotzbuab im Forum Anbindung an die Aussenwelt
    Antworten: 2
    Letzter Beitrag: 04.04.02, 15:08

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •