-
Notifications
You must be signed in to change notification settings - Fork 10
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
Incorrect filepath/doesn't seem to be stripping paths? #33
Comments
Thanks for the report-- please rereun with the latest release and let me know how things go |
I'm having similar issues due to using a Windows PC to run this script, scrapers on both Linux and Windows with Symlinks to save files to a NAS, and StashDB running on a Docker container Path PrefixesOriginal Script Filepath (Symlinks): (From there, files are in subfolders eg. Invalid Operation Errors:The below error occurs each time (same as #40), despite having manually created both the studio (modelname (OnlyFans)) and performer (using modelname as primary name, not a full name) in StashDB InvalidOperation: D:\Apps\OnlyFans.Metadata.To.Stash.v0.9\OFMetadataToStash.ps1:578
Line |
578 | $OnlyFansStudioID = $StashGQL_Result.data.findStudios.Studios[0]. …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Cannot index into a null array.
InvalidOperation: D:\Apps\OnlyFans.Metadata.To.Stash.v0.9\OFMetadataToStash.ps1:631
Line |
631 | $OnlyFansStudioID = $StashGQL_Result.data.findStudios.Studios …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Cannot index into a null array.
Info: Added the OnlyFans studio to Stash's database
InvalidOperation: D:\Apps\OnlyFans.Metadata.To.Stash.v0.9\OFMetadataToStash.ps1:714
Line |
714 | $PerformerID = $StashGQL_Result.data.findPerformers.perfo …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Cannot index into a null array.
InvalidOperation: D:\Apps\OnlyFans.Metadata.To.Stash.v0.9\OFMetadataToStash.ps1:767
Line |
767 | … $PerformerID = $StashGQL_Result.data.findPerformers.perfo …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| Cannot index into a null array. Script Running ResultsNote for the below, I tried all in Normal, High and Low setting, and using the -ignorehistory flag: Info: There's a file in this OnlyFans metadata database that we couldn't find in your Stash database.
This file also doesn't appear to be on your filesystem (we checked with both Windows and *nix path delimeters).
Try rerunning the script you used to scrape this OnlyFans performer and redownloading the file.
- Scan Specificity Mode: Normal
- Filename: 3024x4032_94c8fefed3b494781071a38ebebef5bb.jpg
- Directory: __user_data__/sites/OnlyFans/modelname/Posts/Free/Images
- Filesize: 2873713
^ (Filename, Directory and Filesize are as defined by the OF Metadata Database) ^ After using a simple script to update the Directory entry for each file to reflect a path Windows can see, it doesn't give individual file errors but nothing happens: Scanning for existing OnlyFans Metadata Database files...
Discovered a metadata database for 'modelname'
--- 4x InvalidOperation errors as above ---
****** Import Complete ******
- Modified Scenes/Images: 0
- Scenes/Images that already had metadata: 0
- This script took 58.2446789 seconds to execute So I tried updating the directory paths to match what StashDB would see and ran it got this error: Info: There's a file in this OnlyFans metadata database that we couldn't find in your Stash database.
This file also doesn't appear to be on your filesystem (we checked with both Windows and *nix path delimeters).
Try rerunning the script you used to scrape this OnlyFans performer and redownloading the file.
- Scan Specificity Mode: Normal
- Filename: 3024x4032_94c8fefed3b494781071a38ebebef5bb.jpg
- Directory: /mnt/MyOFRips/modelname/Posts/Free/Images
- Filesize: 2873713
^ (Filename, Directory and Filesize are as defined by the OF Metadata Database) ^ Help!Am I missing something? Or is this all related back to issue #40 and that is why when using the windows file paths it doesn't throw file level errors, but just results in nothing? |
Somehow.... Resetting the API key and clearing the script config seemed to fix this... I have no idea! |
Hi there, not sure if my issue is similar to this one #30 but I'm getting the following when running the script:
Files exist in the stash database. As far as I can tell it's not stripping the path properly to take just the file name. Stash is on the local machine, have tried it with all low, normal and high
The text was updated successfully, but these errors were encountered: