<<  >> (p.14)
    Author Topic: Armory - Discussion Thread  (Read 522386 times)
    etotheipi (OP)
    Legendary
    *
    Offline Offline

    Activity: 1428
    Merit: 1108


    Core Armory Developer


    View Profile WWW
    February 11, 2012, 04:03:32 AM
     #261

    I tried compiling and running Armory on Ubuntu 11.10 and got the following error.  I followed your instructions to the T, and get this:

    Code:
    ********************************************************************************
    Loading Armory Engine:
       Armory Version:       0.50
       PyBtcAddress Version: 1.00
       PyBtcWallet  Version: 1.35
    Detected Operating system: Linux
       User home-directory   :home/me
       Satoshi BTC directory :home/me/.bitcoin/
       Satoshi blk0001.dat   :home/me/.bitcoin/blk0001.dat
       Armory home dir       :home/me/.armory/
    ***ERROR:  C++ block utilities not available.
               Make sure that you have the SWIG-compiled modules
               in the current directory (or added to the PATH)
               Specifically, you need:
                      CppBlockUtils.py     and
                      _CppBlockUtils.so
    Traceback (most recent call last):
      File "ArmoryQt.py", line 39, in <module>
        from armoryengine import *
      File "/home/me/BitcoinArmory/armoryengine.py", line 330, in <module>
        TheBDM = Cpp.BlockDataManager().getBDM()
    NameError: name 'Cpp' is not defined

    Both of the files mentioned in the error message are in the BitcoinArmory directory (where I run python ArmoryQt.py).

    btc_artist,

    (1)  Did you try the LD_PRELOAD command before running Armory?  I've noticed I need that on any Ubuntu after 10.04:
    Code:
    LD_PRELOAD=/usr/lib/libcryptopp.so python ArmoryQt.py
      Make sure thatusr/lib/libcryptopp.so exists, or check for libcrypto++.so and use that instead.   But they should be there if you installed all the packages on the first step.

    (2)  If that doesn't work, there's a different problem.  From the project directory, go into a python shell and type "import CppBlockUtils".  It will fail again, but will give you a more-descriptive error message.  If it's something like "InteratedZZ8CHashZ5Function", go back to step 1 (cryptopp has a problem).  If the error is something else, please PM me and I'll address this off-thread.   So far, I haven't seen any other errors besides the cryptopp linking at runtime (which is what the LD_PRELOAD line resolves).

    Founder and CEO of Armory Technologies, Inc.
    Armory Bitcoin Wallet: Bringing cold storage to the average user!
    Only use Armory software signed by the Armory Offline Signing Key (0x98832223)

    Please donate to the Armory project by clicking here!    (or donate directly via 1QBDLYTDFHHZAABYSKGKPWKLSXZWCCJQBX -- yes, it's a real address!)
Page 13
Viewing Page: 14