GithubHelp home page GithubHelp logo

Comments (4)

prahladyeri avatar prahladyeri commented on June 14, 2024

Hi Fattierob,

Thanks for reporting this.

Firstly, did you install it to default python location or did you give a prefix? Cause in case of former, it should have picked up the hotspotd module. The first error indicates that hotspotd module could not be found.

In the second-last snippet, where it says "hotspotd is already running" did it ask for any configuration values before (like SSID, password, etc.) ?

Cheers,
Prahlad

from hotspotd.

prahladyeri avatar prahladyeri commented on June 14, 2024

And one more thing. What python version are you using? Can you paste output of python --version

from hotspotd.

rkopack343 avatar rkopack343 commented on June 14, 2024

Hey sorry for the late reply missed the e-mail notifying me.

I didn't use the apt-get package version I used the wget version - I untar'd it to ~root/hotspotd-0.1 and then ran python setup.py install. That also seems to be the only folder where I can run hotspotd <cmd> without the error.

Yes the second snippet was meant to show that I already had set it up and had it running, sorry! It did indeed ask for configuration values and I entered them in and it worked flawlessly. It was only when I tried running the command out of root did I notice the issue.

root@test:~/hotspotd-0.1# python --version
Python 2.7.3

from hotspotd.

prahladyeri avatar prahladyeri commented on June 14, 2024

Thanks for writing.

The error basically occurred because in the startup-script file (/usr/local/bin/hotspotd) I've specified:

python -m hotspotd $*

In your scenario (~root) it expects the entire package.module syntax:

python -m hotspotd.hotspotd $*

Now this is quite an erratic behavior as it expects the first statement in some scenarios and the second in case of others. There is no one statement that works in both scenarios. I've registered a question for this on stackoverflow which is unanswered yet. Lets see what happens!

from hotspotd.

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.