Installation du DownloadHelper Companion App 1.2.1 ne marche pas

794 views
Skip to first unread message

zw...@starinux.org

unread,
Jun 4, 2018, 7:19:56 AM6/4/18
to Video DownloadHelper Q&A
Bonjour,

J'ai suivi la procédure d'installation manuelle indiquée sur https://www.downloadhelper.net/install-coapp?version=1.2.1

# tar xf net.downloadhelper.coapp-1.2.1-1_amd64.tar.gz -C /usr/local
# /usr/local/net.downloadhelper.coapp-1.2.1/bin/net.downloadhelper.coapp-linux-64 install --system
VdhCoApp: VdhCoApp is ready to be used



et quand je lance le téléchargement d'une vidéo, j'obtiens une page qui m'affiche :

Mise à jour de l'application compagnon nécessaire
Vous utilisez la version 1.1.3 de l'application compagnon, mais cette fonctionnalité nécessite la version 1.2.1

Donc la procédure d'installation n'est pas bonne !

Quelqu'un aurait-il eu plus de chance que moi ?

Merci.



Sid Smith

unread,
Jun 4, 2018, 7:41:34 AM6/4/18
to Video DownloadHelper Q&A
It was after I updated the companion app to version 1.2.1 that the trouble began. I have now reinstalled both the add-on and the companion app 1.2.1, and still I get the same error.

Sid

mig

unread,
Jun 4, 2018, 8:02:44 AM6/4/18
to Video DownloadHelper Q&A
Is there any chance you previously installed 1.1.3 as user (as opposed to system) ? If so, the 1.1.3 user install would prevail over the 1.2.1 system install.

zw...@starinux.org

unread,
Jun 4, 2018, 12:08:27 PM6/4/18
to Video DownloadHelper Q&A
And what about forgetting buggy 1.2.1 and downgrading to 1.1.3 ?
Is it possible ?

mig

unread,
Jun 4, 2018, 1:02:54 PM6/4/18
to Video DownloadHelper Q&A

Isn't your problem that you are stuck with 1.1.3 ?

zw...@starinux.org

unread,
Jun 4, 2018, 2:28:11 PM6/4/18
to Video DownloadHelper Q&A
Well, I'm lost in program versions.
When I look into "Gestionnaire de modules"->Extensions->Video DownloadHelper, it is in 7.3.0
So I don't know what is the relation/avalability between DownloadHelper versions and Companion App versions.
I just run an update when it is recommended.

What could you suggest ?

mig

unread,
Jun 4, 2018, 6:01:39 PM6/4/18
to Video DownloadHelper Q&A
With VDH 7.3.0, your best option is to install coapp 1.2.2 from http://www.downloadhelper.net/install-coapp
As a rule of thumb, just follow whatever coapp version the extension requires you to install.


zw...@starinux.org

unread,
Jun 5, 2018, 1:19:22 AM6/5/18
to Video DownloadHelper Q&A
I just did it :
# /usr/local/net.downloadhelper.coapp-1.2.2/bin/net.downloadhelper.coapp-linux-64 install --system

VdhCoApp: VdhCoApp is ready to be used

but always the same answer  :

zw...@starinux.org

unread,
Jun 5, 2018, 1:26:18 AM6/5/18
to Video DownloadHelper Q&A
I removed VDH from firefox and reinstalled it and I still get this message
Appli compagnon installée
Appli compagnon trouvée: VdhCoApp 1.1.3
Binaire de l'appli compagnon: /usr/local/net.downloadhelper.coapp-1.1.3/bin/net.downloadhelper.coapp-linux-64

zw...@starinux.org

unread,
Jun 5, 2018, 1:36:42 AM6/5/18
to Video DownloadHelper Q&A
I removed /usr/local/net.downloadhelper.coapp-1.1.3/ and VDH and rinstalled VDH and now VDH doesn't work anymore.
It doesn't detect the video playing in firefox.

Could you please replace net.downloadhelper.coapp-linux-64 install by a script ?

It would be cleaner to run a script as root rather than and exe and I could understand what does the install program.

Thanks


mig

unread,
Jun 5, 2018, 5:34:27 AM6/5/18
to Video DownloadHelper Q&A
One would say net.downloadhelper.coapp-linux-64 is the script :)

Doing:

# /usr/local/net.downloadhelper.coapp-1.2.2/bin/net.downloadhelper.coapp-linux-64 install --system

is the way to go.

If VDH still shows you are using 1.1.3, it can be due to 2 reasons:

- the old 1.1.3 is still running in memory: workarounds:
  • click the "Recheck companion app" button in the VDH settings
  • wait 1 minute for the coapp to exit on its own
  • restart Firefox
- you previously installed 1.1.3 in user mode. If both user and system installed have been performed, the user one prevails
workaround: install 1.2.2 in user mode: /usr/local/net.downloadhelper.coapp-1.2.2/bin/net.downloadhelper.coapp-linux-64 install --user
this will overwrite the previous 1.1.3 install




zw...@starinux.org

unread,
Jun 5, 2018, 1:46:56 PM6/5/18
to Video DownloadHelper Q&A
One would say net.downloadhelper.coapp-linux-64 is the script :)
Sorry but :
$ file net.downloadhelper.coapp-linux-64
net
.downloadhelper.coapp-linux-64: ELF 64-bit LSB executable, x86-64, version 1 (GNU/Linux), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, BuildID[sha1]=753f0807e65ea3f1900fff77e86cea65698c9e3c, not stripped
-> ELF 64-bit LSB executable means that this program is statically compiled.
For me, a script is a program dynamically compiled ("à la volée" in french) and consequently written in a scripting language like bash, python, perl, etc. that can be read by the admin :
- to check what it does in the system when run
- to understand what could cause a problem when the installation fails

you previously installed 1.1.3 in user mode. If both user and system installed have been performed, the user one prevails

Yes, this was the reason.
Now it works but it is difficult to know from my place what is going wrong when things go wrong

Anyway, thanks a lot for this very useful app

zw...@starinux.org

unread,
Jun 5, 2018, 2:00:02 PM6/5/18
to Video DownloadHelper Q&A
One more question :
As
# ./net.downloadhelper.coapp-linux-64 --help
gives no answer, what can I do to uninstall the companion from the system (or the user).

Thanks

mig

unread,
Jun 6, 2018, 3:40:16 AM6/6/18
to video-download...@googlegroups.com
The coapp does not have any embedded help. Apart for the install, the program is never run manually. It is launched by the browser when needed and the standard i/o are used for communicating between the app and the browser (hence the extension).

For uninstalling, just remove the directory when you installed net.download.coapp.

The coapp is developed in javascript over node.js. You can read/modify the code from https://github.com/mi-g/vdhcoapp. It is then packaged into a single executable file using https://github.com/zeit/pkg
This is my preferred way of scripting things.

Reply all
Reply to author
Forward
0 new messages