emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
* mobile-org, webdav, can't push (password not accepted)
@ 2012-07-14 16:05 James Harkins
  2012-07-14 22:47 ` James Harkins
  2012-07-15 19:18 ` James Harkins
  0 siblings, 2 replies; 6+ messages in thread
From: James Harkins @ 2012-07-14 16:05 UTC (permalink / raw)
  To: emacs-orgmode

Hi, I need a little help with mobile-org and webdav. (I need to use webdav because I live year-round in China, and the last time I tried, dropbox was not accessible from the mainland. In any case, I prefer to keep the data local.)

I've set up the webdav server following the instructions here:

http://www.howtoforge.com/how-to-set-up-webdav-with-apache2-on-ubuntu-10.04

This guide suggests two tests: connecting to webdav at the command line using cadaver, and using "connect to server" in Ubuntu's nautilus (Ubuntu 12.04). In both of those tests, I can authenticate successfully to the server.

In Emacs, I made sure the org files I want to sync are under org-directory, and I think I set up the rest okay according to:

http://orgmode.org/worg/org-faq.html#mobileorg_webdav

Org Mobile Files: Hide Value
[X] org-agenda-files
[ ] org-agenda-text-search-extra-files
   State: STANDARD.
   Files to be staged for MobileOrg. More

Org Mobile Directory: Hide Value /scpc:hjhmbrg@127.0.0.1:org/webdav/
   State: SAVED and set.
   The WebDAV directory where the interaction with the mobile takes place.

Org Mobile Inbox For Pull: Hide Value ~/Documents/mobileorg/from-mobile.org
   State: SAVED and set.

But pushing from orgmode refuses to accept the password. I know I'm typing in the correct password because it works with cadaver and "connect server."

I also tried the staging approach. Same problem. The org files are staged successfully. Then there's a pop-up window for the OpenSSH password, but again, if I type the exact same password I used with "sudo htpasswd," it fails to authenticate.

Note again that it is *not* a general webdav problem -- I can authenticate by other methods, but whatever org is doing to log in, it isn't working.

Any ideas?

hjh


--
James Harkins /// dewdrop world
jamshark70@dewdrop-world.net
http://www.dewdrop-world.net

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman

blog: http://www.dewdrop-world.net/words
audio clips: http://www.dewdrop-world.net/audio
more audio: http://soundcloud.com/dewdrop_world/tracks

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mobile-org, webdav, can't push (password not accepted)
  2012-07-14 16:05 mobile-org, webdav, can't push (password not accepted) James Harkins
@ 2012-07-14 22:47 ` James Harkins
  2012-07-14 22:50   ` James Harkins
  2012-07-15 19:18 ` James Harkins
  1 sibling, 1 reply; 6+ messages in thread
From: James Harkins @ 2012-07-14 22:47 UTC (permalink / raw)
  To: emacs-orgmode

At Sat, 14 Jul 2012 12:05:16 -0400,
James Harkins wrote:
> 
> Hi, I need a little help with mobile-org and webdav. (I need to use webdav because I live year-round in China, and the last time I tried, dropbox was not accessible from the mainland. In any case, I prefer to keep the data local.)

OK... For testing purposes, I decided to start off with dropbox. I can switch to webdav later (but my return to China is in about 3.5 weeks, so the clock is ticking -- the original question in this thread still needs to be solved).

I was able to push to dropbox, and sync on my tablet.

Some issues --

- I can't find an option within MobileOrg on the tablet to look at an agenda-style view. Does it exist? (This is for android.)

- So I thought, okay, how about synchronizing to the tablet's calendar? Unfortunately, it seems that MobileOrg ignores timestamps in item headlines. The item has to have either a scheduled time or a deadline. So I guess I will need to enter redundant dates -- once in the headline for C-c a, and again using C-c C-s. Is that correct, or a bug?

So... interesting... a bit less than I hoped. But orgmode itself is so much better than anything else I've used, it's worth trying to make it work.

Thanks,
James


--
James Harkins /// dewdrop world
jamshark70@dewdrop-world.net
http://www.dewdrop-world.net

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman

blog: http://www.dewdrop-world.net/words
audio clips: http://www.dewdrop-world.net/audio
more audio: http://soundcloud.com/dewdrop_world/tracks

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mobile-org, webdav, can't push (password not accepted)
  2012-07-14 22:47 ` James Harkins
@ 2012-07-14 22:50   ` James Harkins
  0 siblings, 0 replies; 6+ messages in thread
From: James Harkins @ 2012-07-14 22:50 UTC (permalink / raw)
  To: emacs-orgmode

At Sat, 14 Jul 2012 18:47:33 -0400,
James Harkins wrote:
> - So I thought, okay, how about synchronizing to the tablet's calendar? Unfortunately, it seems that MobileOrg ignores timestamps in item headlines. The item has to have either a scheduled time or a deadline. So I guess I will need to enter redundant dates -- once in the headline for C-c a, and again using C-c C-s. Is that correct, or a bug?

Oops, sent too soon... Redundant dates are presented redundantly in emacs' agenda view! So I'll have to switch my habit from C-c . to C-c C-s.

That's not so bad... never mind :)
hjh


--
James Harkins /// dewdrop world
jamshark70@dewdrop-world.net
http://www.dewdrop-world.net

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman

blog: http://www.dewdrop-world.net/words
audio clips: http://www.dewdrop-world.net/audio
more audio: http://soundcloud.com/dewdrop_world/tracks

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mobile-org, webdav, can't push (password not accepted)
  2012-07-14 16:05 mobile-org, webdav, can't push (password not accepted) James Harkins
  2012-07-14 22:47 ` James Harkins
@ 2012-07-15 19:18 ` James Harkins
  2012-07-28 17:50   ` Bastien
  2012-08-18 22:32   ` Adam Spiers
  1 sibling, 2 replies; 6+ messages in thread
From: James Harkins @ 2012-07-15 19:18 UTC (permalink / raw)
  To: emacs-orgmode

At Sat, 14 Jul 2012 12:05:16 -0400,
James Harkins wrote:
> 
> Hi, I need a little help with mobile-org and webdav. (I need to use webdav because I live year-round in China, and the last time I tried, dropbox was not accessible from the mainland. In any case, I prefer to keep the data local.)

Okay... the original question isn't "solved" (webdav server is still not working) but I did just discover that MobileOrg for android supports Ubuntu One as an alternative to dropbox. I don't see any coverage online about that service being blocked in China (whereas there are tons of stories about dropbox), so I guess it's going to be okay. (If not, that would cause a bit of panic as I look for an alternative...)

It would be worth an update to the manual to list the other sync options. "Dropbox or WebDAV" sent me on a wild goose chase.

James


--
James Harkins /// dewdrop world
jamshark70@dewdrop-world.net
http://www.dewdrop-world.net

"Come said the Muse,
Sing me a song no poet has yet chanted,
Sing me the universal."  -- Whitman

blog: http://www.dewdrop-world.net/words
audio clips: http://www.dewdrop-world.net/audio
more audio: http://soundcloud.com/dewdrop_world/tracks

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mobile-org, webdav, can't push (password not accepted)
  2012-07-15 19:18 ` James Harkins
@ 2012-07-28 17:50   ` Bastien
  2012-08-18 22:32   ` Adam Spiers
  1 sibling, 0 replies; 6+ messages in thread
From: Bastien @ 2012-07-28 17:50 UTC (permalink / raw)
  To: James Harkins; +Cc: emacs-orgmode

James Harkins <jamshark70@gmail.com> writes:

> It would be worth an update to the manual to list the other sync
> options. "Dropbox or WebDAV" sent me on a wild goose chase.

Can you submit a patch for this?

See http://orgmode.org/worg/org-contribute.html on prefered ways 
to create a patch.

Thanks,

-- 
 Bastien

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: mobile-org, webdav, can't push (password not accepted)
  2012-07-15 19:18 ` James Harkins
  2012-07-28 17:50   ` Bastien
@ 2012-08-18 22:32   ` Adam Spiers
  1 sibling, 0 replies; 6+ messages in thread
From: Adam Spiers @ 2012-08-18 22:32 UTC (permalink / raw)
  To: James Harkins; +Cc: emacs-orgmode

Hi James,

On Sun, Jul 15, 2012 at 8:18 PM, James Harkins <jamshark70@gmail.com> wrote:
> At Sat, 14 Jul 2012 12:05:16 -0400,
> James Harkins wrote:
>>
>> Hi, I need a little help with mobile-org and webdav. (I need to use webdav because I live year-round in China, and the last time I tried, dropbox was not accessible from the mainland. In any case, I prefer to keep the data local.)
>
> Okay... the original question isn't "solved" (webdav server is still not working) but I did just discover that MobileOrg for android supports Ubuntu One as an alternative to dropbox. I don't see any coverage online about that service being blocked in China (whereas there are tons of stories about dropbox), so I guess it's going to be okay. (If not, that would cause a bit of panic as I look for an alternative...)
>
> It would be worth an update to the manual to list the other sync options. "Dropbox or WebDAV" sent me on a wild goose chase.

I already provided an answer to this issue on your stackoverflow
question but I'm not sure you noticed:

http://stackoverflow.com/questions/11486719/orgmode-cant-authenticate-to-webdav-for-mobile-org-push/11974188#11974188

I'm pretty sure you're getting confused between ssh and webDAV
passwords.  I agree that with the docstrings as they are, this is a
very easy mistake to make.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2012-08-18 22:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-07-14 16:05 mobile-org, webdav, can't push (password not accepted) James Harkins
2012-07-14 22:47 ` James Harkins
2012-07-14 22:50   ` James Harkins
2012-07-15 19:18 ` James Harkins
2012-07-28 17:50   ` Bastien
2012-08-18 22:32   ` Adam Spiers

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).