Any fix for the latest Dropbox?

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Any fix for the latest Dropbox?

Postby steveh » Oct 10th, '17, 01:14

Hi everyone,

I have a clean installation of mga6, and the latest dropbox from the repositories (33.4.23) doesn't work. Running "dropbox start" makes it start and then immediately core dump.

I've seen a few threads here and read through them but didn't see any solutions. I might have missed them, though?

If someone can point me in the direction to getting dropbox to work, I'd appreciate it. OR, if it just won't work on mageia6 for now, that's fine too, I'll stop trying.

thanks,

Steve
steveh
 
Posts: 32
Joined: Feb 16th, '14, 06:17

Re: Any fix for the latest Dropbox?

Postby doktor5000 » Oct 10th, '17, 09:36

There's not much to it, but I'd recommend taking dropbox directly from upstream. Currently running 35.4.20 here without issues. As regular user do:

Code: Select all
cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf -
~/.dropbox-dist/dropboxd &


That's also mentioned at https://www.dropbox.com/install
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Any fix for the latest Dropbox?

Postby steveh » Oct 11th, '17, 21:44

Thanks doktor5000, but that actually also didn't work.

Code: Select all
[steve@localhost ~]$ ~/.dropbox-dist/dropboxd
dropbox: locating interpreter                                                                                                                           
dropbox: logging to /tmp/dropbox-antifreeze-N1vV1X
dropbox: initializing
dropbox: running py 2.7.11
dropbox: setting program path '/home/steve/.dropbox-dist/dropbox-lnx.x86_64-36.4.22/dropbox'
dropbox: setting home path '/home/steve/.dropbox-dist/dropbox-lnx.x86_64-36.4.22'
dropbox: setting python path '/home/steve/.dropbox-dist/dropbox-lnx.x86_64-36.4.22:/home/steve/.dropbox-dist/dropbox-lnx.x86_64-36.4.22/python-packages-27.zip'
dropbox: python initialized
dropbox: running dropbox
dropbox: setting args
dropbox: applying overrides
dropbox: running script
dropbox: load fq extension '/home/steve/.dropbox-dist/dropbox-lnx.x86_64-36.4.22/cryptography.hazmat.bindings._constant_time.so'
dropbox: load fq extension '/home/steve/.dropbox-dist/dropbox-lnx.x86_64-36.4.22/cryptography.hazmat.bindings._openssl.so'
dropbox: load fq extension '/home/steve/.dropbox-dist/dropbox-lnx.x86_64-36.4.22/cryptography.hazmat.bindings._padding.so'
dropbox: load fq extension '/home/steve/.dropbox-dist/dropbox-lnx.x86_64-36.4.22/psutil._psutil_linux.so'
dropbox: load fq extension '/home/steve/.dropbox-dist/dropbox-lnx.x86_64-36.4.22/psutil._psutil_posix.so'
dropbox: load fq extension '/home/steve/.dropbox-dist/dropbox-lnx.x86_64-36.4.22/linuxffi.pthread._linuxffi_pthread.so'
dropbox: load fq extension '/home/steve/.dropbox-dist/dropbox-lnx.x86_64-36.4.22/tornado.speedups.so'
dropbox: load fq extension '/home/steve/.dropbox-dist/dropbox-lnx.x86_64-36.4.22/cpuid.compiled._cpuid.so'
dropbox: load fq extension '/home/steve/.dropbox-dist/dropbox-lnx.x86_64-36.4.22/linuxffi.resolv.compiled._linuxffi_resolv.so'
dropbox: load fq extension '/home/steve/.dropbox-dist/dropbox-lnx.x86_64-36.4.22/posixffi.libc._posixffi_libc.so'
dropbox: load fq extension '/home/steve/.dropbox-dist/dropbox-lnx.x86_64-36.4.22/librsyncffi.compiled._librsyncffi.so'
dropbox: load fq extension '/home/steve/.dropbox-dist/dropbox-lnx.x86_64-36.4.22/linuxffi.sys.compiled._linuxffi_sys.so'
dropbox: load fq extension '/home/steve/.dropbox-dist/dropbox-lnx.x86_64-36.4.22/PyQt5.QtWebKit.so'
dropbox: load fq extension '/home/steve/.dropbox-dist/dropbox-lnx.x86_64-36.4.22/PyQt5.QtCore.so'
dropbox: load fq extension '/home/steve/.dropbox-dist/dropbox-lnx.x86_64-36.4.22/PyQt5.QtNetwork.so'
dropbox: load fq extension '/home/steve/.dropbox-dist/dropbox-lnx.x86_64-36.4.22/PyQt5.QtGui.so'
dropbox: load fq extension '/home/steve/.dropbox-dist/dropbox-lnx.x86_64-36.4.22/PyQt5.QtWebKitWidgets.so'
dropbox: load fq extension '/home/steve/.dropbox-dist/dropbox-lnx.x86_64-36.4.22/PyQt5.QtWidgets.so'
dropbox: load fq extension '/home/steve/.dropbox-dist/dropbox-lnx.x86_64-36.4.22/PyQt5.QtPrintSupport.so'
dropbox: load fq extension '/home/steve/.dropbox-dist/dropbox-lnx.x86_64-36.4.22/dbus.mainloop.pyqt5.so'
Segmentation fault (core dumped)


It seems very sensitive to the versions of something, if yours is working and it's 35.4.20, but 33.4.23 (from the repos) and 36.4.22 don't work...
steveh
 
Posts: 32
Joined: Feb 16th, '14, 06:17

Re: Any fix for the latest Dropbox?

Postby Erik » Oct 16th, '17, 12:01

I got Dropbox working on Mageia 6 by removing all libQt5xxxxx.so files + libdrm.so file from /.dropbox-dist/dropbox-lnx.x86_64-36.4.22/. First I moved them to my temp directory, and when I saw that Dropbox worked, I deleted them definitively. You could try this too.

Greetings and success.

Erik
Erik
 
Posts: 154
Joined: Jun 18th, '12, 17:22

Re: Any fix for the latest Dropbox?

Postby steveh » Oct 18th, '17, 21:13

Hi Erik,

That worked! Thank you!

Now, is there any way to fit that into the .rpm that installs dropbox? So that it "just works"?
steveh
 
Posts: 32
Joined: Feb 16th, '14, 06:17

Re: Any fix for the latest Dropbox?

Postby doktor5000 » Oct 20th, '17, 00:44

No, because that also only uses the same installation that comes from dropbox upstream. Which installs to your home folder, where rpm should not have access to (and rightfully so).
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Any fix for the latest Dropbox?

Postby Erik » Oct 20th, '17, 13:30

Today Dropbox updated to version 37-4-29 and Dropbox quit immediately on my computer. I tried removing Qt libraries as I did before. With some removed I got Dropbox partially running and some caused a segmentation fault. I also got the following error:

(Qt:Fatal) Cannot mix incompatible Qt library (version 0x50501) with this library (version 0x50602)

I suspect the source of the problems is here. Should Mageia 6 update its Qt libraries? Or should it "downdate" its libraries?

Doktor5000 could you let your light shine on this?

Greetings,

Erik
Erik
 
Posts: 154
Joined: Jun 18th, '12, 17:22

Re: Any fix for the latest Dropbox?

Postby Erik » Oct 20th, '17, 14:09

Dear Doktor5000,

I do not know anymore what to think or suspect. I few minutes ago I started my Mageia installation on my SSD drive and saw Dropbox updated to version 29 and everything working beautifully. Both installations are clean installations on the same computer but on different hard drives, and both are fully updated.

I made another user on the same partition besides the one where Dropbox does not work, and this user could not start Dropbox either. So it is not because of local errors on the drive.

I am stumped.

Greetings,

Erik.
Erik
 
Posts: 154
Joined: Jun 18th, '12, 17:22

Re: Any fix for the latest Dropbox?

Postby doktor5000 » Oct 20th, '17, 22:52

Erik wrote:Doktor5000 could you let your light shine on this?

Well, as mentioned in another thread, if you want this to work you would need to take this upstream with dropbox.
But their response is pretty clear: Mageia is not on their list of supported distros. That's basically it.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Any fix for the latest Dropbox?

Postby Erik » Oct 21st, '17, 11:47

Thank you, Doktor,

I had hoped that the version difference I mentioned might tell us something. Perhaps on one computer I have missed an update, or an error occurred during the updates. Whatever.

Greetings,

Erik.
Erik
 
Posts: 154
Joined: Jun 18th, '12, 17:22

Re: Any fix for the latest Dropbox?

Postby Erik » Oct 22nd, '17, 16:14

Today I tried again to get Dropbox working on my main computer. I read on the Dropbox website looking for dependencies and required versions of them. I found that I missed the "libnotify" library. I tried again removing libraries where I suspected that a version conflict could exist, and found that I only needed to remove libdrm.so.2 from the dropbox-lnx.x86_64-37.4.29 directory.

Steveh, if you did not succeed in getting the newest version working, look if libnotify is installed and remove libdrm.so.2! :D

Greetings,

Erik.
Erik
 
Posts: 154
Joined: Jun 18th, '12, 17:22

Re: Any fix for the latest Dropbox?

Postby jiml8 » Oct 22nd, '17, 18:01

Erik wrote:Today I tried again to get Dropbox working on my main computer. I read on the Dropbox website looking for dependencies and required versions of them. I found that I missed the "libnotify" library. I tried again removing libraries where I suspected that a version conflict could exist, and found that I only needed to remove libdrm.so.2 from the dropbox-lnx.x86_64-37.4.29 directory.

Steveh, if you did not succeed in getting the newest version working, look if libnotify is installed and remove libdrm.so.2! :D

Greetings,

Erik.


Do you mean to say dropbox is providing precompiled shared libraries in its distribution??? :o

This is the Windows Way...and the old Windows Way at that. Shades of DLL Hell!

No wonder it doesn't work.

I would propose that you search the install directory and immediately remove any .so files that have corresponding entries in /usr/lib, /usr/lib64, /lib, or /lib64 (though the latter two are symlinked to the former two, or should be anyway). For safety, first rename them. Then, when you see for sure you don't need them, delete them.
jiml8
 
Posts: 1254
Joined: Jul 7th, '13, 18:09

Re: Any fix for the latest Dropbox?

Postby Erik » Oct 22nd, '17, 19:03

Dear jiml8,

Code: Select all
 would propose that you search the install directory and immediately remove any .so files that have corresponding entries in /usr/lib, /usr/lib64, /lib, or /lib64


this is what I did a few days ago. Since the update to version 29 the situation changed; also I got a new kind of error: version conflict. I could not get Dropbox functional at all on my main computer, because a dependency was missing now: libnotify. This was not the case before the Dropbox update. On another Mageia 6 installation this library was installed so that I could get Dropbox working. Or some other update of Mageia had solved a version or installation problem. I do still not exactly know. Having tried several hypotheses I am inclined to forget what exactly I have done. Senior moments ..... Being happy with my success I wanted to tell steveh, hoping that his problem will be solved too.

Greetings,

Erik.
Erik
 
Posts: 154
Joined: Jun 18th, '12, 17:22


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest