Cant get passed test connection in Android Studio on linux (lubuntu) (#2)
Roger Cullens opened 1 month ago

API call failed: class world.diligiteiustitiam.intellego.data.ErrorResponse cannot be cast to class world.diligiteiustitiam.intellego.data.GrokResponse (world.diligiteiustitiam.intellego.data.ErrorResponse and world.diligiteiustitiam.intellego.data.GrokResponse are in unnamed module of loader com.intellij.ide.plugins.cl.PluginClassLoader @452eb3c0)

Is the error. Help! I have done all the correct install stps.

  • Roger Cullens changed title 1 month ago
    Previous Value Current Value
    Cant get passed test connection
    Cant get passed test connection in Android Studio on linux (lubuntu)
  • developer commented 1 month ago

    Hi,

    Thank you for using my plugin and reporting the problem.

    I am about to release a new version today which should resolve it.

    As a workaround right now you can do this:

    Open file: .idea/workspace.xml and look for entries which look like this:

        "GROK_4_1": "812ce2c8-e947-88ee-a6a8-a809e64d3a62",
        "GROK_CODE":"ef9c6013-6e01-3c74-03de-955f246fa8a7",
        "GROK_NR_4_1":"d2fc3011-0d8f-f23e-349f-f4ff274b9c66",
    

    Remove all these entries, save and restart IntelliJ / Android studio.

    These are last message IDs for each Grok mode. If for some reason, they get out of sync, the error appears. The new version can handle it already. But the old version requires manual intervention.

  • Roger Cullens commented 1 month ago

    I opened the workspace.xml file and there were zero grok mentions in it. When is the updated version going to be released?

  • developer commented 4 weeks ago

    Hm, I am sorry this does not work for you. I will check it on Android Studio if I can replicate it.

    The new version (3.0.3) is already pushed to Jetbrains Market place but it is waiting for a review.

    In the meantime, I made the plugin zip file available for download here: https://diligiteiustitiam.dev/PublicFiles/~files/main/intellego

    I hope this helps.

    I will check this out on Android Studio and will let you know what I found.

  • developer commented 4 weeks ago

    To give you a better understanding of what is the problem here is the description:

    The problem is caused by Grok sometimes loosing the last message ID for some reason, and then, if this message ID is included in the request, it returns an error. The plugin, in turn, cannot properly parse the error response which causes the problem.

  • developer commented 4 weeks ago

    The version 3.0.3 is already approved and available publicly. Please confirm if it solves your problem.

    In the meantime I already pushed version 3.1.0 which is waiting for approval. Version 3.1.0 contains more improvements and fixes for Grok Collections.

  • developer commented 3 weeks ago

    No more feedback, I am assuming it is resolved in the new version, closing.

  • developer changed state to 'Closed' 3 weeks ago
    Previous Value Current Value
    Open
    Closed
issue 1 of 1
Type
Support Request
Priority
Critical
Assignees
Not assigned
Issue Votes (0)
Watchers (2)
Reference
Intellego#2
Please wait...
Page is in error, reload to recover