-
Notifications
You must be signed in to change notification settings - Fork 356
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
getting the same error on multiple computer operation systems. #49
Comments
Hi leolle, The fix is relatively simple. In trading.py change line 49 from using a path relative to your current directory (“../logging.conf”) to use an absolute path instead (for example something like “/home/leolle/projects/qsforex/logging.conf” depending on where you installed). The way you tried to start trading.py is the way its described in the documentation but the program itself assumed you will be in the trading directory when you start it, contrary to the docs. A more systematic fix is the subject of Pull Request #39 but this is still pending. Hope that helps – several of us in a small group in Adelaide Australia have been able to get the auto trading running against a practice account. Cheers, Dieter. From: leolle Hi, Michael, I am getting this error under the virtual environment when executing this command: Traceback (most recent call last): — |
Hi Jansen, thank you very much for your advice, it works perfectly. |
You’re welcome leolle, glad I could assist.
We’re all looking forward to starting work with QSTrader down here – Michael and several others have been putting in heaps of work on that recently.
Cheers, Dieter.
From: leolle
Sent: Saturday, July 16, 2016 10:40 AM
To: mhallsmoore/qsforex
Cc: dieterjansen ; Comment
Subject: Re: [mhallsmoore/qsforex] getting the same error on multiple computer operation systems. (#49)
Hi Jansen, thank you very much for your advice, it works perfectly.
I changed the logging.conf file path to an absolute directory, it's find now.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.
|
Hi Dieter, Thank you. Regards, On Sat, Jul 16, 2016 at 10:09 AM, dieterjansen [email protected]
|
Hi, Michael, I am getting this error under the virtual environment when executing this command:
python trading/trading.py
can you help? thank you.
Traceback (most recent call last): File "trading/trading.py", line 49, in <module> logging.config.fileConfig('../logging.conf') File "/usr/lib/python2.7/logging/config.py", line 77, in fileConfig formatters = _create_formatters(cp) File "/usr/lib/python2.7/logging/config.py", line 113, in _create_formatters flist = cp.get("formatters", "keys") File "/usr/lib/python2.7/ConfigParser.py", line 607, in get raise NoSectionError(section) ConfigParser.NoSectionError: No section: 'formatters'
The text was updated successfully, but these errors were encountered: