Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't login with dropbox-cli #31667

Closed
Gerschtli opened this issue Nov 14, 2017 · 7 comments
Closed

Can't login with dropbox-cli #31667

Gerschtli opened this issue Nov 14, 2017 · 7 comments

Comments

@Gerschtli
Copy link
Contributor

Gerschtli commented Nov 14, 2017

Issue description

I'm using DWM and I have the Dropbox Icon in my traybar. When I click on it to sign in, nothing happens. I have set the default browser, but the login page didn't appear.
After I installed dropbox ( nix-env -iA dropbox-cli ) with a version before a02123d , I could log in. After logging in, I can use the newest version of dropbox without any other issues beside an error message while executing dropbox start, see the following output:

Starting Dropbox...dropbox: locating interpreter
dropbox: logging to /tmp/dropbox-antifreeze-1J9tyb
dropbox: initializing
dropbox: running python 2.7.11
dropbox: setting program path '/home/tobias/.dropbox-dist/dropbox-lnx.x86_64-38.4.27/dropbox'
dropbox: setting home path '/home/tobias/.dropbox-dist/dropbox-lnx.x86_64-38.4.27'
dropbox: setting python path '/home/tobias/.dropbox-dist/dropbox-lnx.x86_64-38.4.27:/home/tobias/.dropbox-dist/dropbox-lnx.x86_64-38.4.27/python-packages-27.zip'
dropbox: python initialized
dropbox: running dropbox
dropbox: setting args
dropbox: applying overrides
dropbox: running main script
dropbox: load fq extension '/home/tobias/.dropbox-dist/dropbox-lnx.x86_64-38.4.27/cryptography.hazmat.bindings._constant_time.so'
dropbox: load fq extension '/home/tobias/.dropbox-dist/dropbox-lnx.x86_64-38.4.27/cryptography.hazmat.bindings._openssl.so'
dropbox: load fq extension '/home/tobias/.dropbox-dist/dropbox-lnx.x86_64-38.4.27/cryptography.hazmat.bindings._padding.so'
dropbox: load fq extension '/home/tobias/.dropbox-dist/dropbox-lnx.x86_64-38.4.27/psutil._psutil_linux.so'
dropbox: load fq extension '/home/tobias/.dropbox-dist/dropbox-lnx.x86_64-38.4.27/psutil._psutil_posix.so'
dropbox: load fq extension '/home/tobias/.dropbox-dist/dropbox-lnx.x86_64-38.4.27/linuxffi.pthread._linuxffi_pthread.so'
dropbox: load fq extension '/home/tobias/.dropbox-dist/dropbox-lnx.x86_64-38.4.27/tornado.speedups.so'
dropbox: load fq extension '/home/tobias/.dropbox-dist/dropbox-lnx.x86_64-38.4.27/cpuid.compiled._cpuid.so'
dropbox: load fq extension '/home/tobias/.dropbox-dist/dropbox-lnx.x86_64-38.4.27/linuxffi.resolv.compiled._linuxffi_resolv.so'
dropbox: load fq extension '/home/tobias/.dropbox-dist/dropbox-lnx.x86_64-38.4.27/posixffi.libc._posixffi_libc.so'
dropbox: load fq extension '/home/tobias/.dropbox-dist/dropbox-lnx.x86_64-38.4.27/librsyncffi.compiled._librsyncffi.so'
dropbox: load fq extension '/home/tobias/.dropbox-dist/dropbox-lnx.x86_64-38.4.27/linuxffi.sys.compiled._linuxffi_sys.so'
dropbox: load fq extension '/home/tobias/.dropbox-dist/dropbox-lnx.x86_64-38.4.27/PyQt5.QtWebKit.so'
dropbox: load fq extension '/home/tobias/.dropbox-dist/dropbox-lnx.x86_64-38.4.27/PyQt5.QtCore.so'
dropbox: load fq extension '/home/tobias/.dropbox-dist/dropbox-lnx.x86_64-38.4.27/PyQt5.QtNetwork.so'
dropbox: load fq extension '/home/tobias/.dropbox-dist/dropbox-lnx.x86_64-38.4.27/PyQt5.QtGui.so'
dropbox: load fq extension '/home/tobias/.dropbox-dist/dropbox-lnx.x86_64-38.4.27/PyQt5.QtWebKitWidgets.so'
dropbox: load fq extension '/home/tobias/.dropbox-dist/dropbox-lnx.x86_64-38.4.27/PyQt5.QtWidgets.so'
Dropbox isn't running!
Done!
dropbox: load fq extension '/home/tobias/.dropbox-dist/dropbox-lnx.x86_64-38.4.27/PyQt5.QtPrintSupport.so'
xkbcommon: ERROR: failed to add default include path /usr/share/X11/xkb
dropbox: load fq extension '/home/tobias/.dropbox-dist/dropbox-lnx.x86_64-38.4.27/PyQt5.QtDBus.so'

Steps to reproduce

Install dropbox-cli and try to login.

Technical details

  • system: "x86_64-linux"
  • host os: Linux 4.9.61, NixOS, 17.09.2055.c19136c4c9 (Hummingbird)
  • multi-user?: yes
  • sandbox: no
  • version: nix-env (Nix) 1.11.15
  • channels(root): "nixos-17.09.2055.c19136c4c9"
  • nixpkgs: /nix/var/nix/profiles/per-user/root/channels/nixos/nixpkgs
@ttuegel
Copy link
Member

ttuegel commented Nov 16, 2017

Does this work if you don't use dropbox-cli, but start Dropbox directly from dropbox?

@Gerschtli
Copy link
Contributor Author

Gerschtli commented Nov 16, 2017

No, that would not be possible, because there is no tray icon..
Therefore I would not be able to login, because that's not possible via cli

@ttuegel
Copy link
Member

ttuegel commented Nov 16, 2017

No, that would not be possible, because there is no tray icon..

There are two programs named dropbox, one provided by package dropbox-cli and one provided by package dropbox. The former does not work for me either. The latter does work: I get a tray icon and prompted to login. I'm asking, do you see the same thing? In other words, do I need to fix package dropbox-cli, or do I need to fix both packages dropbox and dropbox-cli?

@Gerschtli
Copy link
Contributor Author

Oh, I'm sorry. Both programs, dropbox and dropbox-cli lauch the tray icon, but they both don't let me login.

@ttuegel
Copy link
Member

ttuegel commented Nov 17, 2017

Silly question, but I assume you have tried left- and right-clicking the icon?

Have you deleted ~/.dropbox-dist? This is where Dropbox installs itself; clearing that directory can fix some problems related to stale installations.

@Gerschtli
Copy link
Contributor Author

On Right-click it openes always a menu but when I click on "Sign in" nothing happens. Everthing else is working fine.
Before installing/switching installations of dropbox I removed /tmp/dropbox-* and ~/.dropbox* just to be sure.

@ttuegel
Copy link
Member

ttuegel commented Nov 17, 2017

On Right-click it openes always a menu but when I click on "Sign in" nothing happens.

That's weird: here it does nothing if I right-click, but it opens a menu if I left-click...

By the way, this error:

xkbcommon: ERROR: failed to add default include path /usr/share/X11/xkb

is fixed in 18cc8d4. I don't think that has anything to do with your problem, though.

ttuegel added a commit that referenced this issue Nov 30, 2017
To sign in to dropbox, a browser must be available in the FHS env. We cannot
ensure that the user's browser of choice is available, so we provide Firefox as
a default.

Resolves: #31667
(cherry picked from commit 7dee7d6)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants