Skip to content
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

Operation not supported: 'results/v1.avi_frame_0.jpg' -> 'temp_link/v1.avi_frame_0.jpg' #1

Closed
ShreshthSaxena opened this issue Aug 6, 2020 · 6 comments

Comments

@ShreshthSaxena
Copy link

  • easyimages version: 1.5
  • Python version: 3.6
  • Operating System: NA (Colab Notebook)

Description

while trying to explore images in folder "results" using:
L = EasyImageList.from_folder("results")
L.symlink_images()

got error:

What I Did

OSError                                   Traceback (most recent call last)
<ipython-input-109-43b03d11ef71> in <module>()
      2 
      3 L = EasyImageList.from_folder("results")
----> 4 L.symlink_images()
      5 L.html(sample = 500, size = 44)

/usr/local/lib/python3.6/dist-packages/easyimages/easyimages.py in symlink_images(self, base_path)
    303 
    304         for target, dest in zip(targets, destination):
--> 305             os.symlink(target, dest)
    306 
    307         for i, d in zip(self.images, destination):

OSError: [Errno 95] Operation not supported: 'results/v1.avi_frame_0.jpg' -> 'temp_link/v1.avi_frame_0.jpg'

@i008
Copy link
Owner

i008 commented Aug 6, 2020 via email

@i008
Copy link
Owner

i008 commented Aug 7, 2020 via email

@ShreshthSaxena
Copy link
Author

"Btw the symlink part is only needed when your data is not down-path of the
dir where your notebook was started. So you can always symlink (or move the
images) on your own."

can you please explain that?
The images are inside a folder called "results" that is in my pwd/current directory

@i008
Copy link
Owner

i008 commented Aug 7, 2020 via email

@i008
Copy link
Owner

i008 commented Aug 7, 2020 via email

@ShreshthSaxena
Copy link
Author

yeah I thought so.
Thanks for the reply !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants