# no file found

**URL:** <https://forums.openmv.io/t/no-file-found/1454>\
**Category:** OpenMV Boards\
**Created:** [October 25, 2019, 2:58pm UTC](https://forums.openmv.io/t/no-file-found/1454 "2019-10-25T14:58:58Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![pcls1026](https://avatars.discourse-cdn.com/v4/letter/p/57b2e6/32.png) [@pcls1026](https://forums.openmv.io/u/pcls1026)\
**Post date:** [October 25, 2019, 2:58pm UTC](https://forums.openmv.io/t/no-file-found/1454/1 "2019-10-25T14:58:58Z")

</div>

Hi,  
It’s been along time.

I just pulled up an old script. It has the following command.  
img=image.Image(“/blksqrclose.pgm”,copy\_to\_fb=True)  
When i run the script I get the following error.  
os error: could not find file  
The file is located at c:\user\jimkim\documents\blksqrclose.pgm

Any ideas?  
Thanks  
Jim Sullivan

---

<div class="post-metadata">

**Author:** ![kwagyeman](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/kwagyeman/32/4_2.png) [@kwagyeman](https://forums.openmv.io/u/kwagyeman)\
**Post date:** [October 25, 2019, 3:30pm UTC](https://forums.openmv.io/t/no-file-found/1454/2 "2019-10-25T15:30:54Z")

</div>

The script runs on the camera. You have to copy the image file to the camera. Make sure you have an SD card.

---

<div class="post-metadata">

**Author:** ![pcls1026](https://avatars.discourse-cdn.com/v4/letter/p/57b2e6/32.png) [@pcls1026](https://forums.openmv.io/u/pcls1026)\
**Post date:** [October 25, 2019, 6:20pm UTC](https://forums.openmv.io/t/no-file-found/1454/3 "2019-10-25T18:20:33Z")

</div>

Hi,  
I remember now.  
Thanks,  
Jim

---

<div class="post-metadata">

**Author:** ![pcls1026](https://avatars.discourse-cdn.com/v4/letter/p/57b2e6/32.png) [@pcls1026](https://forums.openmv.io/u/pcls1026)\
**Post date:** [October 25, 2019, 6:44pm UTC](https://forums.openmv.io/t/no-file-found/1454/4 "2019-10-25T18:44:14Z")

</div>

My image is grey scale 640x480. When I look at properties on the K drive it lists capacity at 81KB . The 307KB picture cannot be copied to the K drive.  
Jim

---

<div class="post-metadata">

**Author:** ![kwagyeman](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/kwagyeman/32/4_2.png) [@kwagyeman](https://forums.openmv.io/u/kwagyeman)\
**Post date:** [October 25, 2019, 9:46pm UTC](https://forums.openmv.io/t/no-file-found/1454/5 "2019-10-25T21:46:21Z")

</div>

Please add an SD card. You can’t save images on the internal flash.

---

<div class="post-metadata">

**Author:** ![pcls1026](https://avatars.discourse-cdn.com/v4/letter/p/57b2e6/32.png) [@pcls1026](https://forums.openmv.io/u/pcls1026)\
**Post date:** [October 26, 2019, 5:02pm UTC](https://forums.openmv.io/t/no-file-found/1454/6 "2019-10-26T17:02:30Z")

</div>

I have an SD card installed. How do I copy my image file to it?

Thanks  
Jim

---

<div class="post-metadata">

**Author:** ![iabdalkader](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/iabdalkader/32/1169_2.png) [@iabdalkader](https://forums.openmv.io/u/iabdalkader)\
**Post date:** [October 26, 2019, 5:23pm UTC](https://forums.openmv.io/t/no-file-found/1454/7 "2019-10-26T17:23:34Z")

</div>

> [@](#):
>
> I have an SD card installed. How do I copy my image file to it?
> 
> Thanks  
> Jim

Use the PC to copy & paste and then umount and put the card in the camera, or put the card in the camera, connect to PC a driver will show up, copy & paste, unmount and reset the camera

---

<div class="post-metadata">

**Author:** ![pcls1026](https://avatars.discourse-cdn.com/v4/letter/p/57b2e6/32.png) [@pcls1026](https://forums.openmv.io/u/pcls1026)\
**Post date:** [October 27, 2019, 10:16pm UTC](https://forums.openmv.io/t/no-file-found/1454/8 "2019-10-27T22:16:46Z")

</div>

I followed your instructions:  
" or put the card in the camera, connect to PC a driver will show up, copy & paste, unmount and reset the camera"

I put the card “sandisk ultra plus 16gb” in the camera with the red tab of the card facing the same way as the camera.  
I plugged in the USB connection from the camera into a PC USB port.  
In Windows Explorer the following showed up under “Computer”—Removable disk (K)  
Disk(K) has one file named .openmv\_disk.  
Disk(K) has 80,000 bytes of space.

Is it possible the SD card is corrupted, or that the CAM7 software is corrupted. I’m running version 3.3.1

Jim

---

<div class="post-metadata">

**Author:** ![iabdalkader](https://yyz1.discourse-cdn.com/flex029/user_avatar/forums.openmv.io/iabdalkader/32/1169_2.png) [@iabdalkader](https://forums.openmv.io/u/iabdalkader)\
**Post date:** [October 28, 2019, 3:52pm UTC](https://forums.openmv.io/t/no-file-found/1454/9 "2019-10-28T15:52:50Z")

</div>

Make sure the card is formatted to FAT or exFAT (exFAT is faster) and please upgrade the firmware.

---

<div class="post-metadata">

**Author:** ![pcls1026](https://avatars.discourse-cdn.com/v4/letter/p/57b2e6/32.png) [@pcls1026](https://forums.openmv.io/u/pcls1026)\
**Post date:** [October 30, 2019, 2:41pm UTC](https://forums.openmv.io/t/no-file-found/1454/10 "2019-10-30T14:41:13Z")

</div>

I reloaded the firmware.  
I checked the K drive properties. It uses the FAT file system. It has 80 KBYTES of memory available. It ran its self-test successfully.
