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)

eris0xff 2010-10-11 02:53

Re: Conboy - Note Taking Application (Tomboy clone)
 
On the notes conversion from iPhone format.

Never mind. I found the error. :-/ Don't ask :-)

BillyTheFish 2010-10-21 22:34

Re: Conboy - Note Taking Application (Tomboy clone)
 
Is anyone getting the dreaded "json_get_note_list() returned NULL" when syncing at the moment?

I'm using 0.6.3.31 -I've tried uninstalling and reinstalling. Also tried re-authenticating...

conny 2010-10-22 07:44

Re: Conboy - Note Taking Application (Tomboy clone)
 
Just tried, sync works fine here. If you start conboy from the terminal and send me the output I might find the problem.

BillyTheFish 2010-10-22 10:53

Re: Conboy - Note Taking Application (Tomboy clone)
 
Hi Conny, thanks for looking into this. It get:

BusyBox v1.10.2 (Debian 3:1.10.2.legal-1osso30+0m5) built-in shell (ash)
Enter 'help' for a list of built-in commands.

~ $ conboy
Starting conboy, Version 0.6.3.31
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 128 notes took 471343l micro seconds
INFO: Accelerometers enabled
INFO: DBus said orientation is: landscape
INFO: Accelerometers disabled


I have also tried:

$ gconftool -g /apps/maemo/conboy/last_sync_rev
-1
~ $ gconftool -g /apps/maemo/conboy/last_sync_time
0
~ $ gconftool -u /apps/maemo/conboy/last_sync_rev
~ $ gconftool -u /apps/maemo/conboy/last_sync_time
~ $ gconftool -g /apps/maemo/conboy/last_sync_rev
No value set for `/apps/maemo/conboy/last_sync_rev'
~ $ gconftool -g /apps/maemo/conboy/last_sync_time
No value set for `/apps/maemo/conboy/last_sync_time'

and then re-authenticating but I still get the same error. UbuntuOne was down for me for notes for a while maybe one or two weeks ago for a couple of weeks. Could it be anything to do with this?

conny 2010-10-22 11:02

Re: Conboy - Note Taking Application (Tomboy clone)
 
That message is usually a result of U1 not responding as expected. It could be that they really send you something invalid, or that Conboy simply has wrong expectations :)

Anyways, I wasn't completely clear. What I would need is the console output that you get during a sync. Not the output of Conboy starting up.

Resetting the gconf keys is (should be) done whenever you reauthenticate, so usually it shouldn't be necessary. Still, good that you tried already :)

BillyTheFish 2010-10-22 11:28

Re: Conboy - Note Taking Application (Tomboy clone)
 
Ah, sorry, here is the end of the message in terminal (I get a very verbose output when syncing which appears to contain all my notes -terminal won't let me scroll far enough upwards to see what appears at the top of the notes in the message).

"create-date" : "2010-05-22T13:27:14.0000000+01:00" } ] }
&&&&&&&&&&&&&&&&&&
Request: https://one.ubuntu.com/notes/api/1.0/op/
ERROR: The sever rejected a note, because the UUID was already used in the past. This is a server bug.
ERROR: Could not parse the following JSON string:
Could not save note record: ResourceConflict(('conflict', 'Document update conflict.'),)
ERRRO: Message is: <none>:1: Parse error: unexpected identifier `Could', expected keyword
ERROR: json_get_note_list() returned NULL
INFO: Setting to orientation: landscape
INFO: Accelerometers disabled


I'm guessing the problem is the "UUID" duplication? Would it be easiest to delete all the notes in Conboy on my phone and then resync so I get them all back from the server? -If so, how would I do this? Please let me know if you would like me to do any more tests first...

I'm using Ubuntu One with Tomboy on a Linux system and on a Windows system by the way.

conny 2010-10-22 12:02

Re: Conboy - Note Taking Application (Tomboy clone)
 
What you posted is exactly what I needed. The problem is indeed Ubuntu One. I filed a bug about this long time ago, but it's still not fixed:
https://bugs.launchpad.net/ubuntuone...rs/+bug/591122

You could indeed pull all notes from U1 to your phone again, at least if you don't have any important unsynced notes on your phone.

If it's ok to loose all unsynced notes from you phone, do the following:
  • cp -r /home/user/.conboy /home/user/conboy.bak (create a backup, just in case)
  • rm /home/user/.conboy/* (deletes all notes)
  • Reauth with U1
  • Sync

That should download all U1 notes to you phone and sync should work again.

Let me know if that worked for you.

BillyTheFish 2010-10-22 12:50

Re: Conboy - Note Taking Application (Tomboy clone)
 
Thanks Conny, that all worked perfectly and it's syncing fine now :-)

It's amazing just how much I've come to rely on conboy. I was feeling very lost without my notes around with me everywhere!

Thanks for your help, I really, really appreciate it.

conny 2010-10-22 12:53

Re: Conboy - Note Taking Application (Tomboy clone)
 
I'm happy to hear that it worked for you :)

acewent 2010-10-26 06:58

Conboy - Note Taking Application (Tomboy clone)
 
Hi,

I just updated pr 1.3, now i'm unable to restore conboy from the backup.

Message is that cannot install conboy liboauth0 is missing.

Where to find this package and how to install it ? Application manager cannot find it ?

Thanks for everybody

-Aki

conny 2010-10-26 08:33

Re: Conboy - Note Taking Application (Tomboy clone)
 
Hmm, it worked for me just fine, but I'm using the version from Extras-devel. If that is your version as well, please make sure you have Extras-devel activated in the package manager.

dragly 2010-10-31 22:27

Re: Conboy - Note Taking Application (Tomboy clone)
 
Thanks a lot for all the time you've put into this application, conny! It's really great, but now it is my time to have sync problems. I've tried deleting the settings using gconftool, reinstalling and moving the /home/user/.conboy folder, but I still get the error 'Could not connect to host' and sometimes I get 'reply is no json string' (or something similar). The output when running in terminal is
Code:

GET Request: https://one.ubuntu.com/notes/api/1.0?oauth_consumer_key=anyone&oauth_nonce=Lu3EKwS0mirigkn7f&oauth_signature_method=HMAC-SHA1&oauth_timestamp=1288563223&oauth_token=&oauth_version=1.0&oauth_signature=*********
Reply:
{"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"}
Reply: <!DOCTYPE HTML>



<html lang="en" id="ubuntuone">

<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=960, initial-scale=0.55, minimum-scale=0.65">
<title>Ubuntu One</title>
<link rel="stylesheet" href="https://media.one.ubuntu.com/media/1917/css/reset.css" type="text/css" media="all">
<link rel="stylesheet" href="https://media.one.ubuntu.com/media/1917/css/screen.css" type="text/css" media="all">
<link rel="icon" href="https://media.one.ubuntu.com/media/1917/img/fav.ico" type="image/x-icon">
</head>
<body class="yui-skin-sam">
<div class="wrap">
<div id="header">
<h1 class="logo"><a href="/">Ubuntu One</a></h1>
</div><!-- close #header -->
</div><!-- close .wrap -->
<div class="content_wrap">
<div class="wrap">
<div id="content">
<h1>Something has gone wrong (503)</h1>
<div class="righty" style="margin-top: 0px; border: 0;">
<img src="img/mortimer.png" alt="This is a robot" style="margin-left: 123px; margin-top: 50px;"/>
</div>
<div class="lefty" style="padding-bottom: 30px;">

<p>Subscribe to our <a href="http://launchpad.net/~ubuntuone-users">mailing list</a>, check our <a href="http://one.ubuntu.com/blog">blog</a> or follow Ubuntu One on <a href="http://twitter.com/ubuntuone">twitter</a> and <a href="http://identi.ca/ubuntuone">identi.ca</a> to get updates.</p>
<br class="clear">
</div><!-- close .lefty -->
<br class="clear">
</div><!-- close #content -->
</div><!-- close .wrap -->
</div><!-- close .content_wrap -->
</div>
<div class="wrap">
<div id="footer">
<div class="copyright">
<p>&copy; 2008 - 2010 Canonical Group Ltd.</p>
<p><a href="http://ubuntu.com">Ubuntu</a> and <a href="http://canonical.com">Canonical</a> are registered trademarks of Canonical Group Ltd.</p>
</div><!-- close #footer -->
</div><!-- close .wrap -->
</div>
<!-- Analytics tracking script -->
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
var pageTracker = _gat._getTracker("UA-6230559-1");
pageTracker._trackPageview();
</script>

</body>
</html>

ERROR: Reply is longer then 200 characters, cannot be right

Note the "Something has gone wrong" title in the HTML document. Do you have any idea how this could be fixed? I'm on PR1.3.

Oh, and the signature has been removed by me in case it could somehow be sensitive.

Again, thanks a lot for the effort you've put into this :)

conny 2010-11-04 08:59

Re: Conboy - Note Taking Application (Tomboy clone)
 
Thanks for the detailed error description. The problem for Conboy is definitively the error returned by U1. Unfortunately U1 think it's clever to return HTML to a JSON request...

The big question of course it, what causes that error and I must admit that I don't really know. It looks like the error already occurs at the authentication stage, so I think we can assume that it's not a problem of malformed notes.

Did you try to sync Tomboy with that account? Does it work?

dragly 2010-11-05 09:07

Re: Conboy - Note Taking Application (Tomboy clone)
 
Yes, Tomboy has been set up to sync a long time ago. I haven't tried to remove the settings and re-authenticate on a desktop, though. Maybe that could be worth the try. If you don't know what is wrong, I'm starting to think that there might be an error on the U1 side. Especially since the error is a 503.

I'll report back with the results after authenticating Tomboy again.

conny 2010-11-06 13:48

Re: Conboy - Note Taking Application (Tomboy clone)
 
A new version of Conboy is in extras-devel. My goal is to create 0.7 as new stable version during the weekend. So if you find show stoppers, please tell me. Also help with the translations is always appreciated: http://www.transifex.net/projects/p/conboy/c/trunk/

Thanks :)

dragly 2010-11-07 16:16

Re: Conboy - Note Taking Application (Tomboy clone)
 
Sorry for not having the time to report back before now, but apparently the sync works again. I didn't really do any changes, so maybe it has been fixed on the U1 side of it :)

conny 2010-11-07 16:41

Re: Conboy - Note Taking Application (Tomboy clone)
 
Sure, no problem. That sometimes happens. Good that it works again:)

Also I've just pushed Conboy 0.7 into extras-devel and it's on its way to extras-testing. If everything works fine we soon have a new stable release.

conny 2010-11-07 17:26

Re: Conboy - Note Taking Application (Tomboy clone)
 
Conboy 0.7 is now in Extras-testing. Please give it a try and vote here:
http://maemo.org/packages/package_in.../conboy/0.7.0/

My present for the MeeGo Conference :)

forteller 2010-11-08 09:09

Re: Conboy - Note Taking Application (Tomboy clone)
 
Great, thanks for the new versions! One thing, though: I can't find a changelog anywhere. The changelog that is included when updating the app hasn't been up to date since 0.5.5. Would you please update it for the next release?

conny 2010-11-08 09:46

Re: Conboy - Note Taking Application (Tomboy clone)
 
Hmm, that's strange. I have the following in my debian/control file:
Code:

XB-Maemo-Upgrade-Description: Changes since 0.6.3:
 * Note synchronization with online service
 * HTML note sharing via sharing framework
 * Improved list editing
 * New translations
 * Many bug fixes and tweaks

And actually I can see it in the application manager while updating. Is there some other place where I should put the changelog?

bergie 2010-11-08 12:54

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

Originally Posted by conny (Post 866102)
Conboy 0.7 is now in Extras-testing. Please give it a try and vote here:
http://maemo.org/packages/package_in.../conboy/0.7.0/

Thanks! Ubuntu One synchronization of my notes is sweet.

The Conboy Midgard storage plugin can also be tested for those who want to have their notes in a content repository...

conny 2010-11-11 19:01

Re: Conboy - Note Taking Application (Tomboy clone)
 
5 more votes to go. Please keep them comming :)

atilla 2010-11-11 19:14

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

Originally Posted by rkir (Post 870653)
Unbelievable great online app!

www.polygweb.com

reported as spam

lkravovicz 2010-11-14 21:04

Re: Conboy - Note Taking Application (Tomboy clone)
 
conny is it possible to remove horizontal scrollbar hint from the note list control? occasionally i've written a note with a reaaaaaaaaaallllyyllooooooooongtiiiiiitle and that creates the ugly horizontal scrollbar and pushes all dates out of view. i think the list control should rather cut the title at certain charcount and suffix with ... charcount probably needs to change with portrait vs landscape mode.

conny 2010-11-18 14:02

Re: Conboy - Note Taking Application (Tomboy clone)
 
My note titles are usually quite short, so I never saw this happening, but it sounds like a good suggestion to me. I'll have a look :)

conny 2010-11-21 15:29

Re: Conboy - Note Taking Application (Tomboy clone)
 
Finally a new stable version is available!

Stable Conboy 0.7 released to Extras

The detailed release notes can be found here.
If I forgot anyone in my thanks, please tell me. Otherwise enjoy :)

ossipena 2010-11-22 12:23

Re: Conboy - Note Taking Application (Tomboy clone)
 
how does the sync work? can I sync stuff into other places than the ubuntu one?

dvergin 2010-11-24 00:56

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

Synchonization failed
Error message:
The server rejected a note. because the UUID was
already used in the past. This is a Ubuntu One bug.
How do I resolve this?

(FWIW: syncing from my laptop is working fine.)

conny 2010-11-24 10:50

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

Originally Posted by ossipena (Post 880201)
how does the sync work? can I sync stuff into other places than the ubuntu one?

You can set up your own sync server using Snowy or you can wait a bit until http://tomboy-online.org is open for general public.

conny 2010-11-24 10:56

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

Originally Posted by dvergin (Post 881671)
How do I resolve this?

(FWIW: syncing from my laptop is working fine.)

A way to solve this is to get to a fresh start.
  • Close Conboy
  • Delete notes in /home/user/.conboy
  • Reauthenticate with the server
  • Sync

That will pull everything from the server again, but you will loose changes on your N900 that have not yet been synced.

dvergin 2010-11-25 07:24

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

Originally Posted by conny (Post 881945)
A way to solve this is to get to a fresh start.
  • Close Conboy
  • Delete notes in /home/user/.conboy
  • Reauthenticate with the server
  • Sync

That will pull everything from the server again, but you will loose changes on your N900 that have not yet been synced.

Being cautious, I mv'ed the directory to .conboy.bak and created a new .conboy directory with the same permissions. The result was not as hoped. I have 91 note files. The new sync downloaded only 8 notes -- and some (most?) of those were broken. A pretty startling and distressing outcome.

In the new .conboy directory there also appeared a file called synced_notes.txt which listed the synced files.

Perhaps I should mention also that when I visited Conboy's settings after emptying the .conboy directory, the syncronization URL was already there and the Authenticate button did nothing. (Looked like maybe it was grayed out.) After discovering this, I presumed that the authentication info was somewhere other than the .conboy directory (where?) and I did _not_ need to reauthenticate. So I went ahead and tried syncing. And got 8 files (as mentioned above).

You said this was "_A_ way to solve this..." I thought I'd try to find a more focused approach, so I tried a diff on the Conboy/Tomboy filename lists from the N900 and my laptop.

I found one file on each machine that was not on the other (in both cases it was a general Tomboy info file). This situation may have been generated by a recent experiment with syncing a _third_ machine. I deleted both files. (After exiting the app on each machine.)

I've done a couple syncs at both ends since the deletes. Things seem to be okay. I'll report back if there are further problems.

Hope this helps someone else.

conny 2010-11-25 08:32

Re: Conboy - Note Taking Application (Tomboy clone)
 
Yea, sorry, there should really be a re-authenticate button. You reauthenticate by changing the URL. E.g. remove and add the last character. After that the button works again.

Re-authentication is a important step as it resets the information about what is already synced. Only then it will download everything from the server again.

mjakl 2010-11-25 22:03

Re: Conboy - Note Taking Application (Tomboy clone)
 
I'm trying to to update from Fremantle Extras repository, but it always fails with message that libauth... can't be found anywhere.

dvergin 2010-11-26 00:07

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

Originally Posted by conny (Post 882754)
...reauthenticate by changing the URL. ...it resets the information about what is already synced...

So where _is_ the authentication and other settings info stored. I poked around in ~/ and /etc but couldn't find it.

conny 2010-11-26 08:29

Re: Conboy - Note Taking Application (Tomboy clone)
 
The settings are in gconf under /apps/maemo/conboy/

etuoyo 2010-11-28 14:21

Re: Conboy - Note Taking Application (Tomboy clone)
 
Is there a script or programme that can change the conboy/tomboy .note files to .doc (without all the programming language stuff showing as it does if you just do copy and paste.

I want to be able to view my notes in google docs. I know I can view in ubuntu but there is no structure or organisation with the ubuntu cloud system. Google docs on the other hand is well organised.

conny 2010-12-12 20:38

Re: Conboy - Note Taking Application (Tomboy clone)
 
Etuoyo, I don't know about such a script and since no one else replied it looks like there is none.

There is however a script that converts Conboy notes to HTML. It's used if you use the sharing feature of Conboy.

travik 2010-12-23 00:10

Re: Conboy - Note Taking Application (Tomboy clone)
 
Been using Conboy/Tomboy synced using Ubuntu One for about a month now, works great, best note-taking solution I've found so far; i even use it for most of my word processing, as I like its simplicity, organization, and instant save functions.

One thing I was wondering, though -- why don't Maemo autocomplete suggestions come up while working in Conboy on the N900? It seems like the default for most other applications, including fairly straight ports from desktop linux programs, is to have autocomplete suggestions show up while inputing text. If this is a simple fix, I would suggest adding it into the next release, as it would give a bit of a boost in typing speed.

conny 2010-12-23 05:42

Re: Conboy - Note Taking Application (Tomboy clone)
 
The text handling was already implemented on Maemo4 and unfortunately it turned out that the way we handle text is not compatible with the autocompletion feature of Maemo5. I looked at it, but there is no easy way to fix that. Sorry :/

clownzee 2010-12-23 06:56

Re: Conboy - Note Taking Application (Tomboy clone)
 
is there anyway to sync Conboy notes with Android or perhaps Google docs?


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

vBulletin® Version 3.8.8