Open alonisser opened 7 years ago
the datapackage test made a symbolic link there
but it's not running now, so it shouldn't happen again
you can just delete the data/datapackage symlink
(knesset-data-django) ori@ori-ThinkPad-T560:~/knesset-data-django$ ll data
total 12
drwxr-xr-x 2 ori ori 4096 Jul 8 10:38 ./
drwxr-xr-x 7 ori ori 4096 Jul 8 10:54 ../
-rw-r--r-- 1 ori ori 0 Jul 8 10:30 .gitkeep
lrwxrwxrwx 1 ori ori 74 Jul 8 10:38 datapackage -> /home/ori/knesset-data-django/knesset_data_django/common/tests/datapackage/
./manage.py download_knesset_datapackage --url https://s3.amazonaws.com/knesset-data/datapackage_last_5_days_2017-07-08.zip --scrape
OSError: Cannot call rmtree on a symbolic link
Sure thanks
On Sun, Jul 9, 2017 at 11:19 AM Ori Hoch notifications@github.com wrote:
the datapackage test made a symbolic link there
but it's not running now, so it shouldn't happen again
you can just delete the data/datapackage symlink
(knesset-data-django) ori@ori-ThinkPad-T560:~/knesset-data-django$ ll data total 12 drwxr-xr-x 2 ori ori 4096 Jul 8 10:38 ./ drwxr-xr-x 7 ori ori 4096 Jul 8 10:54 ../ -rw-r--r-- 1 ori ori 0 Jul 8 10:30 .gitkeep lrwxrwxrwx 1 ori ori 74 Jul 8 10:38 datapackage -> /home/ori/knesset-data-django/knesset_data_django/common/tests/datapackage/
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/hasadna/knesset-data-django/issues/11#issuecomment-313906166, or mute the thread https://github.com/notifications/unsubscribe-auth/ABXlcLZkvgnOvETl-iTx-dl8gr6mz40iks5sMI0AgaJpZM4OR3Sm .
-- Alon Nisser twitter:@alonisser https://twitter.com/alonisser Facebook https://www.facebook.com/alonisser Tech Blog: https://medium.com/@alonisser/ Personal Blog:degeladom.wordpress.com Tel:972-54-6734469
Looks like there is symbolink link for the tests folder? This looks like a mistake I guess?
Traceback: