MarisElsins / getMOSPatch

getMOSPatch V2 - Tool that helps downloading patches from My Oracle Support
58 stars 17 forks source link

ERROR: Unparsable inputs. Try Again. #17

Closed ket000 closed 4 years ago

ket000 commented 4 years ago

Getting this error now. I am assuming Oracle may have changed the way it sends the Platform list.

Platforms and languages need to be reset. Obtaining the list of platforms and languages:

Enter Comma separated platforms to list: ERROR: Unparsable inputs. Try Again. Enter Comma separated platforms to list:233P ERROR: Unparsable inputs. Try Again. Enter Comma separated platforms to list:

MarisElsins commented 4 years ago

Yes, something was changed by Oracle. I'll be looking into it, meanwhile, you can use the old and obsolete shell script with similar functionality - https://github.com/MarisElsins/TOOLS/blob/master/Shell/getMOSPatch.sh It still works.

ket000 commented 4 years ago

Thanks. It seems that platform list is no longer there. I may change the source code to disable validation for now.

On Tue, May 12, 2020 at 2:14 PM Maris Elsins notifications@github.com wrote:

Yes, something was changed by Oracle. I'll be looking into it, meanwhile, you can use the old and obsolete shell script with similar functionality - https://github.com/MarisElsins/TOOLS/blob/master/Shell/getMOSPatch.sh It still works.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/MarisElsins/getMOSPatch/issues/17#issuecomment-627507795, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD6MTNN6Y4GF36CWAJIKHATRRGGWZANCNFSM4M7BXIKA .

ket000 commented 4 years ago

I tried commenting out code that does validation, but it still fails

        // check the inputs as many times as necessary
        //while (!CheckInputs(listplatforms, platforms)) {
        //    System.out.println(" ERROR: Unparsable inputs. Try Again.");
       //     listplatforms = console.readLine("Enter Comma separated platforms to list:");
        //}

Here is the output. Enter Comma separated platforms to list: 233P

We're going to download patches for the following Platforms/Languages: 233P - null

Processing patch 30861472 for null and applying regexp .* to the filenames: https://updates.oracle.com/Orion/SimpleSearch/process_form?search_type=patch&patch_number=30861472&plat_lang=233P No files available

Processing patch 31035002 for null and applying regexp .* to the filenames: https://updates.oracle.com/Orion/SimpleSearch/process_form?search_type=patch&patch_number=31035002&plat_lang=233P No files available

There's Nothing to download!

NateWerner commented 4 years ago

FYI, I was able to resolve this by using the URL https://updates.oracle.com/Orion/Services/download to complete the Authentication/SSO step.

MarisElsins commented 4 years ago

Thanks for the hints: Resolved in the latest uploaded version v2.1 in 86cad7e0dbf06afd074dc8c2208e9a5e67a2dd72