Closed webchick closed 2 years ago
Hi @jdrumgoole I tried following the instructions in the new README using PowerShell,
Now get the master file of all the GDELT files.
gdeltloader --master
This will generate a file named something like gdelt-master-file-04-19-2022-19-33-56.txt
but I kept getting this error (and similar errors in Command Prompt and Git Bash):
PS C:\Users\John Fiewor\Documents\Code\gdelttools> gdeltloader --master
gdeltloader : The term 'gdeltloader' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1
+ gdeltloader --master
+ ~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (gdeltloader:String) [], CommandNotFoundException
+ FullyQualifiedErrorId : CommandNotFoundException
However, following the previous instructions that were replaced by this PR: python gdelttools\gdeltloader.py --master --update
worked just fine:
Getting update file from 'http://data.gdeltproject.org/gdeltv2/lastupdate.txt'
created: gdelt-update-file-04-20-2022-11-40-03.txt
Getting master file from 'http://data.gdeltproject.org/gdeltv2/masterfilelist.txt'
created: gdelt-master-file-04-20-2022-11-44-03.txt
I guess this might be something you need to look into.
Hi John,
Let me test on windows machine and get back to you.
Joe
On Wed, 20 Apr 2022 at 13:05, Fiewor John @.***> wrote:
Hi @jdrumgoole https://github.com/jdrumgoole I tried following the instructions in the new README using PowerShell,
Now get the master file of all the GDELT files. gdeltloader --master This will generate a file named something like gdelt-master-file-04-19-2022-19-33-56.txt
but I kept getting this error (and similar errors in Command Prompt and Git Bash):
PS C:\Users\John Fiewor\Documents\Code\gdelttools> gdeltloader --master gdeltloader : The term 'gdeltloader' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or the name, or if a path was included, verify that the path is correct and try again. At line:1 char:1
- gdeltloader --master
+ CategoryInfo : ObjectNotFound: (gdeltloader:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException
However, following the previous instructions that were replaced by this PR: python gdelttools\gdeltloader.py --master --update worked just fine:
Getting update file from 'http://data.gdeltproject.org/gdeltv2/lastupdate.txt' created: gdelt-update-file-04-20-2022-11-40-03.txt Getting master file from 'http://data.gdeltproject.org/gdeltv2/masterfilelist.txt' created: gdelt-master-file-04-20-2022-11-44-03.txt
I guess this might be something you need to look into.
— Reply to this email directly, view it on GitHub https://github.com/jdrumgoole/gdelttools/pull/6#issuecomment-1103854354, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAAXYDU2ZWAJ3OIGV6ECEXDVF7XJLANCNFSM5TZ3IVRA . You are receiving this because you were mentioned.Message ID: @.***>
Now that it's a Python package, here are some quick tweaks to the instructions so they work.
(This is not intending to compete with / replace #2, which is much more comprehensive work on README.md and also very much worth a look.)