dropbox downloads but will not run on 12.04
dropbox was running fine until last week, icon on top bar disappeared!
tried all i could think of, resorted to reinstalling 12.04, even upgraded to 14.04, and back to 12.04!
downloaded 32bit version via terminal, run instruction "~/dropbox-
"Value error: cannot convert float NaN to integer"
any simple answer for simpleton?
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- Ubuntu Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Related FAQ:
None Link to a FAQ
Revision history for this message
![]() |
#1 |
What is the output of:
lsb_release -a; uname -a; dpkg -l | grep dropbox; ps -ef | grep -i dropbox
Thanks
Revision history for this message
![]() |
#3 |
just re downloading again, as pc off since last download?
then try your instruction again!
Revision history for this message
![]() |
#4 |
now says
No LSB modules are available
Revision history for this message
![]() |
#5 |
Copy the command as one and run it. It's why I give the exact command.
Revision history for this message
![]() |
#6 |
copied and pasted
lsb_release -a; uname -a; dpkg -l | grep dropbox; ps -ef | grep -i dropbox
result
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 12.04.5 LTS
Release: 12.04
Codename: precise
Linux davidwhales 3.2.0-74-generic #109-Ubuntu SMP Tue Dec 9 16:47:54 UTC 2014 i686 athlon i386 GNU/Linux
1000 3211 3057 0 12:29 pts/1 00:00:00 grep --color=auto -i dropbox
Revision history for this message
![]() |
#7 |
Then run:
sudo apt-get --reinstall install nautilus-dropbox
Revision history for this message
![]() |
#8 |
now says
Downloading Dropbox... 100%
Revision history for this message
![]() |
#9 |
appears in application menu, but requires super user authentication, normal password has no result.
attempting to remove programme to attempt reinsatall, but fails to complete uninstall, fully blued out but just sits there, reboot, and again same result!
do i reinstall system again to correct problem?
Revision history for this message
![]() |
#10 |
You need to download dropbox from their website, the one in the repos is a disaster
sudo apt-get purge nautilus-dropbox
And press CTRL+c before downloading reaches 100%
then go to the website and download the version that works
Revision history for this message
![]() |
#11 |
thanks jeremy, result back to square 1, see copy of terminal below:-
Connecting to dl.dropboxuserc
HTTP request sent, awaiting response... 200 OK
Length: 56571054 (54M) [application/
Saving to: `STDOUT'
100%[==
2014-12-21 08:34:16 (378 KB/s) - written to stdout [56571054/56571054]
davidwhales@
Traceback (most recent call last):
File "dropbox/
File "dropbox/
File "dropbox/
ValueError: cannot convert float NaN to integer
Traceback (most recent call last):
File "dropbox/
File "dropbox/
File "dropbox/
ValueError: cannot convert float NaN to integer
Aborted (core dumped)
Revision history for this message
![]() |
#12 |
Have you tried downloading the deb file by clicking on the 32bit or 64bit next to Ubuntu on the page rather than using terminal?
If you have gdebi installed, you can install by double clicking on the downloaded file and it must have been how I installed it as my terminal history shows no results of ~/.dropbox-
Revision history for this message
![]() |
#13 |
I have, but opens up in App Store, normal install uninstall button via App Store, still Not access able, requiring super saver password if started from menu!
Revision history for this message
![]() |
#14 |
If it was downloaded to Downloads folder, try the following in terminal
cd Downloads
sudo dpkg -i dropbox_
Revision history for this message
![]() |
#15 |
information box
dropbox start required
start dropbox to finish installation button
or
close button
next step?
Revision history for this message
![]() |
#16 |
Search programs for dropbox and run using graphical interface
Revision history for this message
![]() |
#17 |
tried launching from applications menu & applications finder, nothing happens!
sorry, don't know what graphical interface is?
Revision history for this message
![]() |
#18 |
When you launched it from applications menu, you should have had a pop up window appear requesting login info for drop box
Graphical interface is gnome/unity/
Did you have any nautilus/file manager windows open when trying from applications menu?
Revision history for this message
![]() |
#19 |
no login popped up, the terminal and browser (Firefox), were only things open.
Revision history for this message
![]() |
#20 |
I am out of new ideas, but did it add a dropbox folder inside your home folder?
Revision history for this message
![]() |
#21 |
The error message "Value error: cannot convert float NaN to integer" was also showing up for certain other programs some years ago, and was caused by a combination of certain weaknesses (one of the prerequisites was prerequisites "mmx" but not "sse2" capability of the CPU).
Just to check whether your problem might be induced by the same root cause, please execute the following commands (based on https:/
cd ~
grep flags /proc/cpuinfo
wget https:/
python curl.py
rm curl.py
What is the output?
Revision history for this message
![]() |
#22 |
probably made a mess of it, but result:-
davidwhales@
davidwhales@
flags : fpu vme de pse tsc msr pae mce cx8 mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mp mmxext 3dnowext 3dnow up
davidwhales@
wget: missing URL
Usage: wget [OPTION]... [URL]...
Try `wget --help' for more options.
davidwhales@
python: can't open file 'curl.py': [Errno 2] No such file or directory
davidwhales@
rm: cannot remove `curl.pywget': No such file or directory
davidwhales@
wgetpython: command not found
davidwhales@
rm: cannot remove `curl.py': No such file or directory
davidwhales@
davidwhales@
flags : fpu vme de pse tsc msr pae mce cx8 mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mp mmxext 3dnowext 3dnow up
davidwhales@
--2014-12-22 11:47:56-- https:/
Resolving bugs.launchpad.net (bugs.launchpad
Connecting to bugs.launchpad.net (bugs.launchpad
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https:/
--2014-12-22 11:47:56-- https:/
Resolving launchpadlibrar
Connecting to launchpadlibrar
HTTP request sent, awaiting response... 200 OK
Length: 241 [text/x-python]
Saving to: `curl.py'
100%[==
2014-12-22 11:47:57 (1.36 MB/s) - `curl.py' saved [241/241]
davidwhales@
Object: <lp.services.
before: 0.5 0.5
after: nan 0.5
davidwhales@
Revision history for this message
![]() |
#23 |
It really seems to be another occurrence of bug #1063350
What is the output of the following terminal command
grep -5 curl.close ~/.dropbox-
Revision history for this message
![]() |
#24 |
very little:-
davidwhales@
davidwhales@
davidwhales@
davidwhales@
davidwhales@
Revision history for this message
![]() |
#25 |
Maybe good news and bad news.
Your output of the test script
before: 0.5 0.5
after: nan 0.5
and the CPU flags strongly point towards bug #1063350
Good news, is that there is a workaround existing. Putting a simple line "dummy = 1.0/2" into the python code would be enough to reset the registers, that the program can successfully continue.
Bad news is that I do not know where to put that in your case. In the original bug the right position in the python source was just after curl.close(), but it seems that is no such instruction in the dropbox python source. So the floating point problem must be caused by some other instruction. No clue which one.
If you start ~/.dropbox-
Revision history for this message
![]() |
#26 |
Did you try renaming the Dropbox filders in $HOME then launch the application? Don't rename $HOME/Dropbox
Revision history for this message
![]() |
#27 |
If you start ~/.dropbox-
as below:-
davidwhales@
Traceback (most recent call last):
File "dropbox/
File "dropbox/
File "dropbox/
ValueError: cannot convert float NaN to integer
Traceback (most recent call last):
File "dropbox/
File "dropbox/
File "dropbox/
ValueError: cannot convert float NaN to integer
Aborted (core dumped)
davidwhales@
Revision history for this message
![]() |
#28 |
try renaming the Dropbox filders in $HOME then launch the application? Don't rename $HOME/Dropbox:-
result:-
davidwhales@
bash: /home/davidwhales: Is a directory
davidwhales@
HOME: command not found
davidwhales@
Revision history for this message
![]() |
#29 |
What is the output of the terminal commands
sudo updatedb
locate callbacks.py
locate high_trace.py
Revision history for this message
![]() |
#30 |
davidwhales@
[sudo] password for davidwhales:
davidwhales@
davidwhales@
davidwhales@
davidwhales@
Revision history for this message
![]() |
#31 |
That is unexpected. From your error traceback I expected these files to exist.
What is the output of
locate callback
locate high_trace
locate run_handlers
Revision history for this message
![]() |
#32 |
davidwhales@
/usr/include/
/usr/include/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/share/
/usr/src/
/usr/src/
/usr/src/
/usr/src/
davidwhales@
davidwhales@
davidwhales@
Revision history for this message
![]() |
#33 |
Sorry to say, but I am running out of ideas.
I am quite sure that I have identified bug #1063350 as the root cause of your problem, but I do not know how to solve it.
Revision history for this message
![]() |
#34 |
thanks for trying manfred, appreciated!
probably have to resort to windows8.1 for dropbox, shame as xubuntu has been good for ages.
Revision history for this message
![]() |
#35 |
I have the same error since a 1-2 weeks. I am running ARCH linux on a very old hardware. That is Athlon XP 32bit.
proc/cpuinfo reports the following flags on my cpu:
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mmxext 3dnowext 3dnow vmmcall
Manfred suggested a cause with "no SSE2 support" on the CPU. That, I believe is my problem here. "v2.10" works flawlessly, so there is a workaround for me. However, it is a bit disappointing that this old beast can no more run latest dropbox client.
By the way, I am well aware that this is the Ubuntu forum and I am using Arch. But I just wanted to present my case which in turn may lead to a fix for one or both distros.
Revision history for this message
![]() |
#36 |
Ubuntu 12.04 works on non PAE CPUs. You need to use the mini ISO to install it.
Can you help with this problem?
Provide an answer of your own, or ask david whales for more information if necessary.