Package Details: overgrive 3.3.7-0

Git Clone URL: https://aur.archlinux.org/overgrive.git (read-only, click to copy)
Package Base: overgrive
Description: A complete Google Drive™ desktop client solution for Linux
Upstream URL: https://www.thefanclub.co.za/overgrive
Keywords: drive google grive overgrive
Licenses: unknown
Conflicts: overgrive
Provides: overgrive
Submitter: pedro00dk
Maintainer: pedro00dk
Last Packager: pedro00dk
Votes: 5
Popularity: 0.002460
First Submitted: 2018-12-22 03:46
Last Updated: 2020-01-30 01:46

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

dlezo commented on 2019-11-01 20:03

I don't think so:

$ which python
/usr/bin/python
$ python --version
Python 3.7.4
$ whereis python
python: /usr/bin/python3.7m /usr/bin/python3.7m-config /usr/bin/python /usr/bin/python3.7-config /usr/bin/python2.7-config /usr/bin/python3.7 /usr/bin/python2.7 /usr/lib/python3.7 /usr/lib/python2.7 /usr/include/python3.7m /usr/include/python2.7 /usr/share/man/man1/python.1.gz
$ python
>>> import gi
>>> vars(gi)
{'__name__': 'gi', '__doc__': None, '__package__': 'gi', '__loader__': <_frozen_importlib_external.SourceFileLoader object at 0x7ff360168e90>, '__spec__': ModuleSpec(name='gi', loader=<_frozen_importlib_external.SourceFileLoader object at 0x7ff360168e90>, origin='/usr/lib/python3.7/site-packages/gi/__init__.py', submodule_search_locations=['/usr/lib/python3.7/site-packages/gi']), '__path__': ['/usr/lib/python3.7/site-packages/gi'], '__file__': '/usr/lib/python3.7/site-packages/gi/__init__.py', '__cached__': '/usr/lib/python3.7/site-packages/gi/__pycache__/__init__.cpython-37.pyc', '__builtins__': {'__name__': 'builtins', '__doc__': "Built-in functions, exceptions, and other objects.\n\nNoteworthy: None is the `nil' object; Ellipsis represents `...' in slices.", '__package__': '', '__loader__': <class '_frozen_importlib.BuiltinImporter'>, '__spec__': ModuleSpec(name='builtins', loader=<class '_frozen_importlib.BuiltinImporter'>), '__build_class__': <built-in function __build_class__>, '__import__': <built-in function __import__>, 'abs': <built-in function abs>, 'all': <built-in function all>, 'any': <built-in function any>, 'ascii': <built-in function ascii>, 'bin': <built-in function bin>, 'breakpoint': <built-in function breakpoint>, 'callable': <built-in function callable>, 'chr': <built-in function chr>, 'compile': <built-in function compile>, 'delattr': <built-in function delattr>, 'dir': <built-in function dir>, 'divmod': <built-in function divmod>, 'eval': <built-in function eval>, 'exec': <built-in function exec>, 'format': <built-in function format>, 'getattr': <built-in function getattr>, 'globals': <built-in function globals>, 'hasattr': <built-in function hasattr>, 'hash': <built-in function hash>, 'hex': <built-in function hex>, 'id': <built-in function id>, 'input': <built-in function input>, 'isinstance': <built-in function isinstance>, 'issubclass': <built-in function issubclass>, 'iter': <built-in function iter>, 'len': <built-in function len>, 'locals': <built-in function locals>, 'max': <built-in function max>, 'min': <built-in function min>, 'next': <built-in function next>, 'oct': <built-in function oct>, 'ord': <built-in function ord>, 'pow': <built-in function pow>, 'print': <built-in function print>, 'repr': <built-in function repr>, 'round': <built-in function round>, 'setattr': <built-in function setattr>, 'sorted': <built-in function sorted>, 'sum': <built-in function sum>, 'vars': <built-in function vars>, 'None': None, 'Ellipsis': Ellipsis, 'NotImplemented': NotImplemented, 'False': False, 'True': True, 'bool': <class 'bool'>, 'memoryview': <class 'memoryview'>, 'bytearray': <class 'bytearray'>, 'bytes': <class 'bytes'>, 'classmethod': <class 'classmethod'>, 'complex': <class 'complex'>, 'dict': <class 'dict'>, 'enumerate': <class 'enumerate'>, 'filter': <class 'filter'>, 'float': <class 'float'>, 'frozenset': <class 'frozenset'>, 'property': <class 'property'>, 'int': <class 'int'>, 'list': <class 'list'>, 'map': <class 'map'>, 'object': <class 'object'>, 'range': <class 'range'>, 'reversed': <class 'reversed'>, 'set': <class 'set'>, 'slice': <class 'slice'>, 'staticmethod': <class 'staticmethod'>, 'str': <class 'str'>, 'super': <class 'super'>, 'tuple': <class 'tuple'>, 'type': <class 'type'>, 'zip': <class 'zip'>, '__debug__': True, 'BaseException': <class 'BaseException'>, 'Exception': <class 'Exception'>, 'TypeError': <class 'TypeError'>, 'StopAsyncIteration': <class 'StopAsyncIteration'>, 'StopIteration': <class 'StopIteration'>, 'GeneratorExit': <class 'GeneratorExit'>, 'SystemExit': <class 'SystemExit'>, 'KeyboardInterrupt': <class 'KeyboardInterrupt'>, 'ImportError': <class 'ImportError'>, 'ModuleNotFoundError': <class 'ModuleNotFoundError'>, 'OSError': <class 'OSError'>, 'EnvironmentError': <class 'OSError'>, 'IOError': <class 'OSError'>, 'EOFError': <class 'EOFError'>, 'RuntimeError': <class 'RuntimeError'>, 'RecursionError': <class 'RecursionError'>, 'NotImplementedError': <class 'NotImplementedError'>, 'NameError': <class 'NameError'>, 'UnboundLocalError': <class 'UnboundLocalError'>, 'AttributeError': <class 'AttributeError'>, 'SyntaxError': <class 'SyntaxError'>, 'IndentationError': <class 'IndentationError'>, 'TabError': <class 'TabError'>, 'LookupError': <class 'LookupError'>, 'IndexError': <class 'IndexError'>, 'KeyError': <class 'KeyError'>, 'ValueError': <class 'ValueError'>, 'UnicodeError': <class 'UnicodeError'>, 'UnicodeEncodeError': <class 'UnicodeEncodeError'>, 'UnicodeDecodeError': <class 'UnicodeDecodeError'>, 'UnicodeTranslateError': <class 'UnicodeTranslateError'>, 'AssertionError': <class 'AssertionError'>, 'ArithmeticError': <class 'ArithmeticError'>, 'FloatingPointError': <class 'FloatingPointError'>, 'OverflowError': <class 'OverflowError'>, 'ZeroDivisionError': <class 'ZeroDivisionError'>, 'SystemError': <class 'SystemError'>, 'ReferenceError': <class 'ReferenceError'>, 'MemoryError': <class 'MemoryError'>, 'BufferError': <class 'BufferError'>, 'Warning': <class 'Warning'>, 'UserWarning': <class 'UserWarning'>, 'DeprecationWarning': <class 'DeprecationWarning'>, 'PendingDeprecationWarning': <class 'PendingDeprecationWarning'>, 'SyntaxWarning': <class 'SyntaxWarning'>, 'RuntimeWarning': <class 'RuntimeWarning'>, 'FutureWarning': <class 'FutureWarning'>, 'ImportWarning': <class 'ImportWarning'>, 'UnicodeWarning': <class 'UnicodeWarning'>, 'BytesWarning': <class 'BytesWarning'>, 'ResourceWarning': <class 'ResourceWarning'>, 'ConnectionError': <class 'ConnectionError'>, 'BlockingIOError': <class 'BlockingIOError'>, 'BrokenPipeError': <class 'BrokenPipeError'>, 'ChildProcessError': <class 'ChildProcessError'>, 'ConnectionAbortedError': <class 'ConnectionAbortedError'>, 'ConnectionRefusedError': <class 'ConnectionRefusedError'>, 'ConnectionResetError': <class 'ConnectionResetError'>, 'FileExistsError': <class 'FileExistsError'>, 'FileNotFoundError': <class 'FileNotFoundError'>, 'IsADirectoryError': <class 'IsADirectoryError'>, 'NotADirectoryError': <class 'NotADirectoryError'>, 'InterruptedError': <class 'InterruptedError'>, 'PermissionError': <class 'PermissionError'>, 'ProcessLookupError': <class 'ProcessLookupError'>, 'TimeoutError': <class 'TimeoutError'>, 'open': <built-in function open>, 'quit': Use quit() or Ctrl-D (i.e. EOF) to exit, 'exit': Use exit() or Ctrl-D (i.e. EOF) to exit, 'copyright': Copyright (c) 2001-2019 Python Software Foundation.
All Rights Reserved.

Copyright (c) 2000 BeOpen.com.
All Rights Reserved.

Copyright (c) 1995-2001 Corporation for National Research Initiatives.
All Rights Reserved.

Copyright (c) 1991-1995 Stichting Mathematisch Centrum, Amsterdam.
All Rights Reserved., 'credits':     Thanks to CWI, CNRI, BeOpen.com, Zope Corporation and a cast of thousands
    for supporting Python development.  See www.python.org for more information., 'license': Type license() to see the full license text, 'help': Type help() for interactive help, or help(object) for help about object., '_': None}, 'absolute_import': _Feature((2, 5, 0, 'alpha', 1), (3, 0, 0, 'alpha', 0), 16384), 'extend_path': <function extend_path at 0x7ff36017a050>, 'sys': <module 'sys' (built-in)>, 'os': <module 'os' from '/usr/lib/python3.7/os.py'>, 'importlib': <module 'importlib' from '/usr/lib/python3.7/importlib/__init__.py'>, 'types': <module 'types' from '/usr/lib/python3.7/types.py'>, '_static_binding_error': 'When using gi.repository you must not import static modules like "gobject". Please change all occurrences of "import gobject" to "from gi.repository import GObject". See: https://bugzilla.gnome.org/show_bug.cgi?id=709183', '_error': <module 'gi._error' from '/usr/lib/python3.7/site-packages/gi/_error.py'>, '_gi': <module 'gi._gi' from '/usr/lib/python3.7/site-packages/gi/_gi.cpython-37m-x86_64-linux-gnu.so'>, '_API': <capsule object "gi._API" at 0x7ff36000d5d0>, 'Repository': <class 'gi.Repository'>, 'PyGIDeprecationWarning': <class 'gi.PyGIDeprecationWarning'>, 'PyGIWarning': <class 'gi.PyGIWarning'>, '_compat': <module 'gi._compat' from '/usr/lib/python3.7/site-packages/gi/_compat.py'>, 'string_types': (<class 'str'>,), '_versions': {}, '_overridesdir': '/usr/lib/python3.7/site-packages/gi/overrides', '_gobject': <module 'gi._gobject'>, 'version_info': (3, 34, 0), '__version__': '3.34.0', '_gi_cairo': <module 'gi._gi_cairo' from '/usr/lib/python3.7/site-packages/gi/_gi_cairo.cpython-37m-x86_64-linux-gnu.so'>, '_DummyStaticModule': <class 'gi._DummyStaticModule'>, 'check_version': <function check_version at 0x7ff3601b6e60>, 'require_version': <function require_version at 0x7ff36017ab90>, 'require_versions': <function require_versions at 0x7ff36017ac20>, 'get_required_version': <function get_required_version at 0x7ff36017acb0>, 'require_foreign': <function require_foreign at 0x7ff36017ad40>}
>>> 

pedro00dk commented on 2019-11-01 19:01

I did not explain very well. I mean, do you have any tool that may override the default python executable (/usr/bin/python) in the $PATH variable (pyenv, anaconda, etc)?

Can you issue these commands?

$ which python
$ python --version

$ python
>>> import gi
>>> vars(gi)
>>> exit()

$ /opt/thefanclub/overgrive/venv/bin/python
>>> import gi
>>> vars(gi)
>>> exit()

dlezo commented on 2019-11-01 18:20

No, I was installing the package as you provide it (pacaur -S overgrive). Just that.

pedro00dk commented on 2019-11-01 17:33

Hi dlezo, are you using some tool such as pyenv, to change the default python system executable?

dlezo commented on 2019-11-01 16:30

Hi pedro00dk, thank you for your quick response! I removed everything and reinstall the program with the package you just updated but still anything happens when I launch Overgrive clicking on the launcher icon.

And from command line I get the same error. I'm copying the output from my terminal in case this can help:

$ pwd
/opt/thefanclub/overgrive
$ cat overgrive-autostart.desktop                                               
[Desktop Entry]
Type=Application
Exec=/opt/thefanclub/overgrive/venv/bin/python3 /opt/thefanclub/overgrive/overgrive
Icon=/opt/thefanclub/overgrive/overgrive.png
Hidden=false
NoDisplay=false
X-GNOME-Autostart-enabled=true
Name=Google Drive
GenericName=overgrive
X-GNOME-FullName=overGrive
Comment=Google Drive Client
$ /opt/thefanclub/overgrive/venv/bin/python3 /opt/thefanclub/overgrive/overgrive
Traceback (most recent call last):
  File "overgrive.py", line 40, in <module>
