Bug 10023

Summary: Kfilebox show bad error message, and bad tray information message
Product: Mageia Reporter: Morgan Leijström <fri>
Component: RPM PackagesAssignee: Sander Lepik <mageia>
Status: RESOLVED OLD QA Contact:
Severity: normal    
Priority: Normal CC: mageia, neue_chance
Version: 3Keywords: Triaged
Target Milestone: ---   
Hardware: i586   
OS: Linux   
URL: https://github.com/gtgt/kfilebox
Whiteboard:
Source RPM: kfilebox-0.4.9-2.mga3.src.rpm CVE:
Status comment:

Description Morgan Leijström 2013-05-08 11:46:03 CEST
Description of problem:
Running kfilebox (first time) it after downloading dropbix shows a dialog wether to run gtk based installer or just link account.



Version-Release number of selected component (if applicable): kfilebox-0.4.9-2.mga3

How reproducible:
Well, running it again, nothing at all happens, no output in terminal either, it just quits.
I will log out/in later and try, and choose the gtk installer, soon, must work now...


Steps to Reproduce:
1. Fresh (network) install 3RC update today, install kfilebox
2. Run kfilebox, it downloads dropbox, then asks if run gtk based installer or just link account.  I chosed Link account, and it then displays a dialog containing:

Kunde inte köra angivet kommando. Filen eller katalogen file:///home/morgan/This%2520client%2520is%2520not%2520linked%2520to%2520any%2520account...%250Ahttps:/www.dropbox.com/cli_link%3Fhost_id=8776768fdfe2fd56ea54de651d09b4b1%250A existerar inte.

Translated: "Could not run stated command. The file or folder file:"
(blabla...) "do not exist."

3. KDE system tray information popup say about every minute "Please visit url to link this machine."  where "url" is blue and underlined, but nothing happens when clicking it.


Reproducible: 

Steps to Reproduce:
Comment 1 Morgan Leijström 2013-05-08 11:49:05 CEST
BTW, that dialog mantionned first above, could be much better with some text telling what "installation" means. (kfilebox as package is installed obviously)

I guess it should ask wether dropbox and kfilebox should be configured to start every login?
Comment 2 Sander Lepik 2013-05-08 11:56:42 CEST
(In reply to Morgan Leijström from comment #0)
> 3. KDE system tray information popup say about every minute "Please visit
> url to link this machine."  where "url" is blue and underlined, but nothing
> happens when clicking it.

Can you copy this url and enter into browser? Kfilebox is kinda unmaintained and I'm thinking about dropping it in Mageia 4.

CC: (none) => sander.lepik

Comment 3 Morgan Leijström 2013-05-09 11:35:30 CEST
Thank you for the quick reply, Sander :)
Copying that "url" link in KDE system tray message only copies "url".

Running kfilebox again, it quietly exits immediately.
Even if I ununstall, log out/in, reinstall.
I deleted the in user home hidden folders .dropbox and .dropbox-dist .
Then kfilebox started like first time.

This time i selected to run "the gtk-based installer"
And everything seem OK :)
I will report back if i see problems.

 ( Of course, i could probably instead of re-running kfilebox have configured dropbox directly by command line, but i wanted to find a method for people who prefer GUI. )


I think this is the simplest alternative for installing and using Dropbox on KDE
so i suggest to keep it as long as it works (even with this quirk), or we find better alternative.

Maybe add in the package description and/or post install message that to install and configure dropbox, run kfilebox and choose "gtk based installer"



I suggest to keep this bug open so it is easier found by other who experience the same problem, and find the workaround described in this post.
Comment 4 Morgan Leijström 2013-05-09 16:47:21 CEST
Now i realise i do not have the kfilebox icon in system tray, but i have the dropbox icon.  On Mga2 i had both...
I actually prefer the dropbox icon anyways, as it tells the version...

Anyhow: kfilebox installs and configures dropbox nicely.
Comment 5 Morgan Leijström 2013-05-12 02:30:06 CEST
Well, i found Kfilebox really is in system tray, i just have to click the triangle(show hidden icons) (or set it to always show)....

