Skip to content

Issue with login #2

Description

@pringithub

I don't know if this is a holdover from Jamonek's login issue - I can't seem to log in, and can't follow the code flow

Is @anthonykrivonos able to login?

I'm getting different errors from different angles:

Looks like it doesn't find query.py in the sibling directory

~driver$ python3 driver/driver.py
2018-11-05T20:24:10.794065E: Could not log in: name 'Query' is not defined

Looks like it can't register utility.py - maybe change driver.py:10:sys.path.append('src')

~Quantico/driver$ python3 driver.py
Traceback (most recent call last):
File "driver.py", line 22, in <module>
     from utility import *
ModuleNotFoundError: No module named 'utility'```

putting driver.py in src ... no error specified

~Quantico/src$ python3 driver.py
gets_to_init
robinhood_initiialized
2018-11-05T20:27:21.434212E: Could not log in:

Debug lines added by me:

 18 class Query:
 19
 20     # __init__:Void
 21     # param email:String => Email of the Robinhood user.
 22     # param password:String => Password for the Robinhood user.
 23     def __init__(self, email, password):
 24         print('gets_to_init')
 25         self.trader = Robinhood()
 26         print('robinhood_initiialized')
 27         self.trader.login(username=email, password=password)
 28         print('logged_in')

Also I'd love to contribute on this project, but that would require me being able to use it :)

Metadata

Metadata

Assignees

No one assigned

    Labels

    help wantedExtra attention is needed

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions