Giter VIP home page Giter VIP logo

haystack's Issues

Install script broken

Current install script for Mac (tested on a Macbook Air 2014, Sierra) does not install all packages nor/or does it find all of them

see output after following Readme's installation guide

(base) Air:HayStack_Client alexander$ python2 main.py Traceback (most recent call last): File "main.py", line 6, in <module> from HayStack_API import HayStack, Run_HayStack_Client File "/Users/alexander/Dev/Haystack/HayStack_Client/HayStack_API.py", line 6, in <module> from DynamicPublicLedger_Module import Dynamic_Public_Ledger File "/Users/alexander/Dev/Haystack/HayStack_Client/DynamicPublicLedger_Module.py", line 6, in <module> from User_Modules import User_Profile File "/Users/alexander/Dev/Haystack/HayStack_Client/User_Modules.py", line 8, in <module> from IOTA_Module import Seed_Generator File "/Users/alexander/Dev/Haystack/HayStack_Client/IOTA_Module.py", line 6, in <module> from iota import TryteString, Address, ProposedBundle, ProposedTransaction, Bundle ImportError: No module named iota

Python2 vs Python3

An issue has been reported where running the code with python3 will result in an error similar to;

Traceback (most recent call last):
File "main.py", line 6, in
from HayStack_API import HayStack, Run_HayStack_Client
File "/home/XXX/github/Haystack/Test_Clients/a/HayStack_API.py", line 6, in
from DynamicPublicLedger_Module import Dynamic_Public_Ledger
File "/home/XXX/github/Haystack/Test_Clients/a/DynamicPublicLedger_Module.py", line 6, in
from User_Modules import User_Profile
File "/home/XXX/github/Haystack/Test_Clients/a/User_Modules.py", line 10, in
class Initialization(Configuration, Tools):
TypeError: Cannot create a consistent method resolution
order (MRO) for bases Configuration, Tools

This error is from the fact that in python2 the representation of string is different than to python3.

Exception in thread Thread-3

Happened without any action in following menu

log output:

Please choose one of the options:
a) Compose Message
b) Check Inbox
c) Add or remove Contacts
d) Go back

Exception in thread Thread-3:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/home/afr0909/Dev/Haystack/HayStack_Client/HayStack_API.py", line 199, in run
HayStack().Ping_Function()
File "/home/afr0909/Dev/Haystack/HayStack_Client/HayStack_API.py", line 99, in Ping_Function
Sender_Client().Ping_Function()
File "/home/afr0909/Dev/Haystack/HayStack_Client/Haystack_Module.py", line 79, in Ping_Function
Data = self.Send_Message(Message = Random, ReceiverAddress = Client_Public_Address, PublicKey = Client_Public_K
ey, Ping_Function = True)
File "/home/afr0909/Dev/Haystack/HayStack_Client/Haystack_Module.py", line 36, in Send_Message
hashed = self.PrivateIOTA.Send(ReceiverAddress = ToSend[1], Message = ToSend[0])
File "/home/afr0909/Dev/Haystack/HayStack_Client/IOTA_Module.py", line 100, in Send
send = self.IOTA_Api.send_trytes(trytes = coded, depth = 4)
File "/usr/local/lib/python2.7/dist-packages/iota/api.py", line 1238, in send_trytes
minWeightMagnitude=min_weight_magnitude,
File "/usr/local/lib/python2.7/dist-packages/iota/commands/init.py", line 130, in call
self.response = self._execute(self.request)
File "/usr/local/lib/python2.7/dist-packages/iota/commands/extended/send_trytes.py", line 54, in _execute
trytes=trytes,
File "/usr/local/lib/python2.7/dist-packages/iota/commands/init.py", line 130, in call
self.response = self._execute(self.request)
File "/usr/local/lib/python2.7/dist-packages/iota/commands/core/attach_to_tangle.py", line 41, in _execute
return super(FilterCommand, self)._execute(request)
File "/usr/local/lib/python2.7/dist-packages/iota/commands/init.py", line 158, in _execute
return self.adapter.send_request(request)
File "/usr/local/lib/python2.7/dist-packages/iota/adapter/init.py", line 320, in send_request
return self._interpret_response(response, payload, {codes['ok']})
File "/usr/local/lib/python2.7/dist-packages/iota/adapter/init.py", line 465, in _interpret_response
'response': decoded,
BadApiResponse: 429 response from node: {u'status': 429, u'timestamp': u'2019-11-23T16:17:54.279+0000', u'message':
u'Rate limit reached or all nodes are busy. Try again later.', u'error': u'Too Many Requests', u'path': u'/'}

trying to quit is not easy ;)

^CTraceback (most recent call last): File "main.py", line 329, in <module> Interactive_Client().Third_Screen() File "main.py", line 157, in Third_Screen User_Choice = raw_input("Please choose one of the options: \n a) Compose Message \n b) Check Inbox \n c) Add or remove Contacts \n d) Go back \n>>> ") KeyboardInterrupt ^C^C^[d^[d^C^C ^C ^C

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.