Giter Site home page Giter Site logo

Comments (7)

aluminum-ice avatar aluminum-ice commented on July 23, 2024 3

Ah I made changes to enable the GitHub action to fully compile the image using just the input variable versus having to update _version.py to match the action input variable. That automated the build and release. I didn't consider that this would cause a problem at run-time where 1.8.2 isn't actually defined anywhere.

Thank you for the helpful bug report and for digging into the problem. I'll fix this and release 1.8.3.

from pwnagotchi.

jalxp avatar jalxp commented on July 23, 2024 1

Check 1db620d & 05fef28

We never actually define the os.environ["PWN_VERSION"] = 1.8.2 anywhere. I also noticed that the regex only worked because it was actually finding a match in the commented line of the old version of _version.py file, not sure if this was expected or not.

I.e.
05fef28 made the changes in 1db620d stop working since the comment was gone so no match on the regex expression anymore.

from pwnagotchi.

jalxp avatar jalxp commented on July 23, 2024

Same as #85

from pwnagotchi.

jalxp avatar jalxp commented on July 23, 2024

It's a pleasure to help in the project, I already noticed I said something wrong tho! Because I confused the PWN_VERSION & PWN_RELEASE variables with each other. The Makefile change is also broken because of the removal of the comment in the _version.py file it seems.

Either way, I'm glad to help!

from pwnagotchi.

bicurico avatar bicurico commented on July 23, 2024

Hi,

Just went through the same issue... Took a while to land here and another while to understand how to fix it.

For those as dumb as I, here is the step by step instruction:

  1. ssh [email protected] -> password is "raspberry"
  2. cd /usr/local/lib/python3.7/dist-packages/pwnagotchi
  3. sudo nano _version.p
  4. edit the version line to be: version = "1.8.2"
  5. CTRL+X
  6. YES
  7. ENTER --> file is now saved
  8. sudo reboot now
  9. wait 1 minute or so
  10. ssh [email protected], enter password
  11. sudo reboot now
  12. wait 1 minute or so
    --> open browser: 10.0.0.2:8080

Enjoy!

Thanks a lot for this fork!

from pwnagotchi.

hevnsnt avatar hevnsnt commented on July 23, 2024

Just in case someone sees this, there are a few mistakes in bicurico's instructions above. I have fixed them down here (all credit to him though, that fixed mine)

  • ssh [email protected] -> password is "raspberry"
  • cd /usr/local/lib/python3.7/dist-packages/pwnagotchi
  • sudo nano _version.py
  • edit the version line to be: __version__ = "1.8.2"
  • CTRL+X
  • YES
  • ENTER --> file is now saved
  • sudo reboot now
  • wait 1 minute or so
  • ssh [email protected], enter password
  • sudo reboot now
  • wait 1 minute or so
    --> open browser: 10.0.0.2:8080

from pwnagotchi.

aluminum-ice avatar aluminum-ice commented on July 23, 2024

Fixed in release v1.8.3

from pwnagotchi.

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.