cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Whether you are transferring a single drive, a team or an entire organization, Movebot's cloud migration tool has been built to make your Dropbox migration simple - learn all about it here.

Dropbox installs & integrations

Connect your tools and content together with help from the Dropbox Community. Join a discussion or post a question of your own to get started.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Dropbox issue in Ubuntu 18.04

Dropbox issue in Ubuntu 18.04

Jalal007
New member | Level 2

I updated my OS to  Ubuntu 18.04 (from 16.04).

When I run dropbox, I have this message:

  • File "/usr/bin/dropbox", line 232
    except OSError, e:
    ^
    SyntaxError: invalid syntax

I deleted Dropbox and install it again, but the issue still persists. any one have some help? Thanks!

1 Accepted Solution

Accepted Solutions

Re: Dropbox issue in Ubuntu 18.04

Walter
Dropboxer

Thanks for the screenshot @Jalal007 - most appreciated.

Sorry if this sounds a bit off, yet, what version of python are you using? 

The error you get may be due to a recent update of your python from python2 to python3. To try and get rid of of this problem you can follow the below steps: 

  1. Open cd /usr/bin/dropbox file and in the edit mode.
  2. Change the first line from #!/usr/bin/python to #!/usr/bin/python2
  3. Restart Dropbox. 

Let me know how this goes! 


Walter
Community Moderator @ Dropbox
dropbox.com/support


Heart Did this post help you? If so, please give it a Like below.
:arrows_counterclockwise: Still stuck? Ask me a question!
:pushpin: Tips & Tricks Find new ways to stay in flow or share your tips on how you work smarter with Dropbox.

View solution in original post

4 Replies 4

Re: Dropbox issue in Ubuntu 18.04

Walter
Dropboxer

Hey there @Jalal007 - sorry to hear that. Would you mind sharing a screenshot of the full error message you get and also make sure you're meeting all of our minimum requirements

Also, as you said you've already tried to re-install and this persists, note that you could try an advanced re-install as well.

In any case, keep me posted on your progress Jalal! 


Walter
Community Moderator @ Dropbox
dropbox.com/support


Heart Did this post help you? If so, please give it a Like below.
:arrows_counterclockwise: Still stuck? Ask me a question!
:pushpin: Tips & Tricks Find new ways to stay in flow or share your tips on how you work smarter with Dropbox.

Re: Dropbox issue in Ubuntu 18.04

Jalal007
New member | Level 2

Please find the issue's screenshot.

I'am using Ubuntu 18.04 with Unity 7 desktop.

Screenshot from 2018-11-23 12-05-13.png

Re: Dropbox issue in Ubuntu 18.04

Walter
Dropboxer

Thanks for the screenshot @Jalal007 - most appreciated.

Sorry if this sounds a bit off, yet, what version of python are you using? 

The error you get may be due to a recent update of your python from python2 to python3. To try and get rid of of this problem you can follow the below steps: 

  1. Open cd /usr/bin/dropbox file and in the edit mode.
  2. Change the first line from #!/usr/bin/python to #!/usr/bin/python2
  3. Restart Dropbox. 

Let me know how this goes! 


Walter
Community Moderator @ Dropbox
dropbox.com/support


Heart Did this post help you? If so, please give it a Like below.
:arrows_counterclockwise: Still stuck? Ask me a question!
:pushpin: Tips & Tricks Find new ways to stay in flow or share your tips on how you work smarter with Dropbox.

Re: Dropbox issue in Ubuntu 18.04

Jalal007
New member | Level 2

Thank you. I works.

I understund now. My default python after upgrading now is python3.

Bests.

Who's talking

Top contributors to this post

  • User avatar
    Jalal007 New member | Level 2
  • User avatar
    Walter Dropboxer
What do Dropbox user levels mean?
Need more support?