onedrive-d-old icon indicating copy to clipboard operation
onedrive-d-old copied to clipboard

od_pref_gtk is not implemented yet

Open leoaloha opened this issue 9 years ago • 26 comments

When trying to run onedrive-pref --ui=gtk on Ubunti 14.10 w/Cinnimon get this error

~/onedrive-d$ onedrive-pref --ui=gtk Traceback (most recent call last): File "/usr/local/bin/onedrive-pref", line 9, in load_entry_point('onedrive-d==1.1.0dev', 'console_scripts', 'onedrive-pref')() File "/usr/local/lib/python3.4/dist-packages/onedrive_d-1.1.0dev-py3.4.egg/onedrive_d/od_pref.py", line 26, in main File "/usr/local/lib/python3.4/dist-packages/onedrive_d-1.1.0dev-py3.4.egg/onedrive_d/od_pref_gtk.py", line 11, in init NotImplementedError: od_pref_gtk is not implemented yet.

leoaloha avatar Mar 08 '15 17:03 leoaloha

Same is Ubuntu 14.04.

lahtis avatar Mar 30 '15 00:03 lahtis

Same problem in Ubuntu 14.04

chaaridev avatar Apr 08 '15 18:04 chaaridev

Same in Debian 3.2.65-1+deb7u2 x86_64 GNU/Linux.

SierraSue avatar Apr 12 '15 09:04 SierraSue

Same in Ubuntu Mate 14.04

gerardbekking avatar Apr 17 '15 15:04 gerardbekking

Same for me, linux Mint w/Cinnamon

gnegno avatar Apr 18 '15 17:04 gnegno

Same for me using ubuntu 14.10 / 15.04 beta.

glpm64 avatar Apr 20 '15 19:04 glpm64

Same in Linux mint 17 with cinnamon

rodrigogirao avatar Apr 23 '15 12:04 rodrigogirao

Same in 15.04

coyotte508 avatar Apr 27 '15 09:04 coyotte508

Same issue 14.04.2 LTS - Gnome3 chance@chance-Aspire-ES1-512:~/onedrive-d$ onedrive-pref --ui=gtk Traceback (most recent call last): File "/usr/local/bin/onedrive-pref", line 9, in load_entry_point('onedrive-d==1.1.0dev', 'console_scripts', 'onedrive-pref')() File "/usr/local/lib/python3.4/dist-packages/onedrive_d-1.1.0dev-py3.4.egg/onedrive_d/od_pref.py", line 26, in main File "/usr/local/lib/python3.4/dist-packages/onedrive_d-1.1.0dev-py3.4.egg/onedrive_d/od_pref_gtk.py", line 11, in init NotImplementedError: od_pref_gtk is not implemented yet.

echyzowski avatar May 06 '15 17:05 echyzowski

Same for me with Linux Mint 17 xfce. The CLI onedrive-pref works fine.

Traceback (most recent call last): File "/usr/local/bin/onedrive-pref", line 9, in load_entry_point('onedrive-d==1.1.0dev', 'console_scripts', 'onedrive-pref')() File "/usr/local/lib/python3.4/dist-packages/onedrive_d-1.1.0dev-py3.4.egg/onedrive_d/od_pref.py", line 26, in main File "/usr/local/lib/python3.4/dist-packages/onedrive_d-1.1.0dev-py3.4.egg/onedrive_d/od_pref_gtk.py", line 11, in init NotImplementedError: od_pref_gtk is not implemented yet.

et2010 avatar May 19 '15 09:05 et2010

Same for me ubuntu 15.04

jellespijker avatar May 22 '15 17:05 jellespijker

Same here linux mint 17.1 cinammon 64-bit

vaikan avatar May 23 '15 11:05 vaikan

same in Ubuntu 14.04

ctimmortal avatar May 26 '15 21:05 ctimmortal

Same here: Distributor ID: Ubuntu Description: Bodhi Linux Release: 14.10 Codename: utopic

But I think, it's because I don't have gtk installed ? :)

