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

[Bug] Pasting a screenshot of the recruitment screen results in an error #252

Closed
Atulin opened this issue Sep 8, 2023 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@Atulin
Copy link

Atulin commented Sep 8, 2023

I'm pasting the following image:

The image

image

which results in nothing being picked up by the app and an error thrown to the browser console.

Console output with local OCR enabled:

OCR ["N","N","V","vV","Sniper","Caster","Vanguard","DP-Recovery","Debuff","G"] Hr.vue:719

Uncaught (in promise) SyntaxError: invalid range in character class
    OCRBlackCharRegexp Hr.vue:494
    VueJS 3
        get
        evaluate
        qo
    r Hr.vue:722
    a Hr.vue:722
    Babel 9
        h
        E
        x
        n
        s
        promise callback*n
        s
        i
        i
    OCR Hr.vue:713
    a Hr.vue:704
    Babel 7
        h
        E
        x
        n
        s
        i
        i
    handleFilesOCR Hr.vue:699
    VueJS 2
        Un
        $emit
    pasteHandler PasteCapturer.vue:46
    paste PasteCapturer.vue:1
    VueJS 3
        Un
        n
        _wrapper
Hr.vue:494
    Babel 6
        n
        s
        (Async: promise callback)
    n
        s
        i
        i
    OCR Hr.vue:713
    a Hr.vue:704
    Babel 7
        h
        E
        x
        n
        s
        i
        i
    handleFilesOCR Hr.vue:699
    VueJS 2
        Un
        $emit
    pasteHandler PasteCapturer.vue:46
    paste PasteCapturer.vue:1
    VueJS 3
        Un
        n
        _wrapper

And with local OCR disabled:

OCR ["81","Instruction>","Recruitment","Time","Job Tags","(Max: 3)","Cost","09","Sniper","DP-Recnvery","65158","Vanguard","4680","14685","Caster","Debuff","Refræh | '3 Ø2:26:Ø2 Contacting•","* Possible Rarity","Tap to Refresh"] Hr.vue:719

Uncaught (in promise) SyntaxError: invalid range in character class
    OCRBlackCharRegexp Hr.vue:494
    VueJS 3
        get
        evaluate
        qo
    r Hr.vue:722
    a Hr.vue:722
    Babel 9
        h
        E
        x
        n
        s
        promise callback*n
        s
        i
        i
    OCR Hr.vue:713
    a Hr.vue:704
    Babel 7
        h
        E
        x
        n
        s
        i
        i
    handleFilesOCR Hr.vue:699
    VueJS 2
        Un
        $emit
    pasteHandler PasteCapturer.vue:46
    paste PasteCapturer.vue:1
    VueJS 3
        Un
        n
        _wrapper
@Tsuk1ko Tsuk1ko added the bug Something isn't working label Sep 9, 2023
@Tsuk1ko Tsuk1ko closed this as completed in 76ee465 Sep 9, 2023
@Tsuk1ko
Copy link
Member

Tsuk1ko commented Sep 9, 2023

Fixed, thanks for your report.

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

No branches or pull requests

2 participants