Closed smolyakov26 closed 5 years ago
any fix?
Having the same problem here
Yeah i've got the same error from upload_photos.py features from examples, my error messages from the instabot.log look like this :
===============================================================
2019-02-08 09:08:27,979 Instabot Started
2019-02-08 09:08:29,551 Logged-in successfully as '****'!
2019-02-08 09:08:29,556 Checking 01.jpg
2019-02-08 09:08:29,556 Uploading pic 01.jpg
with caption: I'm the caption of #horizontal #pic 01 that will be resized and cropped, with a mention to @maxdevblock
2019-02-08 09:08:38,853 [41mERROR...[0m
2019-02-08 09:08:38,854 [WinError 32] The process cannot access the file because it is being used by another process: 'E:\Python\instabot-master\examples\photos/media/01.jpg.CONVERTED.jpg' -> 'E:\Python\instabot-master\examples\photos/media/01.jpg.CONVERTED.jpg.REMOVE_ME'
2019-02-08 09:08:39,382 Bot stopped. Worked: 13:36:51.052878
2019-02-08 09:08:39,383 Total requests: 8
Same problem...any solution?
The problem is caused by an unclosed file in function upload_photo in file api_photo.py. An opened file is passed as a parameter to "data" variable and isn't closed after posting an image. Here is Pull Request https://github.com/instagrambot/instabot/pull/825
Tryed your fix didnt help me out
сб, 23 фев 2019 г., 22:26 trebacz626 notifications@github.com:
The problem is caused by an unclosed file in function upload_photo in file api_photo.py. An opened file is passed as a parameter to "data" variable and isn't closed after posting an image. Here is Pull Request #825 https://github.com/instagrambot/instabot/pull/825
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/instagrambot/instabot/issues/807#issuecomment-466682563, or mute the thread https://github.com/notifications/unsubscribe-auth/Aq9JklHeG2jNdvLaqUF0rEOwTqNVF8meks5vQZXbgaJpZM4aeoue .
I tried to do this on another computer by changing lines in newly downloaded repository (https://github.com/instagrambot/instabot) as well as downloading my fork (https://github.com/trebacz626/instabot) and they both worked. Maybe try to download the repository again and change those lines. Does anyone else has the same problem?
hello,
i'm having this error... 2019-02-25 11:26:25,157 - ERROR - ERROR... 2019-02-25 11:26:25,157 - ERROR - [WinError 32] The process cannot access the file because it is being used by another process:
FIXED mother ducking windows D(F)ucked all of us moved instabot on root directory (C:) and its working
didn't work for me... [WinError 32] The process cannot access the file because it is being used by another process: './pics\1 First test.jpg.CONVERTED.jpg' -> './pics\1 First test.jpg.CONVERTED.jpg.REMOVE_ME'
I updated python 3.7.2
пн, 25 фев 2019 г., 20:39 lmgtrigo notifications@github.com:
didn't work for me... [WinError 32] The process cannot access the file because it is being used by another process: './pics\1 First test.jpg.CONVERTED.jpg' -> './pics\1 First test.jpg.CONVERTED.jpg.REMOVE_ME'
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/instagrambot/instabot/issues/807#issuecomment-467105413, or mute the thread https://github.com/notifications/unsubscribe-auth/Aq9JkqdZPbyRx5AWwRpVys5Ob47ySjGeks5vRB_MgaJpZM4aeoue .
2019-02-25 18:00:09,107 - ERROR - [WinError 32] The process cannot access the file because it is being used by another process: 'C:\instabot\examples\photos/media/01.jpg.CONVERTED.jpg' -> 'C:\instabot\examples\photos/media/01.jpg.CONVERTED.jpg.REMOVE_ME' 2019-02-25 18:00:09,232 - INFO - Bot stopped. Worked: 0:00:22.233469 2019-02-25 18:00:09,248 - INFO - Total requests: 5
C:\instabot\examples\photos>python Python 3.7.2 (tags/v3.7.2:9a3ffc0492, Dec 23 2018, 23:09:28) [MSC v.1916 64 bit (AMD64)] on win32
Any solution??
Well, I tried to replicate this error on two computers with Windows, and left the bot turned on for 7days on my VPS and it runs perfectly. So, if you had downloaded this project again and it still doesn't work, I'm afraid I don't know how I can help you.
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.
hey still have the problem any sulotions?
2019-02-01 19:17:34,828 - INFO - Logged-in successfully as 'tipich_parashytist'! upload: (10) Analizing
./pics\1 (10).jpg
No exif info found (ERR: 'NoneType' object has no attribute 'items') FOUND w:1080, h:608, ratio=1.7763157894736843 Horizontal image Saving new image w:1080 h:608 to./pics\1 (10).jpg.CONVERTED.jpg
FOUND: w:1080 h:608 r:1.7763157894736843 [WinError 32][WinError 32] The process cannot access the file because it is being used by another process: './pics\1 (10).jpg.CONVERTED.jpg' -> './pics\1 (10).jpg.CONVERTED.jpg.REMOVE_ME'