Bitcoin Forum

Bitcoin => Project Development => Topic started by: da2ce7 on April 19, 2012, 03:44:55 PM



Title: Moneychanger (Windows Builds) - Out of Date!
Post by: da2ce7 on April 19, 2012, 03:44:55 PM
OUT OF DATE BUILDS - DO NOT USE!  -  Edit 30th October 2014


Open Transactions (commonly abbreviated OT) is a collection of tools that helps people create financial transactions.
Open Transactions is built around cryptographic messages.  Once can think it is as: ‘gpg-email for money’.

While Bitcoin provides a great way to transfer value between on identity to another; it doesn’t provide a good way to manage the ownership of real-things (such as hours worked, or the silver credits that your hold in your safe).

Moneychanger is our demonstration test-wallet (and if it becomes stable one could use it as their main wallet)… However for trivial amounts of value it should be ok.


Source:

If you are on a unix based system, the easiest way to get Open Transactions is to compile it yourself; please check-out our guides here:

https://github.com/Open-Transactions/Open-Transactions/tree/master/docs
https://github.com/Open-Transactions/Moneychanger/tree/master/doc

OPEN TRANSACTIONS IS EXPERIMENTAL SOFTWARE
DO NOT USE THESE BUILDS FOR A SIGNIFICANT AMOUNT OF VALUE
FOR USE ONLY IN A DEDICATED TESTING ENVIRONMENT
NO WARRANTY IS INCLUDED, OR IMPLIED


Windows:

Code:
SHA256(Open-Transactions-0.92.c-Win32-setup.exe)= 7b1c33c6427835f9b629902e06e057c8bb7638a2ba65346cc022a8786fcd8a00

Bitcoin-OTC 'da2ce7': http://bitcoin-otc.com/viewratingdetail.php?nick=da2ce7 (http://bitcoin-otc.com/viewratingdetail.php?nick=da2ce7)

Code:
-----BEGIN PGP MESSAGE-----
Version: GnuPG/MacGPG2 v2.0.22 (Darwin)
Comment: GPGTools - https://gpgtools.org

owGbwMvMwCXIMl/GwHjr82uMpyuTGIJL+j4GezgamZpp+Bek5umGFCXmFScml2Tm
5xXrGuhZGukl64Zn5hkb6RanlpQW6KVWpGraKpgnGSYbGyebmRiZWxibplkmmRlZ
WhoYpRqYpRqYmidbJCWZmxlbJBolJZqZGpuYJScbGBklWphbmKUlp1gkGhhwdcSx
MAhyMbCxMoEcwMDFKQBzVbgKI8PR42dnul5azt2Qr85yL41PfrJBCj/TIXPT8GX/
rA4derie4X/Z/PvCRxI9NKc/0t6z5ln2Haaal1kJrG88jaZtXdB+auYZAA==
=ehx0
-----END PGP MESSAGE-----

Download:


https://www.dropbox.com/s/htrobk8ifanaihz/Open-Transactions-0.92.c-Win32-setup.exe (https://www.dropbox.com/s/htrobk8ifanaihz/Open-Transactions-0.92.c-Win32-setup.exe)




Open Transaction isn't much use without digital assets:


Digital Assets:
Make sure your check out markm's thread for actual uses of OT:
https://bitcointalk.org/index.php?topic=53329



Hope everyone likes it!  Please report bugs.  :D


Title: Re: Unofficial Open Transactions and Moneychanger Builds
Post by: da2ce7 on April 19, 2012, 04:04:47 PM
well we already have my first fix... updated the moneychanger builds.

Tomorow I'll put a list of the know issues on the OP.


Title: Re: Unofficial Open Transactions and Moneychanger Builds
Post by: Stephen Gornick on April 19, 2012, 06:55:16 PM
Is Open Transactions really a topic for Bitcoin "Alternative clients"?  Though I can't think of a more appropriate forum and I suppose technically the OT server could be considered a Bitcoin client?


Title: Re: Unofficial Open Transactions and Moneychanger Builds
Post by: Nefario on April 19, 2012, 07:07:01 PM
GLBSE will be adding asset export via OT in a few weeks, if that helps make it any more bitcoiny.


Title: Re: Unofficial Open Transactions and Moneychanger Builds
Post by: jim618 on April 19, 2012, 07:07:25 PM
Is Open Transactions really a topic for Bitcoin "Alternative clients"?  Though I can't think of a more appropriate forum and I suppose technically the OT server could be considered a Bitcoin client?

"Give me your tired, your poor,
Your huddled masses yearning to breathe free,
The wretched refuse of your teeming shore.
Send these, the homeless, tempest-tost to me,
I lift my lamp beside the golden door!"


Title: Re: Unofficial Open Transactions and Moneychanger Builds
Post by: davout on April 19, 2012, 09:17:47 PM
monitoring


Title: Re: Unofficial Open Transactions and Moneychanger Builds
Post by: da2ce7 on April 20, 2012, 10:07:38 AM
Ok... Updated the moneychanger builds again! Lets hope they have less issues this time!

 ;D


Title: Re: Unofficial Open Transactions and Moneychanger Builds
Post by: da2ce7 on April 21, 2012, 06:46:56 AM
Ok... been testing my releases on other PC's been finding a few issues...

1.  If you do not have Visual Studio 2010 SP1 with the Windows SDK 7.1 installed, you will not be able to run any of the 'Debug' builds.
2.  For release builds you need to install:


Microsoft Visual C++ 2010 SP1 Redistributable Package (x86)
http://www.microsoft.com/download/en/details.aspx?id=8328

and

Microsoft Visual C++ 2010 SP1 Redistributable Package (x64)
http://www.microsoft.com/download/en/details.aspx?id=13523

(I have no idea why microsoft dosn't ship them with windows, but anyway...)

3.  You needed to have OpenSSL installed... however, with my new builds I'll ship the OpenSSL DLL's with it.


Title: Re: Unofficial Open Transactions and Moneychanger Builds (Updated 21 Apr. 12)
Post by: da2ce7 on April 21, 2012, 07:58:43 AM
New Builds. :)


Title: Re: Unofficial Open Transactions and Moneychanger Builds
Post by: fellowtraveler on April 21, 2012, 08:37:47 AM
Microsoft Visual C++ 2010 SP1 Redistributable Package (x86)
http://www.microsoft.com/download/en/details.aspx?id=8328
and
Microsoft Visual C++ 2010 SP1 Redistributable Package (x64)
http://www.microsoft.com/download/en/details.aspx?id=13523

(I have no idea why microsoft dosn't ship them with windows, but anyway...)

3.  You needed to have OpenSSL installed... however, with my new builds I'll ship the OpenSSL DLL's with it.

On Windows, it's our responsibility to ship the redistributable package that our software is built for, the same way that you are planning to add OpenSSL DLLs to future builds.

At some point soon we will have a "RoboInstall" project (or similar tool) for creating the Windows install, and that project will have the OpenSSL DLLs, the Windows redistributables, etc. All of that will build into a single install .exe and when that time comes, there will probably be a lot more people "kicking the tires" so I'm happy if that comes together slowly because it's been giving us time to test, debug, and strengthen the software. The testers we already have, have definitely kept my hands full for the past couple of months.


Title: Re: Unofficial Open Transactions and Moneychanger Builds
Post by: marcus_of_augustus on April 22, 2012, 01:36:12 AM
Is Open Transactions really a topic for Bitcoin "Alternative clients"?  Though I can't think of a more appropriate forum and I suppose technically the OT server could be considered a Bitcoin client?

Actually it is the OT java test client, Moneychanger, that could be considered a lite-weight bitcoin client/wallet ...
https://a248.e.akamai.net/camo.github.com/2fd2dce0b2b3428307ae477d295766d079934060/687474703a2f2f66742e766d2e746f2f626c6f67696d616765732f776f726b696e674254432e676966


Title: Re: Unofficial Open Transactions and Moneychanger Builds (Updated 21 Apr. 12)
Post by: becoin on April 22, 2012, 08:52:22 AM
To sub or not to sub? That's the question.  :D


Title: Re: Unofficial Open Transactions and Moneychanger Builds (Updated 24 Apr. 12)
Post by: da2ce7 on April 23, 2012, 04:34:07 PM
New OT Build for Windows.  Both Win32 and x64 this time!

I have included the OpenSSL DLL's this time to make things a bit easier.
Next build I'm going to be upgrading my OpenSSL packages to 1.0.1a :)

New Moneychanger Builds incoming soon also!


Title: Re: Unofficial Open Transactions and Moneychanger Builds (Updated 24 Apr. 12)
Post by: da2ce7 on April 23, 2012, 04:42:13 PM
Updated the Moneychanger Build.

I've decided to include both the Old and New packages in one archive this time.


Title: Re: Unofficial Open Transactions and Moneychanger Builds (Updated 24 Apr. 12)
Post by: da2ce7 on April 23, 2012, 05:07:29 PM
New OT Build for Windows.  Both Win32 and x64 this time!


Updated the Moneychanger Build.


Have tried making a simple All-In-One package for those who want to just try-out moneychanger on windows:

https://github.com/downloads/da2ce7/Moneychanger/Moneychanger-Win-24042012.7z


Please give me your comments!


Title: Re: Unofficial Open Transactions and Moneychanger Builds (Updated 24 Apr. 12)
Post by: fellowtraveler on April 24, 2012, 09:31:14 AM

Have tried making a simple All-In-One package for those who want to just try-out moneychanger on windows:

https://github.com/downloads/da2ce7/Moneychanger/Moneychanger-Win-24042012.7z

Please give me your comments!

I just wanted to point out, this is the final step before having an actual Windows install program.

da2ce7's package doesn't actually install software, but it does come with all the necessary components pre-built, so you don't have to compile anything at all, just copy some DLLs and you are ready to run.

I understand this version comes with working builds of the OT localhost Server as well as the Moneychanger test GUI, meaning that you should be able to actually run the server right there on your Windows box, and then pop up the client, and play around with cheques, cash, etc.

It's a pretty momentous day! We're getting closer and closer to click-of-the-button installs. I hope that many of you are able to download the package and play around with it, so da2ce7 can get the feedback he needs to refine it.

-FT


Title: Re: Unofficial Open Transactions and Moneychanger Builds (Updated 24 Apr. 12)
Post by: psiborg on April 24, 2012, 06:25:53 PM
I've been fudging around with this, but i have no idea what i need to tall moneychanger. What paths does it want? what is a password image file?
This is definitely nothing like an installer-ready build.
Doesn't work for me jet.


Title: Re: Unofficial Open Transactions and Moneychanger Builds (Updated 24 Apr. 12)
Post by: da2ce7 on April 25, 2012, 05:05:46 AM
I've been fudging around with this, but i have no idea what i need to tall moneychanger. What paths does it want? what is a password image file?
This is definitely nothing like an installer-ready build.
Doesn't work for me jet.

In the 'Java Paths' field you need to select where Java is going to look for the native libraries that contain all of the OT functions.

On Windows 32bit you should select:  ./Win32/Release/
On Windows 64bit you should select:  ./x64/Release/


The 'Password Image File' is a .png or .jpg file that you want stored in your OT local storage for your password image.  A password image is a file that loads up, unique to you, so you don't supply a password to the wrong dialogue by mistake.
Just select any Image file that you wish.

You will also need to copy the '.ot' directory to:  ./AppData/Roaming/  in the root of your user directory... Normal: C:\Users\(username)\


You will need to install the 32bit and 64bit version of java:
http://www.java.com/en/download/manual.jsp


As well as the Microsoft Visual C++ 2010 SP1 Libaries:
Win32: http://www.microsoft.com/download/en/details.aspx?id=8328
x64: http://www.microsoft.com/download/en/details.aspx?id=13523


Title: Re: Unofficial Open Transactions and Moneychanger Builds (Updated 24 Apr. 12)
Post by: psiborg on April 25, 2012, 09:16:25 AM
Ok I had everything right except for the password image file i think that one just didn't and still doesn't make much sense to me.
These are the errors I get:

com.moneychanger.ui.Load$LoadNativeDependenciesFailedException: java.lang.UnsatisfiedLinkError: C:\Users\psiborg\Downloads\Moneychanger-Win-24042012\moneychanger\Win32\Release\otlib.dll: The operating system cannot run %1
com.moneychanger.ui.Load$LoadFailedException: com.moneychanger.ui.Load$LoadNativeDependenciesFailedException: java.lang.UnsatisfiedLinkError: C:\Users\psiborg\Downloads\Moneychanger-Win-24042012\moneychanger\Win32\Release\otlib.dll: The operating system cannot run %1

Any ideas what's going on?


Title: Re: Unofficial Open Transactions and Moneychanger Builds (Updated 24 Apr. 12)
Post by: fellowtraveler on April 25, 2012, 10:44:43 AM
Ok I had everything right except for the password image file i think that one just didn't and still doesn't make much sense to me.

Imagine that you are performing a financial transaction.

For example, perhaps you are sending 100,000 grams of gold to Alice.

When you initiate such a transaction, a PASSWORD DIALOG will pop up on your screen. It might say, "Are you SURE you want to send 100,000 grams of gold to Alice? If so, enter your passphrase: "

NOW: How do you know FOR SURE that this is really your password dialog? How do you know it's not some FAKE DIALOG that a HACKER created, so he could TRICK you into entering your passphrase?

Because eventually when OT has a real install process, part of that process will force you to choose a PASSWORD IMAGE -- one of your own choosing. Perhaps you selected a picture of a goat that was dear to you in your childhood. Every time the passphrase dialog pops up, for you to enter your passphrase, that goat picture will appear on the dialog.

A hacker trying to impersonate your passphrase dialog will be very unlikely to guess the exact goat picture that you chose for yours, and thus will be unable to trick you into entering your passphrase into an imposter dialog. Without this security precaution, the hacker could make a fake dialog that would look correct to thousands of people.  But WITH this security precaution, the hacker would have to guess the individual password image used by each and every one of those thousands of people (and it's extremely unlikely that he could do that...) When his fake dialog pops up, any near-victim would immediately see that it's the wrong dialog, since it does not feature the unique password image that person chose when he first installed OT.

I hope that clears it up.  I'm sure da2ce7 will contact you soon to help figure out the issue you are having.


Title: Re: Unofficial Open Transactions and Moneychanger Builds (Updated 24 Apr. 12)
Post by: psiborg on April 27, 2012, 12:15:23 PM
That's pretty clever, I just wish I could actually run this thing.
OT server seems to run fine, but MoneyChanger doesn't yet.


Title: Re: Unofficial Open Transactions and Moneychanger Builds (Updated 24 Apr. 12)
Post by: etotheipi on May 08, 2012, 02:25:17 AM
A hacker trying to impersonate your passphrase dialog will be very unlikely to guess the exact goat picture that you chose for yours, and thus will be unable to trick you into entering your passphrase into an imposter dialog. Without this security precaution, the hacker could make a fake dialog that would look correct to thousands of people.  But WITH this security precaution, the hacker would have to guess the individual password image used by each and every one of those thousands of people (and it's extremely unlikely that he could do that...) When his fake dialog pops up, any near-victim would immediately see that it's the wrong dialog, since it does not feature the unique password image that person chose when he first installed OT.

I hope that clears it up.  I'm sure da2ce7 will contact you soon to help figure out the issue you are having.

What's stopping the hacker's software from reading your settings file for OT and finding out what password picture it uses?

I've seen this technique on yahoo mail before, where the attacker has to put up a fairly generic webpage and doesn't have access to your password picture.  But if the hacker already planted software on your system, I would think it has access to everything it needs to impersonate the dialog.


Title: Re: Unofficial Open Transactions and Moneychanger Builds (Updated 24 Apr. 12)
Post by: fellowtraveler on May 08, 2012, 08:17:46 AM
A hacker trying to impersonate your passphrase dialog will be very unlikely to guess the exact goat picture that you chose for yours, and thus will be unable to trick you into entering your passphrase into an imposter dialog. Without this security precaution, the hacker could make a fake dialog that would look correct to thousands of people.  But WITH this security precaution, the hacker would have to guess the individual password image used by each and every one of those thousands of people (and it's extremely unlikely that he could do that...) When his fake dialog pops up, any near-victim would immediately see that it's the wrong dialog, since it does not feature the unique password image that person chose when he first installed OT.

I hope that clears it up.  I'm sure da2ce7 will contact you soon to help figure out the issue you are having.

What's stopping the hacker's software from reading your settings file for OT and finding out what password picture it uses?

I've seen this technique on yahoo mail before, where the attacker has to put up a fairly generic webpage and doesn't have access to your password picture.  But if the hacker already planted software on your system, I would think it has access to everything it needs to impersonate the dialog.

The OT settings file isn't encrypted yet, but I'm storing the picture file location inside the settings file, so that when the day comes that the settings ARE encrypted, the location will be safe in there as well.

(da2ce7, FYI, this is why the picture path is stored in OT settings instead of generic Java settings...)

As for a compromised system, I agree there's not much you can do about that, except try to practice better security.

I do, however, believe that as a result of that, things are going to have to move towards smart cards.

-FT


Title: Re: Unofficial Open Transactions and Moneychanger Builds (Updated 24 Apr. 12)
Post by: da2ce7 on May 09, 2012, 02:59:13 AM
(da2ce7, FYI, this is why the picture path is stored in OT settings instead of generic Java settings...)

Yes... The Java Generic Settings only stores IF a password image has been set... not what image it is.


Title: Re: Unofficial Open Transactions and Moneychanger Builds (Updated 24 Apr. 12)
Post by: da2ce7 on May 17, 2012, 02:18:21 PM
The builds are out of date... Will be uploading new ones soon!


Title: Re: Unofficial Open Transactions and Moneychanger Builds (Updated 24 Apr. 12)
Post by: da2ce7 on May 18, 2012, 07:32:56 AM
The builds are out of date... Will be uploading new ones soon!


Updated Builds... Hope they work better this time!


Title: Re: Unofficial Open Transactions and Moneychanger Builds (Updated 18 May. 12)
Post by: da2ce7 on May 21, 2012, 08:06:11 AM
My Branch of Open Transactions now has Automake support!

https://github.com/da2ce7/Open-Transactions/blob/master/Makefile.am


Title: Re: Unofficial Open Transactions and Moneychanger Builds (Updated 24 May. 12)
Post by: da2ce7 on May 24, 2012, 06:35:38 AM
Updated Windows Builds!  :o :o :o :o

Now Compiling with Unicode; also updated to latest ChaiScript and ZeroMQ versions.


Title: Re: Unofficial Open Transactions and Moneychanger Builds (Updated 24 May. 12)
Post by: da2ce7 on May 24, 2012, 06:37:26 AM
Updated Windows Builds!  :o :o :o :o

Now Compiling with Unicode; also updated to latest ChaiScript and ZeroMQ versions.


Also Fixed some bugs that made it not run properly on Windows XP.  ;)


Title: Re: Unofficial Open Transactions and Moneychanger Builds (Updated 19th June 2012)
Post by: da2ce7 on June 19, 2012, 09:03:46 AM
Big Update!  :D  :)  :D  :)  :D

1.  Cash now works on windows!  (don't ask me how many bugs had to be squashed to get this working!!!)...

2.  Configuration Files are auto-generated (you still need to copy over the user-data... however that now only includes the wallet and contract files).

3.  Heaps of bug-fixes and work on scripting.... ot prompt is now included in this package.

4.  Heaps of Upstream work from FellowTraveler!   My branch has been rebased against FT's master.  :)


Overall, please test.... I think that we have got to the stage where it can almost be used for demonstration purposes! :)


Title: Re: Unofficial Open Transactions and Moneychanger Builds (Updated 19th June 2012)
Post by: da2ce7 on June 19, 2012, 09:28:17 AM
Oh yeah... Now everything is built with Unicode support!  ;D

*we there were a few bugs with zmq and OpenSSL.


Title: Re: Unofficial Open Transactions and Moneychanger Builds (Updated 20th June 2012)
Post by: da2ce7 on June 19, 2012, 03:44:11 PM
Fixed some visual issues with Moneychanger...  Now it will be usable on lower resolution screens.  ;D   and Have made some pictures of Moneychanger in action!

Settings Screen:
http://hostinga.imagecross.com/image-hosting-17/345Settings_Load.png

Password with Image:
http://hostinga.imagecross.com/image-hosting-17/3676Password_Image_Load.png

Moneychanger Loaded:
http://hostinga.imagecross.com/image-hosting-17/3209Moneychanger_loaded.png

Exporting Cash:
http://hostinga.imagecross.com/image-hosting-17/5427export_ot_cash.png

Depositing The Cash again:
http://hostinga.imagecross.com/image-hosting-17/7950cash_deposit.png

:)

Well there we are!  :)   Moneychanger is REALLY working on Windows!


Title: Re: Unofficial Open Transactions and Moneychanger Builds (Updated 20th June 2012)
Post by: da2ce7 on June 20, 2012, 08:43:36 AM
Fixed a bug in the User Data... https://github.com/downloads/da2ce7/Open-Transactions/Open-Transactions_916224f_UserData_and_Scripts.7z


Title: Re: Unofficial Open Transactions and Moneychanger Builds (Updated 20th June 2012)
Post by: da2ce7 on June 20, 2012, 08:47:47 AM
Updated Version of Moneychanger... This update is mainly visual changes.  :o

https://github.com/downloads/da2ce7/Moneychanger/Moneychanger-47447f5.jar


Title: Re: Unofficial Open Transactions and Moneychanger Builds (Updated 20th June 2012)
Post by: HostFat on June 20, 2012, 09:06:07 AM
otserver.exe crashes.
Is this usefull to you?
https://i.imgur.com/6C0sw.jpg


Title: Re: Unofficial Open Transactions and Moneychanger Builds (Updated 20th June 2012)
Post by: da2ce7 on June 20, 2012, 11:13:28 AM
otserver.exe crashes.
Is this usefull to you?
https://i.imgur.com/6C0sw.jpg

You didn't copy over the user data.  See the OP.  It needs to be copied into the AppData/Roaming folder.


Title: Re: Unofficial Open Transactions and Moneychanger Builds (Updated 20th June 2012)
Post by: da2ce7 on June 20, 2012, 11:18:01 AM
You didn't copy over the user data.  See the OP.  It needs to be copied into the AppData/Roaming folder.

see: inside the user_data folder... There is a "server_data" folder... Copy that folder into the root of /roaming/OpenTransactions

Hmm.... I really need to make a pictured install guide...



Title: Re: Open Transactions and Moneychanger
Post by: HostFat on June 20, 2012, 11:25:39 AM
Windows XP doesn't have the roaming folder.
%appdata% redirect to "C:\Documents and Settings\[username]\Application Data"

The "Bitcoin" config folder is here:

%appdata%\bitcoin

"C:\Documents and Settings\[username]\Application Data\Bitcoin"


Title: Re: Open Transactions and Moneychanger
Post by: da2ce7 on June 20, 2012, 11:56:55 AM
In that case:

C:\Documents and Settings\[username]\Application Data\OpenTransactions\client_data\

You will need to get the new version of the User Data in my OP.  As I found a bug in the old version.


Title: Re: Open Transactions and Moneychanger
Post by: HostFat on June 20, 2012, 12:14:31 PM
Ok I did it.
Now I have "client_data" and "server_data" here:
C:\Documents and Settings\[username]\Application Data\OpenTransactions

I run otserver and I get this:

Code:
Loading Open Transactions server. File version: 2.0
 Last Issued Transaction Number: 580
 ServerID:
tBy5mL14qSQXCJK7Uz3WlTOKRP9M0JZksA3Eg7EnnQ1

Loading masterKey:
CkwAAQCAAAD//wAAAAhF55ttRJnIAgAAABAJe1kC7/qatp+gp1CW7DOVAAAAIJoT
vDjkRsl+LgKYCyf2kZPUxdZFeKJXYHFdzuk/m+uJ

PLEASE SIGN YOUR PASSPHRASE, for: "OTAsymmetricKey::LoadPrivateKeyFromCertString
 is calling PEM_read_bio_PrivateKey..."
(OT) passphrase:

If I write something and than press [enter], it crashes again.


Title: Re: Open Transactions and Moneychanger
Post by: da2ce7 on June 20, 2012, 12:52:40 PM
The passphase is 'test'


Title: Re: Open Transactions and Moneychanger
Post by: HostFat on June 20, 2012, 01:03:48 PM
Ok, it doesn't crash, anyway here I am:
https://i.imgur.com/kjydL.jpg
is it right?

If I click "Attempt Load", Moneychanger disappears and nothing happens.


Title: Re: Open Transactions and Moneychanger
Post by: PLATO on June 20, 2012, 01:12:24 PM
subscribing, you guys have done so much work!

cheeers
plato


Title: Re: Open Transactions and Moneychanger
Post by: MoneyIsDebt on June 20, 2012, 04:05:25 PM
Good work guys. So much potential here..


Title: Re: Open Transactions and Moneychanger
Post by: da2ce7 on June 20, 2012, 11:39:12 PM
Can you please show the output of:

Load up command line:

java -jar (moneychanger.jar)

:)


Title: Re: Open Transactions and Moneychanger
Post by: da2ce7 on June 21, 2012, 04:42:46 AM
@HostFat  New All-In-One Moneychanger Package is done!   :o


Title: Re: Open Transactions and Moneychanger
Post by: HostFat on June 21, 2012, 06:12:48 AM
Ok, I followed the new instructions ( I deleted the old files ).
This is what I get from Moneychanger console:
Code:
Welcome to Open Transactions -- version 0.82.d
The Winsock 2.2 dll was found okay
GetOTServerDataPath: User App Data Path: C:\Documents and Settings\xxxxxxxxxxx\Ap
plication Data
OTLog::FindOTDataLocation: No explicit Configuration File Set... Using Default
Setting paths        client_data to:                client_data
Setting paths        client_data_is_relative_to_ot_dir to: true
Setting logging      log_filename to:               log-client.log
Setting logging      log_level to:                  0
Setting latency      blocking to:                   false
Setting latency      send_delay_after to:           50
Setting latency      send_fail_no_tries to:         2
Setting latency      send_fail_max_ms to:           5000
Setting latency      recv_fail_no_tries to:         2
Setting latency      recv_fail_max_ms to:           5000
Setting markets      minimum_scale to:              1
Setting security     master_key_timeout to:         300
StorageFS::Init: one: C:\Documents and Settings\xxxxxxxxxxx\Application Data/Open
Transactions/client_data two:
Load.initOTAPI: SUCCESS invoking OT_API_Init().
Completed Stage: InitOTAPI


Started Stage: SetupPasswordImage

getImagePath top...
Utility.getImagePath():  File does not exist: (OT_MAIN_PATH)/moneychanger/settin
gs.dat
null
com.moneychanger.ui.Load$SetupPasswordImageFailedException: No Path available
com.moneychanger.ui.Load$LoadFailedException: com.moneychanger.ui.Load$SetupPass
wordImageFailedException: No Path available
SomethingBad Happend! We couldn't load properly!
Press any key to continue . . .


Title: Re: Open Transactions and Moneychanger
Post by: da2ce7 on June 21, 2012, 06:30:37 AM
Utility.getImagePath():  File does not exist: (OT_MAIN_PATH)/moneychanger/settin
gs.dat

You didn't set a "Password Image" on the Settings Window.

Edit:
The "Password Image" is any image file that you want.  It is shown when a password dialogue is shown... In the future it will be in an encrypted data file on your computer...


Title: Re: Open Transactions and Moneychanger
Post by: HostFat on June 21, 2012, 06:40:02 AM
Ok, it works :)


Title: Re: Open Transactions and Moneychanger
Post by: da2ce7 on July 10, 2012, 03:46:29 AM
new build: https://github.com/downloads/da2ce7/Moneychanger/OpenTransactions_ab671dd_and_Moneychanger-8d5a001.7z


Title: Re: Open Transactions and Moneychanger
Post by: da2ce7 on July 10, 2012, 05:09:34 AM
new build: https://github.com/downloads/da2ce7/Moneychanger/OpenTransactions_ab671dd_and_Moneychanger-8d5a001.7z

This is our new Build.  Many changes and fixes.

Please Test!


Title: Re: Open Transactions and Moneychanger
Post by: Explodicle on July 11, 2012, 04:18:48 AM
new build: https://github.com/downloads/da2ce7/Moneychanger/OpenTransactions_ab671dd_and_Moneychanger-8d5a001.7z

This is our new Build.  Many changes and fixes.

Please Test!

Is it the same as the one on github? (for non-Windows users)


Title: Re: Open Transactions and Moneychanger
Post by: da2ce7 on July 11, 2012, 06:07:16 AM
Is it the same as the one on github? (for non-Windows users)

Yes. This is the same as the one on my GitHub...

https://github.com/da2ce7/Open-Transactions
https://github.com/da2ce7/Moneychanger

FellowTraveler hasn't merged my changes yet.


Title: Re: Open Transactions and Moneychanger
Post by: HostFat on July 13, 2012, 12:11:20 PM
Will you add something like an user-friendly auto-update system? ( something NOT "forced", the user will always choice what to do ... )

Main devs will be using this system: https://github.com/bitcoin/bitcoin/pull/1453


Title: Re: Open Transactions and Moneychanger
Post by: da2ce7 on August 18, 2012, 10:24:30 AM
New Windows Development Builds...

These builds have a few more dependencies, but have full debugging symbols included.

Follow the instructions here to install the dependencies:

https://github.com/da2ce7/Open-Transactions/blob/master/docs/INSTALL-Windows.txt

Win32:

https://github.com/downloads/da2ce7/Open-Transactions/OT_0.84.e_Win_x32_Debug_2.7z.7z

Win64:

https://github.com/downloads/da2ce7/Open-Transactions/OT_0.84.e_Win_x64_Debug.7z


Title: Re: Open Transactions and Moneychanger
Post by: da2ce7 on August 23, 2012, 12:42:22 PM
Been working hard on replacing the c api with c++.

Have finished the initial work:

Budding programmers can make use of:

https://github.com/da2ce7/Open-Transactions/blob/master/include/otapi/OTAPI_Wrapper.h

and (basic, just bool, long, and string)

https://github.com/da2ce7/Open-Transactions/blob/master/include/otapi/OTAPI_Basic.h

:)

Swig has been updated as-well:

https://github.com/da2ce7/Open-Transactions/tree/master/swig/glue

for csharp, d, java, perl5, php, and python :)


I'm going to work on next:  The high-level api...  (this is the one you will probably want to use).


Title: Re: Open Transactions and Moneychanger
Post by: ripper234 on August 25, 2012, 05:49:53 AM
FYI, I created a bounty (https://bitcointalk.org/index.php?topic=103123.msg1131355#msg1131355) for a Windows installer for MoneyChanger.


Title: Re: Open Transactions and Moneychanger
Post by: da2ce7 on September 25, 2012, 02:14:33 AM
new release!

This one is the simplest release yet!  (check the OP)

Quote from: From The Install Guide
OpenSSL (v1.0.1c Light):

Make sure you download the 2008 C++ Redistributable (linked on the website).
!!When Installing select the 'install to system folder' option.!!
http://slproweb.com/products/Win32OpenSSL.html

Visual C++ Redistributable for Visual Studio 2012:
http://www.microsoft.com/en-us/download/details.aspx?id=30679

Java (7+):
http://www.java.com/en/download/index.jsp



Title: Re: Open Transactions and Moneychanger
Post by: HostFat on September 25, 2012, 07:26:17 AM
Is it possible to lower the requirements to be usable also on Windows XP?
Quote
Visual C++ Redistributable for Visual Studio 2012:
Supported operating systems: Windows 7 Service Pack 1, Windows 8, Windows Server 2008 R2 SP1, Windows Server 2012, Windows Vista Service Pack 2

Windows 7 SP1 (x86 and x64)
Windows 8 (x86 and x64)
Windows Server 2008 R2 SP1 (x64)
 
Windows Server 2008 SP2 (x64)
Windows Vista SP2 (x86 and x64)
Windows Server 2012 (x64)


Title: Re: Open Transactions and Moneychanger
Post by: da2ce7 on September 25, 2012, 09:08:41 AM
Is it possible to lower the requirements to be usable also on Windows XP?
Quote
Visual C++ Redistributable for Visual Studio 2012:
Supported operating systems: Windows 7 Service Pack 1, Windows 8, Windows Server 2008 R2 SP1, Windows Server 2012, Windows Vista Service Pack 2

Windows 7 SP1 (x86 and x64)
Windows 8 (x86 and x64)
Windows Server 2008 R2 SP1 (x64)
 
Windows Server 2008 SP2 (x64)
Windows Vista SP2 (x86 and x64)
Windows Server 2012 (x64)

I guess if somebody wants to make mingw builds of OT they would work fine...  The OT Project is moving to C++x11 features, that are supported in the 4.6+ versions of GCC.
However from Microsoft compilers, this restricts us to Vista (SP2) and 7 (SP1).


Title: Re: Open Transactions and Moneychanger
Post by: fellowtraveler on September 25, 2012, 06:16:25 PM
Is it possible to lower the requirements to be usable also on Windows XP?
Quote
Visual C++ Redistributable for Visual Studio 2012:
Supported operating systems: Windows 7 Service Pack 1, Windows 8, Windows Server 2008 R2 SP1, Windows Server 2012, Windows Vista Service Pack 2

Windows 7 SP1 (x86 and x64)
Windows 8 (x86 and x64)
Windows Server 2008 R2 SP1 (x64)
 
Windows Server 2008 SP2 (x64)
Windows Vista SP2 (x86 and x64)
Windows Server 2012 (x64)

I guess if somebody wants to make mingw builds of OT they would work fine...  The OT Project is moving to C++x11 features, that are supported in the 4.6+ versions of GCC.
However from Microsoft compilers, this restricts us to Vista (SP2) and 7 (SP1).

The benefit of Windows is the huge install base.

Therefore it might be a mistake to move towards a newer version of the compiler, if it's going to automatically slice away hundreds of millions of potential users...

Not everyone in the world has a nice new Mac like some of us.


Title: Re: Open Transactions and Moneychanger
Post by: da2ce7 on September 26, 2012, 03:34:57 AM
The benefit of Windows is the huge install base.

Therefore it might be a mistake to move towards a newer version of the compiler, if it's going to automatically slice away hundreds of millions of potential users...

Not everyone in the world has a nice new Mac like some of us.

Agreed, that is why I've been working on the windows version.  I think that if OT gets much more popular, then I'm sure somebody will build some windows builds with GCC 4.7 with mingw (like how bitcoin is built).


Title: Re: Open Transactions and Moneychanger
Post by: da2ce7 on September 26, 2012, 04:50:59 AM
Ok New Version released!  This version just has a few java bug-fixes.

Please not that if you are running Windows x64 you may need to install both the x86 and x64 version of OpenSSL, and VC Runtimes.

https://github.com/downloads/da2ce7/Moneychanger/da2ce7-Moneychanger-00.10.07.7z

Code:
-----BEGIN PGP MESSAGE-----
Version: GnuPG v2.0.19 (MingW32)

owGbwMvMwCHIMl/GwHjr82uMpyclMQQkdRSmJBolp5rr+ubnpVYmZyTmpacW6RoY
6Bka6BmY6ZlXWSlYOBsamppYOik4OhoaGZq5mStYOluYupg6Oym4GhsZOzlbGisY
OLlYGDsZWfByKRACTmbOlkZmhoYKTsYuzgaOTsYKRkBjjY1MHXm5OuJYGAQ5GNhY
mUAuY+DiFIA599QJhv/lJ/dUXPPi61yTd7KT41XSFmd149olp/Pefrx78vMr7cpb
DP+Lw24u+PliS87hWtepTF+cXkzP9NjUsfKn1yG7Txlfa5TSAQ==
=pEmb
-----END PGP MESSAGE-----


Title: Re: Open Transactions and Moneychanger
Post by: markm on September 30, 2012, 01:13:31 AM
So is this new Windows release working for everyone? For anyone? I am not seeing much sign that people have had much success getting it up and running?

-MarkM-


Title: Re: Open Transactions and Moneychanger
Post by: HostFat on September 30, 2012, 01:16:14 AM
I think that this project need an homepage with some screenshots, example:
http://multibit.org/
http://bitcoinarmory.com/
http://bitcoin.org/


Title: Re: Open Transactions and Moneychanger
Post by: markm on September 30, 2012, 01:22:09 AM
How about videos?

http://open-transactions-tv.github.com/

Here are some screenshots:

https://github.com/FellowTraveler/Moneychanger

There are also wikis:

https://github.com/FellowTraveler/Moneychanger/wiki

https://github.com/FellowTraveler/Open-Transactions

-MarkM-


Title: Re: Open Transactions and Moneychanger
Post by: HostFat on September 30, 2012, 01:25:04 AM
I know that there are all these resources, but I think that it needs only one page/site with all of them.
All of these resources are so scattered that this still seems an alpha project to newbie users.
By the way this is just my opinion.

It would be nice also to have an rss/twitter account/facebook page/whatever that help to be always automaticaly updated on the status of releases, and as I said it should be noob-prof.


Title: Re: Open Transactions and Moneychanger
Post by: CJGoodings on September 30, 2012, 01:31:42 AM
I know that there are all these resources, but I think that it needs only one page/site with all of them.
All of these resources are so scattered that this still seems an alpha project to newbie users.
By the way this is just my opinion.

Absolutely, was just about to mention something along those lines. As using OT can be somewhat technical at times, the only way i see this becoming common and easy to use, would require a weusecoins type style site (straight to the point, with the ability to teach granny how to use in just a few steps), with everything of importance collected in one place with all the serious tech mumbo jumbo cutout.


Title: Re: Open Transactions and Moneychanger
Post by: markm on September 30, 2012, 01:33:26 AM
FellowTraveler is very modest about it. He has not officially characterised it as beta yet as far as I know.

I have been running a server a long time though and frankly i have never known any financial system so robust where it counts, which is in actually keeping all the balances correct. Seems like all other systems invariably get some balance somewhere wrong sometime. It always seemed to me the "trial balance" in commercial accounting systems was for more than just making sure the humans got their inputs right, not sure I have ever run anything before in which the balances and the overall balance was this robust.

So sure yeah the user interface is terrible, it needs to be made to handle more load, and so on and so on, but there is nothing quite like it for actually keeping track of actual balances.

TL;DR it *is* alpha, "officially".

-MarkM-


Title: Re: Open Transactions and Moneychanger
Post by: markm on September 30, 2012, 01:35:53 AM
Absolutely, was just about to mention something along those lines. As using OT can be somewhat technical at times, the only way i see this becoming common and easy to use. would require a weusecoins type style site (straight to the point, with the ability to teach granny how to use in just a few steps), with everything of importance collected in one place with all the serious tech mumbo jumbo cutout.

Before that someone should step up to grab the (185+ BTC) bounty for making a client for grannies. This current client is is a reference client, demonstrating how to code all the many things Open Transactions can do.

The bounty thread is at https://bitcointalk.org/index.php?topic=105506.0

-MarkM-


Title: Re: Open Transactions and Moneychanger
Post by: ripper234 on September 30, 2012, 07:10:11 AM
So is this new Windows release working for everyone? For anyone? I am not seeing much sign that people have had much success getting it up and running?

-MarkM-


I haven't been able to make it work yet.


Title: Re: Open Transactions and Moneychanger
Post by: da2ce7 on September 30, 2012, 08:24:49 AM
So is this new Windows release working for everyone? For anyone? I am not seeing much sign that people have had much success getting it up and running?

-MarkM-


I haven't been able to make it work yet.

Can you please provide us with some feedback, such as the error outputs.


Title: Re: Open Transactions and Moneychanger
Post by: ripper234 on September 30, 2012, 09:02:16 AM
So is this new Windows release working for everyone? For anyone? I am not seeing much sign that people have had much success getting it up and running?

-MarkM-


I haven't been able to make it work yet.

Can you please provide us with some feedback, such as the error outputs.

No problem, I'll send in detailed feedback in a few days.


Title: Re: Open Transactions and Moneychanger
Post by: scrybe on October 02, 2012, 03:11:15 AM
So is this new Windows release working for everyone? For anyone? I am not seeing much sign that people have had much success getting it up and running?

-MarkM-


I'm having issues with Java crashing:

We are on Windows!
Loading libzmq:   Success!
Loading chaiscript:   Success!
Loading otlib:
ERROR:   Loading Windows DLL's Failed
java.lang.UnsatisfiedLinkError: C:\Games\moneychanger\data\lib\Win32\Release\otlib.dll: The specified procedure could not be found
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary1(Unknown Source)
...

I've got the 32-bit MSVC and openssl components installed, and I've verified I'm using 32-bit Java. What else should I be looking for?


Title: Re: Open Transactions and Moneychanger
Post by: da2ce7 on October 02, 2012, 04:26:29 AM
I'm having issues with Java crashing:

We are on Windows!
Loading libzmq:   Success!
Loading chaiscript:   Success!
Loading otlib:
ERROR:   Loading Windows DLL's Failed
java.lang.UnsatisfiedLinkError: C:\Games\moneychanger\data\lib\Win32\Release\otlib.dll: The specified procedure could not be found
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary1(Unknown Source)
...

I've got the 32-bit MSVC and openssl components installed, and I've verified I'm using 32-bit Java. What else should I be looking for?

Hmm this is interesting... I haven't seen this particular error before. hmmm...


Title: Re: Open Transactions and Moneychanger
Post by: da2ce7 on October 02, 2012, 06:20:26 AM
Hmm this is interesting... I haven't seen this particular error before. hmmm...

Can you please tell me:

What version of windows you are using.
What version of Java you are using.
If your  C:\Games\moneychanger\ directory is completely clean other than my latest release.

Have you tried it with java x64 (if you are using a x64 version of windows)?

as-well can you please paste bin the entire output.


Title: Re: Open Transactions and Moneychanger
Post by: markm on October 04, 2012, 12:54:30 AM
Hmm not a lot that can be done without details of the actual problem and exactly what set of dependencies etc it happened with...

Anyone else running into those same problems?

-MarkM-


Title: Re: Open Transactions and Moneychanger
Post by: drekk on October 04, 2012, 10:31:13 AM
So is this new Windows release working for everyone? For anyone? I am not seeing much sign that people have had much success getting it up and running?

I can't extract the archive. 7zip errors with "unknown compression method" (roughly translated from German client).

Win7 Pro, 7zip alpha

Cheers!
  ~drekk~


Title: Re: Open Transactions and Moneychanger
Post by: da2ce7 on October 04, 2012, 10:57:22 PM
I can't extract the archive. 7zip errors with "unknown compression method" (roughly translated from German client).

Win7 Pro, 7zip alpha

Cheers!
  ~drekk~

Hmm...

Just tested https://github.com/downloads/da2ce7/Moneychanger/da2ce7-Moneychanger-00.10.07.7z

With WinRar, it worked fine.


Also make sure that the file has downloaded correctly.
It's File-hash should be

SHA256(da2ce7-Moneychanger-00.10.07.7z)= a75fdaf96339abbb04a9f39df940aad1227f0ed1e76870b8b7b1db02d5ba885d


Title: Re: Open Transactions and Moneychanger
Post by: drekk on October 04, 2012, 11:55:50 PM
I can't extract the archive. 7zip errors with "unknown compression method".
Win7 Pro, 7zip alpha
Just tested https://github.com/downloads/da2ce7/Moneychanger/da2ce7-Moneychanger-00.10.07.7z

With WinRar, it worked fine.


Also make sure that the file has downloaded correctly.
It's File-hash should be

SHA256(da2ce7-Moneychanger-00.10.07.7z)= a75fdaf96339abbb04a9f39df940aad1227f0ed1e76870b8b7b1db02d5ba885d

Re-installed 7zip, downloaded archive several times, still same error:

https://i.imgur.com/mSxWOl.png (http://imgur.com/mSxWO)
MD5: 9a374abe66ee9356d4b8737150485132 *da2ce7-Moneychanger-00.10.07.7z
SHA1: 5f2482213648b4599d0a7e9349a488ec9265e824 *da2ce7-Moneychanger-00.10.07.7z

But since I'm the only one with this problem obviously, I'll try with different archivers.

Thanks!
  ~drekk~


Title: Re: Open Transactions and Moneychanger
Post by: da2ce7 on October 05, 2012, 02:21:00 AM
SHA1: 5f2482213648b4599d0a7e9349a488ec9265e824 *da2ce7-Moneychanger-00.10.07.7z

But since I'm the only one with this problem obviously, I'll try with different archivers.

Thanks!
  ~drekk~

I'm using 7-zip 9.28 alpha [64-bit]; if that helps.

Hmm... at-least the hashes match :)


Title: Re: Open Transactions and Moneychanger
Post by: ripper234 on October 06, 2012, 10:13:41 PM
Can you please provide us with some feedback, such as the error outputs.

I ran this on my Windows 7 64 bit, Java 7 (I actually think my Java installation on this machine is 32 bit, it is installed in C:\Program Files (x86)\Java\jdk1.7.0_05).

1. Downloaded an extracted this 7z (https://github.com/downloads/da2ce7/Moneychanger/da2ce7-Moneychanger-00.10.07.7z)
2. Ran run_moneychanger.bat :

Quote
D:\utils\Moneychanger\da2ce7-Moneychanger>run_moneychanger.bat
ERROR: The system was unable to find the specified registry key or value.
ERROR: The system was unable to find the specified registry key or value.
"Found JAVA in: C:\Program Files (x86)\Java\jre7"


Completed Stage: Init

DISABLING AUTOLOAD FOR DEBUG!
We didn't load Successfuly Last time, Showing Seetings...!

Started Stage: Opt_InitSettings
Completed Stage: Opt_InitSettings


Started Stage: Opt_LoadSettings
x86
x86
Load.JavaPaths: Adding path: .\lib\Win32\Release
Completed Stage: Opt_LoadSettings

Finished on Thread[Thread-2,6,main]

3. Despite the errors, got the settings screen. Clicked on Attempt Load, and go this:

Quote
Started Stage: Opt_UpdateSettings
Completed Stage: Opt_UpdateSettings


Attempting to load Moneychangerŕ Here we go!

Attempting to load the reaming stages!!!


Started Stage: LoadNativeLibraries

Updating JavaPaths:  Custom JavaPaths... adding now!
Path:  .\lib\Win32\Release
Path:  D:\utils\play\play-1.2.4-mbknor-3
Path:  C:\Program Files (x86)\Git\bin
Path:  C:\Windows\Sun\Java\bin
Path:  C:\Program Files (x86)\jZip
Path:  C:\Program Files (x86)\Java\jre7\bin
Path:  C:\Program Files (x86)\Git\cmd
Path:  C:\Windows\System32\Wbem
Path:  C:\Windows\system32
Path:  C:\Windows
Path:  C:\Windows\System32\WindowsPowerShell\v1.0\
Path:  C:\Program Files\TortoiseGit\bin
Path:  C:\Chocolatey\bin
Updating JavaPaths...   Success!

We are on Windows!
Loading libzmq:
ERROR:   Loading Windows DLL's Failed
java.lang.UnsatisfiedLinkError: D:\utils\Moneychanger\da2ce7-Moneychanger\data\l
ib\Win32\Release\libzmq.dll: Can't find dependent libraries
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary1(Unknown Source)
        at java.lang.ClassLoader.loadLibrary0(Unknown Source)
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.loadLibrary0(Unknown Source)
        at java.lang.System.loadLibrary(Unknown Source)
        at com.moneychanger.ui.Load$LoadNativeLibraries.LoadWindowsDLLs(Load.jav
a:175)
        at com.moneychanger.ui.Load$LoadNativeLibraries.Attempt(Load.java:155)
        at com.moneychanger.ui.Load.Attempt(Load.java:104)
        at com.moneychanger.ui.Settings.jButton_LoadWalletActionPerformed(Settin
gs.java:280)
        at com.moneychanger.ui.Settings.access$200(Settings.java:101)
        at com.moneychanger.ui.Settings$3.actionPerformed(Settings.java:257)
        at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
        at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
        at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Sour
ce)
        at java.awt.Component.processMouseEvent(Unknown Source)
        at javax.swing.JComponent.processMouseEvent(Unknown Source)
        at java.awt.Component.processEvent(Unknown Source)
        at java.awt.Container.processEvent(Unknown Source)
        at java.awt.Component.dispatchEventImpl(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
        at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
        at java.awt.Container.dispatchEventImpl(Unknown Source)
        at java.awt.Window.dispatchEventImpl(Unknown Source)
        at java.awt.Component.dispatchEvent(Unknown Source)
        at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
        at java.awt.EventQueue.access$200(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.awt.EventQueue$3.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
ce)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
ce)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.awt.EventQueue$4.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Sour
ce)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)
Stage LoadNativeLibraries failed!

com.moneychanger.ui.Load$LoadNativeLibrariesFailedException: java.lang.Unsatisfi
edLinkError: D:\utils\Moneychanger\da2ce7-Moneychanger\data\lib\Win32\Release\li
bzmq.dll: Can't find dependent libraries
com.moneychanger.ui.Load$LoadFailedException: com.moneychanger.ui.Load$LoadNativ
eLibrariesFailedException: java.lang.UnsatisfiedLinkError: D:\utils\Moneychanger
\da2ce7-Moneychanger\data\lib\Win32\Release\libzmq.dll: Can't find dependent lib
raries
SomethingBad Happend! We couldn't load properly!

If I was doing something wrong or missed a step, please let me know.


Title: Re: Open Transactions and Moneychanger
Post by: da2ce7 on October 07, 2012, 01:48:15 AM

I ran this on my Windows 7 64 bit, Java 7 (I actually think my Java installation on this machine is 32 bit, it is installed in C:\Program Files (x86)\Java\jdk1.7.0_05).

...

If I was doing something wrong or missed a step, please let me know.


ok.

Quote from: run_moneychanger.bat output
D:\utils\Moneychanger\da2ce7-Moneychanger>run_moneychanger.bat
ERROR: The system was unable to find the specified registry key or value.
ERROR: The system was unable to find the specified registry key or value.
"Found JAVA in: C:\Program Files (x86)\Java\jre7"

The error messages here can be safely igored becasue of the:
"Found JAVA in: C:\Program Files (x86)\Java\jre7"
message.
(we eventualy found java, just wasn't in the first place we looked).

You can tell that You are using the x86 version of Java, thus all the dependant libaries must also be x86 (aka Win32)


Quote from: Moneychanger output
We are on Windows!
Loading libzmq:
ERROR:   Loading Windows DLL's Failed
java.lang.UnsatisfiedLinkError: D:\utils\Moneychanger\da2ce7-Moneychanger\data\l
ib\Win32\Release\libzmq.dll: Can't find dependent libraries
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary1(Unknown Source)

The "Can't find dependent libraries" message means that one of the dependant DLL files is missing.

Since it is libzmq.dll that is complaining, this sugests that you do-not have the correct version Visual C++ runtime installed.

Please insure you have the 32bit versions of:

http://www.microsoft.com/en-us/download/details.aspx?id=30679

and

http://slproweb.com/products/Win32OpenSSL.html

installed.




Title: Re: Open Transactions and Moneychanger
Post by: ripper234 on October 07, 2012, 07:27:19 AM
OK, I installed both dependencies.
I installed the C++ runtime first (32 bit), and then openssl (32 bit), and openssl warned me that the C++ runtime was not installed.

When I click on the C++ runtime's installer, it claims it is installed.

I then tried running MoneyChanger and got this:

---------------------------
Microsoft Visual C++ Runtime Library
---------------------------
Assertion failed!

Program: ...2ce7-Moneychanger\data\lib\Win32\Release\otlib.dll
File: d:\users\cameron garnham\documents\dev\open-t...\OTLog.h
Line: 228

Expression: false

For information on how your program can cause an assertion
failure, see the Visual C++ documentation on asserts

(Press Retry to debug the application - JIT must be enabled)
---------------------------
Abort   Retry   Ignore   
---------------------------


Title: Re: Open Transactions and Moneychanger
Post by: markm on October 07, 2012, 08:09:01 AM
An assert means the programmer (presumably da2ce7) deliberately told the thing to shut down because something had happened that he was not prepared to handle or recover from.

If openssl thinks the runtime is not installed that sounds like a matter between openssl and the runtime, Open Transactions is probably just deliberately avoiding trying to use an openssl that is telling it its needed runtime is not installed or something like that.

Maybe openssl is seeing the wrong runtime or something, like maybe it sees the 64 bit one instead of the 32 bit one if you have both installed, or something.

I am pretty much guessing though as I deliberately "do not do Windows".

-MarkM-


Title: Re: Open Transactions and Moneychanger
Post by: da2ce7 on October 07, 2012, 10:27:09 AM
OK, I installed both dependencies.
I installed the C++ runtime first (32 bit), and then openssl (32 bit), and openssl warned me that the C++ runtime was not installed.

OpenSSL will not complain unless you have the wrong version installed. Make sure you have the correct version installed.
(even if that involves uninstalling your VC runtimes, and trying again)

Warning, multiple versions of the VC runtime have the same download file name.  You need to rename the file after you have downloaded it.



Program: ...2ce7-Moneychanger\data\lib\Win32\Release\otlib.dll
File: d:\users\cameron garnham\documents\dev\open-t...\OTLog.h
Line: 228

Yep, I've seen this error before; I'll need to make a new release; (I've fixed it in GIT, but haven't released the new code).

However fixing the OpenSSL error may even fix it.


Title: Re: Open Transactions and Moneychanger
Post by: da2ce7 on October 08, 2012, 03:26:21 AM
New Version:

https://github.com/downloads/da2ce7/Moneychanger/da2ce7-opentxs_moneychanger_00.10.07_v3.7z


Title: Re: Open Transactions and Moneychanger
Post by: da2ce7 on October 08, 2012, 03:36:04 AM
New Version:

https://github.com/downloads/da2ce7/Moneychanger/da2ce7-opentxs_moneychanger_00.10.07_v3.7z


http://hostinga.imagecross.com/image-hosting-21/8432opentxs_da2ce7_windows.PNG

and we have opentxs!


Title: Re: Open Transactions and Moneychanger
Post by: luv2drnkbr on October 08, 2012, 04:07:43 AM
I keep running into some problems.  Win7 x64, and I have installed the 32 and 64 bit versions of openssl, and of the 2008 and 2012 redistributables, although I only have the x64 version of Java.  Moneychanger runs great the first time and i can create an identity and send it to the server, but every time I run the software a second time it has problems loading my identity and crashes with "image is null" or something like that:

Quote
"Found JAVA in: C:\Program Files\Java\jre7"


Completed Stage: Init

DISABLING AUTOLOAD FOR DEBUG!
We didn't load Successfuly Last time, Showing Seetings...!

Started Stage: Opt_InitSettings
Completed Stage: Opt_InitSettings


Started Stage: Opt_LoadSettings
amd64
Load.JavaPaths: Adding path: .\lib\x64\Release
Completed Stage: Opt_LoadSettings

Finished on Thread[Thread-2,6,main]

Started Stage: Opt_UpdateSettings
Completed Stage: Opt_UpdateSettings


Attempting to load Moneychangerŕ Here we go!

Attempting to load the reaming stages!!!


Started Stage: LoadNativeLibraries

Updating JavaPaths:  Custom JavaPaths... adding now!
Path:  C:\Windows\system32
Path:  C:\Program Files (x86)\ATI Technologies\ATI.ACE\Core-Static
Path:  .\lib\x64\Release
Path:  C:\Windows\Sun\Java\bin
Path:  C:\Windows\System32\WindowsPowerShell\v1.0\
Path:  C:\Windows
Path:  C:\Program Files\Java\jre7\bin
Path:  C:\Windows\System32\Wbem
Updating JavaPaths...   Success!

We are on Windows!
Loading libzmq:   Success!
Loading chaiscript:   Success!
Loading otlib:   Success!
Loading otapi:   Success!
Loading otapi-java:   Success!
Completed Stage: LoadNativeLibraries


Started Stage: InitOTAPI


Welcome to Open Transactions -- version 0.86.g
Output: 250207568
Load.initOTAPI: SUCCESS invoking OT_API_Init().
Completed Stage: InitOTAPI


Started Stage: SetupPasswordImage
C:\Program Files\da2ce7-Moneychanger\otmc-password-image-testing-file.txt
storable:com.wrapper.core.jni.Storable@7796bb71
stringMap:com.wrapper.core.jni.StringMap@48ec350d
Completed Stage: SetupPasswordImage


Started Stage: SetupPasswordCallback
OTCaller::setCallback: Attempting to set the password OTCallback pointer...
OTCaller::setCallback: FYI, the password OTCallback pointer was set.
OneTimeOnly.GiveItAShot(): SUCCESS setting the password callback.
Completed Stage: SetupPasswordCallback


Started Stage: LoadWallet
OTCaller::callOne: FYI, Executing password callback (one)...
OTCaller::GetPassword: FYI, returning password after invoking a (probably Java)
password dialog.
OPENSSL_CALLBACK_FUNC(souped_up_pass_cb): 0 length password was returned from th
e API password callback. Substituting default password 'test'.
OTEnvelope::Decrypt(static): EVP_DecryptFinal: failed.
OTMasterKey::GetMasterPassword: m_pSymmetricKey->GetRawKeyFromPassphrase() faile
d.
OPENSSL_CALLBACK_FUNC(souped_up_pass_cb): Failure: (false == bGotPassword.) (Ret
urning 0.)
OTAsymmetricKey::LoadPrivateKeyFromCertString: Error reading private key from st
ring:

-----BEGIN ENCRYPTED PRIVATE KEY-----
removed
-----END ENCRYPTED PRIVATE KEY-----
-----BEGIN CERTIFICATE-----
removed
-----END CERTIFICATE-----


OTPseudonym::Loadx509CertAndPrivateKey: Although the ascii-armored file (certs/longlongusernameremoved) was read, LoadPrivateKey returned fa
lse.
OTPseudonym::LoadPrivateNym OTPseudonym::LoadPrivateNym: Failure calling Loadx50
9CertAndPrivateKey: longlongusernameremoved
OTWallet::LoadWallet: Failed loading Nym (shortnameremoved) with ID: longlongusernameremoved
java.lang.NullPointerException
com.moneychanger.ui.Load$LoadFailedException: java.lang.NullPointerException
SomethingBad Happend! We couldn't load properly!


Press any key to continue . . .

And this was when it crashed when I was trying to view the market:

Quote
-----BEGIN Sending getMarketOffers message via ZMQ... Request number: 117



-----END (Finished sending getMarketOffers message) Request number: 117

OTAPI_Wrap::Message_GetSuccess: ** FYI, server reply was received, and it said '
Yes.' (Status = success). RequestNum: 117
Utility.getMessageSuccess(): Reply received: success == TRUE.


-----BEGIN Sending getMarketRecentTrades message via ZMQ... Request number: 118



-----END (Finished sending getMarketRecentTrades message) Request number: 118

OTAPI_Wrap::Message_GetSuccess: ** FYI, server reply was received, and it said '
Yes.' (Status = success). RequestNum: 118
Utility.getMessageSuccess(): Reply received: success == TRUE.
getMarketDetails - tradeListMarket returns null
marketDetails:null
values.size():0
jTable13 valueChanged Market List Action Listener :1e:javax.swing.DefaultListSel
ectionModel 1835877325 ={1}
OTCaller::callOne: FYI, Executing password callback (one)...
OTCaller::GetPassword: FYI, returning password after invoking a (probably Java)
password dialog.
OPENSSL_CALLBACK_FUNC(souped_up_pass_cb): 0 length (or less) password was return
ed from the API password callback :-( Returning 0.
OTMasterKey::GetMasterPassword: Failure trying to retrieve the passphrase from t
he user.
OPENSSL_CALLBACK_FUNC(souped_up_pass_cb): Failure: (false == bGotPassword.) (Ret
urning 0.)
OTAsymmetricKey::InstantiatePrivateKey: Failed reading private key from ASCII-ar
mored data:

ascii armored priv key data removed


Null private key sent to OTContract::SignContract.

Null private key sent to OTContract::SignContract.

OT_ASSERT in ..\..\src\otlib\OTContract.cpp at line 1920
OT_ASSERT in ..\..\src\otlib\OTContract.cpp at line 1920

And then here is your new thing you just posted giving me another username error:

Quote




Welcome to Open Transactions -- version 0.86.g



PLEASE SIGN YOUR PASSPHRASE, for: "OTAsymmetricKey::LoadPrivateKeyFromCertString

 is calling PEM_read_bio_PrivateKey..."
 
 (OT) passphrase: Using as server: not-sure-if-i-should-remove-this-so-i-removed-it
 
 Unable to find My Nym. Please use the option:   --mynym USER_ID
 
 (Where USER_ID is the Nym's ID. Partial matches ARE accepted.)
 
 OTScriptChai::ExecuteScript:
 
  Caught chaiscript::exception::eval_error:
 
   Can not find object: main_change_passphrase.
   
      File:
    
        Start position, line: 0 column: 0
      
          End position,   line: 0 column: 0
         
         
         
         Error: "Can not find object: main_change_passphrase" during evaluation at (199,
         
         37)
         
         
         
         
         
           from C:\Program Files\da2ce7-Moneychanger\data\lib\scripts\opentxs (198, 26) :
          
          
          
          
          
             from C:\Program Files\da2ce7-Moneychanger\data\lib\scripts\opentxs (198, 9) :
            
            
            
            
            
              from C:\Program Files\da2ce7-Moneychanger\data\lib\scripts\opentxs (364, 1) :
             
             
             
             
             
             
             
             
             
              Press any key to continue . . .

I really really want to get into this, but I'm just not as tech savvy as most of you here-- I'm not a programmer and I use Windows!  I very much want to see this project succeed though, since from what I understand, it is an amazing thing not just for bitcoin but for transacting online generally speaking.  Any help you can give would be much appreciated!!!


Title: Re: Open Transactions and Moneychanger
Post by: da2ce7 on October 08, 2012, 04:14:32 AM
I keep running into some problems.  Win7 x64, and I have installed the 32 and 64 bit versions of openssl, and of the 2008 and 2012 redistributables, although I only have the x64 version of Java.  Moneychanger runs great the first time and i can create an identity and send it to the server, but every time I run the software a second time it has problems loading my identity and crashes with "image is null" or something like that:

Ok... In the Moneychanger Settings (the first dialogue that loads), you need to select an image file in the Password Image field.   You only need to do this once.  OT will remember where the image is and load-it automatically next time.


Title: Re: Open Transactions and Moneychanger
Post by: luv2drnkbr on October 08, 2012, 08:15:37 AM
:-(  I did do that.  I made a text file with random output from openssl that I am using.  It accepts that file and runs, but it does not remember that file for the next time.  This part from my first post shows that it was loaded correctly, right?

Quote
Started Stage: SetupPasswordImage
C:\Program Files\da2ce7-Moneychanger\otmc-password-image-testing-file.txt

storable:com.wrapper.core.jni.Storable@7796bb71
stringMap:com.wrapper.core.jni.StringMap@48ec350d
Completed Stage: SetupPasswordImage

That's the file I select and it seems fine and works, but like I said, it doesn't remember it the second time.  And when I re-select it, I run into the problems.

Edit:  Thanks for taking the time to respond, let alone making this gui and the ot library in the first place.  You are doing great work and on top of it taking the time to help people out.  Thanks for all of that man, it's truly appreciated.


Title: Re: Open Transactions and Moneychanger
Post by: markm on October 08, 2012, 10:41:51 AM
Text is not an image. Image means things like .png, maybe .jpg or .gif, not sure offhand exactly what types of graphics aka pictures aka images files it can handle but random text is not it.

Not sure if this has been said anywhere or everywhere already, but the purpose of the image is for popups asking for your passphrase that secures your private keys to be able to display an image you picked yourself that is not some default we provided that any phisher will know to try when trying to make fake passphrase-entry popups to fool you into revealing your passphrase.

We cannot provide a default image as then all the phishers would know like duh I bet this idiot never changed the image so I will fool many of the people much of the time by using that default image to fool them.

So we have to make you pick for yourself an image, without even providing an easily brute-force-able collection to choose from, to make it harder for people to fool you with fake popups trying to fake your passphrase out of you.

-MarkM-


Title: Re: Open Transactions and Moneychanger
Post by: fellowtraveler on October 08, 2012, 07:02:34 PM
OT requires the first-time user to choose an image file. (jpg, gif, etc)

This image is displayed on the password dialog.

That way, hackers cannot impersonate your password dialog, because they don't know what image you chose.


Title: Re: Open Transactions and Moneychanger
Post by: luv2drnkbr on October 08, 2012, 08:16:04 PM
Oh jesus, image meant image.  My bad, I'll try this one more time!


Title: Re: Open Transactions and Moneychanger
Post by: luv2drnkbr on October 08, 2012, 09:04:32 PM
Works awesome now!  Now I can go through and watch the videos and see how to actually use it and put trades up in the market!  Thanks again for helping a poor newbie out...


Title: Re: Open Transactions and Moneychanger
Post by: marcus_of_augustus on October 08, 2012, 11:20:43 PM
OT requires the first-time user to choose an image file. (jpg, gif, etc)

This image is displayed on the password dialog.

That way, hackers cannot impersonate your password dialog, because they don't know what image you chose.

Actually to be precise, it is the java test client GUI, Moneychanger that requires the password image file selection, OT itself requires a master password for the Nyms' wallet.


Title: Re: Open Transactions and Moneychanger
Post by: da2ce7 on October 09, 2012, 12:12:33 AM
Oh jesus, image meant image.  My bad, I'll try this one more time!

The next version of Moneychanger will have that renamed to "Picture: eg. .jpg or .png"


Title: Re: Open Transactions and Moneychanger
Post by: da2ce7 on October 09, 2012, 10:53:20 AM
Ok.... New Testing Version  :o :o :o

Please only for testing... There has been SOMANY changes.

New Password Callback System.

New OT Java Lib (now all the JNI code is in a separate library so any Java project can take advantage of it)
https://github.com/da2ce7/opentransactions-jni

Fixed up the "Password Image" issues.

Oh yeah... and Massive Swig changes...  (but no end-user cares about that)

Try at your own risk:

https://github.com/downloads/da2ce7/Moneychanger/da2ce7-Moneychanger_00.11.00.7z

Code:
-----BEGIN PGP MESSAGE-----
Version: GnuPG v2.0.19 (MingW32)

owGbwMvMwCHIMl/GwHjr82uMpwuSGAJKmLiDPRyNTM00UhKNklPNdX3z81IrkzMS
89JTi+INDPQMDfWApHmVpq2CqblRaqJFanJicpKJuVFimqVhUpKFaZJRioWFiVFq
clqSkYlxoiFQOs0kLdkoxTwp1cIAqNYi0cjENNEgJYWrI46FQZCDgY2VCWQvAxen
AMwxn/cx/GZ5fHiaQdaN3/dMFifntCwp/RV3nPkSs1ieT8A05evpJR6MDGeOB0ge
fXH5qXp+4dwf6zZq6WgtO77pS+AaGUsF4+nlDrUA
=yjH+
-----END PGP MESSAGE-----


Title: Re: Open Transactions and Moneychanger
Post by: da2ce7 on October 11, 2012, 05:05:43 AM
New Version of Moneychanger and Open Transactions (v.00.11.03)


This version includes:

More robust password checking.

Now if you password is 'test' then you will not need to enter it.

You can always change your password via the (opentxs) prompt with the 'changepw' command.


Also many general bug-fixes.

https://github.com/downloads/da2ce7/Moneychanger/da2ce7-Moneychanger-00.11.03.7z

Code:
-----BEGIN PGP MESSAGE-----
Version: GnuPG v2.0.19 (MingW32)

owGbwMvMwCHIMl/GwHjr82uMpwuSGALKgkODPRyNTM00UhKNklPNdX3z81IrkzMS
89JTi3QNDPQMDfUMjPXMqzRtFSxMzJKMEpMsjU2T0ywTk5NSDY1MLMyTTZKAXBNT
I4OkJAvD1BRDM1MDUwsjk8Q0c9MUA8uklGRj47QUCzNjM66OOBYGQQ4GNlYmkL0M
XJwCMMfcvcPIsJtPaXXr/ut/TkovSnTvLCsT/cPj8ldaTcFDNZrv0oI+aUaGx7yN
Hz08+faUiNhJ3Vy8Pmtn3cSZQkU7L70rfr+MT+pEMAA=
=QpXG
-----END PGP MESSAGE-----


Title: Re: Open Transactions and Moneychanger
Post by: keystroke on October 13, 2012, 05:23:44 AM
Ok.... New Testing Version  :o :o :o

Please only for testing... There has been SOMANY changes.

New Password Callback System.

New OT Java Lib (now all the JNI code is in a separate library so any Java project can take advantage of it)
https://github.com/da2ce7/opentransactions-jni

Fixed up the "Password Image" issues.

Oh yeah... and Massive Swig changes...  (but no end-user cares about that)

Try at your own risk:

https://github.com/downloads/da2ce7/Moneychanger/da2ce7-Moneychanger_00.11.00.7z

Code:
-----BEGIN PGP MESSAGE-----
Version: GnuPG v2.0.19 (MingW32)

owGbwMvMwCHIMl/GwHjr82uMpwuSGAJKmLiDPRyNTM00UhKNklPNdX3z81IrkzMS
89JTi+INDPQMDfWApHmVpq2CqblRaqJFanJicpKJuVFimqVhUpKFaZJRioWFiVFq
clqSkYlxoiFQOs0kLdkoxTwp1cIAqNYi0cjENNEgJYWrI46FQZCDgY2VCWQvAxen
AMwxn/cx/GZ5fHiaQdaN3/dMFifntCwp/RV3nPkSs1ieT8A05evpJR6MDGeOB0ge
fXH5qXp+4dwf6zZq6WgtO77pS+AaGUsF4+nlDrUA
=yjH+
-----END PGP MESSAGE-----

Awesome, going to check this out soon! Small thing I just noticed, haha, but can you "Don't use smileys" when posting? I think it probably interferes with your GnuPG signatures!


Title: Re: Open Transactions and Moneychanger
Post by: da2ce7 on October 13, 2012, 05:46:53 AM
Awesome, going to check this out soon! Small thing I just noticed, haha, but can you "Don't use smileys" when posting? I think it probably interferes with your GnuPG signatures!

Great  :D  :D  The gpg signatures are for the download itself; for example:

Code:
-----BEGIN PGP MESSAGE-----
Version: GnuPG v2.0.19 (MingW32)

owGbwMvMwCHIMl/GwHjr82uMpwuSGAJKmLiDPRyNTM00UhKNklPNdX3z81IrkzMS
89JTi+INDPQMDfWApHmVpq2CqblRaqJFanJicpKJuVFimqVhUpKFaZJRioWFiVFq
clqSkYlxoiFQOs0kLdkoxTwp1cIAqNYi0cjENNEgJYWrI46FQZCDgY2VCWQvAxen
AMwxn/cx/GZ5fHiaQdaN3/dMFifntCwp/RV3nPkSs1ieT8A05evpJR6MDGeOB0ge
fXH5qXp+4dwf6zZq6WgtO77pS+AaGUsF4+nlDrUA
=yjH+
-----END PGP MESSAGE-----

Do:

Code:
gpg --keyserver pgp.mit.edu --recv-keys 0x049F1C3033B5E7D6
gpg -v (above pgp data)

Output:

Code:
SHA256(da2ce7-Moneychanger_00.11.00.7z)= 572ea8ecacb472af91bb85b2d8842ecfb243a1cacf4fc2d7be80acb8a245a0dd

To check the hash of da2ce7-Moneychanger_00.11.00.7z do either:

Code:
openssl dgst -sha256 da2ce7-Moneychanger_00.11.00.7z

or:

Code:
gpg --print-md da2ce7-Moneychanger_00.11.00.7z


Title: Re: Open Transactions and Moneychanger
Post by: keystroke on October 13, 2012, 12:23:17 PM
Whoops, thanks!

EDIT: Below was due to OpenSSL not being installed correctly. I must have made a mistake (too early in the morning for this!)

I installed the x84 and x64 versions of both C++ redistributable packages (2008 and 2012) and receive this when I try to run the batch:

"Found JAVA in: C:\Program Files\Java\jre7"


amd64
Oct 13, 2012 8:15:55 AM org.opentransactions.jni.utility.Load InitNative
INFO: null
Oct 13, 2012 8:15:55 AM org.opentransactions.jni.utility.Tools loadNative
INFO: Atempting to load libzmq
Oct 13, 2012 8:15:55 AM org.opentransactions.jni.utility.Tools loadNative
INFO: Success loading libzmq
Oct 13, 2012 8:15:55 AM org.opentransactions.jni.utility.Tools loadNative
INFO: Atempting to load chaiscript
Oct 13, 2012 8:15:55 AM org.opentransactions.jni.utility.Tools loadNative
INFO: Success loading chaiscript
Oct 13, 2012 8:15:55 AM org.opentransactions.jni.utility.Tools loadNative
INFO: Atempting to load otlib
amd64
Oct 13, 2012 8:16:01 AM org.opentransactions.jni.utility.Load InitNative
INFO: null
Oct 13, 2012 8:16:01 AM org.opentransactions.jni.utility.Tools loadNative
INFO: Atempting to load libzmq
Oct 13, 2012 8:16:01 AM org.opentransactions.jni.utility.Tools loadNative
INFO: Success loading libzmq
Oct 13, 2012 8:16:01 AM org.opentransactions.jni.utility.Tools loadNative
INFO: Atempting to load chaiscript
Oct 13, 2012 8:16:01 AM org.opentransactions.jni.utility.Tools loadNative
INFO: Success loading chaiscript
Oct 13, 2012 8:16:01 AM org.opentransactions.jni.utility.Tools loadNative
INFO: Atempting to load otlib
Oct 13, 2012 8:16:01 AM org.opentransactions.jni.utility.Load InitNative
SEVERE: null
java.lang.UnsatisfiedLinkError: C:\Users\keystroke\Desktop\da2ce7-Moneychanger\data\
lib\x64\Release\otlib.dll: Can't find dependent libraries
        at java.lang.ClassLoader$NativeLibrary.load(Native Method)
        at java.lang.ClassLoader.loadLibrary1(Unknown Source)
        at java.lang.ClassLoader.loadLibrary0(Unknown Source)
        at java.lang.ClassLoader.loadLibrary(Unknown Source)
        at java.lang.Runtime.loadLibrary0(Unknown Source)
        at java.lang.System.loadLibrary(Unknown Source)
        at org.opentransactions.jni.utility.Tools.loadNative(Tools.java:105)
        at org.opentransactions.jni.utility.Load.InitNative(Load.java:94)
        at com.moneychanger.app.Moneychanger$Loader.Load(Moneychanger.java:107)
        at com.moneychanger.app.Moneychanger.main(Moneychanger.java:98)


This is under Windows 7 x86. I also have 32bit and 64bit Java installed as well as 32bit and 64bit SSL as linked in the readme. I started by running install_userdata.


Title: Re: Open Transactions and Moneychanger
Post by: keystroke on October 13, 2012, 12:39:55 PM
Just playing around with the client a bit although I don't really fully understand it yet. It crashed when I tried to deposit cash:

OTAPI_Wrap::Message_GetSuccess: ** FYI, server reply was received, and it said '
Yes.' (Status = success). RequestNum: 136
Utility.getMessageSuccess(): Reply received: success == TRUE.
Utility.getInboxLowLevel: The hashes already match (skipping Inbox download.)
Utility.getOutboxLowLevel: The hashes already match (skipping Outbox download.)
inbox:12
outbox.getColumnCount:10
IN populateOTDetails
OTPurse::LoadPurse: File does not exist: purse/wmY1B8o94PFENzqPVK6wLOLvkog9TvA3G
DxZuAMGCpW/fCS3eNU5kboAhzHByRnWpQdGD8GO6G50jxA6vx6PcSf/3odM2J7BF3wbqvrfsN7FHVpzH
YMVUajQC8WE8P1tqqg
OTAPI_Wrap::LoadPurse: received null when called OT_API::LoadPurse().
Server: wmY1B8o94PFENzqPVK6wLOLvkog9TvA3GDxZuAMGCpW Asset Type: 3odM2J7BF3wbqvrf
sN7FHVpzHYMVUajQC8WE8P1tqqg
OTAPI_Wrap::Purse_GetTotalValue: Null: THE_PURSE passed in!
OT_ASSERT in ..\..\src\otapi\OTAPI_Wrapper.cpp at line 7246
OT_ASSERT in ..\..\src\otapi\OTAPI_Wrapper.cpp at line 7246


Title: Re: Open Transactions and Moneychanger
Post by: markm on October 13, 2012, 01:58:50 PM
Where did you obtain the cash? It is server-specific, you cannot for example issue cash on your localhost server then deposit it on one of my servers.

-MarkM-


Title: Re: Open Transactions and Moneychanger
Post by: da2ce7 on October 14, 2012, 01:09:57 AM
Just playing around with the client a bit although I don't really fully understand it yet. It crashed when I tried to deposit cash:

OTAPI_Wrap::Purse_GetTotalValue: Null: THE_PURSE passed in!



The:

Code:
"OTAPI_Wrap::" (something) "Null:" (something) "passed in!"

Errors are from the new C++ API.

I have made the API assert on all the bad data that Moneychanger sends to it.
Edit: (well not all bad data, just on the obvious things like providing null for a required argument).

For the most case, it just involves tracking down the calling function ad putting better argument testing before deciding to call the native command or not.
(aka, if we are about to send an argument with a 'null' value... don't; return false without calling the command).

I'll soon release an updated version of Moneychanger that corrects (more) of these issues.  But overall it is a good thing.  If you supply a function with bad arguments it should assert and exit.

Edit:  If you download Netbeans, and use Git, the Java code should be trivial enough for virtually anyone to fix. (Java is much easier than C++, at least for the beginner programmer.  (I prefer C++ but it indeed take much longer to learn than Java).


Title: Re: Open Transactions and Moneychanger
Post by: matthewh3 on October 14, 2012, 03:24:29 AM
I tried the INSTALL-Debian_Ubuntu.txt - (https://github.com/FellowTraveler/Open-Transactions/blob/master/docs/INSTALL-Debian_Ubuntu.txt) - and got to

Code:
# fetch chaiscript
$ git clone git://github.com/ChaiScript/ChaiScript.git

# build chaiscript
$ cd ChaiScript
$ cmake . -DCMAKE_INSTALL_PREFIX=$HOME/.local

and got

Code:
$ cmake . -DCMAKE_INSTALL_PREFIX=$HOME/.local
-- Detecting readline support
-- Not Found
-- Could NOT find Boost
CMake Error at CMakeLists.txt:87 (message):
  Can not find Boost


-- Configuring incomplete, errors occurred!

 ???



Title: Re: Open Transactions and Moneychanger
Post by: da2ce7 on October 14, 2012, 09:40:10 AM
... and got

Code:
$ cmake . -DCMAKE_INSTALL_PREFIX=$HOME/.local
-- Detecting readline support
-- Not Found
-- Could NOT find Boost
CMake Error at CMakeLists.txt:87 (message):
  Can not find Boost


-- Configuring incomplete, errors occurred!


You don't have all the boost-parts needed.  Try installing libboost-all-dev

This is because of Chaiscript updating and using more of boost.  We haven't updated our guides yet.


Title: Re: Open Transactions and Moneychanger
Post by: da2ce7 on November 10, 2012, 12:11:51 PM
Ok...  New Version of Moneychanger.

There isn't all-that much visible changed from the end-user prospective... However there has been massive changes to the API backed.

Hopefully soon I will complete the C++ high-level api.  After that, making a great GUI for OT will be much more feasible.  :D

Well anyway it is uploaded here:

https://github.com/da2ce7/Moneychanger/downloads

da2ce7-Moneychanger-00.12.02-Win32_x64.7z


Title: Re: Open Transactions and Moneychanger
Post by: da2ce7 on November 11, 2012, 10:36:45 PM
Fixed a bug.

new version: https://github.com/downloads/da2ce7/Moneychanger/da2ce7-Moneychanger-00.12.03-Win32_x64.7z


Title: Re: Open Transactions and Moneychanger
Post by: da2ce7 on December 19, 2012, 05:17:25 AM
New Versions:

You need the new VS2012 Runtimes (that now support Windows XP again!):
http://www.microsoft.com/en-au/download/details.aspx?id=30679

OpenSSL (remember to install to 'system folders'):
http://slproweb.com/products/Win32OpenSSL.html

Java:
http://java.com/en/



Open Transactions (Open-Transactions-0.88.a-win32-release.7z):
https://docs.google.com/file/d/0B1vBlIVORn8nZ3VXcEY3dHpsLW8/edit

Moneychanger (Moneychanger-00.11.00-SNAPSHOT-jar-with-dependencies.jar):
https://docs.google.com/file/d/0B1vBlIVORn8nZ0s5dWNXWjU1WGs/edit



Title: Re: Open Transactions and Moneychanger
Post by: da2ce7 on December 20, 2012, 08:00:24 AM
Big News!!!!

WE HAVE A WINDOWS INSTALLER!

 :o :o :o :o :o :o :o :o


https://docs.google.com/file/d/0B1vBlIVORn8nTElEWkhpVEM3SzA/edit



 ;D ;D ;D ;D ;D


Check it out!


Title: Re: Open Transactions - New Windows Installer!
Post by: da2ce7 on December 20, 2012, 09:28:20 AM
Moneychanger with updated path detection code :)


Moneychanger (now with path detection code!)
https://docs.google.com/file/d/0B1vBlIVORn8nRGV0c3h2aTlLdzA/edit

Code:
SHA256(Moneychanger-00.11.10-SNAPSHOT.jar)= cf16c06818d56b9dadca9d52553c70a21ceeb6e3a0a46311331aacdcc5c556e1

Code:
-----BEGIN PGP MESSAGE-----
Version: GnuPG v2.0.19 (MingW32)

owGbwMvMwCHIMl/GwHjr82uMp4uTGAIu3TwR7OFoZGqm4Zufl1qZnJGYl55apGtg
oGdoqGdooBvs5xgQ7OEfopeVWKRpq5CcZmiWbGBmYWiRYmqWZJmSmJKcaJliamRq
apxsbpBoZJicmppklmqcaJBoYmZsaGhsbJiYmJySnGyabGpqlmrI1RHHwiDIwcDG
ygSymoGLUwDmHhV+RoY5622jNb5Pm/38p2vOUSUJr+1f6k7wi3WeW2tqm5+8qKyZ
4X9IxfymmVPFA2R9BUXmKf2UO8a4oWRnyaozXn++vJJ88XsDAA==
=4lVE
-----END PGP MESSAGE-----


Title: Re: Open Transactions - New Windows Installer!
Post by: slothbag on December 20, 2012, 12:03:29 PM
MoneyChanger says Please locate "otlib" path.  Wont load on windows 7 for me.

Tried pointing it to the otlib.dll in the OpenTransaction folder structure, still no good.


Title: Re: Open Transactions - New Windows Installer!
Post by: da2ce7 on December 20, 2012, 10:41:22 PM
MoneyChanger says Please locate "otlib" path.  Wont load on windows 7 for me.

Tried pointing it to the otlib.dll in the OpenTransaction folder structure, still no good.


Did you install Open Transactions, (and the two MSVC packs)?


Title: Re: Open Transactions - New Windows Installer!
Post by: da2ce7 on December 20, 2012, 11:10:43 PM
@slothbag

I've created a updated Moneychanger that should expose the error better :)


Title: Re: Open Transactions - New Windows Installer!
Post by: da2ce7 on December 21, 2012, 12:52:41 AM
Fixed some bugs in the installer (aka it wasn't uninstalling properly)... so that now is fixed. :)


Title: Re: Open Transactions - New Windows Installer!
Post by: da2ce7 on December 21, 2012, 02:09:53 AM
If anyone wants some DVC (devcoins) for testing. Post your devcoin account ID here! :)

You will need to:
1. import the digitals server contract
2. the devcoin asset contract
3. create a nym
4. register your nym with the server.
5. create a devcoin account.


Title: Re: Open Transactions (Windows Builds) - v0.88.k
Post by: da2ce7 on March 27, 2013, 03:41:16 AM
I've updated to version 0.88.k


Title: Re: Open Transactions (Windows Builds) - v0.89.a
Post by: da2ce7 on April 28, 2013, 10:51:16 AM
Updated!

New Major Version: v0.89.a

FellowTraveler has been busy!!
Lots of changes, including support for smart contracts!


I've fixed some bugs in the paths code so the script locations are detected more reliably, and some other various bug-fixes.


Title: Re: Open Transactions (Windows Builds) - v0.89.a
Post by: meowmeowbrowncow on April 28, 2013, 11:25:14 AM
Updated!

New Major Version: v0.89.a

FellowTraveler has been busy!!
Lots of changes, including support for smart contracts!


I've fixed some bugs in the paths code so the script locations are detected more reliably, and some other various bug-fixes.


Yay!


Title: Re: Open Transactions (Windows Builds) - v0.89.a
Post by: da2ce7 on April 29, 2013, 12:29:23 AM
The Builds includes the OT Command Line Prompt:

https://i.imgur.com/RGF2wv2.png


Title: Re: Open Transactions (Windows Builds) - v0.89.a
Post by: da2ce7 on May 12, 2013, 06:08:47 AM
Update to version v0.89.a  ;D


Title: Re: Open Transactions (Windows Builds) - v0.89.a
Post by: marcus_of_augustus on May 13, 2013, 01:14:15 AM
Update to version v0.89.a  ;D

Just fyi head is now at 0.89.c


Title: Re: Open Transactions (Windows Builds) - v0.89.a
Post by: da2ce7 on June 04, 2013, 02:41:04 AM
Update to version v0.89.a  ;D


Update to Version 0.89.f  8)


Title: Re: Open Transactions (Windows Builds) - v0.89.f
Post by: SebastianJu on August 22, 2013, 09:34:25 PM
I used the windows installer and OT starts fine. List shows nothing which should be normal. When adding markm's server i get an error and he asks me if it really is a server contract. I simply copied the content of the file into the batch after command addserver.

I then downloaded the last moneychanger and java recognizes it as executable jar but nothing starts when i click it. I put it in OT-Dir but its not changing. The contracts dont have to be available before right?


Title: Re: Open Transactions (Windows Builds) - v0.89.f
Post by: fellowtraveler on August 23, 2013, 12:44:59 PM
I used the windows installer and OT starts fine. List shows nothing which should be normal. When adding markm's server i get an error and he asks me if it really is a server contract. I simply copied the content of the file into the batch after command addserver.

I then downloaded the last moneychanger and java recognizes it as executable jar but nothing starts when i click it. I put it in OT-Dir but its not changing. The contracts dont have to be available before right?

FYI -- da2ce7 hasn't updated his build to the latest version of OT, and there have been some API changes.

In fact the java test GUI itself also needs to be updated, which I will probably get to Sunday night.

I may also boot up Windows and make sure that the main branch of OT still builds for Windows, since I haven't tested it on that platform for several builds.

BY THE WAY: Your problem may be unrelated to the above. Da2ce7 has remarked in the past that this specific problem (where nothing starts when you click on it) is the result of specific dependencies not being installed properly. See the docs/ install instructions for WINDOWS -- certain dependencies (OpenSSL, boost, etc) need both 32 bit and 64 bit versions installed.)

Of course this won't be a problem once there is an official install program.


Title: Re: Open Transactions (Windows Builds) - v0.89.f
Post by: SebastianJu on August 23, 2013, 08:01:36 PM
I used the windows installer and OT starts fine. List shows nothing which should be normal. When adding markm's server i get an error and he asks me if it really is a server contract. I simply copied the content of the file into the batch after command addserver.

I then downloaded the last moneychanger and java recognizes it as executable jar but nothing starts when i click it. I put it in OT-Dir but its not changing. The contracts dont have to be available before right?

FYI -- da2ce7 hasn't updated his build to the latest version of OT, and there have been some API changes.

In fact the java test GUI itself also needs to be updated, which I will probably get to Sunday night.

I may also boot up Windows and make sure that the main branch of OT still builds for Windows, since I haven't tested it on that platform for several builds.

BY THE WAY: Your problem may be unrelated to the above. Da2ce7 has remarked in the past that this specific problem (where nothing starts when you click on it) is the result of specific dependencies not being installed properly. See the docs/ install instructions for WINDOWS -- certain dependencies (OpenSSL, boost, etc) need both 32 bit and 64 bit versions installed.)

Of course this won't be a problem once there is an official install program.


So i have to wait for either the official install or an updated GUI?

In that case i would prefer to test OT as script. Can you tell whats the problem with importing the server contract? I use the command addserver, then open the digitalis file in notepad and copy all content without linebreak having enabled from there into the shell. Then i go into new line and add a ~. Then it tells me that its not a contract. Do you know the problem?


Title: Re: Open Transactions (Windows Builds) - v0.89.f
Post by: fellowtraveler on August 24, 2013, 01:09:32 PM
Sounds like you should be using the otc file instead of the xml file.

If I were you, I wouldn't start with a real server. I would start with the localhost test server and copy over the test data. Play with it that way first before you start trying to talk to real servers.


Title: Re: Open Transactions (Windows Builds) - v0.89.f
Post by: SebastianJu on August 24, 2013, 01:32:07 PM
Sounds like you should be using the otc file instead of the xml file.

If I were you, I wouldn't start with a real server. I would start with the localhost test server and copy over the test data. Play with it that way first before you start trying to talk to real servers.

I watched the videos and think i got a good enough overview about the possibilities of OT and because of the videos i can guess what the commands mean. (By the way... isnt there a man <command> or something like that?)

Im not sure what you mean with otc and xml. I downloaded the otc file and inside its xml right? So can i use the file directly? The command addserver asks me to paste the contract directly only.


Title: Re: Open Transactions (Windows Builds) - v0.89.f
Post by: fellowtraveler on August 24, 2013, 03:36:05 PM
you should be pasting the entire otc file when doing addserver command.


Title: Re: Open Transactions (Windows Builds) - v0.89.f
Post by: SebastianJu on August 24, 2013, 06:44:17 PM
you should be pasting the entire otc file when doing addserver command.

I do.

I start OT. Then i get opentxs> and type addserver + enter.

It tells me "please paste as server contract, followed by an EOF or a ~ by itself on a blank line:

I then open DigitalisOTserver.otc i downloaded from markm. I copy the content:
Code:
-----BEGIN SIGNED CONTRACT-----
Hash: SAMY

<?xml version="1.0"?>
<notaryProviderContract version="1.0">

<entity shortname="Digitalis"
longname="Digitalis Data Services"
email="markmetson@sourceforge.net"
serverURL="http://sourceforge.net/p/galacticmilieu/home/Home/"/>

<notaryServer hostname="ot.knotwork.com"
 port="7084"
 URL="http://sourceforge.net/p/galacticmilieu/home/Home/" />

<condition name="backing">
  Neither Digitalis Data Services, nor SourceForge, actually issue the
  currencies or digital assets, and they do not back any of the same.
  You are solely responsible for whom you choose to trade with.
</condition>

<condition name="audit">
  Open Transactions software is open source, and
  code audits are randomly performed by hackers in the
  open source community. Fellow Traveler (the author of the
  software) also uses Valgrind.
</condition>

<condition name="rate">
  Hopefully at some point some kind of fee structure will be
  implemented to support the running of the server. Possibly
  something similar to loom's usage-tokens but if so we would
  probably use bitNicKeLs for the purpose (as that is the kind
  of purpose for which bitNicKeLs were intended).
</condition>

<condition name="liability">
  Issuers are solely liable to perform according to
  the conditions specified in their asset contracts.
</condition>

<condition name="mint">
  Float - the total quantity of any digital asset outstanding -
  is created by the issuer from his own mint, and signed by his
  private key.

  Disbursements from the Mint account are to be made on receipt of
  duly signed and public authorization from the Issuer.  All
  disbursements from the Mint account are to be made to the single
  Currency Comptroller account identified by the authorization.

  From time to time, the Currency Comptroller may direct the
  Currency Manager to return digital assets to the Mint
  for the express purpose of reducing the float. Digital assets
  so delivered are to be deposited into the Mint account,
  thus reducing the float by that amount.
</condition>

<condition name="privacy">
  The purchase, redemption and trading at Digitalis OT server
  normally are done on the basis of strong privacy. We try to
  never release any of your information unless compelled by law.
</condition>

<!-- KEYS -->

<key name="contract">
- -----BEGIN CERTIFICATE-----
MIICPzCCAaigAwIBAgIBADANBgkqhkiG9w0BAQQFADAlMQswCQYDVQQGEwJVSzEW
MBQGA1UEAxMNT3BlblNTTCBHcm91cDAeFw0xMTEyMDQwNTM2MjdaFw0yMTEyMDEw
NTM2MjdaMCUxCzAJBgNVBAYTAlVLMRYwFAYDVQQDEw1PcGVuU1NMIEdyb3VwMIGf
MA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCvjeMKIacyh7LyVwaxHopSa0EY0SdD
hVeXRFQ+JyvRcTp2CBOFuUZ9mx7MgSyblaZssue/C6CdMtuJfabQgUHhK2zaArx6
rrvQ57SHH4p38xmVG8frD22pS4/wF+M2tmt6yCj9kxTLY6cWPve70gf1HE6sS4BJ
gl2uM8ZcDr5deQIDAQABo38wfTAPBgNVHRMBAf8EBTADAQH/MA4GA1UdDwEB/wQE
AwIBBjAdBgNVHQ4EFgQUBti7sfjamiXcNkp/WSir5iOauo0wEQYJYIZIAYb4QgEB
BAQDAgIEMCgGCWCGSAGG+EIBDQQbFhlleGFtcGxlIGNvbW1lbnQgZXh0ZW5zaW9u
MA0GCSqGSIb3DQEBBAUAA4GBAFZ4UxLkWRWvpcpqEs+jATB+2c1X7g2m00+7IXjv
2WG99F0I+ZGWmuowaxnzMAOmTNXFYplEKPYeoYjWaVOaqDq2L+bsaP6SxJDn/+wW
xGBJFBqNqzH8VkLQf/8lhuE8FMsX7H1k94Q2pACRGUZRRGaPlmV0fcx5/zCnhvcQ
wmkq
- -----END CERTIFICATE-----
</key>

</transactionServerContract>

-----BEGIN CONTRACT SIGNATURE-----
Version: Open Transactions 0.75
Comment: http://github.com/FellowTraveler/Open-Transactions/wiki

CoABFojWQphmaNv2WOIsGuvvqtO4zIJS74K9+rieHoeJ7jNu9SGFgPhvIPw84Ghi
ual/poyRK870Fs2y2T9dMctWiuj+D3+2bURcLfv/Kz3wXmldGfV9UAeYQhlVSkIv
BMyUqVu6LIIDle9CUFRICjNohX89qCr55b+Wqvcppbj7oEY=
-----END CONTRACT SIGNATURE-----

in he bash and since Enter isnt working as EOF in Windows i put a ~ in a blank line behind. Then enter.
Code:
It shows me Error in OTContract::ParseRawFile: EOF while reading xml content.
Sorry, failed. Are you sure that was a server contract?

Is the server contract too old for the version of OT or is there a problem with copying the files content in windows?

By the way... how do i close OT without having to delete next time the file: ot.pid first in client_data to run OT?

Sorry for asking so much...


Title: Re: Open Transactions (Windows Builds) - v0.89.f
Post by: fellowtraveler on August 25, 2013, 05:43:53 AM
This is why I said to make sure it is working first with the test data.

If it's working fine with the test data, then the problem becomes markm's contract.

But if it's not even working with the test data, then the problem becomes OT.

If markm's contract turns out to be the only one that doesn't work, then you might be right about him running an old version of OT.

But if all test contracts fail, then the problem would have more to do with the way OT parses EOF on Windows.

Quote
how do i close OT without having to delete next time the file: ot.pid first in client_data to run OT?

The existing clients (iPhone client, command-line client, java test GUI) all delete the client pid file automatically during a proper shutdown.

So you will only see that problem if you are killing the client without allowing it to shutdown gracefully.

Normally that PID file exists in order to prevent you from running two wallets simultaneously against the same data. (Which could corrupt the data.)

Try NOT using the opentxs prompt, but instead ONLY use it from the UNIX command line.

For example, don't do "opentxs" and then "addserver" -- instead do "opentxs addserver" directly from the UNIX command line.

Then you will no longer see the PID problem.


Title: Re: Open Transactions (Windows Builds) - v0.89.f
Post by: SebastianJu on August 25, 2013, 12:55:35 PM
Yes i closed simply the cmd-window since i didnt find a command to quit OT. But i tried now what you suggested. I went into the scripts folder and used the command you gave. But it doesnt recognize the command. I checked and found that there is a file named opentxs but is has no file-ending like .exe or bat. OT normally is started with a batchfile run_opentxs that is located in scripts-folder. It says:
Code:
@echo off

set START_DIR="%cd%"

cd /D %~dp0..\

ot.exe scripts\opentxs

cd /D %START_DIR%

So i tried going one dir above and used ot addserver. Ot starts but doesnt accept the addserver-command.

I wonder if there is a clean way to close OT at all in windows at the moment. Since even when i would start it from command-shell the window would open and i only would be able to close this window which most probably would leave the file behind.

Then i wanted to try the localhost contract but i cant find that contract. I searched for the string notaryprovidercontract in all files in the OT-Dir and i searched with google but only found an incomplete contract. Arent these included in the windows build or are they already compiled somehow so that i can start it somehow?


Title: Re: Open Transactions (Windows Builds) - v0.89.f
Post by: fellowtraveler on August 25, 2013, 01:18:54 PM
Yes i closed simply the cmd-window since i didnt find a command to quit OT.

Did you try "quit" ?

(In any case, you shouldn't have to quit OT anyway since you should be running opentxs separately each time you do a command.)

I suggest you take this conversation to the opentransactions.org/forum or the OT IRC channel, which are both more appropriate venues for OT-related tech support than the Bitcoin project dev board.

Quote
But i tried now what you suggested. I went into the scripts folder and used the command you gave. But it doesnt recognize the command. I checked and found that there is a file named opentxs but is has no file-ending like .exe or bat. OT normally is started with a batchfile run_opentxs that is located in scripts-folder.

Okay then, did you try "run_opentxs addserver" instead of "opentxs addserver" ?

Quote
Then i wanted to try the localhost contract but i cant find that contract. I searched for the string notaryprovidercontract in all files in the OT-Dir and i searched with google but only found an incomplete contract. Arent these included in the windows build or are they already compiled somehow so that i can start it somehow?

I suggest you do this:

1. Make sure the server isn't running.

2. Make sure the client isn't running.

3. Copy the TEST DATA into the actual data location, so you can run the server and client using the TEST DATA.

4. On linux this is done like this:  rm -rf ~/.ot/* && cp -R Open-Transactions/sample-data/ot-sample-data/* ~/.ot

I don't remember where Windows keeps the data but basically you will want to wipe the files at that location, and then copy the sample data into it.

Then you can start the server and client, and play around using the sample data. So you will not have to "addserver" the localhost contract, because in the sample data, it's ALREADY set up.


Title: Re: Open Transactions (Windows Builds) - v0.89.f
Post by: SebastianJu on August 25, 2013, 02:46:34 PM
Oh... quit... i tried exit, close and so on... but quit works. I probably work too less with command lines...

run_opentxs addserver doesnt work too. The result is only:
Code:
C:\***\Open-Transactions\scripts>run_opentxs addserver


Welcome to Open Transactions -- version 0.89.f

Unable to find a server contract to use. Please use the option: --server SERVER_
ID
(Where SERVER_ID is the Server's ID. Partial matches ARE accepted.)
Unable to find My Nym. Please use the option:   --mynym USER_ID
(Where USER_ID is the Nym's ID. Partial matches and names are accepted.)

.
..
...
....
.....

opentxs>

Regarding testdata... there is no such directories. I found a dir ot and one named samples that might be this. I copied the content of samples into ot but it still isnt finding anything.

Ill start a new thread in the other forum now...


Title: Re: Open Transactions (Windows Builds) - v0.89.q
Post by: da2ce7 on September 02, 2013, 11:35:16 AM
Thank-you for your reply's.

I've made an updated release of Open Transactions for windows. (0.89.q)

The test-data is available for download here:

https://github.com/FellowTraveler/Open-Transactions/archive/master.zip


You need to copy it into the %APPDATA%/OpenTransactions dir.

You will also need to run the otserver.exe :)


Title: Re: Open Transactions (Windows Builds) - v0.89.q
Post by: SebastianJu on September 22, 2013, 04:30:33 PM
Thank-you for your reply's.

I've made an updated release of Open Transactions for windows. (0.89.q)

The test-data is available for download here:

https://github.com/FellowTraveler/Open-Transactions/archive/master.zip


You need to copy it into the %APPDATA%/OpenTransactions dir.

You will also need to run the otserver.exe :)

Thanks for creating the new version. I now tried to set it up. I installed 0.89 64bit. Then deleted all in appdata OT and copied the content of master.zip into. When i then start OT and run stat it shows me there are no pseudonyms, servers, assets or accounts.
I then thought its because i have to start otserver.exe. When i do this it says:
Code:
Welcome to Open Transactions... Test Server -- version 0.89.q
(transport build: OTMessage -> OTEnvelope -> ZMQ )

The Winsock 2.2 dll was found okay

Now loading the server nym, which will also ask you for a password, to unlock
its private key.
Using Wallet: notaryServer.xml
Failed trying to open data locking file (to store PID 3804): C:/Users/Sebastian/
AppData/Roaming/OpenTransactions/server_data/ot.pid
OTPaths::BuildFolderPath: Made new folder: C:/Users/Sebastian/AppData/Roaming/Op
enTransactions/server_data/


 ==> WARNING: Main file not found. To create it, continue this process now...

REQUIREMENTS: You must already have a wallet, where you have created one Nym.
This will be a temporary wallet only, for the purpose of generating the server
nym and the master key for that server nym. You can erase the contents of the
~/.ot/client_data folder once we are done with this process, and the OT client
will just create a fresh wallet to replace it. In other words, don't continue
to use the temporary wallet as a REAL wallet, since it contains the master
key and private key for your new server nym. We're using a temporary client-side

wallet for the convenience of generating the server nym--we'll copy it over to
the server side, and then we'll wipe the temp wallet and start with a fresh one
once this process is done.
(FYI, you can decode an armored wallet by using the 'opentxs decode' command.)
-- You must also have the new Server Nym's "NymID", which should be found in the

wallet.
-- When you have created your server Nym (using your temp wallet) you will want
to
copy the credentials from the temp wallet to your new server:
    cp -R ~/.ot/client_data/credentials ~/.ot/server_data/
-- You must already have a signed server contract. (*** To get one, copy the
UNSIGNED version of the sample server contract, which is named 'localhost.xml',
and then change the tags as you see fit. Then use the same Nym, the server Nym,
to sign the server contract, via the 'opentxs newserver' command.***)
You must also have the server ID for the above contract, which the newserver
command will output at the same time it outputs the newly-signed server contract
.
=> Note that the Nym who signs the server contract MUST be the same Nym that you

provide HERE, for this process now...)
-- Finally, you must provide the cached key from the same wallet where you broug
ht
the Nym from (In this case, be careful to only copy the base64-encoded portion
of the cached key from the wallet, and not the XML tags around it!) We
recommend you create a blank wallet entirely for this purpose (of generating
that cached key and server Nym, to be used for your new OT server.) Then erase i
t
once this process is done.
 ==> WARNING: Main file not found. To create it, continue this process now...
Enter the ServerID for your server contract:

When i copied the sample data shouldnt it run automatically with that data? It asks for serverid, server user id and cached key and so on.

I thought i will test on testserver a bit and then try to connect to markm's server to check out the assets there are traded...


Title: Re: Open Transactions (Windows Builds) - v0.89.q
Post by: SebastianJu on September 24, 2013, 06:06:50 PM
I now tried to run without testserver since i didnt get it to work but the shell seems to have problems following some commands. For example showmarkets is not working even with correct syntax. I wrote it up with that post and following: https://bitcointalk.org/index.php?topic=53329.msg3220613#msg3220613

I hope theres a solution. I see its not easy to set this up and i hope this project goes on to a status where normal people can use it. Till now i unfortunately only read people that state they tried to set it up and gave up at the end. I dont want to give up, though i ask myself if there are happening trades at all on digitalis when its so hard to set it up.


Title: Re: Open Transactions (Windows Builds) - v0.89.q
Post by: fellowtraveler on September 28, 2013, 04:23:53 AM
What happens when you do these commands:

run_opentxs.bat list

run_opentxs.bat showaccounts

run_opentxs.bat balance

etc.

I'm also assuming you are using the test data...


Title: Re: Open Transactions (Windows Builds) - v0.89.q
Post by: SebastianJu on October 01, 2013, 04:36:31 PM
What happens when you do these commands:

run_opentxs.bat list

Code:
C:\T_I\Geld\Open-Transactions\scripts>run_opentxs.bat list


Welcome to Open Transactions -- version 0.89.q



OTCachedKey::GetMasterPassword: Please enter your password.

Passphrase request for: "Loading private key from credential."
(OT) passphrase:

UNKNOWN element type in OTContract::LoadContractXML: notaryProviderContract, value: notaryProviderContrac
UNKNOWN element type in OTContract::LoadContractXML: notaryServer, value: notaryServer
Unable to find a server contract to use. Please use the option: --server SERVER_ID
(Where SERVER_ID is the Server's ID. Partial matches ARE accepted.)
Unable to find My Nym. Please use the option:   --mynym USER_ID
(Where USER_ID is the Nym's ID. Partial matches and names are accepted.)

.
..
...
....
.....

opentxs>


run_opentxs.bat showaccounts

Code:
C:\T_I\Geld\Open-Transactions\scripts>run_opentxs.bat showaccounts


Welcome to Open Transactions -- version 0.89.q



OTCachedKey::GetMasterPassword: Please enter your password.

Passphrase request for: "Loading private key from credential."
(OT) passphrase:

UNKNOWN element type in OTContract::LoadContractXML: notaryProviderContract, value: notaryProviderContract
UNKNOWN element type in OTContract::LoadContractXML: notaryServer, value: notaryServer
Unable to find a server contract to use. Please use the option: --server SERVER_ID
(Where SERVER_ID is the Server's ID. Partial matches ARE accepted.)
Unable to find My Nym. Please use the option:   --mynym USER_ID
(Where USER_ID is the Nym's ID. Partial matches and names are accepted.)

.
..
...
....
.....

opentxs>


run_opentxs.bat balance

Code:
C:\T_I\Geld\Open-Transactions\scripts>run_opentxs.bat balance


Welcome to Open Transactions -- version 0.89.q



OTCachedKey::GetMasterPassword: Please enter your password.

Passphrase request for: "Loading private key from credential."
(OT) passphrase:

UNKNOWN element type in OTContract::LoadContractXML: notaryProviderContract, value: notaryProviderContract
UNKNOWN element type in OTContract::LoadContractXML: notaryServer, value: notaryServer
Unable to find a server contract to use. Please use the option: --server SERVER_ID
(Where SERVER_ID is the Server's ID. Partial matches ARE accepted.)
Unable to find My Nym. Please use the option:   --mynym USER_ID
(Where USER_ID is the Nym's ID. Partial matches and names are accepted.)

.
..
...
....
.....

opentxs>


etc.

I'm also assuming you are using the test data...

I couldnt make the test data run like i posted 2 post ago in this thread. So i made a personal account with Nym (since then i have to login always), the server contract for digitalis (the problem before were the linux linebreaks. I didnt think that the xml-format is not able to understand missing linebreaks.) and i inserted all coins that server can handle. So i think it should work fine. It works too, but not for commands that have options.


Title: Re: Open Transactions (Windows Builds) - v0.89.q
Post by: fellowtraveler on October 07, 2013, 10:14:58 AM
As I'm sure I said before, you need to show me that you have it working with the test data, before you try other contracts such as digitalis.

Find your data folder, and wipe it clean. Then copy the test data into that folder. Then try the OT commands I mentioned.

ONLY if those commands are working with the test data, THEN you can start using other data such as the digitalis contract.


Title: Re: Open Transactions (Windows Builds) - v0.89.q
Post by: SebastianJu on October 09, 2013, 09:37:35 PM
Looks like i did it wrong first with the sample data. I now renamed the old setting-dir and used a new one. I copied in there the content of sample-data/ot-sample-data and started. It seems it founds server, nym, acct and purse but got an error then:

Code:
Welcome to Open Transactions -- version 0.89.q

Using as server: r1fUoHwJOWCuK3WBAAySjmKYqsG6G2TYIxdqY6YNuuG
Using as mynym: DYEB6U7dcpbwdGrftPnslNKz76BDuBTFAjiAgKaiY2n
Using as myacct: yQGh0vgm9YiqYOh6bfLDxyAA7Nnh2NmturCQmOt4LTo
Using as mypurse: JY7kEFnm2c50CGNphdpgnlVo2hOZuLrBua5cFqWWR9Q

OTScriptChai::ExecuteScript:
 Caught chaiscript::exception::eval_error:
 Can not find object: main_show_basket.
   File:
   Start position, line: 0 column: 0
   End position,   line: 0 column: 0

Error: "Can not find object: main_show_basket" during evaluation at (430, 39)


  from scripts\opentxs (412, 26) :

  from scripts\opentxs (412, 9) :

  from scripts\opentxs (622, 1) :


C:\T_I\Geld\Open-Transactions>

I dont find a file with that name so i think it might be a missing class in the code.


Title: Re: Open Transactions (Windows Builds) - v0.89.q
Post by: fellowtraveler on October 10, 2013, 04:39:32 AM


fgrep -nR "main_show_basket" scripts/*

scripts/ot/ot_commands.ot:52:def main_show_basket()


Looks like main_show_basket() is on line 52 of the file "ot_commands.ot"

Perhaps you have an old version of this file?

You might see if there are multiple copies on your system, and also pull it up and make sure that function exists on line 52.



Title: Re: Open Transactions (Windows Builds) - v0.89.q
Post by: SebastianJu on October 11, 2013, 08:16:42 PM


fgrep -nR "main_show_basket" scripts/*

scripts/ot/ot_commands.ot:52:def main_show_basket()


Looks like main_show_basket() is on line 52 of the file "ot_commands.ot"

Perhaps you have an old version of this file?

You might see if there are multiple copies on your system, and also pull it up and make sure that function exists on line 52.



There are 2 files. But it seems i already have the newest file in the needed place. So the file that is referencind the function must be the problem. But i dont see why it doesnt work when its taken from the original linux version... and i wonder why it doesnt work for me but for the win-version-dev... did any other user try it?


Title: Re: Open Transactions (Windows Builds) - v0.89.q
Post by: MaxSan on November 12, 2013, 04:30:27 PM
Are the binaries hosted anywhere which wont through a hissy fit through a corporate proxy?

Mega is obviously a no go in a work environment.


Found a work around.


Title: Re: Moneychanger (Windows Builds) - v0.90.c (inc. Open Transactions)
Post by: da2ce7 on February 22, 2014, 07:29:37 AM
New Release, including C++ QT Moneychanger!

Woho! Checkout the OP!


Title: Re: Moneychanger (Windows Builds) - v0.90.c (inc. Open Transactions)
Post by: becoin on February 22, 2014, 08:15:04 AM
New Release, including C++ QT Moneychanger!

Woho! Checkout the OP!
Nice job done.

Quote
Windows:

Code:
SHA256(Open-Transactions-0.90.c-Win32-setup.zip)= b2a74a88283c86bfdeda3de94ed9850758e5d6b8ecf3c6274d4e078d8d666264

What checksum utility do you use to verify a SHA256 hash on Windows?


Title: Re: Moneychanger (Windows Builds) - v0.90.c (inc. Open Transactions)
Post by: bitfreak! on February 22, 2014, 08:40:48 AM
I installed it on Windows 7 but I had to manually find the following dll files and place them in the Open-Transactions folder:

qt5widgets.dll
qt5gui.dll
qt5core.dll
libglesv2.dll
icuin51.dll
icuuc51.dll
icudt51.dll

But now I'm getting the following error when I try to run moneychanger-qt.exe:

"The procedure entry point ?viewportSizeHint@QTableView@@MBE?AVQSize@@XZ could not be located in the dynamic link library Qt5Widgets.dll."

I'm guessing I must have the wrong version of qt5widgets.dll or something?


Title: Re: Moneychanger (Windows Builds) - v0.90.c (inc. Open Transactions)
Post by: da2ce7 on February 22, 2014, 03:58:06 PM
I installed it on Windows 7 but I had to manually find the following dll files and place them in the Open-Transactions folder:

qt5widgets.dll
qt5gui.dll
qt5core.dll
libglesv2.dll
icuin51.dll
icuuc51.dll
icudt51.dll

But now I'm getting the following error when I try to run moneychanger-qt.exe:

"The procedure entry point ?viewportSizeHint@QTableView@@MBE?AVQSize@@XZ could not be located in the dynamic link library Qt5Widgets.dll."

I'm guessing I must have the wrong version of qt5widgets.dll or something?


Updated it... Hope it will work now :)


Title: Re: Moneychanger (Windows Builds) - v0.90.c v2 (inc. Open Transactions)
Post by: zigmas on February 22, 2014, 04:27:03 PM
If I click "Attempt Load",
Moneychanger disappears and nothing happens.


Title: Re: Moneychanger (Windows Builds) - v0.90.c v2 (inc. Open Transactions)
Post by: da2ce7 on February 22, 2014, 04:34:37 PM
If I click "Attempt Load",
Moneychanger disappears and nothing happens.


Ok... lets try version 3... (just uploaded).
You may need to remove you pid file.

Load up Moneychanger in the console it will give you a better output.


Title: Re: Moneychanger (Windows Builds) - v0.90.c v2 (inc. Open Transactions)
Post by: da2ce7 on February 22, 2014, 04:46:44 PM
If I click "Attempt Load",
Moneychanger disappears and nothing happens.


Ok... lets try version 3... (just uploaded).
You may need to remove you pid file.

Load up Moneychanger in the console it will give you a better output.


And a stupid stupid error makes me release v4.  :P  Should work now!


Title: Re: Moneychanger (Windows Builds) - v0.90.c (inc. Open Transactions)
Post by: docius on February 24, 2014, 09:16:08 AM
New Release, including C++ QT Moneychanger!

Woho! Checkout the OP!
Nice job done.

Quote
Windows:

Code:
SHA256(Open-Transactions-0.90.c-Win32-setup.zip)= b2a74a88283c86bfdeda3de94ed9850758e5d6b8ecf3c6274d4e078d8d666264

What checksum utility do you use to verify a SHA256 hash on Windows?

Try 'Hash Slash': http://www.softpedia.com/get/System/File-Management/HashSlash.shtml


Title: Re: Moneychanger (Windows Builds) - v0.90.c v4 (inc. Open Transactions)
Post by: da2ce7 on February 27, 2014, 12:20:57 AM
Add my Bitcoin-OTC link to the first-page.


Title: Re: Moneychanger (Windows Builds) - v0.90.c v4 (inc. Open Transactions)
Post by: da2ce7 on March 02, 2014, 01:08:36 PM
We have completed quite a few changes under the hood.  Shall soon have a new release.


Title: Re: Moneychanger (Windows Builds) - v0.91.a (inc. Open Transactions)
Post by: da2ce7 on March 03, 2014, 07:07:09 AM
OT 0.91.a for Windows (inc Moneychanger released!).


Title: Re: Moneychanger (Windows Builds) - v0.91.a (inc. Open Transactions)
Post by: jdbtracker on March 03, 2014, 06:35:33 PM
You Rock man! I'm planning all sorts of Havok with this program.


Title: Re: Moneychanger (Windows Builds) - v0.91.a (inc. Open Transactions)
Post by: drwasho on March 03, 2014, 10:36:44 PM
OT 0.91.a for Windows (inc Moneychanger released!).

Freaking awesome!


Title: Re: Moneychanger (Windows Builds) - v0.91.a (inc. Open Transactions)
Post by: hill on March 05, 2014, 01:53:50 PM
NICE JOB!


Title: Re: Moneychanger (Windows Builds) - v0.91.b (inc. Open Transactions)
Post by: da2ce7 on March 14, 2014, 07:02:49 AM
New Build.  ;D



Title: Re: Moneychanger (Windows Builds) - v0.92.c (inc. Open Transactions)
Post by: da2ce7 on May 15, 2014, 09:57:03 AM
New Version.  0.92.c


Title: Re: Moneychanger (Windows Builds) - v0.92.c (inc. Open Transactions)
Post by: SimonBelmond on May 16, 2014, 12:46:34 PM
Ok I feel a little bit embarrassed to post these noob questions here but will do so anyway as I really want to learn something and @ da2ce7 you seem to be a nice guy.

1.)   What are the prerequisites for installing this installer? Libraryies, OS … What about the things mentioned in the link below? Are they included in your installer? https://github.com/Open-Transactions/Open-Transactions/blob/master/docs/INSTALL-Windows.txt

2.)   Once installed, how do I setup OT so it will connect to the test server?

3.)   Now I would like to e.g. issue my currency onto the test server and start moving it between two nyms. Is there a dummies guide for doing that?

4.)   What do I have to do to be able to work with the utility script:  smartcontract.ot as stated here: https://github.com/Open-Transactions/Open-Transactions/tree/master/scripts/smartcontracts

5.)   Any other good guides you can point me to? Best way to get started as a Windows user.

Disclaimer: I do have some experiences with scrip languages such as R, VBA or LaTeX but I am definitely not a programmer. Long term Windows user.


Title: Re: Moneychanger (Windows Builds) - v0.92.c (inc. Open Transactions)
Post by: SimonBelmond on May 16, 2014, 11:20:32 PM
0.91.b: Closes immediately on strartup


0.92.c: "icuin52.dll missing" error on startup
https://i.imgur.com/zIPLGnS.jpg

0.89.q x-64: found this on my hdd and installed. Seems to work so far. I think it's just OT however, without Moneychanger GUI. comes up with the usual no server contract message and stuff.

Win7 Ultimate SP1 x64. Have installed a lot of SW listed here:
https://github.com/Open-Transactions/Open-Transactions/blob/master/docs/INSTALL-Windows.txt

Edit: Have not found a log folder. Can provide logs if you can point me there. Seriously I have never compiled anything in my life and it is quite confusing and right now I don't even know if I have to build anything, have some of the installed programs open or just use your installer and ist's supposed to be all included. I have gone through the whole thread and done a lot of reading on OT and in the Installation docs on GitHub.  It's late, need to go to bed. any help appreciated. Is this still the actual prerequisites?
https://bitcointalk.org/index.php?topic=77301.msg861959#msg861959


Title: Re: Moneychanger (Windows Builds) - v0.92.c (inc. Open Transactions)
Post by: CozyLife on August 09, 2014, 03:48:31 PM
0.91.b: Closes immediately on strartup


0.92.c: "icuin52.dll missing" error on startup
https://i.imgur.com/zIPLGnS.jpg

0.89.q x-64: found this on my hdd and installed. Seems to work so far. I think it's just OT however, without Moneychanger GUI. comes up with the usual no server contract message and stuff.

Win7 Ultimate SP1 x64. Have installed a lot of SW listed here:
https://github.com/Open-Transactions/Open-Transactions/blob/master/docs/INSTALL-Windows.txt

Edit: Have not found a log folder. Can provide logs if you can point me there. Seriously I have never compiled anything in my life and it is quite confusing and right now I don't even know if I have to build anything, have some of the installed programs open or just use your installer and ist's supposed to be all included. I have gone through the whole thread and done a lot of reading on OT and in the Installation docs on GitHub.  It's late, need to go to bed. any help appreciated. Is this still the actual prerequisites?
https://bitcointalk.org/index.php?topic=77301.msg861959#msg861959

Same here. OP, please include all necessary libraries in your installer before releasing this or tell us what prerequisites are required.


Title: Re: Moneychanger (Windows Builds) - v0.92.c (inc. Open Transactions)
Post by: SimonBelmond on August 09, 2014, 06:36:00 PM
OP has not replied here in weeks. Will write him a PM as the activity log shows that he was active today!


Title: Re: Moneychanger (Windows Builds) - v0.92.c (inc. Open Transactions)
Post by: da2ce7 on August 10, 2014, 10:10:59 AM
sorry guys, I have been traveling.  I will try and make a new build sometime soonish.  ;D

The error that Moneychagner cannot start is because of not packaging a QT dependency.

There has been a huge amount of work on Open Transactions since the last build.  There may be quite abit of work to create another build.

Cam.


Title: Re: Moneychanger (Windows Builds) - v0.92.c (inc. Open Transactions)
Post by: SimonBelmond on August 10, 2014, 12:14:07 PM
sorry guys, I have been traveling.  I will try and make a new build sometime soonish.  ;D

The error that Moneychagner cannot start is because of not packaging a QT dependency.

There has been a huge amount of work on Open Transactions since the last build.  There may be quite abit of work to create another build.

Cam.


THX. Looking forward to it...


Title: Re: Moneychanger (Windows Builds) - Out of Date!
Post by: da2ce7 on October 30, 2014, 01:01:37 AM
These builds are out of date.

The new version uses cmake, and is in super-heavy active development.

https://github.com/Open-Transactions/opentxs

My old windows build system dosent work with it.