truffle console: can not paste information into the console - truffle

Whenever I use the truffle console, I'm not able to paste information from outside the console. This mean that I always have to manually type my contract address, etc. .
However I'm able to copy information from the console.
Does someone experience this ? Do you know how to solve it ?

Use right click and paste. It works for me.

Related

B4A - (Beginner) Can't run beacuse of an unknown error

Just installed B4A as it's shown on the official website and i still can't build & run an example project (Hello world).
I installed the app on my cellphone too and successfully connected to it, installed B4A Designer as the firt app asked to.
I'm getting this error, sorry it's in French. But basically it says that it doesn't find a file (i m wondering which one...).
enter image description here
Install exactly has shown here:B4A installation
Especially at Step 2 this: Download the required resources. Click on that link.
That step I forgot too. And then you get errors.
If you follow exactly without haste. It will work OK.

Currently you have no contract instances to interact with

I'm trying to write my first smart contract by copying code from a video online. The instructor could "Deploy" but for some reason I'm getting this error message even though the code is exactly the same.
It seems you have not compiled your contract. You can simply compile by clicking compile button available. Please refer to the image
Compile button Snap.
The area where this message is shown is where deployed contracts are listed. This is simply stating that you haven't yet deployed a contract.
In the contracts drop down, I see you do not have a contract selected. You'll need to select a compiled contract to deploy. If there aren't any, its because you haven't yet compiled one. You'll need to select a .sol file in the compiler panel, and run the compiler. Once complete, you should see the compiled contract in the drop down.
Once you hit deploy, assuming the selected contract deploys successfully, you'll see the contract listed here.
For me simply refreshing the page solved this issue.
this problem occurs when you don't compile the code. You need to compile it first and then the deploy button will appear
I can confirm if all else fails, refresh the page. I ran into the same issue and after refreshing the page everything was working correctly again. It was the first time I had ran into this issue, so I too was a little puzzled. I usually start a new browser session so it was not an issue before.
If you use Remix plugin on VsCode and encounter "Currently you have no contract instances to interact with" problem, correct your solidity version which version you wrote and compile it again.
Refreshing solves the issue after you have compiled.

Using ArangoDB through the command line not working

Thanks for taking the time, so - Arango is installed and the WebUI has been working fine. I've been doing the tutorials and finished the basics, but attempting to move on and import my own data I'm getting stuck.
I stored my data in a google sheet so I exported that for ingest but then trying to access the command line tools to ingest it, I hit a hurdle of "command not found". Trying "arangoimport" for example as recommended here, or "arangimp" and other recommendations I found online from a search. I also tried other command line tools and had the same issue.
Where should I be running this command from? (and how can I get there?) If the command can and should be run from the first terminal window I open, then please can you tell me what I'm missing and need to do :)
Thanks,
Josh
Open terminal and use cd to go to the directory in which arangoimport.exe is stored.
When the terminal is in that directory you can run the arangoimport command.

Where to find STREAM_ANALYTICS_TOKEN for installing Winds?

I am trying to install Winds on my computer but there is one value for configuration that I can not find on dashboard but it says that is required for .env STREAM_ANALYTICS_TOKEN
in readme it says that this value is required but there is no clue where I can get it. where it can be found?
For Pro organizations, your STREAM_ANALYTICS_TOKEN can be found in the "Analytics" section of your app in the Stream dashboard.
However, I believe that Winds should still function normally without it. Are you getting an error when trying to start or use the app?

MongoDB out of the box: not authorized for insert (Windows 7)

I've been following along with the actual MongoDB docs here
as well as several tutorial articles that are getting me absolutely nowhere.
Running a 64bit windows OS (which is a work computer, and my particular windows login is not an administrator login.. so I make sure to open any exe files as administrator). I can't do anything in the terminal beyond "mongo" or "use [db name]".
I cannot save or add anything like db.testData.insert( j ). Even typing "show dbs", I get an error that says
listDatabases failed:{ "ok" :0, "errmsg" : "unauthorized" } at src/mongo/shell/mongo.js:46
With every example I've followed, I can never seem to be "authenticated" to get past point A. Please help me! I have no idea what I'm doing wrong at this point.
UPDATE:
Sorry for the confusion, everyone. The problem turned out to be that I had an old MongoDB service still running in the background that I needed to disable.
The service must have been turned on while I was testing out some node packages or something. Once I disabled the service, everything started working as expected.
So for those of you who are having trouble, make sure you open up services.msc and make sure nothing is running MongoDB
As there isn't a formal installer for Windows, I'd recommend you delete the data folder and restart. Out of the box, there is no security in MongoDb, so you've followed a step which later requires a password. Either retrace your steps, or start over.
You don't need to switch to the admin Database. I'd suggest you instead switch to a test database for example:
> use test
switched to db test
By default, without extra configuration, on Windows you can delete the contents of c:\data\db when MongoDb isn't running (but if you're using a configuration file that specifies the dbpath, delete the contents of that folder).
There are a number of tutorials with details of how to configure users/security with Mongodb that you may want to read after you've resolved this issue.
There's little reason to create users and administrative control with MongoDB until you gain some experience with the platform. In fact, I wouldn't recommend it at all. It just gets in the way as you're seeing for no real gain.

Resources