Comments (19)
Could you please run jsonFS with fuse debugging enabled?
from fuse4js.
I've set up a Ubuntu 12.04 test system in a virtual machine(Parallels Desktop: Build 8.0.18354) and installed node from: http://dev.squarecows.com/2012/06/28/nodejs-0-8-on-ubuntu-12-04/
It all works as expected. Could you give more details on your test system?
Some version infos which could help identifying the source of the problem:
# node --version
v0.10.15
# npm -version
1.3.5
# uname -r
3.2.0-29-generic
# pkg-config --modversion fuse
2.8.6
Cheers René
from fuse4js.
Hi Rene,
A few busy days ahead, and then I'll take a look at the end of the week.
Thanks.
On Sun, Aug 25, 2013 at 11:01 AM, René Rössler [email protected]:
I've set up a Ubuntu 12.04 test system in a virtual machine(Parallels
Desktop: Build 8.0.18354) and installed node from:
http://dev.squarecows.com/2012/06/28/nodejs-0-8-on-ubuntu-12-04/It all works as expected. Could you give more details on your test system?
Some version infos which could help identifying the source of the problem:
node --version
v0.10.15
npm -version
1.3.5
uname -r
3.2.0-29-generic
pkg-config --modversion fuse
2.8.6
Cheers René
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-23232315
.
from fuse4js.
Any news?
from fuse4js.
Taking ownership.
Looking at it now.
from fuse4js.
I have the same problem. It works when I install from npm, but the master is not working - stopping the file system every time.
from fuse4js.
I checked the npm version and the difference is these lines:
int initialArgc = sizeof(argv) / sizeof(char*);
char **argvIncludingExtraArgs = (char**)malloc(sizeof(char*) * (initialArgc + f4js.extraArgc));
memcpy(argvIncludingExtraArgs, argv, sizeof(argv));
memcpy(argvIncludingExtraArgs + initialArgc, f4js.extraArgv, sizeof(char*) * f4js.extraArgc);
If I comment them and change the fuse_main() call to
fuse_main(4, argv, &ops, NULL)
it works fine. This is 64bit Ubuntu on VirtualBox by the way. @elwerene Can you suggest solution please?
Update:
It is because of the "extraArgs", disabling them does the trick. I don't know what they are supposed to do exactly.
https://github.com/bobef/fuse4js/commit/dfca0a806fd372e38055960b9db402f7079ef8f6
from fuse4js.
I introduced the extra args, so you could give args to the mount command, like setting the uid or gid of the mountpoint.
I don't have time to look at it right now, probably next week. If you need it right now, I would suggest to add some conditionals for empty extraArgs, I guess that's where the error happens.
from fuse4js.
The error happens somewhere inside fuse_main() when you pass "-o
allow_others" (or something similar don't remember what it was called
exactly) and this "-o something" comes from extraArgs. If you don't pass
the extra args to fuse_main() it works fine.
On Tue, Nov 12, 2013 at 1:21 PM, René Rössler [email protected]:
I introduced the extra args, so you could give args to the mount command,
like setting the uid or gid of the mountpoint.I don't have time to look at it right now, probably next week. If you need
it right now, I would suggest to add some conditionals for empty extraArgs,
I guess that's where the error happens.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-28285828
.
from fuse4js.
Maybe allow_others does not exist in ubuntu 64bit?
Am 12.11.2013 um 12:24 schrieb Borislav Peev [email protected]:
The error happens somewhere inside fuse_main() when you pass "-o
allow_others" (or something similar don't remember what it was called
exactly) and this "-o something" comes from extraArgs. If you don't pass
the extra args to fuse_main() it works fine.On Tue, Nov 12, 2013 at 1:21 PM, René Rössler [email protected]:
I introduced the extra args, so you could give args to the mount command,
like setting the uid or gid of the mountpoint.I don't have time to look at it right now, probably next week. If you need
it right now, I would suggest to add some conditionals for empty extraArgs,
I guess that's where the error happens.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-28285828
.—
Reply to this email directly or view it on GitHub.
from fuse4js.
I have no idea what it even is, I have very little Ubuntu/mount experience.
On Tue, Nov 12, 2013 at 1:29 PM, René Rössler [email protected]:
Maybe allow_others does not exist in ubuntu 64bit?
Am 12.11.2013 um 12:24 schrieb Borislav Peev [email protected]:
The error happens somewhere inside fuse_main() when you pass "-o
allow_others" (or something similar don't remember what it was called
exactly) and this "-o something" comes from extraArgs. If you don't pass
the extra args to fuse_main() it works fine.On Tue, Nov 12, 2013 at 1:21 PM, René Rössler [email protected]:
I introduced the extra args, so you could give args to the mount
command,
like setting the uid or gid of the mountpoint.I don't have time to look at it right now, probably next week. If you
need
it right now, I would suggest to add some conditionals for empty
extraArgs,
I guess that's where the error happens.—
Reply to this email directly or view it on GitHub<
https://github.com/vmware/fuse4js/issues/9#issuecomment-28285828>
.—
Reply to this email directly or view it on GitHub.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-28286212
.
from fuse4js.
There it is, could you verify this:
Thanks
Am 12.11.2013 um 12:30 schrieb Borislav Peev [email protected]:
I have no idea what it even is, I have very little Ubuntu/mount experience.
On Tue, Nov 12, 2013 at 1:29 PM, René Rössler [email protected]:
Maybe allow_others does not exist in ubuntu 64bit?
Am 12.11.2013 um 12:24 schrieb Borislav Peev [email protected]:
The error happens somewhere inside fuse_main() when you pass "-o
allow_others" (or something similar don't remember what it was called
exactly) and this "-o something" comes from extraArgs. If you don't pass
the extra args to fuse_main() it works fine.On Tue, Nov 12, 2013 at 1:21 PM, René Rössler [email protected]:
I introduced the extra args, so you could give args to the mount
command,
like setting the uid or gid of the mountpoint.I don't have time to look at it right now, probably next week. If you
need
it right now, I would suggest to add some conditionals for empty
extraArgs,
I guess that's where the error happens.—
Reply to this email directly or view it on GitHub<
https://github.com/vmware/fuse4js/issues/9#issuecomment-28285828>
.—
Reply to this email directly or view it on GitHub.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-28286212
.—
Reply to this email directly or view it on GitHub.
from fuse4js.
I can confirm. 1) Staring the example with "sudo node" or 2) uncommenting
the option "user_allow_other" in /etc/fuse.conf and making my user able to
access this file solves it. Someone with access should add this to the
installation instructions. Regards.
On Tue, Nov 12, 2013 at 1:34 PM, René Rössler [email protected]:
There it is, could you verify this:
Thanks
Am 12.11.2013 um 12:30 schrieb Borislav Peev [email protected]:
I have no idea what it even is, I have very little Ubuntu/mount
experience.On Tue, Nov 12, 2013 at 1:29 PM, René Rössler [email protected]:
Maybe allow_others does not exist in ubuntu 64bit?
Am 12.11.2013 um 12:24 schrieb Borislav Peev <
[email protected]>:The error happens somewhere inside fuse_main() when you pass "-o
allow_others" (or something similar don't remember what it was
called
exactly) and this "-o something" comes from extraArgs. If you don't
pass
the extra args to fuse_main() it works fine.On Tue, Nov 12, 2013 at 1:21 PM, René Rössler <
[email protected]>wrote:I introduced the extra args, so you could give args to the mount
command,
like setting the uid or gid of the mountpoint.I don't have time to look at it right now, probably next week. If
you
need
it right now, I would suggest to add some conditionals for empty
extraArgs,
I guess that's where the error happens.—
Reply to this email directly or view it on GitHub<
https://github.com/vmware/fuse4js/issues/9#issuecomment-28285828>
.—
Reply to this email directly or view it on GitHub.—
Reply to this email directly or view it on GitHub<
https://github.com/vmware/fuse4js/issues/9#issuecomment-28286212>
.—
Reply to this email directly or view it on GitHub.—
Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-28286478
.
from fuse4js.
I updated the readme, thanks for investigating that issue! @bcle could you post the new version to npmjs.org?
from fuse4js.
Swamped right now.
Give me 48 hours.
Thanks!
On Tue, Nov 12, 2013 at 4:02 AM, René Rössler [email protected]:
I updated the readme, thanks for investigating that issue! @bclehttps://github.com/bclecould you post the new version to
npmjs.org?—
Reply to this email directly or view it on GitHubhttps://github.com//issues/9#issuecomment-28287951
.
from fuse4js.
New version posted.
Sorry it took so long.
from fuse4js.
@elwerene : I don't think the documentation fix is sufficient. Since user_allow_other is disabled by default in /etc/fuse.conf, jsonFS.js should not pass "-o allow_other" by default. This will result in a non-obvious failure on at least this Ubuntu distro, and users can easily miss the comment in the documentation. Please add an option to jsonFS.js (for example '-a'), parse it in parseArgs(), and if enabled, then pass -o allow_other to f4js.start()
from fuse4js.
Tried to npm-publish new version, but keep getting npm conflict errors, even after bumping the version number several times. Looks like others are seeing this too, though not sure about how widespread it is: https://github.com/isaacs/npm/issues/4273
Will keep trying in the days ahead.
from fuse4js.
I was finally able to publish tonight. Version is 0.1.9
from fuse4js.
Related Issues (20)
- Dual Licensing HOT 19
- Tarballs are not on the NPM repository HOT 1
- Mounting external Webdav source.
- `allow_other` option support HOT 3
- unmount support HOT 1
- Issue with large file sizes HOT 1
- Had to add statfs handler to mirrorFS example HOT 1
- Feature: consider GNU LGPL HOT 1
- Not compiling on most recent Node.JS HOT 13
- fuse_get_context() HOT 1
- Segfault in node 0.10.31 HOT 3
- Cannot install on Mac OS 10.10 HOT 1
- is it possible to change filename on create or release?
- Intercepting inotify watches
- Compilation fails. HOT 1
- Compilation fails on CentOS 6.5 with nodejs-0.10.33-1.el6.x86_64 and fuse-devel-2.8.3-4.el6.x86_64
- chmod() doesn't pass a callback function? HOT 1
- Can only process one concurrent operation at a time
- publish latest stable changes HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fuse4js.