Closed gittyonex closed 5 years ago
The error is caused because the folder /Users/xxxxx/.investoscope/csv_data
does not exist. You need to move the investoscope folder to that location, alternatively you can do what I did which is to change the script to reflect the default location of investoscope data.
To do this you need to navigate inside the package (right click | show package contents) to Contents | Resources and edit investoscope.py
change the following line
INVESTOSCOPE_PATH = "~/.investoscope"
to
INVESTOSCOPE_PATH = "~/Library/Containers/com.investoscope.Investoscope3/Data/Library/Application Support/Investoscope 3/"
@Rod-Persky Perhaps it would be better having this as the default, or reading it from a plist or other config file to make it easier to modify
Updater is not working since I updated to OS X Mojave; tried updating to Python 3.7 and now getting a similar error:
File "update.py", line 8, in
You need to install the requests python module
run pip3 install requests
@gittyonex you can do the following:
1) Use the default Investoscope path, 2) Edit the python, 3) Make a symbolic link from ~/.investoscope to it's new location
I may look into how investoscope keeps track of the actual path, but those options should generally set you up for a while.
Otherwise, i'll keep tracking this in #6
I followed your instructions step by step , but unfortunately get the following error message :
Traceback (most recent call last): File "update.py", line 7, in
import investoscope
File "/private/var/folders/8p/khws2j6jjflyxn99jmmm0000gn/T/AppTranslocation/848923EC-13BD-49DF-A15D-D5AA60AA305D/d/Investoscope Updater.app/Contents/Resources/investoscope.py", line 23, in
CSV_DOWNLOAD_PATH.mkdir(exist_ok=True)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/pathlib.py", line 1230, in mkdir
self._accessor.mkdir(self, mode)
FileNotFoundError: [Errno 2] No such file or directory: '/Users/xxxxx/.investoscope/csv_data'