-
Notifications
You must be signed in to change notification settings - Fork 61
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
Write Error Javinizer.ps1:927 #215
Comments
That happens when the filematcher breaks due to a filename it can't parse correctly. Test with smaller batches of files. |
Yup, that was it. Honestly not the cause I was expecting. |
I forgot to say why I was getting this, for those in the future who may run into this. I found that a multipart DVD was causing the issue. I changed the naming scheme to be [ID]-pt[increment]. So basically, OFJE-291CD1A became OFJE-291-pt1 and so on. This fixed this issue pretty quick. Only found out which one it was by doing smaller batches, as suggested. |
Yup, I thought I had fixed this issue but edge case file naming keeps creeping up on me. I'll see if I can add a better error handling on that. |
* Add clean id for javdb match * Add null trailer url check for javdb * Fix strict matchmaking in dmm url scraper (#214) * Add additional cleaning strings * Update r18 contentid match to five trailing numbers * Add debug error for invalid multi-part match (#215) * Remove logging on invalid path warnings * Update filematcher to clean dvd id to content id * Fix javlibrary ratings not returning as null * Fix Ono Rikka in thumbcsv (#216) * Change to always check valid javlibrary coverurl * Add additional error checks in UpdateModule * Update thumbcsv 2-10-21 * Update for 2.3.2
Expected Behavior
Sorts, downloads, and all of that fun stuff
Current Behavior
Crash with poor explanation
Write-Error: C:\Program Files\PowerShell\Modules\Javinizer\2.3.1\Public\Javinizer.ps1:927
Line |
927 | … Write-JVLog -Write:$script:JVLogWrite -LogPath $script:JV …
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
| [Javinizer] Error occurred when getting local movies in [D:\JAV\Unsorted]: Cannot convert the
| "System.Object[]" value of type "System.Object[]" to type "System.Char".
Steps to Reproduce (for bugs)
Run Javinizer -Path "D:\JAV\Unsorted" -DestinationPath "D:\JAV\Sorted" -Recurse or just Javinizer in folder you want sorted
Your Environment
The text was updated successfully, but these errors were encountered: