Skip to content
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

Error with download actress img #159

Closed
NewMember12345 opened this issue Dec 14, 2020 · 6 comments · Fixed by #160
Closed

Error with download actress img #159

NewMember12345 opened this issue Dec 14, 2020 · 6 comments · Fixed by #160
Assignees
Labels
bug Something isn't working

Comments

@NewMember12345
Copy link

Ubuntu 16.04. Powershell 7.

PS /home/glovedbox/Downloads/long.seed/done/tmp/1sis/IPX-573> Javinizer
Get-RunspaceData: /home/glovedbox/.local/share/powershell/Modules/Javinizer/2.2.0/Public/Invoke-JVParallel.ps1:568                                              Line |                                                                       
 568 |              Get-RunspaceData -Wait                                        
        |              ~~~~~~~~~~~~~~~~~~~~~~                                    
        | Exception calling "EndInvoke" with "1" argument(s): "The                
        | running command stopped because the preference variable              
        | "ErrorActionPreference" or common parameter is set to Stop:           
        | [IPX-573] [Set-JVMovie] Error occurred when creating actress         
        | image files: Exception calling "DownloadFile" with "2"             
        | argument(s): "Could not find file                                   
        | '/home/glovedbox/Downloads/long.seed/done/tmp/1sis/System.Object[]'.""                                                                      

cat /home/glovedbox/.lo cal/share/powershell/Modules/Javinizer/2.2.0/jvSettings.json

{
    "throttlelimit": 3,
    "location.input": "",
    "location.output": "",
    "location.thumbcsv": "",
    "location.genrecsv": "",
    "location.uncensorcsv": "",
    "location.historycsv": "",
    "location.log": "",
    "scraper.movie.aventertainment": false,
    "scraper.movie.aventertainmentja": false,
    "scraper.movie.dmm": false,
    "scraper.movie.dmmja": true,
    "scraper.movie.jav321ja": true,
    "scraper.movie.javbus": false,
    "scraper.movie.javbusja": false,
    "scraper.movie.javbuszh": false,
    "scraper.movie.javlibrary": true,
    "scraper.movie.javlibraryja": false,
    "scraper.movie.javlibraryzh": false,
    "scraper.movie.mgstageja": false,
    "scraper.movie.r18": true,
    "scraper.movie.r18zh": false,
    "scraper.option.dmm.scrapeactress": false,
    "scraper.option.idpreference": "id",
    "match.minimumfilesize": 0,
    "match.includedfileextension": [
        ".asf",
        ".avi",
        ".flv",
        ".m4v",
        ".mkv",
        ".mp4",
        ".mov",
        ".rmvb",
        ".wmv"
    ],
    "match.excludedfilestring": ["^.*-trailer*", "^.*-5\\."],
    "match.regex": 0,
    "match.regex.string": "([a-zA-Z|tT28]+-\\d+[zZ]?[eE]?)(?:-pt)?(\\d{1,2})?",
    "match.regex.idmatch": 1,
    "match.regex.ptmatch": 2,
    "sort.movetofolder": false,
    "sort.renamefile": false,
    "sort.maxtitlelength": 100,
    "sort.create.nfo": true,
    "sort.create.nfoperfile": false,
    "sort.download.actressimg": true,
    "sort.download.thumbimg": true,
    "sort.download.posterimg": true,
    "sort.download.screenshotimg": true,
    "sort.download.trailervid": false,
    "sort.format.groupactress": true,
    "sort.format.delimiter": ", ",
    "sort.format.file": "<ID>",
    "sort.format.folder": "<ID> [<STUDIO>] - <TITLE> (<YEAR>)",
    "sort.format.outputfolder": [],
    "sort.format.posterimg": "poster",
    "sort.format.thumbimg": "fanart",
    "sort.format.trailervid": "<ID>-trailer",
    "sort.format.nfo": "movie",
    "sort.format.screenshotimg": "fanart",
    "sort.format.screenshotfolder": "extrafanart",
    "sort.format.actressimgfolder": ".actors",
    "sort.metadata.nfo.mediainfo": false,
    "sort.metadata.nfo.altnamerole": false,
    "sort.metadata.nfo.translate": false,
    "sort.metadata.nfo.translate.module": "googletrans",
    "sort.metadata.nfo.translate.field": ["description"],
    "sort.metadata.nfo.translate.language": "en",
    "sort.metadata.nfo.displayname": "<ID> - <TITLE>",
    "sort.metadata.nfo.firstnameorder": false,
    "sort.metadata.nfo.actresslanguageja": false,
    "sort.metadata.nfo.unknownactress": true,
    "sort.metadata.nfo.originalpath": false,
    "sort.metadata.nfo.format.tag": ["<SET>"],
    "sort.metadata.nfo.format.tagline": "",
    "sort.metadata.nfo.format.credits": [],
    "sort.metadata.thumbcsv": true,
    "sort.metadata.thumbcsv.autoadd": true,
    "sort.metadata.thumbcsv.convertalias": true,
    "sort.metadata.genrecsv": false,
    "sort.metadata.genre.ignore": ["^Featured Actress", "^Hi-Def", ".*sale.*"],
    "sort.metadata.requiredfield": ["id", "coverurl", "genre", "maker", "release                                                                                                                                                                                                Date", "title"],
    "sort.metadata.priority.actress": ["javlibrary","r18", "javbus", "mgstageja"                                                                                                                                                                                                , "aventertainment"],
    "sort.metadata.priority.alternatetitle": ["dmmja"],
    "sort.metadata.priority.coverurl": ["r18", "dmmja", "javlibrary", "javbus","                                                                                                                                                                                                mgstageja", "aventertainment"],
    "sort.metadata.priority.description": ["dmmja", "dmm", "mgstageja", "aventer                                                                                                                                                                                                tainment"],
    "sort.metadata.priority.director": ["r18", "javlibrary", "mgstageja", "avent                                                                                                                                                                                                ertainment"],
    "sort.metadata.priority.genre": ["r18", "javlibrary", "javbus", "mgstageja",                                                                                                                                                                                                 "aventertainment"],
    "sort.metadata.priority.id": ["r18", "javlibrary", "javbus","mgstageja", "av                                                                                                                                                                                                entertainment"],
    "sort.metadata.priority.contentid": ["r18", "dmmja"],
    "sort.metadata.priority.label": ["r18", "javlibrary", "mgstageja", "aventert                                                                                                                                                                                                ainment"],
    "sort.metadata.priority.maker": ["r18", "javlibrary", "javbus", "mgstageja",                                                                                                                                                                                                 "aventertainment"],
    "sort.metadata.priority.releasedate": ["r18", "javlibrary", "dmmja", "javbus                                                                                                                                                                                                ","mgstageja", "aventertainment"],
    "sort.metadata.priority.rating": ["dmmja","mgstageja"],
    "sort.metadata.priority.runtime": ["r18", "javlibrary", "dmmja", "javbus", "                                                                                                                                                                                                mgstageja", "aventertainment"],
    "sort.metadata.priority.series": ["r18", "r18zh", "mgstageja"],
    "sort.metadata.priority.screenshoturl": ["r18", "javlibrary", "dmmja", "javb                                                                                                                                                                                                us", "mgstageja", "aventertainment"],
    "sort.metadata.priority.title": ["r18", "javlibrary", "javbus", "mgstageja",                                                                                                                                                                                                 "aventertainment"],
    "sort.metadata.priority.trailerurl": ["r18", "dmmja"],
    "emby.url": "http:\/\/192.168.0.1:8096",
    "emby.apikey": "",
    "javlibrary.baseurl": "http:\/\/www.javlibrary.com",
    "javlibrary.browser.useragent": "",
    "javlibrary.cookie.cfduid": "",
    "javlibrary.cookie.cfclearance": "",
    "javlibrary.cookie.session": "",
    "javlibrary.cookie.userid": "",
    "web.sort.recurse": true,
    "web.sort.strict": false,
    "web.sort.interactive": true,
    "web.sort.update": false,
    "web.sort.force": false,
    "web.sort.confirm": false,
    "web.sort.manualsearch.dmm": false,
    "web.sort.manualsearch.dmmja": false,
    "web.sort.manualsearch.jav321ja": false,
    "web.sort.manualsearch.javbus": false,
    "web.sort.manualsearch.javbusja": false,
    "web.sort.manualsearch.javbuszh": false,
    "web.sort.manualsearch.javlibrary": false,
    "web.sort.manualsearch.javlibraryja": false,
    "web.sort.manualsearch.javlibraryzh": false,
    "web.sort.manualsearch.r18": false,
    "web.sort.manualsearch.r18zh": false,
    "web.navigation.pagesize": 5,
    "admin.log": true,
    "admin.log.level": "info"
}

@jvlflame jvlflame self-assigned this Dec 14, 2020
@jvlflame jvlflame added the bug Something isn't working label Dec 14, 2020
@jvlflame
Copy link
Collaborator

Thanks, bug was introduced due to some optimizations that I didn't fully check.
Going to push a fix.

@NewMember12345
Copy link
Author

Javinizer -recurse -depth 1 -Is                                                                           IsThread   IsWeb      IsWebType
                                                PS /home/glovedbox/Downloads/long.seed/done/tmp/1sis> Javinizer -recurse -depth 1 -IsThread                                                                     Set-JVMovie: /home/glovedbox/.local/share/powershell/Modules/Jav
inizer/2.2.0/Public/Javinizer.ps1:926                                                           Line |
 926 |  … Movie -Path $movie.FullName -DestinationPath $DestinationPath -Settin …
     |                                                 ~~~~~~~~~~~~~~~~
     | Cannot process argument transformation on parameter
     | 'DestinationPath'. Cannot convert value "" to type
     | "System.IO.DirectoryInfo". Error: "The path is empty.
     | (Parameter 'path')"

Set-JVMovie: /home/glovedbox/.local/share/powershell/Modules/Javinizer/2.2.0/Public/Javinizer.ps1:926
Line |
 926 |  … Movie -Path $movie.FullName -DestinationPath $DestinationPath -Settin …
     |                                                 ~~~~~~~~~~~~~~~~
     | Cannot process argument transformation on parameter
     | 'DestinationPath'. Cannot convert value "" to type
     | "System.IO.DirectoryInfo". Error: "The path is empty.
     | (Parameter 'path')"

Set-JVMovie: /home/glovedbox/.local/share/powershell/Modules/Javinizer/2.2.0/Public/Javinizer.ps1:926
Line |
 926 |  … Movie -Path $movie.FullName -DestinationPath $DestinationPath -Settin …
     |                                                 ~~~~~~~~~~~~~~~~
     | Cannot process argument transformation on parameter
     | 'DestinationPath'. Cannot convert value "" to type
     | "System.IO.DirectoryInfo". Error: "The path is empty.
     | (Parameter 'path')"

Set-JVMovie: /home/glovedbox/.local/share/powershell/Modules/Javinizer/2.2.0/Public/Javinizer.ps1:926
Line |
 926 |  … Movie -Path $movie.FullName -DestinationPath $DestinationPath -Settin …
     |                                                 ~~~~~~~~~~~~~~~~
     | Cannot process argument transformation on parameter
     | 'DestinationPath'. Cannot convert value "" to type
     | "System.IO.DirectoryInfo". Error: "The path is empty.
     | (Parameter 'path')"

Another when I just run javinizer in a parent dir of a bunch of movies.

@jvlflame
Copy link
Collaborator

I believe that error is due to not specifying a -Path. You need to do Javinizer . -Recurse -Depth 1

@NewMember12345
Copy link
Author

Interesting, didn't have to do that on 2.1.6. I'm still getting halted from the EndInvoke error. So once that is fixed, I can test the batch job again

@jvlflame jvlflame linked a pull request Dec 14, 2020 that will close this issue
@jvlflame
Copy link
Collaborator

New release incoming. Thanks for catching these bugs.

@jvlflame
Copy link
Collaborator

@NewMember12345 Just remembered, you're correct that Javinizer automatically assigns the -Path to the current directory if it's not specified in the commandline.

Seems like it's being a bit buggy though so I'll look into better organizing how it works and then documenting it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants