Pages:
Author

Topic: The collective Mastercoin-explorer, Mastercoin-ruby and Mastercoin-wallet topic - page 12. (Read 19601 times)

hero member
Activity: 938
Merit: 1000
hero member
Activity: 700
Merit: 500
For a non-dev like me it was quite a challenge to install this, but got it running finally. Awesome wallet so far!

Unfortunately, the app crashes when trying to make a simple send or when creating a new selling / purchasing offer. I suspect that's just a problem with my specific system setup (I'm on OS X 10.8.5) but I'm not sure yet what's causing this. Here's the terminal output after the crash (I removed the Bitcoin::Key part, don't know if this is sensitive data):

Code:
/Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.3/lib/mastercoin-wallet/builder.rb:178:in `create_transaction_with_keys': undefined method `pub_compressed' for # (NoMethodError)
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.3/lib/mastercoin-wallet/gui/simple_send_window.rb:51:in `send_payment'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/qtbindings-4.8.3.0/lib/Qt/qtruby4.rb:880:in `qt_metacall'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/qtbindings-4.8.3.0/lib/Qt/qtruby4.rb:880:in `method_missing'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/qtbindings-4.8.3.0/lib/Qt/qtruby4.rb:880:in `exec'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.3/lib/mastercoin-wallet/gui/main_window.rb:95:in `new_simple_send'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/qtbindings-4.8.3.0/lib/Qt/qtruby4.rb:880:in `qt_metacall'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/qtbindings-4.8.3.0/lib/Qt/qtruby4.rb:880:in `method_missing'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/qtbindings-4.8.3.0/lib/Qt/qtruby4.rb:880:in `exec'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/gems/mastercoin-wallet-0.0.3/bin/mastercoin-wallet:12:in `'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/bin/mastercoin-wallet:23:in `load'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/bin/mastercoin-wallet:23:in `
'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/bin/ruby_executable_hooks:15:in `eval'
from /Users/max/.rvm/gems/ruby-1.9.3-p448/bin/ruby_executable_hooks:15:in `
'
/Users/max/.rvm/gems/ruby-1.9.3-p448/bin/ruby_executable_hooks: [BUG] Segmentation fault
ruby 1.9.3p448 (2013-06-27 revision 41675) [x86_64-darwin12.5.0]

-- Control frame information -----------------------------------------------
c:0001 p:0000 s:0002 b:0002 l:0007c8 d:0007c8 TOP   



And another suggestion: column sorting on the "Distributed exchange" tab would be great (e.g. sort ascending by "Price per coin").
hero member
Activity: 938
Merit: 1000
full member
Activity: 201
Merit: 100
Hi Tachikoma,

Looks great!

I am getting the following error once I type "gem install mastercoin-wallet" from the instructions.

ERROR:  While executing gem ... (Gem::FilePermissionError)
    You don't have write permissions into the /Library/Ruby/Gems/1.8 directory

I then tried installing JewelryBox via https://jewelrybox.unfiniti.com/ v.1.5.1700 and installed 1.9.2-p320
1.) Clicked on Add Ruby from the top of the GUI
2.) Selected 1.9.2-p320 from left

Then received this message once I type "gem install mastercoin-wallet"
ERROR:  While executing gem ... (Gem::RemoteFetcher::FetchError)
    SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://rubygems.global.ssl.fastly.net/quick/Marshal.4.8/mastercoin-ruby-0.0.5.gemspec.rz)

Is there an easier way?  Cry

you need to elevate your permissions to that directory

try: sudo gem install mastercoin-wallet





sr. member
Activity: 279
Merit: 250
Hi Tachikoma,

Looks great!

I am getting the following error once I type "gem install mastercoin-wallet" from the instructions.

ERROR:  While executing gem ... (Gem::FilePermissionError)
    You don't have write permissions into the /Library/Ruby/Gems/1.8 directory

I then tried installing JewelryBox via https://jewelrybox.unfiniti.com/ v.1.5.1700 and installed 1.9.2-p320
1.) Clicked on Add Ruby from the top of the GUI
2.) Selected 1.9.2-p320 from left

Then received this message once I type "gem install mastercoin-wallet"
ERROR:  While executing gem ... (Gem::RemoteFetcher::FetchError)
    SSL_connect returned=1 errno=0 state=SSLv3 read server certificate B: certificate verify failed (https://rubygems.global.ssl.fastly.net/quick/Marshal.4.8/mastercoin-ruby-0.0.5.gemspec.rz)

Is there an easier way?  Cry



legendary
Activity: 1078
Merit: 1002
Bitcoin is new, makes sense to hodl.
it's saying cannot get bitcoin address from private key which I got from dumpprivkey
full member
Activity: 201
Merit: 100
I'm having probs with the the qtbindings when installing.  QT 5 would not work for me at all so trying now with QT 4 and from what I can tell I'm getting stuck at the smokeqtsql install:

In file included from /Library/Ruby/Gems/2.0.0/gems/qtbindings-4.8.3.0/ext/build/smoke/qtsql/x_1.cpp:2:
In file included from /Library/Ruby/Gems/2.0.0/gems/qtbindings-4.8.3.0/ext/smoke/qtsql/qtsql_includes.h:3:
In file included from /Library/Frameworks/QtSql.framework/Headers/QtSql:5:
/Library/Frameworks/QtSql.framework/Headers/qsqlrelationaldelegate.h:58:7: error: base class 'QItemDelegate' has private copy constructor
class QSqlRelationalDelegate: public QItemDelegate
      ^
/Library/Frameworks/QtGui.framework/Headers/qitemdelegate.h:130:20: note: declared private here
    Q_DISABLE_COPY(QItemDelegate)
                   ^
/Library/Frameworks/QtCore.framework/Headers/qglobal.h:2516:5: note: expanded from macro 'Q_DISABLE_COPY'
    Class(const Class &); \
    ^
/Library/Ruby/Gems/2.0.0/gems/qtbindings-4.8.3.0/ext/build/smoke/qtsql/x_1.cpp:3172:75: note: implicit default copy constructor for 'QSqlRelationalDelegate' first required here
    explicit x_QSqlRelationalDelegate(const QSqlRelationalDelegate& x1) : QSqlRelationalDelegate(x1) {}
                                                                          ^
1 warning and 1 error generated.
make[3]: *** [smoke/qtsql/CMakeFiles/smokeqtsql.dir/x_1.o] Error 1
make[2]: *** [smoke/qtsql/CMakeFiles/smokeqtsql.dir/all] Error 2
make[1]: *** [all] Error 2
make: *** [build] Error 2

Anyone have suggestions for something obvious I may be missing?
legendary
Activity: 1078
Merit: 1002
Bitcoin is new, makes sense to hodl.
hero member
Activity: 938
Merit: 1000
I believe QT5 is backwards compatible with QT4. Do know that brew has qt4. brew install qt will install 4, brew install qt5 will install 5.
full member
Activity: 201
Merit: 100
I've spend some time trying to package it but ran into a lot of problems. I will try it again but I didn't want to 'waste' too much time on packaging while I was still adding in features.

Of course. Will try to get it running using the readme.

If you have any problems let me know. I am on OS X myself so I should be able to make it work for you Smiley

Will try to keep my noob questions to a minimum...but have never dealt with QT before..is QT 5 ok or must be QT 4?  Asking because I'm getting build errors..jsut trying on OS X for now..will try ubuntu as well.
hero member
Activity: 938
Merit: 1000
I've spend some time trying to package it but ran into a lot of problems. I will try it again but I didn't want to 'waste' too much time on packaging while I was still adding in features.

Of course. Will try to get it running using the readme.

If you have any problems let me know. I am on OS X myself so I should be able to make it work for you Smiley
legendary
Activity: 2478
Merit: 1362
hero member
Activity: 700
Merit: 500
I've spend some time trying to package it but ran into a lot of problems. I will try it again but I didn't want to 'waste' too much time on packaging while I was still adding in features.

Of course. Will try to get it running using the readme.
hero member
Activity: 938
Merit: 1000
I've spend some time trying to package it but ran into a lot of problems. I will try it again but I didn't want to 'waste' too much time on packaging while I was still adding in features.
hero member
Activity: 700
Merit: 500
Mastercoin wallet looks great! I'm on OS X, I guess there's no out-of-the-box binary available yet, right?
hero member
Activity: 938
Merit: 1000
This is the joint topic for all things that have to do with my implementations of the Mastercoin.

Mastercoin-explorer, a website for looking up Mastercoin transactions.
Mastercoin-ruby, a ruby library for encoding/decoding Mastercoin messages.
Mastercoin-wallet, a thin client for sending/creating Mastercoin transactions.

This topic is meant to be a centralised place to discuss the behaviour and report bugs for these libraries.

Mastercoin-wallet

Features
  • View your transactions
  • Create/Send Simple Send transactions
  • Create/Send distributed Sell orders
  • Create/Send distributed Purchase orders
  • Create/Send Bitcoin payments for Purchase orders

Mastercoin wallet is a proof-of-concept thin client for Mastercoin. It communicates with Mastercoin-explorer in order to facilitates it features. To install Mastercoin-wallet read the Readme instructions. Once you have the dependencies it's a matter of typing 'gem install mastercoin-wallet' to install it and 'mastercoin-wallet' to start it. If you are using Bitcoind currently you can aquire your private key using the dumpprivkey console command.

Gotcha's/tips while using the software
  • The wallet requires at least Qt 4.7 for now. It will crash with 'undefined method PlaceHolderText' if you don't have it.
  • Mastercoin-explorer is currently updating it's database every 15 minutes. It is possible that data displayed is thus lagging behind other sources.
  • Mastercoin-explorer is currently updating it's database every 15 minutes. It is possible that data displayed is thus lagging behind other sources.
  • There will be a log file in your home folder (~/.mastercoin-wallet/debug.log on unix-like systems) that will give you the raw transaction hash that you can use to decode the messages.
  • Please realise that each Mastercoin transaction, even if it's test, will cost real Bitcoins. (even if they are just costing tiny amounts)

Installation on Ubuntu
This is tested on 13.10 but please let me know if it works on others.

Code:
sudo apt-get -y install curl
curl -L https://gist.github.com/maran/8182379/raw/7309391a1e2341ff9f0cb1ae6603e8006cb891cc/install.sh | bash

This will probably take about 20 minutes depending on your CPU.
Pages:
Jump to: