You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unable to save files to network mapped drive. I have been able to do this in the 1.5 years I've used this script, but now its not working. Did the aiolimiter fix as well, reinstalled ofscraper and reconfigured config.json. Tested working with save path to local drive, issue only occurs when set to network mapped drive.
To Reproduce
Set save path in config.json to a network mapped drive, ie: Z:\Onlyfans
Run run ofscraper
Select "Perform Actions"
Select "Download Content from a User"
Select "Do Not Redownload"
For Testing, Select "Messages"
Do not scrape labels
Select model
Script ends without downloading content.
Expected behavior
Database and media should be saved to a specified mapped drive.
Screenshots/Logs
[Logs are required for any reports of any issue, unless the issue is related to setup of script
Logs must be at least debug level
Hint: Please make sure that the log formatting is readable, use a paste site
like Private Bin]
I've been running the script locally and saving the metadata and media to a remote server for over a year, and now I am having this issue. I have using version 3.12.9 for a while now as well. The last time I ran the script was end of December, just before the new year. Any insight would be helpful.
I have confirmed the above config works if the save path is local.
I have also confirmed that the user account i'm logged in with has the ability to create and modify to the mapped drive as well.
The text was updated successfully, but these errors were encountered:
From the logs it looks like there is an error accessing or writing to the disk sqlite3.OperationalError: disk I/O error If you are using the same ofscraper version then this is not an issue with the scraper but indicates something with the remote server changed. like an unknown file permission issue, disk space issue, or may be something else is accessing the files and making ofscraper unable to modify them when its running. Either way this this is something with the remote server and not ofscraper.
Describe the bug
Unable to save files to network mapped drive. I have been able to do this in the 1.5 years I've used this script, but now its not working. Did the aiolimiter fix as well, reinstalled ofscraper and reconfigured config.json. Tested working with save path to local drive, issue only occurs when set to network mapped drive.
To Reproduce
Expected behavior
Database and media should be saved to a specified mapped drive.
Screenshots/Logs
[Logs are required for any reports of any issue, unless the issue is related to setup of script
Logs must be at least debug level
Hint: Please make sure that the log formatting is readable, use a paste site
like
Private Bin]
(https://privatebin.io/?168b95b20cf89a41#Bu5J9nyUj16LpWxQynSomznzLzBjg2pqoUUeVGt3Pc1K)
Config
{
"main_profile": "main_profile",
"metadata": "{save_location}/{model_username}/Metadata",
"discord": "",
"file_options": {
"save_location": "Z:\Path\OnlyFans",
"dir_format": "{model_username}/{responsetype}/{value}/{mediatype}/",
"file_format": "{date}_{filename}.{ext}",
"textlength": 0,
"space_replacer": " ",
"date": "YYYY-MM-DD",
"text_type_default": "letter",
"truncation_default": true
},
"download_options": {
"filter": [
"Images",
"Audios",
"Videos"
],
"auto_resume": true,
"system_free_min": 0,
"max_post_count": 0
},
"binary_options": {
"ffmpeg": ""
},
"cdm_options": {
"private-key": "C:\Users\your_username\.config\cert\private_key.pem",
"client-id": "C:\Users\your_username\.config\cert\client_id.bin",
"key-mode-default": "manual",
"keydb_api": ""
},
"performance_options": {
"download_sems": 6,
"thread_count": 3,
"download_limit": 0
},
"content_filter_options": {
"block_ads": false,
"file_size_max": 0,
"file_size_min": 0,
"length_max": 0,
"length_min": 0
},
"advanced_options": {
"code-execution": false,
"dynamic-mode-default": "deviint",
"backend": "aio",
"downloadbars": false,
"cache-mode": "sqlite",
"appendlog": true,
"custom_values": null,
"sanitize_text": false,
"temp_dir": null,
"remove_hash_match": null,
"infinite_loop_action_mode": false,
"enable_auto_after": false,
"default_user_list": "main",
"default_black_list": ""
},
"scripts_options": {
"post_download_script": null,
"post_script": null
},
"responsetype": {
"timeline": "Posts",
"message": "Messages",
"archived": "Archived",
"paid": "Messages",
"stories": "Stories",
"highlights": "Stories",
"profile": "Profile",
"pinned": "Posts",
"streams": "Streams"
},
"overwrites": {
"audios": {},
"videos": {},
"images": {},
"text": {}
},
"ffmpeg": "C:\Users\your_username\.config\ofscraper\bin\ffmpeg.exe"
}
System Info
Additional context
I've been running the script locally and saving the metadata and media to a remote server for over a year, and now I am having this issue. I have using version 3.12.9 for a while now as well. The last time I ran the script was end of December, just before the new year. Any insight would be helpful.
I have confirmed the above config works if the save path is local.
I have also confirmed that the user account i'm logged in with has the ability to create and modify to the mapped drive as well.
The text was updated successfully, but these errors were encountered: