christopherjwhite / org-toodledo

Emacs enhancement for syncing org-mode tasks with Toodledlo
83 stars 16 forks source link

"A goal with that name already exists" - error syncing due to danish letters #43

Open CMJager opened 9 years ago

CMJager commented 9 years ago

M-x org-toodledo-initialize in an empty file works fine.

M-x org-toodledo-sync immediately after does too and answers Sync complete, no changes

Then I save and answers y when I am asked the question about syncing to Toodledo and _utf-8_ when I am asked to Select coding system (default raw-text) before I kill the buffer.

When I immediately after reopen the file and try syncing I get the message Call to goals/add failed: A goal with that name already exists, not retrying

I am pretty sure the error is due to the danish letters in the goal and I suppose I could eliminate it by using only ASCII letters. But I very much like to write goals etc. as I read them elsewhere.

Can you please help me? I have tried so many things without any luck.

Thanks in advance,

Chris

[14:45:52] [DEBUG] ...no change [14:45:52] [DEBUG] org-toodledo-parse-current-task: *\ WAITING [#B] ringe Parknet :@Telefon: [14:45:53] [DEBUG] org-toodledo-call-method: 'http://api.toodledo.com/2/goals/add.php' [14:45:53] [DEBUG2] --- params: ((f . "xml") (key . "7564c6ccf5f8d389b16de6306f8fe779") (unix . "1") (name . "økonomi")) --- response: ("A goal with that name already exists" "HTTP/1.1 200 OK Date: Tue, 04 Nov 2014 13:45:53 GMT Server: Apache/2.2.3 (Red Hat) Content-Length: 58 Keep-Alive: timeout=2, max=98 Connection: Keep-Alive Content-Type: application/xml " 200) --- parsed response:

((error ((id . "5")) "A goal with that name already exists"))

[14:45:53] [ERROR] Call to goals/add failed: A goal with that name already exists, not retrying

Telefon commented 9 years ago

Hello, Chris.

I think you are mistaken this email...

I dont know what is toodledo.

On Wed, Nov 5, 2014 at 1:37 AM, CMJager notifications@github.com wrote:

M-x org-toodledo-initialize in an empty file works fine

M-x org-toodledo-sync immediately after does too and answers Sync complete, no changes

Then I save and answers 'y' when I am asked the question about syncing to Toodledo and 'utf-8' when I am asked to 'Select coding system (default raw-text)' before I kill the buffer.

When I immediately after reopen the file and try syncing I get the message Call to goals/add failed: A goal with that name already exists, not retrying

I am pretty sure the error is due to the danish letters in the goal and I suppose I could eliminate it by using only ASCII letters. But I very much would like to write goals etc. as I read them elsewhere.

Can you pleas help me? I have tried so many things without any luck.

Thanks in advance,

Chris

[14:45:52] [DEBUG] ...no change [14:45:52] [DEBUG] org-toodledo-parse-current-task: *\ WAITING [#B] ringe Parknet :@Telefon https://github.com/Telefon: [14:45:53] [DEBUG] org-toodledo-call-method: ' http://api.toodledo.com/2/goals/add.php' [14:45:53] [DEBUG2] --- params: ((f . "xml") (key . "7564c6ccf5f8d389b16de6306f8fe779") (unix . "1") (name . "økonomi")) --- response: ("A goal with that name already exists" "HTTP/1.1 200 OK Date: Tue, 04 Nov 2014 13:45:53 GMT Server: Apache/2.2.3 (Red Hat) Content-Length: 58 Keep-Alive: timeout=2, max=98 Connection: Keep-Alive Content-Type: application/xml " 200) --- parsed response: ((error ((id . "5")) "A goal with that name already exists"))

[14:45:53] [ERROR] Call to goals/add failed: A goal with that name already exists, not retrying

— Reply to this email directly or view it on GitHub https://github.com/christopherjwhite/org-toodledo/issues/43.