I’m pretty “new” when it comes to this stuff, so bear with me.
I entered the command vi ~/.zcash/zcash.conf so I could create the Zcash.conf file, but I screwed something up. Then, apparently, I further complicated the problem by “x-ing” out of the terminal instead of quiting with the correct command.
At this point, I just want to start over (create the .conf and enter testnet details) but whenever I enter vi ~/.zcash/zcash.conf I get the error below. I’m not sure how to fix this problem. I’m guessing somebody here can fix it in 5 minutes, so it makes more sense for me to break down and ask, rather than spend another couple hours trying to figure it out.
Rather than doing it by command line you could look in your files directory, CTRL+H to see hidden files (.zcash) and right click to create the .conf file (inside the .zcash folder)
Thanks for the fast reply, Shawn. Quick question: I see the two files that were showing up in the error message (the most recent screenshot only shows one of them, but there were two) Anyway, they’re named: zcash.conf.swp and zcash.conf.swo. …would it hurt to delete those?
UPDATE: Ok, I deleted the two files and I seemed to get a little further, but I’m having no luck when I go to save the testnet info. Here’s what I’m doing:
I open terminal and enter: vi ~/.zcash/zcash.conf
I then press “insert” on my keyboard and paste in the info testnet=1 addnode=alphatestnet.z.cash rpcuser=username rpcpassword=password
I then press ESC and enter :wq then press “enter”
I get the error “can’t open file for writing” (screenshot below) Screenshot image
By the way, I did try adding zcash.conf manually to each of the three zcash folders I saw in the directory (I just put “test text 1, test text 2, test text 3” respectively in each file) but I didn’t see any of these in the terminal when I ran the command vi ~/.zcash/zcash.conf (…not sure, but I think if I’d added the file to the right place, I would have seen one of the test / text messages.)
This command will show all the files and directories in the current directory:
ls -a
If you see the zcash directory but there’s still no .zcash directory then you might not have followed all the instructions in the Public Alpha Guide - particularly the fetch-params.sh part.
Well, it’s definitely not there. (I’ve done this on two machines, the other one has the .zcash directory…this one doesn’t.) No idea what I did wrong / different. Here’s what I ran before…should I just run it all again?
Note that you should now be using git checkout zc.v0.11.2.z9. You also need to create the .zcash directory using mkdir ~/.zcash (the Public Alpha Guide does say this).
Thanks, Daira. I had another guy who knows a lot more about this stuff than I do write out some instructions for me…seems like they worked on my Windows 7 machine, but not my Windows 8.1.
Am I able to fix whatever is screwed up here, or do I have to uninstall and start over?
Thanks again. What happens if I just start over from the beginning? Do I wind up with a bigger mess, or will everything just be “updated.” (I’d be using your guide this time instead of the instructions I used before.)
~/.zcash/zcash.conf is not the command and it obviously produce that error message. You simply need to create a zcash.conf file with a text editor like gedit and then place it in the ~/.zcash folder.