hschauhan / gosync

An Opensource Google Drive client written in Python
https://hschauhan.github.io/gosync/
GNU General Public License v2.0
281 stars 57 forks source link

I've installed GoSync according to directions, but still doesn't work properly. #45

Open tomreedtoon opened 4 years ago

tomreedtoon commented 4 years ago

Sorry, things have been busy (even though my two jobs are still furloughed). I installed GoSync, in the terminal I typed "GoSync" and this appeared in the browser window entitled "Authentication Status" and with the message "The authentication flow has completed."...

GoSync screen not installed

This screen just sits in the browser window, no progress bar, nothing else happening. And when I close the browser window and terminal, it stops. It does not auto-load anything after a computer restart. Do I have to open up a terminal window and type "GoSync" every time I boot the computer? Sorry, I just didn't think it was supposed to work this way.

Addendum: when I checked the terminal window, I got this code:

msgeek@Navi2:~$ GoSync
/usr/local/lib/python2.7/dist-packages/GoSync/GoSync.py:30: wxPyDeprecationWarning: Using deprecated class PySimpleApp. 
  app = wx.PySimpleApp()
Your browser has been opened to visit:
()
    https://accounts.google.com/o/oauth2/auth?scope=https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fdrive&redirect_uri=http%3A%2F%2Flocalhost%3A8080%2F&response_type=code&client_id=131220072583-lpbmvei0a5mfeaeio3eugvenfkf1jfkt.apps.googleusercontent.com&access_type=offline
()
Authentication successful.
{u'Document Size': 32527151, u'Movies Size': 0, u'Total Size': 16106127360L, u'Total Files': 1042, u'Others Size': 71207309, u'Audio Size': 0, u'Photo Size': 53534325}

(GoSync:12286): Gtk-CRITICAL **: 12:01:36.891: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(GoSync:12286): Gtk-CRITICAL **: 12:01:36.893: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

Originally posted by @tomreedtoon in https://github.com/hschauhan/gosync/issues/20#issuecomment-637657049

This has been in the "I Am Noobie" thread for over a week with no response. Questions:

The two lines that say (GoSync:12286): Gtk-CRITICAL in the code above...does this mean something is wrong?

When checking the local folder "Google Drive" there is no change when I do this sinking, It does not reflect any changes made by my other devices on Google Drive, or to Google Drive as edited in a web browser.

And as mentioned, there is no presence of GoSync when I close the terminal with commands. Is there anything else I need to do to make this work properly?

arentoine commented 4 years ago

Hello,

based on the screenshot, it looks like an old version.

A lot of improvments have been added to GoSync. Can you refresh your installation with the latest code base and report your findings ?

Regards

Alain

tomreedtoon commented 3 years ago

I followed the instructions for updating, and this is what the command window said:

msgeek@Navi2:~$ sudo pip install --upgrade [sudo] password for msgeek: The directory '/home/msgeek/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. The directory '/home/msgeek/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. You must give at least one requirement to install (see "pip help install") msgeek@Navi2:~$

When I tried to type "sudo -H pip install --upgrade" I got: msgeek@Navi2:~$ sudo -H pip install --upgrade You must give at least one requirement to install (see "pip help install")

What kind of requirement? The first directory (the /http one) is owned by Thomas Reed (msgeek), which is me. So is the directory above, /home/msgeek/.cache/pip and the /msgeek/ directory.

Any help you can provide me on this will be welcome. Thanks!

tomreedtoon commented 3 years ago

I'm now using a new Linux Mint 20.10 machine, and GoSync seems to be working oka, but...on the terminal I get this error message:

(GoSync:14719): Gtk-CRITICAL **: 18:18:55.665: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

Is this a problem? And is there a solution? Thanks.