-
Notifications
You must be signed in to change notification settings - Fork 13
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
Unable to sync with Evernote after moving Git Path (Failed to create temporary file/Permission denied) #18
Comments
There might be a few issues that we'll need to figure out here... maybe we should start from the "Error: Failed to create temporary file"? It looks like a directory permission issue to me. Could you please try these:
There are probably more issues beyond the permission problem, though. My apologies for the lack of documentation on how to migrate EVND directory. There might be quite a few problems if you just copy over all the notes and
TL;DR
|
Hi, thanks for your answer and support for this issue! Syncing now works again, but first my replies to your questions: 1/2) Yes, /tmp/ exists and these AppleScripts are present:
As for your TL;DR guide – thanks – syncing now works again. The difference after following your guide is that I had the Git path pointed to my custom location Update 1: |
Well, thanks for your feedback and I'm glad now the syncing works for you... sort of? I do have a comment for 3), though--I would think you do not need sudo for
In fact I wonder if the permission of the Or maybe not, I probably should have thought about possible problems of putting a git repo on dropbox before--it's probably fine (as it has been for me) if no git operation is done while dropbox is still syncing, but otherwise... I could see how there could be trouble if you try to edit the same file simultaneously on two machines (by "simultaneously" I mean at the same time, or within seconds). But in a more general sense, I think git repo on dropbox should be fine.
|
Hey, I am now back after reindexing my entire Dropbox (which took a few days since it's almost 1TB). This didn't resolve the Dropbox spinning wheel being stuck, but simply copy/delete/pasting the files resolves the issue. But back to the main issue: the EVND content not syncing seems to be because Dropbox excludes content in symlinked (aliased) folders. I just want to make sure that I understood it correctly that:
The reason I'm getting different EVND content on my two computers is simply because the contents in the But maybe I misunderstood something along the way? I'm not very good with *nix and how owners work, but these are the contents in the Dropbox folder, drwxr-xr-x@ 11 winterflags staff 374 Oct 27 10:33 .
drwxr-xr-x@ 4 winterflags staff 136 Oct 27 10:31 ..
drwxr-xr-x@ 11 winterflags staff 374 Oct 27 10:31 .git
drwxr-xr-x@ 27 winterflags staff 918 Oct 27 10:31 20151007
drwxr-xr-x@ 13 winterflags staff 442 Oct 27 10:31 20151021
drwxr-xr-x@ 10 winterflags staff 340 Oct 27 10:31 20151023
drwxr-xr-x@ 23 winterflags staff 782 Oct 27 10:31 20151024
drwxr-xr-x@ 3 winterflags staff 102 Oct 27 10:31 backups #I have created this folder
-rw-r--r--@ 1 winterflags staff 1268804 Oct 27 10:34 evnd .atom #This is the symlink
-rw-r--r--@ 1 winterflags staff 18502 Oct 25 15:55 index.json
drwxr-xr-x@ 18 winterflags staff 612 Oct 27 10:31 tmp And contents of drwxr-xr-x@ 11 winterflags staff 374 Oct 27 10:31 .
drwxr-xr-x@ 11 winterflags staff 374 Oct 27 10:33 ..
-rw-r--r--@ 1 winterflags staff 23 Oct 24 09:07 HEAD
drwxr-xr-x@ 2 winterflags staff 68 Oct 24 09:07 branches
-rw-r--r--@ 1 winterflags staff 137 Oct 24 09:07 config
-rw-r--r--@ 1 winterflags staff 73 Oct 24 09:07 description
drwxr-xr-x@ 11 winterflags staff 374 Oct 27 10:31 hooks
-rw-r--r--@ 1 winterflags staff 856 Oct 25 15:42 index
drwxr-xr-x@ 3 winterflags staff 102 Oct 27 10:31 info
drwxr-xr-x@ 12 winterflags staff 408 Oct 27 10:31 objects
drwxr-xr-x@ 4 winterflags staff 136 Oct 27 10:31 refs |
Something real quick (I might come back and update this comment later today):
First on the second point: I would think that it's the other way around... For myself I have the EVND folder on dropbox (something like $ ls -al ~/.atom/ev*
lrwxr-xr-x 1 myUserName staff 59 May 3 17:11 /Users/myUserName/.atom/evnd -> /Users/myUserName/Dropbox/blahblah/evnd And then on the first point, yes and you'll need to check the "Git Path Symlink" checkbox. I guess what I'm most confused about is why do you have
|
Hi, first off – sorry for the late reply, the last few days were a bit busy. And sorry about the confusion regarding the symlinks. I have set up the symlink according to your instructions – This is what the directories look like now: The issue seems to be that Atom/EVND doesn't index notes from The package settings use the default (empty) Git link: |
Ah, the new information is very helpful, now I see what the problem is: your EVND path setting is one level off. That's probably caused by an error on my part--when I said If you want to verify if the symlink is done properly:
$ ls -al ~/.atom/
total 1056
drwxr-xr-x 30 xxx staff 1020 May 3 17:11 .
drwxr-xr-x+ 91 xxx staff 3094 Oct 28 12:51 ..
-rw-r--r--@ 1 xxx staff 10244 Apr 17 2015 .DS_Store
drwxr-xr-x 794 xxx staff 26996 Oct 16 15:21 .apm
-rw-r--r-- 1 xxx staff 41 Feb 8 2015 .gitignore
-rw-r--r-- 1 xxx staff 2483 Oct 27 08:12 config.cson
drwxr-xr-x 4 xxx staff 136 Feb 26 2015 dev
lrwxr-xr-x 1 xxx staff 59 May 3 17:11 evnd -> /Users/xxx/Dropbox/blahblah/evnd
.
.
.
20150509 20150610 20150702 20150727 20150909 20150923 20151011 index.json
20150510 20150612 20150706 20150801 20150914 20150924 20151012 tmp
.
.
. |
Ah, it makes sense now. Thanks a lot! :) |
I am unable to sync with Evernote after changing the path of the EVND file storage from
~/.atom/evnd/
to a Dropbox folder.I copied all my EVND notes, including
index.json
to:/Users/xxx/Dropbox/Creative/Programming/Tools/Atom/EVND/
I initiated a git repo in the new folder with
git init
which was created in:/Users/xxx/Dropbox/Creative/Programming/Tools/Atom/EVND/.git
I get this error message when trying to sync existing and new notes:
Traceback:
The text was updated successfully, but these errors were encountered: