Puppy Linux Discussion Forum Forum Index Puppy Linux Discussion Forum
Puppy HOME page : puppylinux.com
"THE" alternative forum : puppylinux.info
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

The time now is Sat 16 Nov 2019, 18:22
All times are UTC - 4
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
Dropbox Filemanager
Post new topic   Reply to topic View previous topic :: View next topic
Page 7 of 8 [116 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8 Next
Author Message
mikeb


Joined: 23 Nov 2006
Posts: 11281

PostPosted: Sat 23 Dec 2017, 14:31    Post subject:  

Quote:
Installed the 0.3.2 pet and icons, share url, names w/ spaces all working fine. Thanks again Mike!

Thank you Smile

Fred reminded me about some script changes that solve the share link problem.... hopefully I will merge the fix and post another pet.... I do aim to make something that does not need altering so much but a lot of feedback does help refine the software Smile

Mike
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 11281

PostPosted: Sun 24 Dec 2017, 17:15    Post subject:  

Ok 0.3.3 uploaded.

Called it BETA as there have been several changes but if it proves ok will keep as is.

Mainly due to merging fred's improvements and fixes...see first post for details.

Enjoy

mike
Back to top
View user's profile Send private message 
mfb

Joined: 22 Mar 2016
Posts: 90

PostPosted: Wed 03 Jan 2018, 11:27    Post subject:  

Hi mikeb,

Version 0.3.3 works very well here and it's a pleasure to use it.

Thank you.
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 11281

PostPosted: Wed 03 Jan 2018, 12:53    Post subject:  

Pleasures all mine Smile

Thanks for the feedback.

I also find at the moment the web interface with firefox looks like it will download files but nothing appears on disk....... my motivation was the ever changing state of their online access and the system demands and limited flexibility of their application. I hate constantly moved goalposts....

Mike
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 11281

PostPosted: Wed 17 Jan 2018, 15:19    Post subject:  

Update 0.4.0.
Ok Fred discovered that gtkdialog 4 has multiple file select option so this releases uses that. If only gtkdialog3 is available then it simply ignores the option. I did build gtkdialog4 to work on puppy 4. Have left the yad variant too.

It does keep everything simple this way...honest.

mike
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4158
Location: holland

PostPosted: Sat 16 Mar 2019, 04:19    Post subject:  

Hi mikeb and everyone,

Dropbox-gui still works for anyone ?
Maybe it has to do with the OS I'm using, but recently it stopped working for me, so searched for a fix and found this commit:
https://github.com/andreafabrizi/Dropbox-Uploader/commit/a3df7276b9138d7ab1c86c0905f8261d42a617c3

I manually edited dropbox_uploader.sh according to these changes and now for me it works again Smile
See attached, unpack and replace dropbox_uploader.sh in /usr/bin

EDIT: After some further testing it appears that dropbox-gui works well in older puppies, e.g. Tahr or Xenial, but for newer puppies e.g. Stretch, Bionic, replacing dropbox_uploader.sh with the one attached is required.

Fred
dropbox_uploader.sh.tar.gz
Description  unpack and replace dropbox_uploader.sh in /usr/bin
gz

 Download 
Filename  dropbox_uploader.sh.tar.gz 
Filesize  10.55 KB 
Downloaded  126 Time(s) 

_________________
Dog Linux website
Tinylinux blog by wiak

Last edited by fredx181 on Sat 16 Mar 2019, 12:26; edited 1 time in total
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 11281

PostPosted: Sat 16 Mar 2019, 06:27    Post subject:  

Hmm I did use it two days ago to upload a bunch of files.
Though the multiple select did not work (spaces in names??? one I will look into) I did upload with another method.
Thanks for chasing this up...I suspect it may affect certain files since dropbox have changed their methods a few times now.

cheers

Mike
Back to top
View user's profile Send private message 
Semme


Joined: 07 Aug 2011
Posts: 8021
Location: World_Hub

PostPosted: Sat 16 Mar 2019, 08:38    Post subject:  

Fred, I'm having a small issue with the updated script.

With the app open, hitting either "New Profile" or "Rescan" generates this response:
Code:
/usr/bin/dropbox_uploader.sh: line 1105:
Error: Couldn't resolve host.: No such file or directory

_________________
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4158
Location: holland

PostPosted: Sat 16 Mar 2019, 09:36    Post subject:  

@mikeb

After testing on several puppies it appears to me that the problem (no display of remote files and folders) is only on newer puppies, e.g. Stretch, Bionic.
On e.g. Tahr it works ok.
And replacing with new dropbox_uploader.sh works for me on both old and new puppies.
Don't know what's the cause, maybe because of different curl version or that combined with changes they made for Dropbox itself.

@Semme, I cannot reproduce that error, on which Puppy you tested ?
And does the old one work OK for you ?

Fred

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
Semme


Joined: 07 Aug 2011
Posts: 8021
Location: World_Hub

PostPosted: Sat 16 Mar 2019, 09:38    Post subject:  

Xenial 7.5/32b, Fred. Haven't used it recently but it worked fine a few months back.
_________________
>>> Living with the immediacy of death helps you sort out your priorities. It helps you live a life less trivial <<<
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4158
Location: holland

PostPosted: Sat 16 Mar 2019, 12:02    Post subject:  

Semme wrote:
Xenial 7.5/32b, Fred. Haven't used it recently but it worked fine a few months back.


Thanks Semme, I tried on Xenial 7.5 by installing the pet from mikeb and it works ok without replacing dropbox_uploader.sh with the one I updated.
So it looks to me that on any newer Puppy version than Xenial, dropbox-gui doesn't work, but can be fixed with the above attached dropbox_uploader.sh
(btw, on Xenial 7.5, tried replacing dropbox_uploader.sh with the newer and still works ok, so... strange that you got that error you mentioned above)

@mikeb, this should support filenames with spaces:
Code:
 add_selection () {
   [ ! -f "$HOME/.dropbox_uploader-$PROFILE" ]&& return
   [ $BUTTON = 3 -a ! -h "$DIR/$CHOOSER" ]|| return #symlinks upset uploader...folders now handled...

      [ ! "$CHOOSER" ]&& return #otherwise loads folder!
#      rxvt -rv --geometry 80x10 -e dropbox_uploader.sh -k -p -f ~/.dropbox_uploader-"$PROFILE" upload $(while read -r line; do echo $DIR/$line; done <<< "$CHOOSER") "$REMOTE_DIR"

# fredx181, handle spaces in filenames
   in_term2 () {
      while read -r I; do
      dropbox_uploader.sh -k -p -f ~/.dropbox_uploader-"$PROFILE" upload "$DIR/$I" "$REMOTE_DIR/$I"
      done <<< "$CHOOSER"
      sleep 2
      }
   export -f in_term2
   rxvt -rv -geometry 80x10 -e bash -c in_term2
         build_remote_list
}


Fred

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
Semme


Joined: 07 Aug 2011
Posts: 8021
Location: World_Hub

PostPosted: Sat 16 Mar 2019, 13:33    Post subject:    

All good Fred. Your updated script works a treat.

I did however have to clean out a few stale profile related items in ~/ before she synced.

I'm certain this was the hold-up.

==

Cool Great (dev) method, Mike. Thank you for providing this pkg.
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 11281

PostPosted: Sat 16 Mar 2019, 15:23    Post subject:  

Ah great fred. I will diff the new script and as you believe its probably curl.
And also thanks for the multiple file fix....I always get caught out with spaces in names Embarassed

I will add these fixes and upload a new version when I get the chance.

Nice detective work,

mike

Last edited by mikeb on Mon 18 Mar 2019, 05:50; edited 1 time in total
Back to top
View user's profile Send private message 
fredx181


Joined: 11 Dec 2013
Posts: 4158
Location: holland

PostPosted: Sat 16 Mar 2019, 16:16    Post subject:  

mikeb wrote:
Ah great fred. I will diff the new script and like you its probably curl.
And also thanks for the multiple file fix....I always get caught out with spaces in names Embarassed

I will add these fixes and upload a new version when I get the change.

Nice detective work,

mike


Glad to help Mike !
As a coincidence my Google-drive Filemanager program stopped working also, was able to fix it (but wasn't so easy Wink )
http://murga-linux.com/puppy/viewtopic.php?p=1022085#1022085

Best regards, Fred

_________________
Dog Linux website
Tinylinux blog by wiak
Back to top
View user's profile Send private message 
mikeb


Joined: 23 Nov 2006
Posts: 11281

PostPosted: Mon 18 Mar 2019, 10:53    Post subject:  

Yes both fixes work just fine. Looks like a newer system affects the response file as that is the only change.
Shame to have to use such a clunky way to build the command line but as you must have found a simpler way is not possible.

Cheers

mike
Back to top
View user's profile Send private message 
Display posts from previous:   Sort by:   
Page 7 of 8 [116 Posts]   Goto page: Previous 1, 2, 3, 4, 5, 6, 7, 8 Next
Post new topic   Reply to topic View previous topic :: View next topic
 Forum index » Advanced Topics » Additional Software (PETs, n' stuff) » Browsers and Internet
Jump to:  

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group
[ Time: 0.0596s ][ Queries: 12 (0.0136s) ][ GZIP on ]