@frealgagu Working perfectly. Thanks a lot!
Search Criteria
Package Details: dropbox-cli 2020.03.04-6
Package Actions
Git Clone URL: | https://aur.archlinux.org/dropbox-cli.git (read-only, click to copy) |
---|---|
Package Base: | dropbox-cli |
Description: | Command line interface for Dropbox |
Upstream URL: | http://www.dropbox.com |
Licenses: | GPL |
Submitter: | msquared |
Maintainer: | frealgagu |
Last Packager: | frealgagu |
Votes: | 472 |
Popularity: | 0.74 |
First Submitted: | 2010-02-04 14:03 (UTC) |
Last Updated: | 2022-08-05 00:52 (UTC) |
Latest Comments
Liquen commented on 2021-06-17 17:50 (UTC)
frealgagu commented on 2021-06-17 17:46 (UTC)
@Liquen @FrederickZh @thiagowfx @cfr42 I've included the suggested patch for this new release, please let me know if that works as expected.
Liquen commented on 2021-02-17 19:14 (UTC)
@frealgagu Any chance of considering FrederickZh's patch?
frealgagu commented on 2020-12-05 22:37 (UTC)
I maintain the latest built package at:
https://github.com/frealgagu/archlinux.dropbox-cli/releases/
tyrannis.hawk commented on 2020-11-25 07:30 (UTC)
I just learned that python-gobject is a dependency. If it isn't installed, you get this:
Starting Dropbox...Traceback (most recent call last):
File "/usr/bin/dropbox-cli", line 1450, in start
download()
File "/usr/bin/dropbox-cli", line 295, in download
gi.require_version('Gdk', '3.0')
AttributeError: module 'gi' has no attribute 'require_version'
After installing python-gobject, dropbox-cli works just fine.
miguelmsoler commented on 2020-07-16 21:22 (UTC)
@frealgagu I'm using aurutils. The command I run almost every day is:
aur sync -u --no-confirm --no-view
frealgagu commented on 2020-07-16 19:54 (UTC)
@miguelmsoler What AUR helper are you using? The checksum you suggest is the previous version of the file, but it was recently changed.
https://linux.dropbox.com/packages/
the file dropbox.py was modified in July 10th. I think your helper didn't redownload the file and you have an outdated version of it.
miguelmsoler commented on 2020-07-16 13:28 (UTC)
Hi, I just tried to update and got this error:
==> Validating source files with sha256sums... dropbox-cli-2020.03.04.py ... FAILED ==> ERROR: One or more files did not pass the validity check!
I fixed it after changing sha256sum to e34817eb1949308054ec79454ff77062037526e69ba56957aac37aeadc796e89 in PKGBUILD.
FrederickZh commented on 2020-04-03 15:18 (UTC)
Is it worth the effort to patch this CLI tool somewhat like @thiagowfx suggested so that dropbox-cli version
can work with https://aur.archlinux.org/packages/dropbox/?
--- dropbox-cli 2020-04-04 01:45:24.000360738 +1100
+++ dropbox-cli 2020-04-04 02:01:48.903992145 +1100
@@ -71,7 +71,11 @@
PARENT_DIR = os.path.expanduser("~")
DROPBOX_DIST_PATH = "%s/.dropbox-dist" % PARENT_DIR
+DROPBOX_ARCH_PATH = "/opt/dropbox"
DROPBOXD_PATH = os.path.join(DROPBOX_DIST_PATH, "dropboxd")
+if not os.path.exists(DROPBOXD_PATH) and os.path.exists(os.path.join(DROPBOX_ARCH_PATH, "dropboxd")):
+ DROPBOX_DIST_PATH = DROPBOX_ARCH_PATH
+ DROPBOXD_PATH = os.path.join(DROPBOX_DIST_PATH, "dropboxd")
DESKTOP_FILE = "/usr/share/applications/dropbox.desktop"
enc = locale.getpreferredencoding()
vstuart commented on 2019-12-11 22:11 (UTC) (edited on 2019-12-27 16:08 (UTC) by vstuart)
2019-12-11 [again 2019-12-26]:
yay -Syu
...
dropbox-cli-2019.02.14.py ... FAILED
==> ERROR: One or more files did not pass the validity check!
Error downloading sources: dropbox-cli
Solution:
cd /mnt/Vancouver/apps/ ## or wherever you want to clone the repo
git clone https://aur.archlinux.org/dropbox-cli.git
cd dropbox-cli/
makepkg -si
[2019-12-26]
Same issue [2019-12-26] -- solution:
cd /mnt/Vancouver/apps/dropbox-cli/
git pull
makepkg -si
frealgagu commented on 2019-09-13 13:55 (UTC)
@ahnafalrafi no, if you download the file https://linux.dropbox.com/packages/dropbox.py you will notice that the script is for version 2019.02.14 so the version of file is not for upload date else for version that appears into the file.
commented on 2019-09-09 19:31 (UTC)
The dropbox.py file seems to have been updated here: https://linux.dropbox.com/packages/
The last update date there is 18-Jun-2019
Hubro commented on 2019-03-10 22:47 (UTC)
==> Making package: dropbox-cli 2019.01.31-1 (Sun 10 Mar 2019 11:45:48 PM CET)
==> Retrieving sources...
-> Downloading dropbox-cli-2019.01.31.py...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 116k 100 116k 0 0 781k 0 --:--:-- --:--:-- --:--:-- 781k
==> Validating source files with sha256sums...
dropbox-cli-2019.01.31.py ... FAILED
==> ERROR: One or more files did not pass the validity check!
Error downloading sources: dropbox-cli
i05 commented on 2019-03-10 10:04 (UTC)
@frealgagu Thanks for maintaining this package. As I found the package flagged out-of-date, I updated PKGBUILD and published it on my GitHub repository along with build configuration tweaks. https://github.com/ymkjp/aur-dropbox-cli/commit/6902509a6516aa4304bf006cd54e84bdf5f03717 Hope you see this patch is helpful.
frealgagu commented on 2018-11-30 02:43 (UTC) (edited on 2018-11-30 02:49 (UTC) by frealgagu)
@cfr42 the version in filename is in order to avoid issues once the file is downloaded, if a new version arrives makepkg does not try to re-download it if the file has the same name and it already exists. If the checksum fails then it means that there is a new version and it's necessary to change the PKGBUILD information.
Please flag it if that happens.
cfr42 commented on 2018-11-29 23:33 (UTC)
I think this is out of date, but I'm not positive so don't like to flag it. At any rate, making it fails:
==> Making package: dropbox-cli 2018.11.08-1 (Dydd Iau 29 mis Tachwedd 2018 23:30:29 GMT) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found dropbox-cli-2018.11.08.py -> Found dropbox-cli.patch ==> Validating source files with sha256sums... dropbox-cli-2018.11.08.py ... FAILED dropbox-cli.patch ... Passed ==> ERROR: One or more files did not pass the validity check!
Although the downloaded file is confusingly named with the correct version, the content says it is part of nautilus-dropbox 2018.11.28. I don't think it is helpful to add the version to the filename when downloading if you have no reason to think the version is correct. It would be better not to rename it at all or to append some arbitrary suffix, if you need one.
fifteen.one commented on 2018-11-20 01:33 (UTC) (edited on 2018-11-20 01:39 (UTC) by fifteen.one)
@frealgagu
Yes, I have python2 installed, the outputs as below:
Traceback (most recent call last):
File "/usr/bin/dropbox-cli", line 1609, in <module>
ret = main(sys.argv)
File "/usr/bin/dropbox-cli", line 1598, in main
result = commands[argv[i]](argv[i+1:])
File "/usr/bin/dropbox-cli", line 781, in newmeth
return meth(*n, **kw)
File "/usr/bin/dropbox-cli", line 1260, in status
console_print(line)
File "/usr/bin/dropbox-cli", line 135, in console_print
f.write(st.encode(enc))
UnicodeEncodeError: 'ascii' codec can't encode character u'\u2022' in position 18: ordinal not in range(128)
Thanks
frealgagu commented on 2018-11-17 20:42 (UTC)
@Yeh-Z do you have python2 installed? try with the following command and let me know what happen:
python2 /usr/bin/dropbox-cli status
fifteen.one commented on 2018-11-09 08:16 (UTC)
Hi,
I got an error as below:
Traceback (most recent call last): File "/usr/bin/dropbox-cli", line 1512, in <module> ret = main(sys.argv) File "/usr/bin/dropbox-cli", line 1501, in main result = commandsargv[i] File "/usr/bin/dropbox-cli", line 719, in newmeth return meth(n, *kw) File "/usr/bin/dropbox-cli", line 1164, in status console_print(line) File "/usr/bin/dropbox-cli", line 128, in console_print f.write(st.encode(enc)) UnicodeEncodeError: 'ascii' codec can't encode character u'\u2022' in position 17: ordinal not in range(128)
any ideas? thanks!
klusark commented on 2018-08-19 02:16 (UTC)
Downloads okay for me and sha still checks out. Maybe it was a temporary network glitch.
ProfessorKaos64 commented on 2018-08-15 00:52 (UTC) (edited on 2018-08-15 00:55 (UTC) by ProfessorKaos64)
Failed to download python script.
This is the page: https://www.dropbox.com/help/desktop-web/linux-commands#commands
Link works just fine for me: https://www.dropbox.com/download?dl=packages/dropbox.py
Works with this python script / link and updating sha256sudm
karcher commented on 2018-06-09 10:43 (UTC) (edited on 2018-06-09 10:58 (UTC) by karcher)
I'm getting same error like @jarod and there is no dropbox-cli package in the pacman cache:
?? Do you want to continue? Y/n: ~~ looking for new pkgbuilds and fetching them... ==> Making package: dropbox-cli 2015.10.28-3 (Sat 09 Jun 2018 12:39:53 PM CEST) ==> Checking runtime dependencies... ==> Checking buildtime dependencies... ==> Retrieving sources... -> Found dropbox.py -> Found dropbox-cli-arch.patch ==> Validating source files with sha256sums... dropbox.py ... FAILED dropbox-cli-arch.patch ... Passed ==> ERROR: One or more files did not pass the validity check! 2018-06-09 12:39:53,207 - wrappers - makepkg - ERROR - makepkg query makepkg -cf --noconfirm failed in directory /home/john/.cache/aurman/dropbox-cli
patrick96 commented on 2018-05-27 21:43 (UTC)
@jarod, clear the cache for that package, your aur helper probably doesn't redownload the file, if its name didn't change
jarod commented on 2018-05-26 15:30 (UTC) (edited on 2018-05-26 15:31 (UTC) by jarod)
==> Building and installing package
==> Making package: dropbox-cli 2015.10.28-2 (Sat May 26 17:30:16 CEST 2018)
==> Checking runtime dependencies...
==> Checking buildtime dependencies...
==> Retrieving sources...
-> Downloading dropbox.py...
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 112k 100 112k 0 0 413k 0 --:--:-- --:--:-- --:--:-- 413k
-> Found dropbox-cli-arch.patch
==> Validating source files with sha256sums...
dropbox.py ... FAILED
dropbox-cli-arch.patch ... Passed
==> ERROR: One or more files did not pass the validity check!
==> ERROR: Makepkg was unable to build dropbox-cli.
==> Restart building dropbox-cli ? [y/N]
==> ------------------------------------
Pinned Comments
frealgagu commented on 2020-12-05 22:37 (UTC)
I maintain the latest built package at:
https://github.com/frealgagu/archlinux.dropbox-cli/releases/
frealgagu commented on 2018-11-30 02:43 (UTC) (edited on 2018-11-30 02:49 (UTC) by frealgagu)
@cfr42 the version in filename is in order to avoid issues once the file is downloaded, if a new version arrives makepkg does not try to re-download it if the file has the same name and it already exists. If the checksum fails then it means that there is a new version and it's necessary to change the PKGBUILD information.
Please flag it if that happens.