New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can’t create/update/sync cards #37
Comments
Hi, indeed, I need some more informations please:
Thanks Cheers, |
Did you sync from trello first (C-c o S)?
this is problematic indeed! |
But it seems an elnode issue? Here’s what I see after
whereas I get the cards from Trello just fine with I missed |
Thanks! many things. problem firstIndeed, there seems to be a trouble with elnode. Can you tell me the elnode version you are using? From what I see, this is a melpa version (which is acknowledged snapshot - org-trello in melpa is as stable as marmalade except for the dependencies it is installed with it seems). suggestionsI tried to decoupled the sync to (C-c o s) and sync from (C-c o S) at first to be able to iteratively make org-trello. But with the apparition of the proxy, what you are suggesting could be. question
Cheers, |
Ok, I've upgraded my elnode version to the melpa one... Synchronizing basic entity: Synchronizing entity...
Proxy-timer - Request received. Stop timer.
elnode--http-end: an error occurred processing the access log
client - Proxy received and acknowledged the request - response data: ((status . "ok")).
Loading /home/tony/.trello/config.el (source)...done
Ensure you use utf-8 encoding for your org buffer.
Saving file /home/tony/repositories/perso/org-trello/TODO-tests.org...
Wrote /home/tony/repositories/perso/org-trello/TODO-tests.org
elnode--http-end: an error occurred processing the access log
Proxy-timer - Request received. Start timer.
elnode--http-end: an error occurred processing the access log
client - Proxy received and acknowledged the request - response data: ((status . "ok")). [2 times]
Entity 'Joy of FUN(ctional) LANGUAGES' synced with id '52133a77a51ed6923a001d20'
Property "orgtrello-marker-529" removed from 1 entries
Synchronizing entity - done!
elnode--http-end: an error occurred processing the access log [8 times] Synchronizing complex entity: Synchronizing complex entity...
Proxy-timer - Request received. Stop timer.
elnode--http-end: an error occurred processing the access log
client - Proxy received and acknowledged the request - response data: ((status . "ok")).
Ensure you use utf-8 encoding for your org buffer.
Synchronizing full entity with its structure on board 'api test board'...
Saving file /home/tony/repositories/perso/org-trello/TODO-tests.org...
Wrote /home/tony/repositories/perso/org-trello/TODO-tests.org
elnode--http-end: an error occurred processing the access log
client - Proxy received and acknowledged the request - response data: ((status . "ok")).
elnode--http-end: an error occurred processing the access log [2 times]
client - Proxy received and acknowledged the request - response data: ((status . "ok")).
elnode--http-end: an error occurred processing the access log
client - Proxy received and acknowledged the request - response data: ((status . "ok")).
elnode--http-end: an error occurred processing the access log
client - Proxy received and acknowledged the request - response data: ((status . "ok")).
elnode--http-end: an error occurred processing the access log
client - Proxy received and acknowledged the request - response data: ((status . "ok")).
Proxy-timer - Request received. Start timer.
elnode--http-end: an error occurred processing the access log
client - Proxy received and acknowledged the request - response data: ((status . "ok")). [2 times]
elnode--http-end: an error occurred processing the access log [2 times]
client - Proxy received and acknowledged the request - response data: ((status . "ok")). [2 times]
elnode--http-end: an error occurred processing the access log [2 times]
client - Proxy received and acknowledged the request - response data: ((status . "ok")).
elnode--http-end: an error occurred processing the access log
client - Proxy received and acknowledged the request - response data: ((status . "ok")). [2 times]
Entity 'Joy of FUN(ctional) LANGUAGES' synced with id '5214fc323944eadf50000a98'
Property "orgtrello-marker-529" removed from 1 entries
Newly entity 'hybrid family' synced with id '5214fc426edff4de75001114'
Property "orgtrello-marker-1313" removed from 1 entries
Newly entity 'ML family' synced with id '5214fc43e38510ac750010cd'
Property "orgtrello-marker-669" removed from 1 entries
Newly entity 'LISP family' synced with id '5214fc44aa1350cc3d000ce3'
Property "orgtrello-marker-903" removed from 1 entries
Newly entity 'Emacs-Lisp' synced with id '5214fc45ef20b08f60000d4d'
Property "orgtrello-marker-1061" removed from 1 entries
Newly entity 'Common-Lisp' synced with id '5214fc473e0460fd6b000a17'
Property "orgtrello-marker-1146" removed from 1 entries
Newly entity 'Scheme' synced with id '5214fc48081978f770000f79'
Property "orgtrello-marker-1232" removed from 1 entries
Newly entity 'Scala' synced with id '5214fc49e90a62d060000a9b'
Property "orgtrello-marker-1395" removed from 1 entries
Newly entity 'Haskell' synced with id '5214fc4a3944eadf50000a9d'
Property "orgtrello-marker-745" removed from 1 entries
Newly entity 'Ocaml' synced with id '5214fc4b8982bc0d08000a6a'
Property "orgtrello-marker-825" removed from 1 entries
Newly entity 'Clojure' synced with id '5214fc4caee351a06000108a'
Property "orgtrello-marker-981" removed from 1 entries
Synchronizing full entity with its structure on board 'api test board' - done does not prevent me from synchronizing. Looking at elnode's code around the problem https://github.com/nicferrier/elnode/blob/33095ca25f0c7e4ae6273beb3faf90b41fcc1444/elnode.el#L1996-2003 does not seem to be a blocking or breaking problem. It does not succeed in logging into a dedicated buffer. I tried with my current dev branch 0.1.3 (elnode marmalade & elnode melpa) and the org-trello package from melpa (elnode melpa too). Can you show me your org buffer header please? Here are mines: #+property: board-name some name
#+property: board-id some-id
#+property: TODO some-todo-id
#+property: IN-PROGRESS some-inp-id
#+property: DONE some-done
#+property: PENDING some-pending-id
#+property: DELEGATED some-delegated-id
#+property: FAIL some-fail-id
#+property: CANCELLED some-cancelled-id
#+TODO: TODO IN-PROGRESS PENDING | DONE DELEGATED FAIL CANCELLED |
:) IMVHO = “In my very humble opinion” |
syncI don’t have an answer regarding the sync issue right now, I’d have to take a look at the source code, which is something that I planned to do a while ago (I’m redoing the whole emacs setup just for this! :) ). I hope to get back back to you with some more meaningful suggestions. elnode version20130416.1626 |
For information, I rebase a lot my comments (as for my commits) so it's possible you miss some of my questions. Just to clarify, you are redoing the setup of your emacs to take a look at org-trello's source code? In any case, for the setup, I can suggest emacs-live (I used it initially to dev in clojure but now I use it for anything, org, blog, emacs-lisp, haskell, scala, clojure, etc...). I've done some packs for me but other can tinker with them too. I used to dev with the great technomancy's starter-kit and I hear (read to be precise) more and more about emacs-prelude. I'll be there when you get back. "The one command to sync them all" seems like a great start. Cheers, |
The story goes like this. I saw your announcement on the mailing list (I tried to reply to thank you but I’ve also started using Gnus via NNTP and I’ve stumbled upon some weird issue, who knows…) but, at the time, I was still using Org 7.x. I tried to update to 8 but something went wrong. Long story short: I redid my Emacs setup switching from Starter Kit to Prelude, and here we are. I really like Prelude: it’s cleaner and better organized, YMMV. I hope to have some time in the next days to take a look at the sources. |
Great news. |
Ah I reproduce the problem with The workaround I can propose now in waiting to find the problem with elnode melpa is to install the one from marmalade:
(setq package-archives '(("gnu" . "http://elpa.gnu.org/packages/") ("marmalade" . "http://marmalade-repo.org/packages/"))) then C-M-x on the sexp or M-x eval-buffer or select region then M-x eval-region
Cheers, |
So, if I understand correctly, it's a matter of different elnode versions, right? Maybe it would be better to stick with the stable versions of the other packages (it's my understanding that marmalade is more bleeding edge, correct?). Thank you for the workaround. |
Hi, Yes, different elnode version. It's the other way around. Marmalade is more stable. It's a question of workflow. But it's my way to do it, not everyone's. And apparently, there is a flaw in my reasoning as installing from melpa for you drew a melpa version for elnode... Cheers, |
Ok, I think I can close this. Thank you, Antoine. |
No problem. Thanks for your patience. Don't hesitate to open other issues for problems or even suggestions or Cheers, Antoine R. Dumont On Thu, Aug 22, 2013 at 4:38 PM, giorgio-v notifications@github.com wrote:
|
Guess I’ll have to reopen it… :/ So:
But then it doesn’t work. I can sync from, but not to Trello:
I don’t see any error in the messages:
|
Hi, Remove the orgtrello-marker and try again, there must have been a problem before. We split informations that we send to the proxy. At the end of it all, the markers are deleted. Also, you can change the debug level to have a little more: (setq orgtrello/log-level 5) To watch if things does move: watch cat ~/.emacs.d/elnode/public_html/org-trello/*/* |
Also, can you: M-x elnode-server-list You should see: If not: M-x orgtrello-proxy/reload |
I’m updating to 0.1.3 right now, I’ll get back to you soon. |
Finally, I tried to visualize the proxy page but it doesn’t work at all. Emacs goes in some sort of infinite loop while looking for a non-existing path:
|
Ok. In the example you show, you did not create level superior to 1... (this I did not anticipate!). So the folder does not exist yet because the proxy creates it when it needs (but this was without counting on the proxy admin web server!). To contourn this, can you please create some dummy card with checklist and items? This way the filesystem will be created adequately and the admin web server will be ok. Also, you may need to restart the proxy as it may have gotten berserk. Or |
Regarding the sync request, what seems to happen is that the consumer does not succeed in consuming the file the producer creates (the one file which references the data to sync appears with the cat command). (What I do not get is the "byte-code: end of buffer" message. I do not know if it's org-trello related or not.) I won't be able to look further as I cannot have access to my computer until late tonight but I have github on my phone... Again, thanks for the patience! If you ever get fed up, you could also install the 0.1.1 (no proxy yet and everything is ok). (I introduced the proxy for asynchronous requests and ease in coding new functionalities I was asked for) For this, you can download the file from the release page on github then M-x package-install-file. Cheers, |
It's ok. I can wait. |
I confirm from your previous command cat. It must have exploded somewhere or it has been prevented from starting. If it exploded, then restarting the proxy as said here https://github.com/ardumont/org-trello/issues/37#issuecomment-23160777 should resume the consumption and then the sync. If not, this will not change anything. It remains 2 possibilities:
ls ~/.emacs.d/elnode/org-trello/org-trello-already-scanning.lock Hopefully it does not exist.
Can you check this, please: (network-interface-list) (C-x C-e to evaluate) and this: (orgtrello-proxy/--check-network-ok) Will work on safer ways to consume the sync request. |
|
Did you:
Cheers, |
As the network is ok, it remains the other possibilities:
|
The proxy seems to run fine. I’m looking at the elnode dir right now and I see a lock file, but I haven’t tried to do anything with Trello. I mean, yes, I have opened several Org files, but I haven’t issued any org-trello-related command. Regarding the web pages. I didn’t tried because in my opinion it shouldn’t be required to structure an Org task in any way in order to make it work with Trello: it should work anyway with something like this:
|
Ok, so the lock is the problem. I've enforced the call to the sync for it not to break in the middle of action.
Except for the one you describe https://github.com/ardumont/org-trello/issues/37#issuecomment-23151353
Don't get me wrong, it is not. There is a problem i want to fix. But first, i need to unlock the situation because it's the only way for me to find out how to improve/fix the current code. It's my opinion too that is should work out of the box.
Yes, the task you describe will map directly to a card in trello!
Cheers, |
No, you don’t get me wrong! ;) I really appreciate your work. Regarding the tests: I hope to have some spare time soon. Now, just some brief comments on yours, before I’ll reporte back with the next test:
|
Thanks.
I do not think there is any problem with elnode any longer (the version 0.9.9.6.7 is ok).
Ah, if the lock file is touched. Context: If unfortunately a lock is left behind (from an uncaught error from a previous computation) we have a crisis! But if the modification date of a lock change, everything is ok. Cheers, |
As said earlier, I totally agree with this. Now, I made it possible to use the standard checkbox from org. http://ardumont.github.io/org-trello/#natural-org-format-from-016-onwards Cheers, |
Hi, Do you have any news on this? Cheers, |
Not yet, unfortunately. I’ve been swamped by other things. |
I’ve tried again the procedure described in https://github.com/ardumont/org-trello/issues/37#issuecomment-23151353 but I get the same results. (edited to add: I’ve updated org-trello to v 0.1.8, of course) |
Hi, I still use a marker but no longer use an orgtrello-marker. I merged the id notion and create a marker inside this property. The problem must lie with the "get-back-to-marker" function - https://github.com/ardumont/org-trello/blob/master/org-trello.el#L875 |
The algo is simple:
|
As:
I close this issue. Feel free to open it again if you have some more informations. Cheers, |
I have setup my emacs/org environment. I can create a new board, and I can link to an existing one, but there’s no way to “see” any card nor to create a new one.
I don’t see any error message whatsoever.
@ardumont Please let me know what additional info or tests you’ll need to debug this problem.
Thank you.
The text was updated successfully, but these errors were encountered: