klzns / opentracks

A Flask/Python client for Open-Transactions.
6 stars 4 forks source link

ImportError: No module named _otapi #2

Closed ghost closed 10 years ago

ghost commented 10 years ago

So I followed the instructions on the readme and after I tried to run python app/webapp.py I got this error. This is on MacOSX Mavericks. Ot is installed, is the latest version and I'm am currently running otserver.

Traceback (most recent call last):
  File "app/webapp.py", line 2, in <module>
    from otapi import otapi
  File "/Users/Sean/opentracks/app/otapi/otapi.py", line 26, in <module>
    _otapi = swig_import_helper()
  File "/Users/Sean/opentracks/app/otapi/otapi.py", line 18, in swig_import_helper
    import _otapi
ImportError: No module named _otapi
klzns commented 10 years ago

@alphonse23 I'm assuming you followed the OT's OSX install guide. I saw it doesn't cite the system installation method of the Ubuntu guide.

Can you try building OT with sudo and tell me if it works?

ghost commented 10 years ago

did work :( I saved a script with all the steps I took to install everything.

import _otapi

I feel like this line means that it's not finding that library. I'm not sure where that library file is located, but maybe if I changed that line to point to specifically where it is in the filesystem, it will make the connection...

ghost commented 10 years ago

my _otapi.a is located in /lib/

$ ls /lib/
_otapi.a         _otapi.so        libgtest.a       libgtest.la      libot.a          libot.la         libotapi.a       libotapi.la      pkgconfig
_otapi.la        libgtest.0.dylib libgtest.dylib   libot.0.dylib    libot.dylib      libotapi.0.dylib libotapi.dylib   opentxs

is there anyway to tell python to search for library imports from a specific folder?

ghost commented 10 years ago

So I tried what I mentioned above, and this is what I did:

import os, sys
lib_path = os.path.abspath('/lib')
sys.path.append(lib_path)

And now I get this error:

(venv)Seans-MacBook-Pro-4:opentracks Sean$ python app/webapp.py
Traceback (most recent call last):
  File "app/webapp.py", line 2, in <module>
    from otapi import otapi
  File "/Users/Sean/opentracks/app/otapi/otapi.py", line 166, in <module>
    class OTCallback(_object):
  File "/Users/Sean/opentracks/app/otapi/otapi.py", line 180, in OTCallback
    __swig_destroy__ = _otapi.delete_OTCallback
AttributeError: 'module' object has no attribute 'delete_OTCallback'

I tried running dir(_otapi) within otapi.py and it didn't print anything. Though when I use import otapi with the setup above, within the python repl, it prints all the attributes fine when running dir(_otapi). So I guess it's still not importing correctly within otapi.py?....

ghost commented 10 years ago

... :) sorry. I'm posting a lot of shit. I really should be consolidating my posts: Anyway, here's a dir of the _otapi:

>>> import os, sys
>>> lib_path = os.path.abspath('/lib')
>>> sys.path.append(lib_path)
>>> import _otapi
>>> dir(_otapi)
['Acct_acct_id_get', 'Acct_acct_id_set', 'Acct_gui_label_get', 'Acct_gui_label_set', 'Acct_ot_dynamic_cast', 'Acct_server_id_get', 'Acct_server_id_set', 'Acct_swigregister', 'AddressBook_AddContact', 'AddressBook_GetContact', 'AddressBook_GetContactCount', 'AddressBook_RemoveContact', 'AddressBook_ot_dynamic_cast', 'AddressBook_swigregister', 'AskData_available_assets_get', 'AskData_available_assets_set', 'AskData_date_get', 'AskData_date_set', 'AskData_gui_label_get', 'AskData_gui_label_set', 'AskData_minimum_increment_get', 'AskData_minimum_increment_set', 'AskData_ot_dynamic_cast', 'AskData_price_per_scale_get', 'AskData_price_per_scale_set', 'AskData_swigregister', 'AskData_transaction_id_get', 'AskData_transaction_id_set', 'BidData_available_assets_get', 'BidData_available_assets_set', 'BidData_date_get', 'BidData_date_set', 'BidData_gui_label_get', 'BidData_gui_label_set', 'BidData_minimum_increment_get', 'BidData_minimum_increment_set', 'BidData_ot_dynamic_cast', 'BidData_price_per_scale_get', 'BidData_price_per_scale_set', 'BidData_swigregister', 'BidData_transaction_id_get', 'BidData_transaction_id_set', 'BitcoinAcct_acct_id_get', 'BitcoinAcct_acct_id_set', 'BitcoinAcct_bitcoin_acct_name_get', 'BitcoinAcct_bitcoin_acct_name_set', 'BitcoinAcct_gui_label_get', 'BitcoinAcct_gui_label_set', 'BitcoinAcct_ot_dynamic_cast', 'BitcoinAcct_server_id_get', 'BitcoinAcct_server_id_set', 'BitcoinAcct_swigregister', 'BitcoinServer_bitcoin_password_get', 'BitcoinServer_bitcoin_password_set', 'BitcoinServer_bitcoin_username_get', 'BitcoinServer_bitcoin_username_set', 'BitcoinServer_gui_label_get', 'BitcoinServer_gui_label_set', 'BitcoinServer_ot_dynamic_cast', 'BitcoinServer_server_host_get', 'BitcoinServer_server_host_set', 'BitcoinServer_server_id_get', 'BitcoinServer_server_id_set', 'BitcoinServer_server_port_get', 'BitcoinServer_server_port_set', 'BitcoinServer_server_type_get', 'BitcoinServer_server_type_set', 'BitcoinServer_swigregister', 'Blob_m_memBuffer_get', 'Blob_m_memBuffer_set', 'Blob_ot_dynamic_cast', 'Blob_swigregister', 'CheckStringsExistInOrder', 'ContactAcct_acct_id_get', 'ContactAcct_acct_id_set', 'ContactAcct_asset_type_id_get', 'ContactAcct_asset_type_id_set', 'ContactAcct_gui_label_get', 'ContactAcct_gui_label_set', 'ContactAcct_memo_get', 'ContactAcct_memo_set', 'ContactAcct_nym_id_get', 'ContactAcct_nym_id_set', 'ContactAcct_ot_dynamic_cast', 'ContactAcct_public_key_get', 'ContactAcct_public_key_set', 'ContactAcct_server_id_get', 'ContactAcct_server_id_set', 'ContactAcct_server_type_get', 'ContactAcct_server_type_set', 'ContactAcct_swigregister', 'ContactNym_AddServerInfo', 'ContactNym_GetServerInfo', 'ContactNym_GetServerInfoCount', 'ContactNym_RemoveServerInfo', 'ContactNym_gui_label_get', 'ContactNym_gui_label_set', 'ContactNym_memo_get', 'ContactNym_memo_set', 'ContactNym_nym_id_get', 'ContactNym_nym_id_set', 'ContactNym_nym_type_get', 'ContactNym_nym_type_set', 'ContactNym_ot_dynamic_cast', 'ContactNym_public_key_get', 'ContactNym_public_key_set', 'ContactNym_swigregister', 'Contact_AddContactAcct', 'Contact_AddContactNym', 'Contact_GetContactAcct', 'Contact_GetContactAcctCount', 'Contact_GetContactNym', 'Contact_GetContactNymCount', 'Contact_RemoveContactAcct', 'Contact_RemoveContactNym', 'Contact_contact_id_get', 'Contact_contact_id_set', 'Contact_email_get', 'Contact_email_set', 'Contact_gui_label_get', 'Contact_gui_label_set', 'Contact_memo_get', 'Contact_memo_set', 'Contact_ot_dynamic_cast', 'Contact_public_key_get', 'Contact_public_key_set', 'Contact_swigregister', 'CreateObject', 'CreateStorageContext', 'DecodeObject', 'Displayable_gui_label_get', 'Displayable_gui_label_set', 'Displayable_ot_dynamic_cast', 'Displayable_swigregister', 'EncodeObject', 'EraseValueByKey', 'Exists', 'FormPathString', 'GetDefaultStorage', 'InitDefaultStorage', 'LoomServer_gui_label_get', 'LoomServer_gui_label_set', 'LoomServer_loom_username_get', 'LoomServer_loom_username_set', 'LoomServer_namefield_id_get', 'LoomServer_namefield_id_set', 'LoomServer_ot_dynamic_cast', 'LoomServer_server_host_get', 'LoomServer_server_host_set', 'LoomServer_server_id_get', 'LoomServer_server_id_set', 'LoomServer_server_port_get', 'LoomServer_server_port_set', 'LoomServer_server_type_get', 'LoomServer_server_type_set', 'LoomServer_swigregister', 'MapStringString___bool__', 'MapStringString___contains__', 'MapStringString___delitem__', 'MapStringString___getitem__', 'MapStringString___len__', 'MapStringString___nonzero__', 'MapStringString___setitem__', 'MapStringString_asdict', 'MapStringString_begin', 'MapStringString_clear', 'MapStringString_count', 'MapStringString_empty', 'MapStringString_end', 'MapStringString_erase', 'MapStringString_find', 'MapStringString_get_allocator', 'MapStringString_has_key', 'MapStringString_items', 'MapStringString_iterator', 'MapStringString_key_iterator', 'MapStringString_keys', 'MapStringString_lower_bound', 'MapStringString_rbegin', 'MapStringString_rend', 'MapStringString_size', 'MapStringString_swap', 'MapStringString_swigregister', 'MapStringString_upper_bound', 'MapStringString_value_iterator', 'MapStringString_values', 'MarketData_asset_type_id_get', 'MarketData_asset_type_id_set', 'MarketData_currency_type_id_get', 'MarketData_currency_type_id_set', 'MarketData_current_ask_get', 'MarketData_current_ask_set', 'MarketData_current_bid_get', 'MarketData_current_bid_set', 'MarketData_gui_label_get', 'MarketData_gui_label_set', 'MarketData_last_sale_date_get', 'MarketData_last_sale_date_set', 'MarketData_last_sale_price_get', 'MarketData_last_sale_price_set', 'MarketData_market_id_get', 'MarketData_market_id_set', 'MarketData_number_asks_get', 'MarketData_number_asks_set', 'MarketData_number_bids_get', 'MarketData_number_bids_set', 'MarketData_ot_dynamic_cast', 'MarketData_recent_highest_bid_get', 'MarketData_recent_highest_bid_set', 'MarketData_recent_lowest_ask_get', 'MarketData_recent_lowest_ask_set', 'MarketData_scale_get', 'MarketData_scale_set', 'MarketData_server_id_get', 'MarketData_server_id_set', 'MarketData_swigregister', 'MarketData_total_assets_get', 'MarketData_total_assets_set', 'MarketData_volume_assets_get', 'MarketData_volume_assets_set', 'MarketData_volume_currency_get', 'MarketData_volume_currency_set', 'MarketData_volume_trades_get', 'MarketData_volume_trades_set', 'MarketList_AddMarketData', 'MarketList_GetMarketData', 'MarketList_GetMarketDataCount', 'MarketList_RemoveMarketData', 'MarketList_ot_dynamic_cast', 'MarketList_swigregister', 'OTAPI_Wrap_AddAssetContract', 'OTAPI_Wrap_AddBasketCreationItem', 'OTAPI_Wrap_AddBasketExchangeItem', 'OTAPI_Wrap_AddServerContract', 'OTAPI_Wrap_AddSignature', 'OTAPI_Wrap_AddSubcredential', 'OTAPI_Wrap_AppCleanup', 'OTAPI_Wrap_AppInit', 'OTAPI_Wrap_Basket_GetMemberCount', 'OTAPI_Wrap_Basket_GetMemberMinimumTransferAmount', 'OTAPI_Wrap_Basket_GetMemberType', 'OTAPI_Wrap_Basket_GetMinimumTransferAmount', 'OTAPI_Wrap_Bylaw_GetCallbackCount', 'OTAPI_Wrap_Bylaw_GetClauseCount', 'OTAPI_Wrap_Bylaw_GetHookCount', 'OTAPI_Wrap_Bylaw_GetLanguage', 'OTAPI_Wrap_Bylaw_GetVariableCount', 'OTAPI_Wrap_CalculateAssetContractID', 'OTAPI_Wrap_CalculateServerContractID', 'OTAPI_Wrap_Callback_GetClause', 'OTAPI_Wrap_Callback_GetNameByIndex', 'OTAPI_Wrap_Clause_GetContents', 'OTAPI_Wrap_Clause_GetNameByIndex', 'OTAPI_Wrap_ClearExpired', 'OTAPI_Wrap_ClearRecord', 'OTAPI_Wrap_ConfirmPaymentPlan', 'OTAPI_Wrap_CreateAssetContract', 'OTAPI_Wrap_CreateNym', 'OTAPI_Wrap_CreatePurse', 'OTAPI_Wrap_CreatePurse_Passphrase', 'OTAPI_Wrap_CreateServerContract', 'OTAPI_Wrap_CreateSymmetricKey', 'OTAPI_Wrap_Create_SmartContract', 'OTAPI_Wrap_Decode', 'OTAPI_Wrap_Decrypt', 'OTAPI_Wrap_DiscardCheque', 'OTAPI_Wrap_DoesBoxReceiptExist', 'OTAPI_Wrap_EasyProposePlan', 'OTAPI_Wrap_Encode', 'OTAPI_Wrap_Encrypt', 'OTAPI_Wrap_Exec', 'OTAPI_Wrap_FlatSign', 'OTAPI_Wrap_FlushMessageBuffer', 'OTAPI_Wrap_FlushSentMessages', 'OTAPI_Wrap_FormatAmount', 'OTAPI_Wrap_GenerateBasketCreation', 'OTAPI_Wrap_GenerateBasketExchange', 'OTAPI_Wrap_GetAccountCount', 'OTAPI_Wrap_GetAccountWallet_AssetTypeID', 'OTAPI_Wrap_GetAccountWallet_Balance', 'OTAPI_Wrap_GetAccountWallet_ID', 'OTAPI_Wrap_GetAccountWallet_InboxHash', 'OTAPI_Wrap_GetAccountWallet_Name', 'OTAPI_Wrap_GetAccountWallet_NymID', 'OTAPI_Wrap_GetAccountWallet_OutboxHash', 'OTAPI_Wrap_GetAccountWallet_ServerID', 'OTAPI_Wrap_GetAccountWallet_Type', 'OTAPI_Wrap_GetActiveCronItem', 'OTAPI_Wrap_GetAssetTypeCount', 'OTAPI_Wrap_GetAssetType_Contract', 'OTAPI_Wrap_GetAssetType_ID', 'OTAPI_Wrap_GetAssetType_Name', 'OTAPI_Wrap_GetAssetType_TLA', 'OTAPI_Wrap_GetMemlogAtIndex', 'OTAPI_Wrap_GetMemlogSize', 'OTAPI_Wrap_GetNymCount', 'OTAPI_Wrap_GetNym_ActiveCronItemIDs', 'OTAPI_Wrap_GetNym_AltSourceLocation', 'OTAPI_Wrap_GetNym_CredentialContents', 'OTAPI_Wrap_GetNym_CredentialCount', 'OTAPI_Wrap_GetNym_CredentialID', 'OTAPI_Wrap_GetNym_ID', 'OTAPI_Wrap_GetNym_InboxHash', 'OTAPI_Wrap_GetNym_MailContentsByIndex', 'OTAPI_Wrap_GetNym_MailCount', 'OTAPI_Wrap_GetNym_MailSenderIDByIndex', 'OTAPI_Wrap_GetNym_MailServerIDByIndex', 'OTAPI_Wrap_GetNym_Name', 'OTAPI_Wrap_GetNym_NymboxHash', 'OTAPI_Wrap_GetNym_OutboxHash', 'OTAPI_Wrap_GetNym_OutmailContentsByIndex', 'OTAPI_Wrap_GetNym_OutmailCount', 'OTAPI_Wrap_GetNym_OutmailRecipientIDByIndex', 'OTAPI_Wrap_GetNym_OutmailServerIDByIndex', 'OTAPI_Wrap_GetNym_OutpaymentsContentsByIndex', 'OTAPI_Wrap_GetNym_OutpaymentsCount', 'OTAPI_Wrap_GetNym_OutpaymentsRecipientIDByIndex', 'OTAPI_Wrap_GetNym_OutpaymentsServerIDByIndex', 'OTAPI_Wrap_GetNym_RecentHash', 'OTAPI_Wrap_GetNym_RevokedCredContents', 'OTAPI_Wrap_GetNym_RevokedCredCount', 'OTAPI_Wrap_GetNym_RevokedCredID', 'OTAPI_Wrap_GetNym_SourceForID', 'OTAPI_Wrap_GetNym_Stats', 'OTAPI_Wrap_GetNym_SubCredentialContents', 'OTAPI_Wrap_GetNym_SubCredentialID', 'OTAPI_Wrap_GetNym_SubcredentialCount', 'OTAPI_Wrap_GetNym_TransactionNumCount', 'OTAPI_Wrap_GetSentMessage', 'OTAPI_Wrap_GetServerCount', 'OTAPI_Wrap_GetServer_Contract', 'OTAPI_Wrap_GetServer_ID', 'OTAPI_Wrap_GetServer_Name', 'OTAPI_Wrap_GetTime', 'OTAPI_Wrap_HaveAlreadySeenReply', 'OTAPI_Wrap_Hook_GetClauseAtIndex', 'OTAPI_Wrap_Hook_GetClauseCount', 'OTAPI_Wrap_Hook_GetNameByIndex', 'OTAPI_Wrap_Instrmnt_GetAmount', 'OTAPI_Wrap_Instrmnt_GetAssetID', 'OTAPI_Wrap_Instrmnt_GetMemo', 'OTAPI_Wrap_Instrmnt_GetRecipientAcctID', 'OTAPI_Wrap_Instrmnt_GetRecipientUserID', 'OTAPI_Wrap_Instrmnt_GetRemitterAcctID', 'OTAPI_Wrap_Instrmnt_GetRemitterUserID', 'OTAPI_Wrap_Instrmnt_GetSenderAcctID', 'OTAPI_Wrap_Instrmnt_GetSenderUserID', 'OTAPI_Wrap_Instrmnt_GetServerID', 'OTAPI_Wrap_Instrmnt_GetTransNum', 'OTAPI_Wrap_Instrmnt_GetType', 'OTAPI_Wrap_Instrmnt_GetValidFrom', 'OTAPI_Wrap_Instrmnt_GetValidTo', 'OTAPI_Wrap_IsBasketCurrency', 'OTAPI_Wrap_IsNym_RegisteredAtServer', 'OTAPI_Wrap_It', 'OTAPI_Wrap_Ledger_AddTransaction', 'OTAPI_Wrap_Ledger_CreateResponse', 'OTAPI_Wrap_Ledger_FinalizeResponse', 'OTAPI_Wrap_Ledger_GetCount', 'OTAPI_Wrap_Ledger_GetInstrument', 'OTAPI_Wrap_Ledger_GetTransactionByID', 'OTAPI_Wrap_Ledger_GetTransactionByIndex', 'OTAPI_Wrap_Ledger_GetTransactionIDByIndex', 'OTAPI_Wrap_LoadAssetAccount', 'OTAPI_Wrap_LoadAssetContract', 'OTAPI_Wrap_LoadExpiredBox', 'OTAPI_Wrap_LoadExpiredBoxNoVerify', 'OTAPI_Wrap_LoadInbox', 'OTAPI_Wrap_LoadInboxNoVerify', 'OTAPI_Wrap_LoadMint', 'OTAPI_Wrap_LoadNymbox', 'OTAPI_Wrap_LoadNymboxNoVerify', 'OTAPI_Wrap_LoadOutbox', 'OTAPI_Wrap_LoadOutboxNoVerify', 'OTAPI_Wrap_LoadPaymentInbox', 'OTAPI_Wrap_LoadPaymentInboxNoVerify', 'OTAPI_Wrap_LoadPubkey_Encryption', 'OTAPI_Wrap_LoadPubkey_Signing', 'OTAPI_Wrap_LoadPurse', 'OTAPI_Wrap_LoadRecordBox', 'OTAPI_Wrap_LoadRecordBoxNoVerify', 'OTAPI_Wrap_LoadServerContract', 'OTAPI_Wrap_LoadUserPubkey_Encryption', 'OTAPI_Wrap_LoadUserPubkey_Signing', 'OTAPI_Wrap_LoadWallet', 'OTAPI_Wrap_LongToString', 'OTAPI_Wrap_Message_GetBalanceAgreementSuccess', 'OTAPI_Wrap_Message_GetCommand', 'OTAPI_Wrap_Message_GetDepth', 'OTAPI_Wrap_Message_GetLedger', 'OTAPI_Wrap_Message_GetNewAcctID', 'OTAPI_Wrap_Message_GetNewAssetTypeID', 'OTAPI_Wrap_Message_GetNewIssuerAcctID', 'OTAPI_Wrap_Message_GetNymboxHash', 'OTAPI_Wrap_Message_GetPayload', 'OTAPI_Wrap_Message_GetSuccess', 'OTAPI_Wrap_Message_GetTransactionSuccess', 'OTAPI_Wrap_Message_GetUsageCredits', 'OTAPI_Wrap_Message_IsTransactionCanceled', 'OTAPI_Wrap_Mint_IsStillGood', 'OTAPI_Wrap_Msg_HarvestTransactionNumbers', 'OTAPI_Wrap_NumList_Add', 'OTAPI_Wrap_NumList_Count', 'OTAPI_Wrap_NumList_Remove', 'OTAPI_Wrap_NumList_VerifyAll', 'OTAPI_Wrap_NumList_VerifyQuery', 'OTAPI_Wrap_Nym_RemoveMailByIndex', 'OTAPI_Wrap_Nym_RemoveOutmailByIndex', 'OTAPI_Wrap_Nym_RemoveOutpaymentsByIndex', 'OTAPI_Wrap_Nym_VerifyMailByIndex', 'OTAPI_Wrap_Nym_VerifyOutmailByIndex', 'OTAPI_Wrap_Nym_VerifyOutpaymentsByIndex', 'OTAPI_Wrap_Nymbox_GetReplyNotice', 'OTAPI_Wrap_OTAPI', 'OTAPI_Wrap_Output', 'OTAPI_Wrap_Party_GetAcctAgentName', 'OTAPI_Wrap_Party_GetAcctAssetID', 'OTAPI_Wrap_Party_GetAcctCount', 'OTAPI_Wrap_Party_GetAcctID', 'OTAPI_Wrap_Party_GetAcctNameByIndex', 'OTAPI_Wrap_Party_GetAgentCount', 'OTAPI_Wrap_Party_GetAgentID', 'OTAPI_Wrap_Party_GetAgentNameByIndex', 'OTAPI_Wrap_Party_GetID', 'OTAPI_Wrap_PeekMemlogBack', 'OTAPI_Wrap_PeekMemlogFront', 'OTAPI_Wrap_Pending_GetNote', 'OTAPI_Wrap_PopMemlogBack', 'OTAPI_Wrap_PopMemlogFront', 'OTAPI_Wrap_PopMessageBuffer', 'OTAPI_Wrap_ProposePaymentPlan', 'OTAPI_Wrap_Purse_Count', 'OTAPI_Wrap_Purse_Empty', 'OTAPI_Wrap_Purse_GetTotalValue', 'OTAPI_Wrap_Purse_HasPassword', 'OTAPI_Wrap_Purse_Peek', 'OTAPI_Wrap_Purse_Pop', 'OTAPI_Wrap_Purse_Push', 'OTAPI_Wrap_RecordPayment', 'OTAPI_Wrap_RemoveSentMessage', 'OTAPI_Wrap_ReplyNotice_GetRequestNum', 'OTAPI_Wrap_ResyncNymWithServer', 'OTAPI_Wrap_RevokeSubcredential', 'OTAPI_Wrap_SavePurse', 'OTAPI_Wrap_SetAccountWallet_Name', 'OTAPI_Wrap_SetAppBinaryFolder', 'OTAPI_Wrap_SetAssetType_Name', 'OTAPI_Wrap_SetExecutor', 'OTAPI_Wrap_SetHomeFolder', 'OTAPI_Wrap_SetNym_Name', 'OTAPI_Wrap_SetServer_Name', 'OTAPI_Wrap_SetWallet', 'OTAPI_Wrap_SignContract', 'OTAPI_Wrap_Sleep', 'OTAPI_Wrap_SmartContract_AddAccount', 'OTAPI_Wrap_SmartContract_AddBylaw', 'OTAPI_Wrap_SmartContract_AddCallback', 'OTAPI_Wrap_SmartContract_AddClause', 'OTAPI_Wrap_SmartContract_AddHook', 'OTAPI_Wrap_SmartContract_AddParty', 'OTAPI_Wrap_SmartContract_AddVariable', 'OTAPI_Wrap_SmartContract_ConfirmAccount', 'OTAPI_Wrap_SmartContract_ConfirmParty', 'OTAPI_Wrap_SmartContract_CountNumsNeeded', 'OTAPI_Wrap_Smart_AreAllPartiesConfirmed', 'OTAPI_Wrap_Smart_GetBylawByIndex', 'OTAPI_Wrap_Smart_GetBylawCount', 'OTAPI_Wrap_Smart_GetPartyByIndex', 'OTAPI_Wrap_Smart_GetPartyCount', 'OTAPI_Wrap_Smart_IsPartyConfirmed', 'OTAPI_Wrap_StringToAmount', 'OTAPI_Wrap_StringToLong', 'OTAPI_Wrap_StringToUlong', 'OTAPI_Wrap_SwitchWallet', 'OTAPI_Wrap_SymmetricDecrypt', 'OTAPI_Wrap_SymmetricEncrypt', 'OTAPI_Wrap_Token_ChangeOwner', 'OTAPI_Wrap_Token_GetAssetID', 'OTAPI_Wrap_Token_GetDenomination', 'OTAPI_Wrap_Token_GetID', 'OTAPI_Wrap_Token_GetSeries', 'OTAPI_Wrap_Token_GetServerID', 'OTAPI_Wrap_Token_GetValidFrom', 'OTAPI_Wrap_Token_GetValidTo', 'OTAPI_Wrap_Transaction_CreateResponse', 'OTAPI_Wrap_Transaction_GetAmount', 'OTAPI_Wrap_Transaction_GetBalanceAgreementSuccess', 'OTAPI_Wrap_Transaction_GetDateSigned', 'OTAPI_Wrap_Transaction_GetDisplayReferenceToNum', 'OTAPI_Wrap_Transaction_GetRecipientAcctID', 'OTAPI_Wrap_Transaction_GetRecipientUserID', 'OTAPI_Wrap_Transaction_GetSenderAcctID', 'OTAPI_Wrap_Transaction_GetSenderUserID', 'OTAPI_Wrap_Transaction_GetSuccess', 'OTAPI_Wrap_Transaction_GetType', 'OTAPI_Wrap_Transaction_GetVoucher', 'OTAPI_Wrap_Transaction_IsCanceled', 'OTAPI_Wrap_UlongToString', 'OTAPI_Wrap_Variable_GetAccess', 'OTAPI_Wrap_Variable_GetContents', 'OTAPI_Wrap_Variable_GetNameByIndex', 'OTAPI_Wrap_Variable_GetType', 'OTAPI_Wrap_VerifyAccountReceipt', 'OTAPI_Wrap_VerifyAndRetrieveXMLContents', 'OTAPI_Wrap_VerifySignature', 'OTAPI_Wrap_VerifyUserPrivateKey', 'OTAPI_Wrap_WalletExists', 'OTAPI_Wrap_Wallet_CanRemoveAccount', 'OTAPI_Wrap_Wallet_CanRemoveAssetType', 'OTAPI_Wrap_Wallet_CanRemoveNym', 'OTAPI_Wrap_Wallet_CanRemoveServer', 'OTAPI_Wrap_Wallet_ChangePassphrase', 'OTAPI_Wrap_Wallet_ExportCert', 'OTAPI_Wrap_Wallet_ExportNym', 'OTAPI_Wrap_Wallet_GetAccountIDFromPartial', 'OTAPI_Wrap_Wallet_GetAssetIDFromPartial', 'OTAPI_Wrap_Wallet_GetNymIDFromPartial', 'OTAPI_Wrap_Wallet_GetServerIDFromPartial', 'OTAPI_Wrap_Wallet_ImportCert', 'OTAPI_Wrap_Wallet_ImportNym', 'OTAPI_Wrap_Wallet_ImportPurse', 'OTAPI_Wrap_Wallet_RemoveAssetType', 'OTAPI_Wrap_Wallet_RemoveNym', 'OTAPI_Wrap_Wallet_RemoveServer', 'OTAPI_Wrap_WriteCheque', 'OTAPI_Wrap_activateSmartContract', 'OTAPI_Wrap_checkServerID', 'OTAPI_Wrap_checkUser', 'OTAPI_Wrap_createAssetAccount', 'OTAPI_Wrap_createUserAccount', 'OTAPI_Wrap_deleteAssetAccount', 'OTAPI_Wrap_deleteUserAccount', 'OTAPI_Wrap_depositCheque', 'OTAPI_Wrap_depositPaymentPlan', 'OTAPI_Wrap_exchangeBasket', 'OTAPI_Wrap_exchangePurse', 'OTAPI_Wrap_getAccount', 'OTAPI_Wrap_getAccountFiles', 'OTAPI_Wrap_getBoxReceipt', 'OTAPI_Wrap_getContract', 'OTAPI_Wrap_getInbox', 'OTAPI_Wrap_getMarketList', 'OTAPI_Wrap_getMarketOffers', 'OTAPI_Wrap_getMarketRecentTrades', 'OTAPI_Wrap_getMint', 'OTAPI_Wrap_getNym_MarketOffers', 'OTAPI_Wrap_getNymbox', 'OTAPI_Wrap_getOutbox', 'OTAPI_Wrap_getRequest', 'OTAPI_Wrap_getTransactionNumber', 'OTAPI_Wrap_issueAssetType', 'OTAPI_Wrap_issueBasket', 'OTAPI_Wrap_issueMarketOffer', 'OTAPI_Wrap_killMarketOffer', 'OTAPI_Wrap_killPaymentPlan', 'OTAPI_Wrap_notarizeDeposit', 'OTAPI_Wrap_notarizeTransfer', 'OTAPI_Wrap_notarizeWithdrawal', 'OTAPI_Wrap_payDividend', 'OTAPI_Wrap_processInbox', 'OTAPI_Wrap_processNymbox', 'OTAPI_Wrap_queryAssetTypes', 'OTAPI_Wrap_sendUserInstrument', 'OTAPI_Wrap_sendUserMessage', 'OTAPI_Wrap_swigregister', 'OTAPI_Wrap_triggerClause', 'OTAPI_Wrap_usageCredits', 'OTAPI_Wrap_withdrawVoucher', 'OTDBString_m_string_get', 'OTDBString_m_string_set', 'OTDBString_ot_dynamic_cast', 'OTDBString_swigregister', 'OTLookupCaller_GetAcctName', 'OTLookupCaller_GetNymName', 'OTLookupCaller_delCallback', 'OTLookupCaller_getCallback', 'OTLookupCaller_isCallbackSet', 'OTLookupCaller_setCallback', 'OTLookupCaller_swigregister', 'OTNameLookup_GetAcctName', 'OTNameLookup_GetNymName', 'OTNameLookup_swigregister', 'OTPASSWORD_BLOCKSIZE', 'OTPASSWORD_MEMSIZE', 'OTPassword_Compare', 'OTPassword_CreateTextBuffer', 'OTPassword_DEFAULT_SIZE', 'OTPassword_LARGER_SIZE', 'OTPassword_SetSize', 'OTPassword_addChar', 'OTPassword_addMemory', 'OTPassword_getBlockSize', 'OTPassword_getMemory', 'OTPassword_getMemorySize', 'OTPassword_getMemoryWritable', 'OTPassword_getMemory_uint8', 'OTPassword_getPassword', 'OTPassword_getPasswordSize', 'OTPassword_getPasswordWritable', 'OTPassword_getPasswordWritable_char', 'OTPassword_getPassword_uint8', 'OTPassword_isMemory', 'OTPassword_isPassword', 'OTPassword_m_theBlockSize_get', 'OTPassword_randomizeMemory', 'OTPassword_randomizeMemory_uint8', 'OTPassword_randomizePassword', 'OTPassword_randomizePassword_uint8', 'OTPassword_safe_memcpy', 'OTPassword_setMemory', 'OTPassword_setPassword', 'OTPassword_setPassword_uint8', 'OTPassword_swigregister', 'OTPassword_zeroMemory', 'OTRecordList_AcceptCashAutomatically', 'OTRecordList_AcceptChequesAutomatically', 'OTRecordList_AcceptReceiptsAutomatically', 'OTRecordList_AcceptTransfersAutomatically', 'OTRecordList_AddAccountID', 'OTRecordList_AddAssetID', 'OTRecordList_AddNymID', 'OTRecordList_AddServerID', 'OTRecordList_ClearAccounts', 'OTRecordList_ClearAssets', 'OTRecordList_ClearContents', 'OTRecordList_ClearNyms', 'OTRecordList_ClearServers', 'OTRecordList_DoesAcceptCashAutomatically', 'OTRecordList_DoesAcceptChequesAutomatically', 'OTRecordList_DoesAcceptReceiptsAutomatically', 'OTRecordList_DoesAcceptTransfersAutomatically', 'OTRecordList_GetRecord', 'OTRecordList_PerformAutoAccept', 'OTRecordList_Populate', 'OTRecordList_RemoveRecord', 'OTRecordList_SetAccountID', 'OTRecordList_SetAssetID', 'OTRecordList_SetFastMode', 'OTRecordList_SetNymID', 'OTRecordList_SetServerID', 'OTRecordList_getAddrBookCaller', 'OTRecordList_setAddrBookCaller', 'OTRecordList_setTextFrom', 'OTRecordList_setTextTo', 'OTRecordList_size', 'OTRecordList_swigregister', 'OTRecordList_textFrom', 'OTRecordList_textTo', 'OTRecord_AcceptIncomingInstrument', 'OTRecord_AcceptIncomingReceipt', 'OTRecord_AcceptIncomingTransfer', 'OTRecord_CanAcceptIncoming', 'OTRecord_CanCancelOutgoing', 'OTRecord_CanDeleteRecord', 'OTRecord_CanDiscardIncoming', 'OTRecord_CanDiscardOutgoingCash', 'OTRecord_CancelOutgoing', 'OTRecord_DeleteRecord', 'OTRecord_DiscardIncoming', 'OTRecord_DiscardOutgoingCash', 'OTRecord_ErrorState', 'OTRecord_FormatAmount', 'OTRecord_FormatDescription', 'OTRecord_FormatMailSubject', 'OTRecord_FormatShortMailDescription', 'OTRecord_GetAccountID', 'OTRecord_GetAmount', 'OTRecord_GetAssetID', 'OTRecord_GetBoxIndex', 'OTRecord_GetContents', 'OTRecord_GetCurrencyTLA', 'OTRecord_GetDate', 'OTRecord_GetInitialPaymentAmount', 'OTRecord_GetInitialPaymentDate', 'OTRecord_GetInstrumentType', 'OTRecord_GetMaximumNoPayments', 'OTRecord_GetMemo', 'OTRecord_GetName', 'OTRecord_GetNymID', 'OTRecord_GetOtherAccountID', 'OTRecord_GetOtherNymID', 'OTRecord_GetPaymentPlanAmount', 'OTRecord_GetPaymentPlanStartDate', 'OTRecord_GetRecordType', 'OTRecord_GetServerID', 'OTRecord_GetTimeBetweenPayments', 'OTRecord_GetTransNumForDisplay', 'OTRecord_GetTransactionNum', 'OTRecord_GetTypeString', 'OTRecord_GetValidFrom', 'OTRecord_GetValidTo', 'OTRecord_HasContents', 'OTRecord_HasInitialPayment', 'OTRecord_HasMemo', 'OTRecord_HasPaymentPlan', 'OTRecord_Instrument', 'OTRecord_IsCanceled', 'OTRecord_IsCash', 'OTRecord_IsCheque', 'OTRecord_IsContract', 'OTRecord_IsExpired', 'OTRecord_IsInvoice', 'OTRecord_IsMail', 'OTRecord_IsOutgoing', 'OTRecord_IsPaymentPlan', 'OTRecord_IsPending', 'OTRecord_IsReceipt', 'OTRecord_IsRecord', 'OTRecord_IsTransfer', 'OTRecord_IsVoucher', 'OTRecord_Mail', 'OTRecord_Receipt', 'OTRecord_SetBoxIndex', 'OTRecord_SetCanceled', 'OTRecord_SetContents', 'OTRecord_SetDateRange', 'OTRecord_SetExpired', 'OTRecord_SetMemo', 'OTRecord_SetOtherAccountID', 'OTRecord_SetOtherNymID', 'OTRecord_SetTransNumForDisplay', 'OTRecord_SetTransactionNum', 'OTRecord_Transfer', 'OTRecord_swigregister', 'OT_API_Set_AddrBookCallback', 'OT_API_Set_PasswordCallback', 'OT_CLI_GetArgsCount', 'OT_CLI_GetKeyByIndex', 'OT_CLI_GetValueByIndex', 'OT_CLI_GetValueByKey', 'OT_CLI_ReadLine', 'OT_CLI_ReadUntilEOF', 'OT_DEFAULT_BLOCKSIZE', 'OT_DEFAULT_MEMSIZE', 'OT_LARGE_BLOCKSIZE', 'OT_LARGE_MEMSIZE', 'OT_ME_AddVariable', 'OT_ME_ExecuteScript_ReturnBool', 'OT_ME_ExecuteScript_ReturnInt', 'OT_ME_ExecuteScript_ReturnString', 'OT_ME_ExecuteScript_ReturnVoid', 'OT_ME_FindVariable', 'OT_ME_FindVariable2', 'OT_ME_InterpretTransactionMsgReply', 'OT_ME_VerifyMessageSuccess', 'OT_ME_VerifyMsgBalanceAgrmntSuccess', 'OT_ME_VerifyMsgTrnxSuccess', 'OT_ME_accept_from_paymentbox', 'OT_ME_accept_inbox_items', 'OT_ME_activate_smart_contract', 'OT_ME_adjust_usage_credits', 'OT_ME_cancel_outgoing_payments', 'OT_ME_cancel_payment_plan', 'OT_ME_check_user', 'OT_ME_create_asset_acct', 'OT_ME_create_market_offer', 'OT_ME_create_pseudonym', 'OT_ME_deposit_cash', 'OT_ME_deposit_cheque', 'OT_ME_deposit_local_purse', 'OT_ME_discard_incoming_payments', 'OT_ME_easy_withdraw_cash', 'OT_ME_exchange_basket_currency', 'OT_ME_export_cash', 'OT_ME_get_box_receipt', 'OT_ME_get_market_list', 'OT_ME_get_market_offers', 'OT_ME_get_market_recent_trades', 'OT_ME_get_nym_market_offers', 'OT_ME_get_payment_instrument', 'OT_ME_issue_asset_type', 'OT_ME_issue_basket_currency', 'OT_ME_kill_market_offer', 'OT_ME_kill_payment_plan', 'OT_ME_load_or_retrieve_contract', 'OT_ME_load_or_retrieve_encrypt_key', 'OT_ME_load_or_retrieve_mint', 'OT_ME_load_or_retrieve_signing_key', 'OT_ME_load_public_encryption_key', 'OT_ME_load_public_signing_key', 'OT_ME_make_sure_enough_trans_nums', 'OT_ME_opentxs_copy_variables', 'OT_ME_opentxs_main_loop', 'OT_ME_pay_dividend', 'OT_ME_process_inbox', 'OT_ME_query_asset_types', 'OT_ME_register_nym', 'OT_ME_retrieve_account', 'OT_ME_retrieve_contract', 'OT_ME_retrieve_mint', 'OT_ME_retrieve_nym', 'OT_ME_send_transfer', 'OT_ME_send_user_cash', 'OT_ME_send_user_cash_pubkey', 'OT_ME_send_user_msg', 'OT_ME_send_user_msg_pubkey', 'OT_ME_send_user_payment', 'OT_ME_send_user_pmnt_pubkey', 'OT_ME_stat_asset_account', 'OT_ME_swigregister', 'OT_ME_trigger_clause', 'OT_ME_withdraw_and_send_cash', 'OT_ME_withdraw_cash', 'OT_ME_withdraw_voucher', 'OT_PW_DISPLAY', 'OfferDataMarket_available_assets_get', 'OfferDataMarket_available_assets_set', 'OfferDataMarket_date_get', 'OfferDataMarket_date_set', 'OfferDataMarket_gui_label_get', 'OfferDataMarket_gui_label_set', 'OfferDataMarket_minimum_increment_get', 'OfferDataMarket_minimum_increment_set', 'OfferDataMarket_ot_dynamic_cast', 'OfferDataMarket_price_per_scale_get', 'OfferDataMarket_price_per_scale_set', 'OfferDataMarket_swigregister', 'OfferDataMarket_transaction_id_get', 'OfferDataMarket_transaction_id_set', 'OfferDataNym_asset_acct_id_get', 'OfferDataNym_asset_acct_id_set', 'OfferDataNym_asset_type_id_get', 'OfferDataNym_asset_type_id_set', 'OfferDataNym_currency_acct_id_get', 'OfferDataNym_currency_acct_id_set', 'OfferDataNym_currency_type_id_get', 'OfferDataNym_currency_type_id_set', 'OfferDataNym_date_get', 'OfferDataNym_date_set', 'OfferDataNym_finished_so_far_get', 'OfferDataNym_finished_so_far_set', 'OfferDataNym_gui_label_get', 'OfferDataNym_gui_label_set', 'OfferDataNym_minimum_increment_get', 'OfferDataNym_minimum_increment_set', 'OfferDataNym_ot_dynamic_cast', 'OfferDataNym_price_per_scale_get', 'OfferDataNym_price_per_scale_set', 'OfferDataNym_scale_get', 'OfferDataNym_scale_set', 'OfferDataNym_selling_get', 'OfferDataNym_selling_set', 'OfferDataNym_server_id_get', 'OfferDataNym_server_id_set', 'OfferDataNym_stop_price_get', 'OfferDataNym_stop_price_set', 'OfferDataNym_stop_sign_get', 'OfferDataNym_stop_sign_set', 'OfferDataNym_swigregister', 'OfferDataNym_total_assets_get', 'OfferDataNym_total_assets_set', 'OfferDataNym_transaction_id_get', 'OfferDataNym_transaction_id_set', 'OfferDataNym_valid_from_get', 'OfferDataNym_valid_from_set', 'OfferDataNym_valid_to_get', 'OfferDataNym_valid_to_set', 'OfferListMarket_AddAskData', 'OfferListMarket_AddBidData', 'OfferListMarket_GetAskData', 'OfferListMarket_GetAskDataCount', 'OfferListMarket_GetBidData', 'OfferListMarket_GetBidDataCount', 'OfferListMarket_RemoveAskData', 'OfferListMarket_RemoveBidData', 'OfferListMarket_ot_dynamic_cast', 'OfferListMarket_swigregister', 'OfferListNym_AddOfferDataNym', 'OfferListNym_GetOfferDataNym', 'OfferListNym_GetOfferDataNymCount', 'OfferListNym_RemoveOfferDataNym', 'OfferListNym_ot_dynamic_cast', 'OfferListNym_swigregister', 'PACK_MESSAGE_PACK', 'PACK_PROTOCOL_BUFFERS', 'PACK_TYPE_ERROR', 'QueryObject', 'QueryPlainString', 'QueryString', 'RippleServer_gui_label_get', 'RippleServer_gui_label_set', 'RippleServer_namefield_id_get', 'RippleServer_namefield_id_set', 'RippleServer_ot_dynamic_cast', 'RippleServer_passfield_id_get', 'RippleServer_passfield_id_set', 'RippleServer_ripple_password_get', 'RippleServer_ripple_password_set', 'RippleServer_ripple_username_get', 'RippleServer_ripple_username_set', 'RippleServer_server_host_get', 'RippleServer_server_host_set', 'RippleServer_server_id_get', 'RippleServer_server_id_set', 'RippleServer_server_port_get', 'RippleServer_server_port_set', 'RippleServer_server_type_get', 'RippleServer_server_type_set', 'RippleServer_swigregister', 'STORED_OBJ_ADDRESS_BOOK', 'STORED_OBJ_ASK_DATA', 'STORED_OBJ_BID_DATA', 'STORED_OBJ_BITCOIN_ACCT', 'STORED_OBJ_BITCOIN_SERVER', 'STORED_OBJ_BLOB', 'STORED_OBJ_CONTACT', 'STORED_OBJ_CONTACT_ACCT', 'STORED_OBJ_CONTACT_NYM', 'STORED_OBJ_ERROR', 'STORED_OBJ_LOOM_SERVER', 'STORED_OBJ_MARKET_DATA', 'STORED_OBJ_MARKET_LIST', 'STORED_OBJ_OFFER_DATA_NYM', 'STORED_OBJ_OFFER_LIST_MARKET', 'STORED_OBJ_OFFER_LIST_NYM', 'STORED_OBJ_RIPPLE_SERVER', 'STORED_OBJ_SERVER_INFO', 'STORED_OBJ_STRING', 'STORED_OBJ_STRING_MAP', 'STORED_OBJ_TRADE_DATA_MARKET', 'STORED_OBJ_TRADE_DATA_NYM', 'STORED_OBJ_TRADE_LIST_MARKET', 'STORED_OBJ_TRADE_LIST_NYM', 'STORED_OBJ_WALLET_DATA', 'STORE_FILESYSTEM', 'STORE_TYPE_SUBCLASS', 'SWIG_PyInstanceMethod_New', 'ServerInfo_gui_label_get', 'ServerInfo_gui_label_set', 'ServerInfo_ot_dynamic_cast', 'ServerInfo_server_id_get', 'ServerInfo_server_id_set', 'ServerInfo_server_type_get', 'ServerInfo_server_type_set', 'ServerInfo_swigregister', 'Server_gui_label_get', 'Server_gui_label_set', 'Server_ot_dynamic_cast', 'Server_server_host_get', 'Server_server_host_set', 'Server_server_id_get', 'Server_server_id_set', 'Server_server_port_get', 'Server_server_port_set', 'Server_server_type_get', 'Server_server_type_set', 'Server_swigregister', 'Storable_Create', 'Storable_ot_dynamic_cast', 'Storable_swigregister', 'Storage_Create', 'Storage_CreateObject', 'Storage_DecodeObject', 'Storage_EncodeObject', 'Storage_EraseValueByKey', 'Storage_Exists', 'Storage_FormPathString', 'Storage_GetPacker', 'Storage_GetType', 'Storage_QueryObject', 'Storage_QueryPlainString', 'Storage_QueryString', 'Storage_StoreObject', 'Storage_StorePlainString', 'Storage_StoreString', 'Storage_swigregister', 'StoreObject', 'StorePlainString', 'StoreString', 'StringMap_GetValue', 'StringMap_SetValue', 'StringMap_ot_dynamic_cast', 'StringMap_swigregister', 'StringMap_the_map_get', 'StringMap_the_map_set', 'SwigPyIterator___add__', 'SwigPyIterator___eq__', 'SwigPyIterator___iadd__', 'SwigPyIterator___isub__', 'SwigPyIterator___ne__', 'SwigPyIterator___next__', 'SwigPyIterator___sub__', 'SwigPyIterator_advance', 'SwigPyIterator_copy', 'SwigPyIterator_decr', 'SwigPyIterator_distance', 'SwigPyIterator_equal', 'SwigPyIterator_incr', 'SwigPyIterator_next', 'SwigPyIterator_previous', 'SwigPyIterator_swigregister', 'SwigPyIterator_value', 'TradeDataMarket_amount_sold_get', 'TradeDataMarket_amount_sold_set', 'TradeDataMarket_date_get', 'TradeDataMarket_date_set', 'TradeDataMarket_gui_label_get', 'TradeDataMarket_gui_label_set', 'TradeDataMarket_ot_dynamic_cast', 'TradeDataMarket_price_get', 'TradeDataMarket_price_set', 'TradeDataMarket_swigregister', 'TradeDataMarket_transaction_id_get', 'TradeDataMarket_transaction_id_set', 'TradeDataNym_amount_sold_get', 'TradeDataNym_amount_sold_set', 'TradeDataNym_asset_id_get', 'TradeDataNym_asset_id_set', 'TradeDataNym_completed_count_get', 'TradeDataNym_completed_count_set', 'TradeDataNym_currency_id_get', 'TradeDataNym_currency_id_set', 'TradeDataNym_currency_paid_get', 'TradeDataNym_currency_paid_set', 'TradeDataNym_date_get', 'TradeDataNym_date_set', 'TradeDataNym_finished_so_far_get', 'TradeDataNym_finished_so_far_set', 'TradeDataNym_gui_label_get', 'TradeDataNym_gui_label_set', 'TradeDataNym_offer_price_get', 'TradeDataNym_offer_price_set', 'TradeDataNym_ot_dynamic_cast', 'TradeDataNym_price_get', 'TradeDataNym_price_set', 'TradeDataNym_swigregister', 'TradeDataNym_transaction_id_get', 'TradeDataNym_transaction_id_set', 'TradeDataNym_updated_id_get', 'TradeDataNym_updated_id_set', 'TradeListMarket_AddTradeDataMarket', 'TradeListMarket_GetTradeDataMarket', 'TradeListMarket_GetTradeDataMarketCount', 'TradeListMarket_RemoveTradeDataMarket', 'TradeListMarket_ot_dynamic_cast', 'TradeListMarket_swigregister', 'TradeListNym_AddTradeDataNym', 'TradeListNym_GetTradeDataNym', 'TradeListNym_GetTradeDataNymCount', 'TradeListNym_RemoveTradeDataNym', 'TradeListNym_ot_dynamic_cast', 'TradeListNym_swigregister', 'VectorUnsignedChar___bool__', 'VectorUnsignedChar___delitem__', 'VectorUnsignedChar___delslice__', 'VectorUnsignedChar___getitem__', 'VectorUnsignedChar___getslice__', 'VectorUnsignedChar___len__', 'VectorUnsignedChar___nonzero__', 'VectorUnsignedChar___setitem__', 'VectorUnsignedChar___setslice__', 'VectorUnsignedChar_append', 'VectorUnsignedChar_assign', 'VectorUnsignedChar_back', 'VectorUnsignedChar_begin', 'VectorUnsignedChar_capacity', 'VectorUnsignedChar_clear', 'VectorUnsignedChar_empty', 'VectorUnsignedChar_end', 'VectorUnsignedChar_erase', 'VectorUnsignedChar_front', 'VectorUnsignedChar_get_allocator', 'VectorUnsignedChar_insert', 'VectorUnsignedChar_iterator', 'VectorUnsignedChar_pop', 'VectorUnsignedChar_pop_back', 'VectorUnsignedChar_push_back', 'VectorUnsignedChar_rbegin', 'VectorUnsignedChar_rend', 'VectorUnsignedChar_reserve', 'VectorUnsignedChar_resize', 'VectorUnsignedChar_size', 'VectorUnsignedChar_swap', 'VectorUnsignedChar_swigregister', 'WalletData_AddBitcoinAcct', 'WalletData_AddBitcoinServer', 'WalletData_AddLoomServer', 'WalletData_AddRippleServer', 'WalletData_GetBitcoinAcct', 'WalletData_GetBitcoinAcctCount', 'WalletData_GetBitcoinServer', 'WalletData_GetBitcoinServerCount', 'WalletData_GetLoomServer', 'WalletData_GetLoomServerCount', 'WalletData_GetRippleServer', 'WalletData_GetRippleServerCount', 'WalletData_RemoveBitcoinAcct', 'WalletData_RemoveBitcoinServer', 'WalletData_RemoveLoomServer', 'WalletData_RemoveRippleServer', 'WalletData_ot_dynamic_cast', 'WalletData_swigregister', '__doc__', '__file__', '__name__', '__package__', 'delete_Acct', 'delete_AddressBook', 'delete_AskData', 'delete_BidData', 'delete_BitcoinAcct', 'delete_BitcoinServer', 'delete_Blob', 'delete_Contact', 'delete_ContactAcct', 'delete_ContactNym', 'delete_Displayable', 'delete_LoomServer', 'delete_MapStringString', 'delete_MarketData', 'delete_MarketList', 'delete_OTDBString', 'delete_OTLookupCaller', 'delete_OTNameLookup', 'delete_OTPassword', 'delete_OTRecord', 'delete_OTRecordList', 'delete_OT_ME', 'delete_OfferDataMarket', 'delete_OfferDataNym', 'delete_OfferListMarket', 'delete_OfferListNym', 'delete_RippleServer', 'delete_Server', 'delete_ServerInfo', 'delete_Storable', 'delete_Storage', 'delete_StringMap', 'delete_SwigPyIterator', 'delete_TradeDataMarket', 'delete_TradeDataNym', 'delete_TradeListMarket', 'delete_TradeListNym', 'delete_VectorUnsignedChar', 'delete_WalletData', 'delete_imaxdiv_t', 'disown_OTNameLookup', 'imaxabs', 'imaxdiv', 'imaxdiv_t_quot_get', 'imaxdiv_t_quot_set', 'imaxdiv_t_rem_get', 'imaxdiv_t_rem_set', 'imaxdiv_t_swigregister', 'new_MapStringString', 'new_OTLookupCaller', 'new_OTNameLookup', 'new_OTPassword', 'new_OTRecord', 'new_OTRecordList', 'new_OT_ME', 'new_VectorUnsignedChar', 'new_imaxdiv_t', 'wcstoimax', 'wcstoumax']

If you search through the attributes _otapi.delete_OTCallback doesn't exist. So, what were you using that function for? Is there another possible function you can using instead of delete_OTCallback in its place?

And I'm done. I'll try this again tomorrow morning.

klzns commented 10 years ago

@alphonse23 I just checked here and the otapi.py I was using was outdated. I updated my Open-Transactions, built a new otapi.py and pushed to the repo.

Can you please pull opentracks and tell me if this fixed?

ghost commented 10 years ago

Hey brenoc, Thanks for the reply!

So after updating opentrac with the new repo, I got a new error after the run:

File "/Users/Sean/opentracks/venv/lib/python2.7/site-packages/flask/exthook.py", line 87, in load_module
    raise ImportError('No module named %s' % fullname)
    ImportError: No module named flask.ext.sqlalchemy

But I got it to run after adding Flask-SQLAlchemy to requirements.txt and running the install script again.

and now it runs, yay! issue closed.