Mac usage, notes appearing as unix files?
moughxyz opened this issue · 7 comments
I got it working on Mac, but I may be missing something here. The notes come as unix executables, so I can't edit them with a text editor. And even when I force open them with Vim, I do see the note text contents, but modifying it and saving it doesn't sync back to my web client.
Mac installation for anyone curious:
brew install python3
pip install virtualenv
- Download fuse: https://osxfuse.github.io/
Could it be that my notes don't have an ext? Though upon realizing that, I created a new note with an ext via the web app, but fs didn't pick it up. It might be because the account I was testing with had over 100 notes, and upon sign in, only about 10 notes were retrieved. That might have put it in an invalid state.
It sounds like a combination of problems. I tested it with a lot more than 10 notes, but not as many as 100. Is there a server-side limit on the amount of notes sent in one sync?
The executable problem is probably a macOS quirk. Would you mind pastebinning the output of standardnotes_fs.py -vv ? Thanks!
I've tested it with 300 files and it seems to sync fine: http://sprunge.us/IRBf
This looks cool! you can always try to open the file with any app you wish!
Hi @tannercollin, I'm on OSX as well. I'm seeing the files as executables in the file browser same as @mobitar . They look fine in the terminal though (as in the permissions are correct with -rw-r--r--
).
I have pasted some output from python standardnotes_fs.py -vv
here.
The only thing standing out to me is whenever I write a file I get a CHOWN is disabled
error that you can see in the logs as well. Syncing seems to work both ways but I have only tried it with 2 notes on a test account.
Please let me know if I can provide anything else. Thanks!
Alright, this should be fixed now. A '.txt' extension has been added to all of the notes.
@ddddavidmartin thanks for the log! I also fixed the CHOWN is disabled
error by allowing the call to go through as long as it doesn't try to change any of the permissions.
Just gave it a try and it looks good here. The notes now show up as regular text files.