maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   Conboy - Note Taking Application (Tomboy clone) (https://talk.maemo.org/showthread.php?t=28355)

datjomp 2010-08-03 16:08

Re: Conboy - Note Taking Application (Tomboy clone)
 
Quote:

Originally Posted by adrianmilev (Post 774220)
I remove "File Tranfers" ver. 0.3, and now "conboy" is OK.

Removing FileTransfer solved the internal error with conboy for me too
Never used FT anyways

conny 2010-08-03 16:34

Re: Conboy - Note Taking Application (Tomboy clone)
 
I'll write the File Transfer guys and ask them if they know what's going on.

exuvo 2010-08-04 11:37

Re: Conboy - Note Taking Application (Tomboy clone)
 
Quote:

Originally Posted by adrianmilev (Post 774220)
I remove "File Tranfers" ver. 0.3, and now "conboy" is OK.

Thank you, conboy now works again! Seems strange how file transfers could interfere with conboy.

Khertan 2010-08-04 12:01

Re: Conboy - Note Taking Application (Tomboy clone)
 
I got a segfault too during a sync of note having just a title (version 0.6.3.27) . Without anything else. Adding a letter sync is ok ... removing the letter in the note content and sync segfault.

Also for those who want to display a conboy note as text on your desktop (a todo list for example) : http://khertan.net/articles/conboy_note_to_text

conny 2010-08-05 08:01

Re: Conboy - Note Taking Application (Tomboy clone)
 
Quote:

Originally Posted by Khertan (Post 775338)
I got a segfault too during a sync of note having just a title (version 0.6.3.27) . Without anything else. Adding a letter sync is ok ... removing the letter in the note content and sync segfault.

There is now a bug about this in bugzilla. Iīll fix it as soon as possible.

Quote:

Originally Posted by Khertan (Post 775338)
Also for those who want to display a conboy note as text on your desktop (a todo list for example) : http://khertan.net/articles/conboy_note_to_text

Interesting! Thanks for sharing that.

Also the 'File Transfers' guys are informed about the crasher, but so far they didnīt reply yet.

Khertan 2010-08-07 17:41

Re: Conboy - Note Taking Application (Tomboy clone)
 
I know i didn t create any bug report as you use maemo bug tracker. And as it s linked with the garage. I didn t have any account.

conny 2010-08-07 17:56

Re: Conboy - Note Taking Application (Tomboy clone)
 
Quote:

Originally Posted by Khertan (Post 778941)
I know i didn t create any bug report as you use maemo bug tracker. And as it s linked with the garage. I didn t have any account.

But someone else created a bug and it's already fixed in trunk. Will be included in the next version :)

Khertan 2010-08-08 09:46

Re: Conboy - Note Taking Application (Tomboy clone)
 
Perfect :)

Thx

sorodoros 2010-08-08 10:35

Re: Conboy - Note Taking Application (Tomboy clone)
 
Quote:

Originally Posted by conny (Post 776278)
Also for those who want to display a conboy note as text on your desktop (a todo list for example): http://khertan.net/articles/conboy_note_to_text
Interesting! Thanks for sharing that.

This would be a great feature in Conboy if all this code cold be automated with a single menu selection, e.g., "Send Note to Desktop."

albanc 2010-08-10 16:37

Re: Conboy - Note Taking Application (Tomboy clone)
 
The crash in Conboy at startup caused by Monorail 0.3 will be fixed in Monorail 0.4. It is uploading in Maemo extras-devel and should be available soon. Meanwhile, uninstalling Monorail (File Transfers) should make Conboy work again.

jukey 2010-08-11 12:23

Re: Conboy - Note Taking Application (Tomboy clone)
 
Quote:

Originally Posted by albanc (Post 781784)
The crash in Conboy at startup caused by Monorail 0.3 will be fixed in Monorail 0.4. It is uploading in Maemo extras-devel and should be available soon. Meanwhile, uninstalling Monorail (File Transfers) should make Conboy work again.

It's not available yet but thanks for the fix coming soon.

Could you please consider to user bugs.maemo.org or the garage as bugtracker. If you don't want this a thread in this forum also will do it.

Thanks and best regards

Uwe

adrianmilev 2010-08-13 13:52

Re: Conboy - Note Taking Application (Tomboy clone)
 
Now install the new version 0:6:3:29, but "Internal error. Aplication 'Conboy' closed."?!?!

lkravovicz 2010-08-13 15:11

Re: Conboy - Note Taking Application (Tomboy clone)
 
same here. 0.6.3.27 and earlier have broken synchronization, also crashing with internal error, at least against current snowy.

conny 2010-08-13 18:22

Re: Conboy - Note Taking Application (Tomboy clone)
 
0.6.4.30 should work again. That happens if you are on vacation but still think you could do this one small fix... Actually I just did forget on "!"....

@Ikravovicz: Could you elaborate on your sync issues?

lkravovicz 2010-08-13 20:30

Re: Conboy - Note Taking Application (Tomboy clone)
 
Quote:

Originally Posted by conny (Post 785557)
@Ikravovicz: Could you elaborate on your sync issues?

i'm not sure how to elaborate. conboy just closes with internal error when i press sync. at first when i had something like 7 notes in the database, syncing worked. problems started after i added a bunch of new notes in my windows-osx-n900 triangle, syncing them whichever way through snowy. at one poing conboy just started crashing on sync.

my next step will be to monitor the snowy application log to see if it at least makes a connection or to get a better view of when the crash happens. how would i debug conboy on n900? i'm assuming its not debug-compiled so gdb isnt much use?

irameltzer 2010-08-13 20:50

Re: Conboy - Note Taking Application (Tomboy clone)
 
hey there
i know its not the place but really need help and it is easy but can't find how to do it on the website....
i deleted a file from /home/opt/user/bin the file name is something about sketch launch, i just need somewhere to download the file from or if someone can send it via e-mail (irameltzer@hotmail.com) so i can put it back there and sketch will work again..
sorry and thanks

etuoyo 2010-08-14 08:04

Re: Conboy - Note Taking Application (Tomboy clone)
 
Just updated to the latest version of Conboy and I am no longer getting the internal error crash. Yaaay!!!

Didn't even have to uninstall file transfer or Monorail or whatever it is although I don't even know if I have it installed in the first place. Could not find any such thing in my installed applications and could not find it in downloads either.

lkravovicz 2010-08-14 08:54

Re: Conboy - Note Taking Application (Tomboy clone)
 
Quote:

Originally Posted by conny (Post 785557)
0.6.4.30 should work again. That happens if you are on vacation but still think you could do this one small fix... Actually I just did forget on "!"....

@Ikravovicz: Could you elaborate on your sync issues?

update: not only does .30 launch normally but also syncing simply works without problems. thanks conny!

conny 2010-08-14 17:19

Re: Conboy - Note Taking Application (Tomboy clone)
 
Thanks for the feedback guys! Good to know that everything is up and running again :)

lausoda 2010-08-15 14:08

Re: Conboy - Note Taking Application (Tomboy clone)
 
well i'm still having the "internal issue" crash when trying to sync with the last version of the app (0.6.3.30).

conny 2010-08-16 05:53

Re: Conboy - Note Taking Application (Tomboy clone)
 
Quote:

Originally Posted by lausoda (Post 787007)
well i'm still having the "internal issue" crash when trying to sync with the last version of the app (0.6.3.30).

Could you please run it from Terminal and paste the output here or send it to me via PM? Also what hardware are you using and do you sync against U1 or Snowy?

xopher_mc 2010-08-16 16:18

Re: Conboy - Note Taking Application (Tomboy clone)
 
Hi,

I'm trying to add my n900 to ubuntu one. I get to the screen of adding the computer type in the name and click add (in microb). The screen goes white then just waits there.

Xopher_mc

*pr1.2 and microb and conboy for devel-extras

lausoda 2010-08-16 16:57

Re: Conboy - Note Taking Application (Tomboy clone)
 
Quote:

Originally Posted by conny (Post 787691)
Could you please run it from Terminal and paste the output here or send it to me via PM? Also what hardware are you using and do you sync against U1 or Snowy?

Sure. I'm using a N900 with PR 1.2 and I sync against ubuntu one.

The logs (I remove the parts of the url with auth keys) :

Code:

Starting conboy, Version 0.6.3.30
HILDON INIT
INFO: Looking for plugins in: /usr/lib/conboy
INFO: Loading plugin description: /usr/lib/conboy/conboy_storage_xml.plugin
INFO: Loading library: /usr/lib/conboy/libstoragexml.la
INFO: Loading 9 notes took 142059l micro seconds
INFO: Accelerometers enabled
INFO: DBus said orientation is: unknown
INFO: Setting to orientation: landscape
GET Request: Https://one.ubuntu.com/notes//api/1.0/?oauth_consumer_key=anyone&oauth_nonce=xxxxxxxx&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1281977611&oauth_token=xxxxxxxx&oauth_version=1.0&oauth_signature=xxxxxxxx%3D
Reply from /api/1.0/:: {"oauth_access_token_url": "https://one.ubuntu.com/oauth/access/", "user-ref": {"href": "https://one.ubuntu.com/notes/", "api-ref": "https://one.ubuntu.com/notes/api/1.0/user/"}, "oauth_authorize_url": "https://one.ubuntu.com/oauth/authorize/", "oauth_request_token_url": "https://one.ubuntu.com/oauth/request/", "api-version": "1.0"}
Now asking: https://one.ubuntu.com/notes/api/1.0/user/
GET Request: https://one.ubuntu.com/notes/api/1.0/user/?oauth_consumer_key=anyone&oauth_nonce=xxxxxxxx&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1281977612&oauth_token=xxxxxxxx&oauth_version=1.0&oauth_signature=xxxxxxxx%3D
Reply from /user/:: {"user-name": "https://login.ubuntu.com/+id/xxxxxxxxx", "last-name": "Laurent", "notes-ref": {"href": "https://one.ubuntu.com/notes/", "api-ref": "https://one.ubuntu.com/notes/api/1.0/op/"}, "current-sync-guid": "0", "first-name": "Laurent", "latest-sync-revision": 1}
###### Got User from server ########
# First name: Laurent
# Last name: Laurent
#  Api ref: https://one.ubuntu.com/notes/api/1.0/op/
####################################
GET Request: https://one.ubuntu.com/notes/api/1.0/op/?include_notes=true&oauth_consumer_key=anyone&oauth_nonce=xxxxxxxxxxxxxxx&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1281977614&oauth_token=xxxxxxxxxx&oauth_version=1.0&since=0&oauth_signature=xxxxxxxxxxxxxxxx
INFO: Updating note 'Bouquins' in note store
INFO: We have a conflict
Saving: Romans
INFO: Updating note 'Romans' in note store
INFO: We have a conflict
Saving: BD
INFO: Updating note 'BD' in note store
INFO: We have a conflict
Saving: Lolo Notebook Template
INFO: Updating note 'Lolo Notebook Template' in note store
INFO: We have a conflict
Saving: Films
INFO: Updating note 'Films' in note store
INFO: We have a conflict
Saving: Musique
INFO: Updating note 'Musique' in note store
INFO: We have a conflict
Saving: Nouvelle note
INFO: Updating note 'Nouvelle note' in note store
INFO: We have a conflict
DEBUG: After web_sync_incoming_changes
GET Request: https://one.ubuntu.com/notes/api/1.0/op/?include_notes=false&oauth_consumer_key=anyone&oauth_nonce=xxxxxxxxxxxxxxx&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1281977615&oauth_token=xxxxxxxxxxxxx&oauth_version=1.0&since=0&oauth_signature=xxxxxxxxxxxxxxxxxx
INFO: Not deleting 'Nouvelle note 9', because it was never synced before
INFO: Not deleting '◦ ', because it was never synced before
Will send: Nouvelle note 9 (french yes)
Will send: ◦
Segmentation fault

(a beautiful segmentation fault, all programmers like that :D)

Good luck and thanks for your help !

lausoda 2010-08-16 22:27

Re: Conboy - Note Taking Application (Tomboy clone)
 
well well well

it's working now ! I just deleted the note named with the special character and no problem anymore.

xopher_mc 2010-08-17 22:20

Re: Conboy - Note Taking Application (Tomboy clone)
 
Further to my post about not being able to add my n900 to ubuntu one.

Tried it with firefox as the browser rather than microb. Basically the same thing occurred. Got a message saying opening external application but still didn't go back to conboy and it was awaiting verification. Also it does not appear in the list of computers in ubuntu one. The only thing I can think is that the verification system in ubuntu one changed?

conny 2010-08-19 19:29

Re: Conboy - Note Taking Application (Tomboy clone)
 
Quote:

Originally Posted by xopher_mc (Post 789849)
Further to my post about not being able to add my n900 to ubuntu one.

Tried it with firefox as the browser rather than microb. Basically the same thing occurred. Got a message saying opening external application but still didn't go back to conboy and it was awaiting verification. Also it does not appear in the list of computers in ubuntu one. The only thing I can think is that the verification system in ubuntu one changed?

I've just reauthenticated with U1 without problems, so it doesn't look like a general problem to me. What happens if you authenticate using Tomboy? Does that work for you?

xopher_mc 2010-08-19 22:10

Re: Conboy - Note Taking Application (Tomboy clone)
 
Thanks for checking conny.

yep have tried and adding and taking away on ubuntu. works fine. I had to delete a key on my ubuntu computer to readd the u1 filesync. But I have never had the conboy on the n900 authenticated with U1.

I am using http://one.ubuntu.com/notes/ in the authenticate field in conboy

The url on u1 for my desktop is
http://localhost:8000/tomboy-web-syn...one.ubuntu.com

and on the n900 all the address bar says in microb is

https://one.ubuntu.com/oauth/authori...token=blahblah

____

conny 2010-08-20 15:37

Re: Conboy - Note Taking Application (Tomboy clone)
 
Quote:

Originally Posted by xopher_mc (Post 792406)
Thanks for checking conny.

yep have tried and adding and taking away on ubuntu. works fine. I had to delete a key on my ubuntu computer to readd the u1 filesync. But I have never had the conboy on the n900 authenticated with U1.

I am using http://one.ubuntu.com/notes/ in the authenticate field in conboy

The url on u1 for my desktop is
http://localhost:8000/tomboy-web-syn...one.ubuntu.com

and on the n900 all the address bar says in microb is

https://one.ubuntu.com/oauth/authori...token=blahblah

Thatīs wired and Iīm not sure what else you could try. Maybe someone else knows something?

Just maybe one thing. In Ubuntu you need to register Tomboy directly with U1, itīs not part of the file-sync. Instead you have to go into Tomboyīs settings and authenticate it there. Did you do that?

Also you could try to directly enter the URL with 'https' instead of 'http' in Conboy. Shouldnīt matter, but who knows.

pyther 2010-09-15 00:56

Re: Conboy - Note Taking Application (Tomboy clone)
 
I setup a snowy server on my end, but I only have one note. None of my other notes appear. Any idea?

It appears that it only downloads and uploads new notes. Not any old notes.

conny 2010-09-15 07:02

Re: Conboy - Note Taking Application (Tomboy clone)
 
Quote:

Originally Posted by pyther (Post 816448)
I setup a snowy server on my end, but I only have one note. None of my other notes appear. Any idea?

It appears that it only downloads and uploads new notes. Not any old notes.

I haven't checked with Snowy lately. Does your install work correctly with Tomboy? If yes, please try to reauth Conboy and see if that helps. Also if you start Conboy from the command line you should get a lot of debug output.

pyther 2010-09-15 14:17

Re: Conboy - Note Taking Application (Tomboy clone)
 
Hmm.... re-authenticating seems to have done the trick for now. Thanks!

lkravovicz 2010-09-16 08:27

Re: Conboy - Note Taking Application (Tomboy clone)
 
is it me or is there no undo for the note editor? i accidentally erased something and found no way to get those lines back!

eris0xff 2010-09-21 22:30

Re: Conboy - Note Taking Application (Tomboy clone)
 
I just dumped my iPhone and bought an N900. No easy way to sync from iPhone to N900 without sharing *all* of my information with google, so....

I extracted all of the iPhone databases and wrote custom python scripts to convert both the Notes and Addressbook databases to something the N900 could consume. I have all of the contact info converted to a vcard file. I've also done a rough conversion from the iPhone Note database to individual "naked html" note files.

Can Conboy consume minimal html markup and make sense of it or do I need to pre-process it into Note XML format?

thanks,

eris0xff

conny 2010-09-22 06:24

Re: Conboy - Note Taking Application (Tomboy clone)
 
Unfortunately we have no import capabilities in Conboy. Your only chance is to convert the notes into the specific XML format first.

Also you could have a look at the build-in notes program. IIRC it can read and write HTML. Otherwise it sucks, tough ;)

xopher_mc 2010-09-26 20:53

Re: Conboy - Note Taking Application (Tomboy clone)
 
hi conny,

still having the white screen authentication problem. Read some of the old post about this on this thread. And found that my /usr/share/applications/uri-action-defaults.list had the conboy entry in the wrong place. Updated it to the first part of the list and updated the database as you suggested. However, still no dice. (I really though this one was it :( )

Any other things to try?

conny 2010-10-05 12:01

Re: Conboy - Note Taking Application (Tomboy clone)
 
Sorry I missed your post (again). I probably should check the forum more often :o

Please forget about the uri-action-defaults.list. This mechanism wasn't very reliable and I'm not using it anymore. Instead Conboy opens a local port (14680) and listens there. After a successful authentication U1 redirects the browser to http://127.0.0.1:14680/authenticate

The browser connects to the port Conboy is listening. Therefore Conboy recognized the successful authentication and continues.

Somewhere between the authentication and the connection to localhost something is going wrong in your case. Maybe you have some kind of firewall/iptables set up that prevents a connection to localhost? If you get the white screen, you could try to open the URL I've mentioned above and if something is happening.

Also you can start Conboy from the terminal and send me the output. Maybe the debug messages will help me.

Quote:

Originally Posted by xopher_mc (Post 826854)
hi conny,

still having the white screen authentication problem. Read some of the old post about this on this thread. And found that my /usr/share/applications/uri-action-defaults.list had the conboy entry in the wrong place. Updated it to the first part of the list and updated the database as you suggested. However, still no dice. (I really though this one was it :( )

Any other things to try?


eris0xff 2010-10-09 00:56

Re: Conboy - Note Taking Application (Tomboy clone)
 
Quote:

Originally Posted by conny (Post 823065)
Unfortunately we have no import capabilities in Conboy. Your only chance is to convert the notes into the specific XML format first.

Also you could have a look at the build-in notes program. IIRC it can read and write HTML. Otherwise it sucks, tough ;)

Thanks, Conny for your prompt reply.

I finished my conversion script and I can now consume the semi-strange Apple markup from Apples database and render Note XML format files.

My problem is that Conboy uses a database that assigns some sort of hash for the note file name. I have no idea how to duplicate this name format or link my current note files into the database.

Can someone help me here?

Right now all of my notes should conform to NoteXML format, but the file name is simply the title of the note followed by the note xml file type.

Thanks,

eris0xff

conny 2010-10-09 13:14

Re: Conboy - Note Taking Application (Tomboy clone)
 
Hi!
Quote:

Originally Posted by eris0xff (Post 836858)
My problem is that Conboy uses a database that assigns some sort of hash for the note file name. I have no idea how to duplicate this name format or link my current note files into the database.

There is no database involved. The "hashes" you see are in fact UUIDs or GUIDs, their only purpose it to give each note a unique identifier. To obtain such a UUID you can, for example, call "cat /proc/sys/kernel/random/uuid" on a Linux shell. There are also web based tools like this.

So just give your notes each a UUID as filename and copy them into the /home/user/.conboy/ directory. Do this while Conboy is not running. Then start Conboy and your notes should show up just fine. At least if you created the proper xml format :)

xopher_mc 2010-10-10 21:55

Re: Conboy - Note Taking Application (Tomboy clone)
 
hey conny,

Thanks for your reply. I think I've found the source of the problem. There was a broken install of liboauth0. Noticed when I did apt-get install in terminal!

:D all working now :D

eris0xff 2010-10-11 02:26

Re: Conboy - Note Taking Application (Tomboy clone)
 
Okay...

I've converted all of the iPhone notes into NoteXML format, renamed them into unique <rfc compliant uuid>.note files and then started Conboy. All Conboy recognizes with the XML Storage backend are note files created by it.

I realize this means their might be some discrepancy in the Note XML markup that I used within my files. I copied the format directly from the markup used in Conboy's own note files.

Is there any way to see if the storage backend is even trying to see the files?

BTW: rather than catting /proc/sys/kernel/random/uuid, I used the python "uuid.uuid4()" function which apparently creates the same RFC-compliant uuids.

Any thoughts on debugging this?

When I select the note browser (folder icon) it just shows the ones it knows about.

I also check the file permissions and they are all carry 644 perms and are owned by user.user.


All times are GMT. The time now is 17:59.

vBulletin® Version 3.8.8