GithubHelp home page GithubHelp logo

Comments (4)

mi-g avatar mi-g commented on August 12, 2024

The coapp install page describes extra steps to be executed once you have downloaded the .tar.gz package:

targz user-wide install

# tar xf net.downloadhelper.coapp-1.2.3-1_amd64.tar.gz -C ~
# ~/net.downloadhelper.coapp-1.2.3/bin/net.downloadhelper.coapp-linux-64 install --user

targz system-wide install

# sudo tar xf net.downloadhelper.coapp-1.2.3-1_amd64.tar.gz -C /usr/local
# sudo /usr/local/net.downloadhelper.coapp-1.2.3/bin/net.downloadhelper.coapp-linux-64 install --system

If you think this could be better explained, please let me know.

from vdhcoapp.

lpvm avatar lpvm commented on August 12, 2024

Hi @mi-g ,

First, let me thank you for the plugin that has served to get me some videos in the past!

Doing as mentioned, even after restarting Firefox, doesn't seem to work:

Companion application required
This operation requires an external application to be completed.

In the past, see #17 it was solved by modifying the path in the setup scripts that are not present anymore. Don't know what to do this time.
Creating a symlink ln -s /usr/local/net.downloadhelper.coapp-1.2.3/bin/net.downloadhelper.coapp-linux-64 /usr/local/bin/ doesn't result.

from vdhcoapp.

mi-g avatar mi-g commented on August 12, 2024

I have seen the following issue a couple of times, maybe you are in this case:

A user installs the coapp as a user: the coapp code goes to ~/net.downloadhelper.coapp and the manifest file has been added to ~/.mozilla/firefox/native-messaging-hosts. Then the user changes his mind, delete the ~/net.downloadhelper.coapp directory and reinstall the coapp as system, which creates /opt/net.downloadhelper.coapp/ or /usr/local/net.downloadhelper.coapp/ with manifest in /usr/lib/mozilla/native-messaging-hosts.

As a result, when Firefox tries to launch the coapp, it first looks at a user-level manifest at ~/.mozilla/firefox/native-messaging-hosts and tries to execute the pointed binary that no longer exists. You get the error you described.

The workaround consists of removing the file ~/.mozilla/firefox/native-messaging-hosts/net.downloadhelper.coapp.json that is no longer valid.

Can you check that ?

from vdhcoapp.

lpvm avatar lpvm commented on August 12, 2024

You got it @mi-g , although the json file was in ~/.mozilla/native-messaging-hosts/net.downloadhelper.coapp.json.
It's working fine now.
Thank you very much for your support.

from vdhcoapp.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.