dsoprea / GDriveFS

An innovative FUSE wrapper for Google Drive.
GNU General Public License v2.0
662 stars 96 forks source link

execution failed on Thecus NAS x64 #79

Closed nephaste closed 10 years ago

nephaste commented 10 years ago

dont know why my previous post was deleted, anyway i tried again following the install git process

still have the same issue even with pip installer

Traceback (most recent call last): File "./gdfs", line 16, in from gdrivefs.gdfs.gdfuse import mount, load_mount_parser_args File "/raid/data/module/GDrive/sys/lib/python2.7/site-packages/gdrivefs/gdfs/g dfuse.py", line 12, in from fuse import FUSE, Operations, FuseOSError, c_statvfs, fuse_get_context, \ File "/raid/data/module/GDrive/sys/lib/python2.7/site-packages/fuse.py", line 18, in from ctypes import * File "/raid/data/module/GDrive/sys/lib/python2.7/ctypes/init.py", line 10, in from _ctypes import Union, Structure, Array ImportError: No module named _ctypes

dsoprea commented 10 years ago

It was closed, not deleted: #78

As it doesn't require effort from me, the issue does not need to be open. However, you can still log comments, there.

nephaste commented 10 years ago

thanks a lot,

the ctype option indeed was not cross compiled dur to the libffi library i guess I fixed it

anyway i am facing a new issue

fuse and libs are well cross compiled in my prefix, but fuse.py dont see them even if i export LD_LIBRARY_PATH

that is really weird

N2800:/raid/data/module/GDrive/sys/bin# ./gdfstool --help Traceback (most recent call last): File "./gdfstool", line 16, in from gdrivefs.gdfs.gdfuse import set_auth_cache_filepath, mount, \ File "/raid/data/module/GDrive/sys/lib/python2.7/site-packages/gdrivefs/gdfs/gdfuse.py", line 12, in from fuse import FUSE, Operations, FuseOSError, c_statvfs, fuse_get_context, \ File "/raid/data/module/GDrive/sys/lib/python2.7/site-packages/fusepy-2.0.2-py2.7.egg/fuse.py", line 69, in raise EnvironmentError('Unable to find libfuse') EnvironmentError: Unable to find libfuse

may be you can point me on the right direction, i dont find solution on google. and i so want provide GDrive to all Thecus NAS users

thanks a lot

dsoprea commented 10 years ago

It's not necessary to use GDriveFS to test this issue. Verify that you get the error by importing fuse directly. On May 27, 2014 1:32 PM, "nephaste" notifications@github.com wrote:

thanks a lot,

the ctype option indeed was not cross compiled dur to the libffi library i guess I fixed it

anyway i am facing a new issue

fuse and libs are well cross compiled in my prefix, but fuse.py dont see them even if i export LD_LIBRARY_PATH

that is really weird

N2800:/raid/data/module/GDrive/sys/bin# ./gdfstool --help Traceback (most recent call last): File "./gdfstool", line 16, in from gdrivefs.gdfs.gdfuse import set_auth_cache_filepath, mount, \ File "/raid/data/module/GDrive/sys/lib/python2.7/site-packages/gdrivefs/gdfs/gdfuse.py", line 12, in from fuse import FUSE, Operations, FuseOSError, c_statvfs, fuse_get_context, \ File "/raid/data/module/GDrive/sys/lib/python2.7/site-packages/fusepy-2.0.2-py2.7.egg/fuse.py", line 69, in raise EnvironmentError('Unable to find libfuse') EnvironmentError: Unable to find libfuse

may be you can point me on the right direction, i dont find solution on google. and i so want provide GDrive to all Thecus NAS users

thanks a lot

— Reply to this email directly or view it on GitHubhttps://github.com/dsoprea/GDriveFS/issues/79#issuecomment-44307963 .

nephaste commented 10 years ago

not sure what do you mean by " importing fuse directly "

fusermount seems to work locally

./fusermount: [options] mountpoint Options: -h print help -V print version -o opt[,opt...] mount options -u unmount -q quiet -z lazy unmount

i also try to launch fuse.py directly and the same error show up

./python /raid0/data/module/GDrive/sys/lib/python2.7/site-packages/fuse.py Traceback (most recent call last): File "/raid0/data/module/GDrive/sys/lib/python2.7/site-packages/fuse.py", line 69, in raise EnvironmentError('Unable to find libfuse') EnvironmentError: Unable to find libfuse

Look like this python module is not really maintain :(

i dont know anything in Python unfortunately.

dsoprea commented 10 years ago

By "importing", I mean the following:

$ python Python 2.7.6 (default, Mar 22 2014, 22:59:56) [GCC 4.8.2] on linux2 Type "help", "copyright", "credits" or "license" for more information.

import fuse

Running a Python file can do the same thing, but may not. Some Python modules can be used as both scripts and libraries.

Do the above, and show me the output.

Something having a bug and something "not being maintained" are two entirely different concepts. Everything has bugs. That doesn't mean that they're aren't people actively working on the projects. I know the pyfuse guy. He's relatively quick to respond, and not only has an "issues" page for his project, but makes his email address public as well. It's anything but "not really maintain".

I'd still like to see the output above, but you'll probably have to log an issue with him (https://github.com/terencehonles/fusepy/issues) if we find that something is broken.

Dustin

On Tue, May 27, 2014 at 2:41 PM, nephaste notifications@github.com wrote:

not sure what do you mean by " importing fuse directly "

fusermount seems to work locally

./fusermount: [options] mountpoint Options: -h print help -V print version -o opt[,opt...] mount options -u unmount -q quiet -z lazy unmount

i also try to launch fuse.py directly and the same error show up

./python /raid0/data/module/GDrive/sys/lib/python2.7/site-packages/fuse.py

Traceback (most recent call last): File "/raid0/data/module/GDrive/sys/lib/python2.7/site-packages/fuse.py", line 69, in raise EnvironmentError('Unable to find libfuse') EnvironmentError: Unable to find libfuse

Look like this python module is not really maintain :(

i dont know anything in Python unfortunately.

— Reply to this email directly or view it on GitHubhttps://github.com/dsoprea/GDriveFS/issues/79#issuecomment-44317630 .

nephaste commented 10 years ago

Thanks a lot,

indeed same result

./python Python 2.7.6 (default, Apr 12 2014, 12:45:45) [GCC 4.5.3] on linux2 Type "help", "copyright", "credits" or "license" for more information.

import fuse Traceback (most recent call last): File "", line 1, in File "/raid0/data/module/GDrive/sys/lib/python2.7/site-packages/fusepy-2.0.2-py2.7.egg/fuse.py", line 69, in raise EnvironmentError('Unable to find libfuse') EnvironmentError: Unable to find libfuse

I will post the issue in fusepy thread, hope we can resolve it

Stéphane

dsoprea commented 10 years ago

Reference the issue here (by URL or #XX), so that they're linked.

On Tue, May 27, 2014 at 4:36 PM, nephaste notifications@github.com wrote:

Thanks a lot,

indeed same result

./python Python 2.7.6 (default, Apr 12 2014, 12:45:45) [GCC 4.5.3] on linux2

Type "help", "copyright", "credits" or "license" for more information.

import fuse

Traceback (most recent call last): File "", line 1, in File "/raid0/data/module/GDrive/sys/lib/python2.7/site-packages/fusepy-2.0.2-py2.7.egg/fuse.py", line 69, in raise EnvironmentError('Unable to find libfuse') EnvironmentError: Unable to find libfuse

I will post the issue in fusepy thread, hope we can resolve it

Stéphane

— Reply to this email directly or view it on GitHubhttps://github.com/dsoprea/GDriveFS/issues/79#issuecomment-44331813 .

nephaste commented 10 years ago

Thanks Dustin

here is the link to the issue posted

https://github.com/terencehonles/fusepy/issues/30

Best Regards,

Stéphane