But it is not fully working: neither "Open dropbox folder" nor "Recently changed files" work.

The dropbox icon works very well including these and opens then in Dolphin - great :)
Comment 6 Morgan Leijström 2013-05-13 00:12:18 CEST
I just want to add a tip for any Dropbox user who read here:
To get right-click context menu in Dolphin, install it separately, see:
https://wiki.mageia.org/en/Dropbox
Manuel Hiebel 2013-05-28 21:51:33 CEST

Keywords: (none) => Triaged
Version: Cauldron => 3
Assignee: bugsquad => sander.lepik

Comment 7 Morgan Leijström 2013-12-18 11:18:35 CET
Making a fresh install mga4b2 and using an old home, then installing kfilebox make it immediately start and work.  I now have both kfilebox and dropbox icons.

Thank you for maintaining Kfilebox! :)
Comment 8 Morgan Leijström 2014-02-15 13:36:59 CET
mga4 KDE X86_64, new user

Running kfilebox have it download kfilebox and then i selected to run the gtk based installer.  Nothing visually happened but the dialog disappeared.

The folders ~/.dropbox and ~/.dropbox-dist exist, and kfilebox icon lives in system tray, and clicking it i see in the pop-up menu "Dropbox daemon isnt running"

If i in that menu select "Start Dropbox" the native dropbox icon shows up for a second in system tray, then vanishes.  And still it shows "Dropbox daemon isnt running".  In the menu selecting preferences-account there is no account information, and no way to enter it.

In terminal executing ~/.dropbox-dist/dropboxd i get segmentation fault.

.... pondering ....

Aha, in the kfilebox systemtray icon click to popup menu->preferences->account there is at bottom a field for "Dropbox folder location".  I had created ~/Dropbox as i think that used to be enough, but you also have to specify it here.

Then magically dropbox started, and KDE system tray info popup started spamming "Please visit _url_ to link this machine"

And the url works.

-------------------------------------------------

BASICALLY IT BOILS DOWN TO:

* dropboxd need to know what folder to share or else it segfaults *

Fix: After running kfilebox, find it in the system tray, and click it to popup menu, ->preferences->account there is at bottom a field for "Dropbox folder location", fill it in.

Minor imperfection: kfilebox icon do not seem to update icon (working/done/error...), but it reports correctly when i hover mouse on it.
Comment 9 Sander Lepik 2014-02-15 14:02:43 CET
The bug is actually much more worse and seems to be KDE related. Not sure if the problem is in KDE or in dropbox. If you run dropbox under other DEs it will work. The native gtk icon makes dropbox segaulft. You can hide it in kfilebox settings and after that dropbox runs fine. But as soon as you start it with gtk icon and try to open preferences dialog from native icon it will crash again. Sadly I have no idea how to fix it. The workaround so long is to configure it under some other DE and run it in KDE through kfilebox (by hiding native icon).
Comment 10 Morgan Leijström 2014-02-15 14:10:11 CET
Well... it actually works for me currently on mga4 x86_64 KDE, syncs files up and down, and very high speed over LAN too :)
Comment 11 Frank Schneider 2014-10-03 11:41:13 CEST
The actual version is kfilebox 0.4.10. Is it possible to rebuild the mga-packages in cauldron?

URL: (none) => https://github.com/gtgt/kfilebox
CC: (none) => neue_chance

Comment 12 Marja Van Waes 2015-03-31 16:03:32 CEST
Mageia 3 changed to end-of-life (EOL) status 4 months ago.
http://blog.mageia.org/en/2014/11/26/lets-say-goodbye-to-mageia-3/ 

Mageia 3 is no longer maintained, which means that it will not receive any further security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of Mageia
please feel free to click on "Version" change it against that version of Mageia
and reopen this bug.

Thank you for reporting this bug and we are sorry it could not be fixed.

--
The Mageia Bugsquad

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