acl-org / aclpubcheck

Tools for checking ACL paper submissions
MIT License
598 stars 47 forks source link

No such file or directory: '/etc/ImageMagick-6/policy.xml #55

Closed dadelani closed 1 year ago

dadelani commented 1 year ago

hi,

I'm having the error below when using ACL pubcheck on Google colab:FileNotFoundError

Traceback (most recent call last) in <cell line: 96>() 94 """ 95 ---> 96 with open('/etc/ImageMagick-6/policy.xml', 'w') as f: 97 f.write(s) 98

FileNotFoundError: [Errno 2] No such file or directory: '/etc/ImageMagick-6/policy.xml'

Can you please help with this error?

crux82 commented 1 year ago

I fear there is a problem with COLAB itself

It seems it cannot install the dependencies

! apt-get install libmagickwand-dev

I fear it should be notified to COLAB itself...

dadelani commented 1 year ago

thanks for the reply.

cyriltw commented 1 year ago

I'm also running to this issue. @crux82 that's the issue, seems like it's not getting installed or being picked up properly.

I installed things locally and got this through but this was helpful.

https://stackoverflow.com/questions/74530824/google-colab-import-imagemagick-policyerror-not-authorized-file-pdf

annadmitrieva commented 1 year ago

I ran ! apt-get update on colab before all other cells and everything worked

crux82 commented 1 year ago

@annadmitrieva GREAT! This solved the issue.

I updated the Python book.

@dadelani can you confirm that it is now working and close this issue?

Thanks!

dadelani commented 1 year ago

@crux82 , yes, "! apt-get update" worked for me.

Thank you so much @annadmitrieva and @crux82 .