Giter Club home page Giter Club logo

Comments (9)

happybeing avatar happybeing commented on August 17, 2024

If the parameter can just be removed I'll try this and be happy to submit a PR.

from temp_safe_network.

joshuef avatar joshuef commented on August 17, 2024

I believe @jacderida will be having a look at the node bin shortly, so hopefully he can take a look at this 🙇

from temp_safe_network.

happybeing avatar happybeing commented on August 17, 2024

👎 I was looking in the code to see where this is being set and didn't find it yet. I see where the launch tool would do this, but only if it is first passed the same parameter. I don't see what is passing that though 🤷‍♂️

from temp_safe_network.

b-zee avatar b-zee commented on August 17, 2024

I couldn't reproduce this on main with the following:

$ cargo run --release --bin=safe -- node install
$ cargo run --release --bin=safe -- node run-baby-fleming

Not sure if this was fixed or it's an issue with the binaries that were released.

from temp_safe_network.

happybeing avatar happybeing commented on August 17, 2024

What sn_node version is that? I still can't do safe update because it gives a 404 error but I did safe node update which updated my sn_node to v0.75.0 and still get the error.

Wondering if this is a path issue I've tried a few variations (including safe node bin-version / safe node run-baby-fleming and /home/mrh/.safe/node/sn_node run-baby-fleming) but they still give version v0.75.0 and the following error:

safe node run-baby-fleming
Storing nodes' generated data at /home/mrh/.safe/node/baby-fleming-nodes
Starting nodes to join the Safe network...
error: Found argument '--skip-auto-port-forwarding' which wasn't expected, or isn't valid in this context

	If you tried to supply `--skip-auto-port-forwarding` as a value rather than a flag, use `-- --skip-auto-port-forwarding`

USAGE:
    sn_node --verbose

For more information try --help
Error: 
   0: Error launching node
   1: Failed to start '/home/mrh/.safe/node/sn_node' with args '["-vv", "--skip-auto-port-forwarding", "--local-addr", "127.0.0.1:0", "--first", "--root-dir", "/home/mrh/.safe/node/baby-fleming-nodes/sn-node-genesis", "--log-dir", "/home/mrh/.safe/node/baby-fleming-nodes/sn-node-genesis"]'
   2: Node exited early (status: exit status: 2)

Location:
   /home/runner/.cargo/registry/src/github.com-1ecc6299db9ec823/sn_launch_tool-0.12.1/src/cmd.rs:163

Is there something else I can try?

from temp_safe_network.

jacderida avatar jacderida commented on August 17, 2024

Sorry, I just noticed my name on this.

Yeah, I should be taking a look at various usability issues starting either today or tomorrow, so I'm happy to take ownership of this too.

The --skip-auto-port-forwarding flag has been removed now.

from temp_safe_network.

happybeing avatar happybeing commented on August 17, 2024

Do you know what is inserting it? I'm not giving it!

Maybe the issue is that I can't use safe update (gives a 404) and that the last script installed CLI is too old? I have sn_cli 0.69.1.

from temp_safe_network.

jacderida avatar jacderida commented on August 17, 2024

It's probably coming from the node run-baby-fleming command. I'll look into it in more detail soon, as well as self update.

from temp_safe_network.

jacderida avatar jacderida commented on August 17, 2024

The node command has now been removed from safe and the recommended way to create local test networks is to use the testnet binary.

There haven't been any reported issues with testnet.

Going to close this.

from temp_safe_network.

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.