ModuleNotFoundError: No module named 'gi'
$

pedro00dk commented on 2019-11-01 16:20

Hi dlezo, it is weird, the virtual environment should have access to system packages because of --system-site-packages flag.

About installing gobject in the virtual environemnt. I tried it before, and it does not work well, I don't know why. The overgrive finds the gi module, but some attributes are missing in the module.

And the last error you got is probably because when you edited pyenv.cfg, you probably lost the reference to the virtual environment packages, where the google-api-python-client is installed and apiclient as a dependency of it. The overgrive probably imports apiclient first.

Anyway, I updated the package version now, and checked the scripts again. Please uninstall overgrive, its dependencies, and manually delete the /opt/thefanclub directory, then give a try again.

dlezo commented on 2019-11-01 12:47

After installing using pacaur when I start the program executing "/opt/thefanclub/overgrive/venv/bin/python3 /opt/thefanclub/overgrive/overgrive" I got this error: "ModuleNotFoundError: No module named 'gi'".

Installing python-gobject doesn't solve the problem, probably because the dependency needs to be installed in the venv setup by overgrive. I tried changing pyvenv.cfg to include system installed libraries because PyGObject is installed system wide, but if I do that I get another error (ModuleNotFoundError: No module named 'apiclient').

pedro00dk commented on 2019-09-23 12:22

I did not notice a second desktop file in the /opt/../../ path until now. As it is so simple, I fixed now.

blackhole commented on 2019-09-23 08:28

The easy solution is to change /opt/thefanclub/overgrive/overgrive-autostart.desktop with Exec=/opt/thefanclub/overgrive/venv/bin/python3 /opt/thefanclub/overgrive/overgrive or change it with the same content of usr/share/applications/overgrive.desktop

pedro00dk commented on 2019-09-23 02:08

Hello, blackhole. I do not use KDE, so I do not know if it is something I should care about. From what I can see, this looks like a manually set autostart script, that uses the default python binary. As you can see in the shortcut (.desktop) file, I am using a virtual python environment to install some python dependencies not available in the repos. I did it not to put python-pip as a dependency and then install a bunch of outdated python packages system-wide that the user will never use. If you have any recommendations, leave it here, I will check it later. Although, I will not be able to 'fix' anything until next Saturday.