hoppushoppard avatar Jun 24 '15 16:06 hoppushoppard

Developer, ping?

tp0 avatar Jun 27 '15 18:06 tp0

No responses

Sent from Windows Mail

From: tp0 Sent: ‎Saturday‎, ‎June‎ ‎27‎, ‎2015 ‎11‎:‎19‎ ‎AM To: xybu/onedrive-d Cc: Ed Chyzowski

Developer, ping?

— Reply to this email directly or view it on GitHub.

echyzowski avatar Jun 27 '15 19:06 echyzowski

reviewing https://github.com/xybu/onedrive-d/blob/future/onedrive_d/od_pref_gtk.py it seems the gui/gtk version of the config tool simply isn't written yet, and the cli version should be used instead.

ewann avatar Jul 21 '15 00:07 ewann

Same Ubuntu 15.04

z3ntu avatar Sep 27 '15 09:09 z3ntu

Same Ubuntu 15.10

mrafaelbatista avatar Dec 25 '15 14:12 mrafaelbatista

It seems like the idea of using One Drive on Linux is just that a good idea, but the way things are now this is of no use to me.

GrouchyGaijin avatar Dec 25 '15 14:12 GrouchyGaijin

Same here. I'm on ElementaryOS Freya NotImplementedError: od_pref_gtk is not implemented yet.

kabeza avatar Feb 02 '16 12:02 kabeza

Same Xubuntu 14.04.

romulogcerqueira avatar Jul 13 '16 13:07 romulogcerqueira

same Ubuntu 15.10

ahmadhsalim avatar Oct 03 '16 08:10 ahmadhsalim

Same Manjaro 16

alikhil avatar Jan 16 '17 10:01 alikhil

The same here on Linux Mint 19 Cinnamon 64-bit!

  • My suggestion is to just run the command: ~$ onedrive-pref for configure command-line without GUI. or take a look here

Example ~$ onedrive-pref:

user@MintOS:~$ onedrive-pref
Loading configuration ... OK
[2018-09-05 19:10:11,755] DEBUG: thread_mgr: started.
Setting up onedrive-d...
(STEP 1/4) Do you want to authorize sign in with your OneDrive account? [Y/n] Y

You will need to visit the OneDrive sign-in page in a browser, 
log in and authorize onedrive-d, and then copy and paste the 
callback URL, which should start with 
"https://login.live.com/oauth20_desktop.srf".

The callback URL is the URL where the sign-in page finally goes blank.

Please visit the sign-in URL in your browser:
- copy and visit the URL that appears on this line

Please paste the callback URL:
- copy to reply URL and paste here and press enter

[2018-09-05 19:11:36,705] DEBUG: MainThread: config saved.
onedrive-d has been successfully authorized.

(STEP 2/4) Do you want to specify path to local OneDrive repository? [Y/n] Y
Please enter the abs path to sync with your OneDrive (default: /home/user/OneDrive):
- specify your local directory here to sync
[2018-09-05 19:14:02,422] DEBUG: MainThread: config saved.
Path successfully set.

(STEP 3/4) Do you want to change the numeric settings? [Y/n] Y                                                       
* How many seconds to wait for before retrying a network failure (current: 10)?
* Files larger than what size (in MiB) will be uploaded blocks by blocks? (current: 4.0)?
* When a file is uploaded blocks by blocks, what is the block size (in KiB)? (current: 1024000.0)?
[2018-09-05 19:17:09,174] DEBUG: MainThread: config saved.

(STEP 4/4) Do you want to edit the ignore list file? [Y/n] Y
Calling your default editor...

You have exited from the text editor.

roberto0arruda avatar Sep 06 '18 00:09 roberto0arruda

Old post but @roberto0arruda Thank you !!!!


for the callback URL:

  1. Go to the URL that the script gives you
  2. Connect
  3. Accept the connection
  4. Copy the URL of the blank page

LinkPhoenix avatar Nov 11 '19 12:11 LinkPhoenix