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 am newbie #20

Open koanvi opened 4 years ago

koanvi commented 4 years ago

Hi! What should i do after "download it and keep it inside .gosync directory in your home directory"?

msylvestre commented 4 years ago

LOL I'm wondering the same, you install it via pip install goSync, but how the heck do you start it and configure it ?! There's stuff missing on the home page, I would say

msylvestre commented 4 years ago

What's missing is that the GoSync is being installed in ~/.local/bin/ so to start it you need to do ~/.local/bin/GoSync but it probably won't work as a library is missing during installation. Then when you think you're done, you aren't ! Cause you need to generate google creds and download it and blah blah blah. A LOT missing about installation instruction, so too bad, there's plenty of other tool, I won't lose my time with this one :) It's sad as they were number 2 in the list as the "best gdrive tool on linux".

arentoine commented 4 years ago

Try this procedure and please share your comments to help improve the installation steps : https://github.com/arentoine/gosync/wiki.

tomreedtoon commented 4 years ago

I've followed the instructions as best I can. I got to the point where I tried to run the install, and this is what I got in Terminal.

msgeek@Navi2:~/Downloads/gosync-0.4/GoSync$ 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. Directory '.' is not installable. File 'setup.py' not found.

So when I extracted the .zip file, it was to the home directory, msgeek - and the folder GoSync was inside the gosync-0.4 folder. Any ideas what I did wrong?

arentoine commented 4 years ago

Hello, you are one level too deep in the directory structure. Run the command from ~/Downloads/gosync-0.4/ :

msgeek@Navi2:~/Downloads/gosync-0.4/$ sudo pip install --upgrade .

arentoine commented 4 years ago

Hello,

have you been able to complete the installation ?

Regards

koanvi commented 4 years ago

Hi, no. Just refused use google disk))))) Now i use my home server to store data. I use noip and ssh to connect to storage.

чт, 30 апр. 2020 г., 14:53 arentoine notifications@github.com:

Hello,

have you been able to complete the installation ?

Regards

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hschauhan/gosync/issues/20#issuecomment-621785528, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG6PNRKJHQQJ2HQFVLLOQJLRPFRDPANCNFSM4KSR5AJA .

arentoine commented 4 years ago

Hello,

no problems. This is also a good solution.

If I create a short video to complete the installation, will you be able to test it ?

Regards

koanvi commented 4 years ago

If i have time i ll do. Thanks for communicateing)))

чт, 30 апр. 2020 г., 15:03 arentoine notifications@github.com:

Hello,

no problems. This is also a good solution.

If I create a short video to complete the installation, will you be able to test it ?

Regards

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hschauhan/gosync/issues/20#issuecomment-621789792, or unsubscribe https://github.com/notifications/unsubscribe-auth/AG6PNRJR3MFL5KROHU6WTZDRPFSHVANCNFSM4KSR5AJA .

donhbryan commented 4 years ago

Hello,

no problems. This is also a good solution.

If I create a short video to complete the installation, will you be able to test it ?

Regards

@arentoine , I would test the video installation. Thanks.

arentoine commented 4 years ago

Hello all,

here's the installation video : https://youtu.be/8hcwhnHre7s Feel free to comment.

Regards

abombimbom commented 4 years ago

I tried to run "sudo pip3 install --upgrade" in the directory ~/Downloads/gosync-0.4$ and received message "ERROR: You must give at least one requirement to install (see "pip help install")" I'm a newbie too)

abombimbom commented 4 years ago

I tried to run "sudo pip3 install --upgrade" in the directory ~/Downloads/gosync-0.4$ and received message "ERROR: You must give at least one requirement to install (see "pip help install")" I'm a newbie too)

sorry, missed "." :D

arentoine commented 4 years ago

Hello !

exactly, you missed the dot 1!!!! Good catch.

Now, I suggest you update to version 0.5.

Regards

tomreedtoon commented 4 years ago

Hello,

have you been able to complete the installation ? No, I haven't. I've completed the process as outlined in the video. The attached file has the terminal dialog. gosync attempt to install 1.txt

Is there something I need to delete?

hschauhan commented 4 years ago

yo have to do "cd gosync" and then "python3 GoSync/GoSync.py"

On 12/05/20 5:13 am, tomreedtoon wrote:

Hello,

have you been able to complete the installation ?
No, I haven't. I've completed the process as outlined in the video.
The attached file has the terminal dialog.
gosync attempt to install 1.txt
<https://github.com/hschauhan/gosync/files/4612628/gosync.attempt.to.install.1.txt>

Is there something I need to delete?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/hschauhan/gosync/issues/20#issuecomment-627023569, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABXIYZH76KBY537OMMSCEDRRCERNANCNFSM4KSR5AJA.

tomreedtoon commented 4 years ago

Here's what happens when I type that in:

msgeek@Navi2:~$ cd gosync msgeek@Navi2:~/gosync$ python3 GoSync/GoSync.py Traceback (most recent call last): File "GoSync/GoSync.py", line 20, in import sys, os, wx ModuleNotFoundError: No module named 'wx' msgeek@Navi2:~/gosync$

Do I need to delete something and start from the beginning? Again, I thank you for the help.

hschauhan commented 4 years ago

You have to go install python-wxgtk.

On Tue, 12 May 2020 at 10:15 PM, tomreedtoon notifications@github.com wrote:

Here's what happens when I type that in:

msgeek@Navi2:$ cd gosync msgeek@Navi2:/gosync$ python3 GoSync/GoSync.py Traceback (most recent call last): File "GoSync/GoSync.py", line 20, in import sys, os, wx ModuleNotFoundError: No module named 'wx' msgeek@Navi2:~/gosync$

Do I need to delete something and start from the beginning?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/hschauhan/gosync/issues/20#issuecomment-627461359, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABXIY6K42ASGNE3YXTJB63RRF4KTANCNFSM4KSR5AJA .

hschauhan commented 4 years ago

Please follow instructions detailed in: https://github.com/arentoine/gosync/wiki

On Tue, 12 May 2020 at 10:15 PM, tomreedtoon notifications@github.com wrote:

Here's what happens when I type that in:

msgeek@Navi2:$ cd gosync msgeek@Navi2:/gosync$ python3 GoSync/GoSync.py Traceback (most recent call last): File "GoSync/GoSync.py", line 20, in import sys, os, wx ModuleNotFoundError: No module named 'wx' msgeek@Navi2:~/gosync$

Do I need to delete something and start from the beginning?

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/hschauhan/gosync/issues/20#issuecomment-627461359, or unsubscribe https://github.com/notifications/unsubscribe-auth/AABXIY6K42ASGNE3YXTJB63RRF4KTANCNFSM4KSR5AJA .

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
tomreedtoon commented 4 years ago

It's more than a week, and GoSync is still doing the same thing. I open a terminal and this is what happens when I type
GoSync

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:6301): Gtk-CRITICAL **: 21:44:33.358: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

(GoSync:6301): Gtk-CRITICAL **: 21:44:33.358: gtk_box_gadget_distribute: assertion 'size >= 0' failed in GtkScrollbar

And again, the window opens up after I go through all the approvals. And when I close the terminal, the GoSync window disappears. There is no icon showing GoSync is running on my system.

Can you answer one thing? What do these two lines that start with (GoSync:6301): Gtk-CRITICAL :** mean?

EDIT: I should mention that the "Google Drive" folder shows no changes. When I opened up Google Drive in the web browser, I deleted some files. When I started GoSync and made sure it was set to "running" instead of "paused," I saw no change in my local Google Drive folder. Also...when I closed the terminal window I got this warning:

GoSync Warning