Pages:
Author

Topic: Armory 0.94.1 is out - page 10. (Read 12086 times)

staff
Activity: 3458
Merit: 6793
Just writing some code
April 08, 2016, 02:18:35 PM
#23
See above! I strongly suspect that's your issue (git checkout master can only have performed that exact command; etotheipi's master branch is still on 93.3, whereas the goatpig master branch is at 94.1)

does goatpig have 0.94.1 git tagged?:

Code:
Ubuntu:~/BitcoinArmory$ git tag -v v0.94.1
error: 811798a9282d216e0a450fe342d8a4671fee01d3: cannot verify a non-tag object of type commit.
error: could not verify the tag 'v0.94.1'
It isn't signed.

He does. I suspect there's some minor error in the version string you're supplying, but that's only a guess. I don't make use of that particular git command, so can't help you specifically with it from off the top of my head unfortunately.

ok, got it.

now how do i delete Armory's copy of the blockchain?
Go to the armory data directory and delete everything in the "databases" folder.
legendary
Activity: 1764
Merit: 1002
April 08, 2016, 02:15:48 PM
#22
He does. I suspect there's some minor error in the version string you're supplying, but that's only a guess. I don't make use of that particular git command, so can't help you specifically with it from off the top of my head unfortunately.

ok, got it.

now how do i delete Armory's copy of the blockchain?
legendary
Activity: 3430
Merit: 3080
April 08, 2016, 02:06:44 PM
#21
Ok, so some command line essentials: if you're doing your git clone command afresh, the make clean command isn't needed. make clean is used to purge the old build prior to compiling a new one, so you don't need it for this situation. I think you may have run make, then make clean afterwards. Also, forget about make install for now, it won't solve this problem.

Try this to correct what's happened:

Code:
cd ~
sudo rm -dRf BitcoinArmory
git clone git://github.com/goatpig/BitcoinArmory
git checkout master
make

legendary
Activity: 1764
Merit: 1002
April 08, 2016, 01:50:13 PM
#20
He does. I suspect there's some minor error in the version string you're supplying, but that's only a guess. I don't make use of that particular git command, so can't help you specifically with it from off the top of my head unfortunately.

so i run make and make clean and even make install but still get this:

Code:
Ubuntu:~/BitcoinArmory$ python ArmoryQt.py
Traceback (most recent call last):
  File "ArmoryQt.py", line 39, in
    import CppBlockUtils as Cpp
ImportError: No module named CppBlockUtils

thanks for your help on this Carlton.
legendary
Activity: 3430
Merit: 3080
April 08, 2016, 01:44:18 PM
#19
He does. I suspect there's some minor error in the version string you're supplying, but that's only a guess. I don't make use of that particular git command, so can't help you specifically with it from off the top of my head unfortunately.
legendary
Activity: 1764
Merit: 1002
April 08, 2016, 01:32:42 PM
#18
See above! I strongly suspect that's your issue (git checkout master can only have performed that exact command; etotheipi's master branch is still on 93.3, whereas the goatpig master branch is at 94.1)

does goatpig have 0.94.1 git tagged?:

Code:
Ubuntu:~/BitcoinArmory$ git tag -v v0.94.1
error: 811798a9282d216e0a450fe342d8a4671fee01d3: cannot verify a non-tag object of type commit.
error: could not verify the tag 'v0.94.1'
legendary
Activity: 3430
Merit: 3080
April 08, 2016, 01:12:49 PM
#17
See above! I strongly suspect that's your issue (git checkout master can only have performed that exact command; etotheipi's master branch is still on 93.3, whereas the goatpig master branch is at 94.1)
legendary
Activity: 1764
Merit: 1002
April 08, 2016, 01:09:37 PM
#16
I think you're probably still using the etotheipi repo. You need to run "git clone git://github.com/goatpig/BitcoinArmory" to access goatpig's fork.

yeah, probably.

