Bug 21328

Summary: dropbox servicemenu right-click items don't work: "Couldn't get public url: Unknown Error"
Product: Mageia Reporter: Rolf Pedersen <rolfpedersen>
Component: RPM PackagesAssignee: David GEIGER <geiger.david68210>
Status: RESOLVED OLD QA Contact:
Severity: normal    
Priority: Normal CC: ouaurelien
Version: 6   
Target Milestone: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Source RPM: dropbox-servicemenu-0.16.1-5.mga6.src.rpm CVE:
Status comment:

Description Rolf Pedersen 2017-07-23 19:53:05 CEST
[rolf@p8z68 gifs]$ rpm -qa | grep dropbox
python3-dropbox-3.41-1.mga6
python-dropbox-3.41-1.mga6
dropbox-servicemenu-0.16.1-5.mga6
dropbox-2015.10.28-1.mga6.nonfree

The right-click menu shows a Dropbox sub-menu but the items, e.g. "Generate public URL..." don't work.  This is under the Public folder, where this worked before, in MGA4, kde4.  The message copied to klipper is "Couldn't get public url: Unknown Error"

As well,

[rolf@p8z68 gifs]$ pwd
/home/rolf/Dropbox/Public/gifs
[rolf@p8z68 gifs]$ dropbox puburl banana.gif 
Couldn't get public url: Unknown Error
[rolf@p8z68 gifs]$

This is the case always, after various re-installs of programs.  I wrote about some investigation I tried here: https://forums.mageia.org/en/viewtopic.php?p=69034#p69034

For one thing,

[rolf@p8z68 gifs]$ rpm -qf `which get_dropbox_folder.sh`
dropbox-servicemenu-0.16.1-5.mga6

and, in that script, which returns the following fatal error when run from CLI, there is:

# which database have we got?
  if [ -f "$HOME/.dropbox/config.db" ]
  then
    local DBFILE="$HOME/.dropbox/config.db"
    local DBVER=$( "$SQLITE3" "$DBFILE" 'SELECT value FROM config WHERE key="config_schema_version"' )
  elif [ -f "$HOME/.dropbox/dropbox.db" ]
  then
    local DBFILE="$HOME/.dropbox/dropbox.db"
    local DBVER=0
  else
    fatal "Dropbox database not found, is dropbox installed?"

but there is an intervening directory in the current dropbox:

    [rolf@p8z68 .dropbox]$ find . -name config.db
    ./instance1/config.db

more verbiage at the linked forum thread.
Rémi Verschelde 2017-07-24 14:49:45 CEST

Assignee: bugsquad => geiger.david68210

Comment 1 Aurelien Oudelet 2020-08-05 14:24:00 CEST
This message is a reminder that Mageia 6 is end of life.

Mageia stopped maintaining and issuing updates for Mageia 6. At that time this bug will be closed as OLD (EOL).

Package Maintainer: If you wish for this bug to remain open because you plan to 
fix it in a currently maintained version, simply change the 'version' to a later 
Mageia version prior to Mageia 6's end of life.

Bug Reporter: Thank you for reporting this issue and we are sorry that we cannot 
be able to fix it before Mageia 6 was end of life.
If you would still like to see this bug fixed and are able to reproduce it against a later version of Mageia, you are encouraged to click on "Version" and change it against that version of Mageia.

Although we aim to fix as many bugs as possible during every release's lifetime, 
sometimes those efforts are overtaken by events. Often a more recent Mageia 
release includes newer upstream software that fixes bugs or makes them obsolete.

--
Mageia Bugsquad

Status: NEW => RESOLVED
CC: (none) => ouaurelien
Resolution: (none) => OLD