does that mean i go to your first post and delete the entire BitcoinArmory folder with it's contents?
legendary
Activity: 3430
Merit: 3080
April 08, 2016, 01:08:09 PM
#15
I think you're probably still using the etotheipi repo. You need to run "git clone git://github.com/goatpig/BitcoinArmory" to access goatpig's fork. Delete or rename the BitcoinArmory directory first (or you could run the git clone command from somewhere that is not your home directory)
legendary
Activity: 1764
Merit: 1002
April 08, 2016, 12:57:12 PM
#14
@cypherdoc

If you just want to erase the 0.93.3 location and replace it with 0.94.1:

cd BitcoinArmory (or whatever path gets you to the BitcoinArmory directory)
git checkout master
git pull
make clean && make

Subsequently, you won't need the second line once you're definitively following the master branch.

appears to have failed.  ran thru above steps and seemed ok.  but when launching, i still get 0.93.3:

Code:
~/BitcoinArmory$ python ArmoryQt.py
********************************************************************************
Loading Armory Engine:
   Armory Version:       0.93.3

/home/*/BitcoinArmory/armoryengine/Transaction.py:2649: SyntaxWarning: import * only allowed at module level
  def PyCreateAndSignTx_old(srcTxOuts, dstAddrsVals):
(ERROR) ArmoryQt.py:7074 - Socket already in use.  Sending CLI args to existing proc.
(ERROR) ArmoryQt.py:7078 - Exiting...

legendary
Activity: 3430
Merit: 3080
April 08, 2016, 04:29:40 AM
#13
@cypherdoc

If you just want to erase the 0.93.3 location and replace it with 0.94.1:

cd BitcoinArmory (or whatever path gets you to the BitcoinArmory directory)
git checkout master
git pull
make clean && make

Subsequently, you won't need the second line once you're definitively following the master branch.
legendary
Activity: 3430
Merit: 3080
April 08, 2016, 02:32:02 AM
#12
do i need to delete my current BitcoinArmory directory before building as i am getting this error:

yes. That's what it's telling you, and it means it. The other alternative is to execute the git command from a different directory, i.e. one in which no directory named BitcoinArmory exists. There is probably also a way of indicating to git that you want the target directory to have an alternative name, not sure what that is. Use "man git" or "git --help" for that.



Also, I would consider looking into using the "make install" command subsequent to make itself (perhaps specifically for Python/SWIG projects), as once you've ran make, the built application directory structure ends up in your home directory somewhere. The permissions set on those folders would allow external attackers to discover their existence, so the Armory executable & dependents are better off living in /usr/lib/ (where the Armory installer places them on Linux).
legendary
Activity: 1764
Merit: 1002
April 08, 2016, 12:25:46 AM
#11
are these still the official build instructions for ubuntu?

https://github.com/goatpig/BitcoinArmory/blob/master/linuxbuild/Linux_build_notes.md

do i need to delete my current BitcoinArmory directory before building as i am getting this error:

Code:
$ git clone https://github.com/goatpig/BitcoinArmory.git
fatal: destination path 'BitcoinArmory' already exists and is not an empty directory.
sr. member
Activity: 525
Merit: 282
April 07, 2016, 03:12:28 PM
#10
Update: When I go into the Armory.app/Contents/MacOS folder and double-click on the Armory binary there, the Terminal shows up and this error is displayed before the program quits:

Did you follow my instructions and do a make clean, followed by a complete rebuild? Long story short, assembly of the Armory package wasn't completed when you encountered the initial error; it just won't have everything you need, including Twisted, which is included inside the package (i.e., you shouldn't install it using brew).

Again, to be clear, there's no need to install Twisted on OS X; the build script takes care of that and downloads all the required runtime code. There's no need to update the documentation, at least in this regard. (Also, yes, I know the OS X build process is kinda wonky. Sorry. It's what was inherited a couple of years ago. It works but is far from ideal. Armory's former intern, Joseph, came up with a solution that would've been awesome. Alas, unless somebody's willing to spend days, if not weeks, rewriting his code from scratch, it can't be used.)
pf
full member
Activity: 176
Merit: 105
April 07, 2016, 02:40:42 PM
#9
You have to install the Twisted Python package.
Thanks, this did the trick. Armory 0.94.1 is now running on my Mac. This is what I did on my OS X El Capitan:
Code:
sudo easy_install twisted
Maybe it would be a good idea to mention this in the OS X build notes. Thanks again!

You asked me not to point it to the older database, so it's starting from scratch now building the database. I presume I must do this. (Thankfully it's much faster due to the new smaller database size.)
legendary
Activity: 3766
Merit: 1364
Armory Developer
April 07, 2016, 02:27:06 PM
#8
You have to install the Twisted Python package.
pf
full member
Activity: 176
Merit: 105
April 07, 2016, 01:48:37 PM
#7
Yeah. I goofed and need to generate a PR to fix the build issue. Sorry about that! In the meantime, if you want to paste in the following line at line 62 of osxbuild/build-app.py, you'll be fine. I'll put together a PR after rebasing on my end.

Code:
parser.add_option('--cleanupapp',   dest='cleanupapp',  default=False, action='store_true', help='Delete Python files in the compiled application')

After adding your change, the compilation ran without any errors. But I still can't run Armory.app. When double-clicking on it (even if I copy it to /Applicaitons first), nothing happens, and Console.app logs out "Service exited with abnormal code: 1".

Any ideas?

Make sure 0.94 isn't pointed at a 0.93.x DB folder.
I tried that too (deleting the ~/Library/Application Support/Armory folder). Didn't work. Still getting "Service exited with abnormal code: 1". Any more ideas?

Update: When I go into the Armory.app/Contents/MacOS folder and double-click on the Armory binary there, the Terminal shows up and this error is displayed before the program quits:

Code:
joe-mac:~ joe$ /Applications/Armory.app/Contents/MacOS/Armory ; exit;
Traceback (most recent call last):
  File "/Applications/Armory.app/Contents/MacOS/py/usr/lib/armory/ArmoryQt.py", line 36, in
    from twisted.internet.defer import Deferred
ImportError: No module named twisted.internet.defer
logout
Saving session...
...copying shared history...
...saving history...truncating history files...
...completed.

[Process completed]

Does this give you any clues about how to fix the problem?
legendary
Activity: 3766
Merit: 1364
Armory Developer
April 07, 2016, 01:11:47 PM
#6
Yeah. I goofed and need to generate a PR to fix the build issue. Sorry about that! In the meantime, if you want to paste in the following line at line 62 of osxbuild/build-app.py, you'll be fine. I'll put together a PR after rebasing on my end.

Code:
parser.add_option('--cleanupapp',   dest='cleanupapp',  default=False, action='store_true', help='Delete Python files in the compiled application')

After adding your change, the compilation ran without any errors. But I still can't run Armory.app. When double-clicking on it (even if I copy it to /Applicaitons first), nothing happens, and Console.app logs out "Service exited with abnormal code: 1".

Any ideas?

Make sure 0.94 isn't pointed at a 0.93.x DB folder.
sr. member
Activity: 525
Merit: 282
April 07, 2016, 12:46:59 PM
#5
Don't know about that one. Mine works fine. You may want to do a make clean and start from scratch to be safe.
pf
full member
Activity: 176
Merit: 105
April 06, 2016, 02:34:18 PM
#4
Yeah. I goofed and need to generate a PR to fix the build issue. Sorry about that! In the meantime, if you want to paste in the following line at line 62 of osxbuild/build-app.py, you'll be fine. I'll put together a PR after rebasing on my end.

Code:
parser.add_option('--cleanupapp',   dest='cleanupapp',  default=False, action='store_true', help='Delete Python files in the compiled application')

After adding your change, the compilation ran without any errors. But I still can't run Armory.app. When double-clicking on it (even if I copy it to /Applicaitons first), nothing happens, and Console.app logs out "Service exited with abnormal code: 1".

Any ideas?
Pages:
Jump to: