ArtsiomCh / CMake

IntelliJ Platform plugin for CMake basic syntax highlight.
https://plugins.jetbrains.com/plugin/10089-cmake-simple-highlighter
GNU General Public License v3.0
44 stars 7 forks source link

Failed to find license on CLion 2021.3 RC #29

Closed rez23 closed 2 years ago

rez23 commented 2 years ago

Hi, CMake plus is unable to find license on CLion 2021.3. So is not usable.

objectx commented 2 years ago

Me too 😢

CLion 2021.3 RC2
Build #CL-213.5744.190, built on November 24, 2021
Licensed to Masashi Fujita
Subscription is active until November 28, 2022.
Runtime version: 11.0.13+7-b1751.19 x86_64
VM: OpenJDK 64-Bit Server VM by JetBrains s.r.o.
macOS 10.15.7
GC: G1 Young Generation, G1 Old Generation
Memory: 10000M
Cores: 20
Registry:
    run.processes.with.pty=TRUE
    ide.mac.transparentTitleBarAppearance=false
    debugger.valueTooltipAutoShowOnSelection=true
    ide.experimental.ui.toolwindow.stripes=true
    ide.tooltip.initialDelay=312
    ide.balloon.shadow.size=0
    clang.parameter.info=true

Non-Bundled Plugins:
    pw.unbear.ijplug (1.0.0)
    org.toml.lang (213.5744.224)
    org.jetbrains.plugins.rest (213.5744.190)
    org.jetbrains.plugins.go-template (213.5744.190)
    org.editorconfig.editorconfigjetbrains (213.5744.121)
    org.antlr.intellij.plugin (1.17)
    net.vektah.codeglance (1.5.4)
    com.paperetto.dash (3.3)
    com.github.leomillon.uuidgenerator (4.5.1)
    com.draculatheme.idea (1.3.3)
    Key Promoter X (2021.3)
    com.chrisrm.idea.MaterialThemeUI (6.10.1)
    zielu.gittoolbox (212.8.2)
    mobi.hsz.idea.gitignore (4.3.0)
    com.mallowigi (50.2.0)
    org.rust.lang (0.4.160.4261-213)
    com.jfrog.conan.clion (1.2.0)
    artsiomch.cmake (213.0.1)
    artsiomch.cmake.plus (213.0.1)
image image
csitarichie commented 2 years ago

I have the same issue :(

ArtsiomCh commented 2 years ago

fixed at 213.1.2 version(should be available within few hours). Sorry for that folks... :-/

ArtsiomCh commented 2 years ago

For some reason notifications from GitHub was disabled :( So if I not responding withing 48 hours here, please try to ping me directly to email or whenever you can find my contacts. Sorry again, that should be fixed way before...

objectx commented 2 years ago

At this time, 213.1.2 is not yet available 😢

ArtsiomCh commented 2 years ago

Just approved by Jetbrains few minutes ago, please try to check again.

objectx commented 2 years ago

@ArtsiomCh My license is correctly identified now. Thanks!

# I've switched my license from monthly billing to annual 😉

ajakhotia commented 2 years ago

YouTrack ticket for the same issue for reference: https://youtrack.jetbrains.com/issue/CPP-27586

ajakhotia commented 2 years ago

I still see a licence not found balloon during the launch of my IDE. I am using an annual license. The Help->Register dialog box reports that the license is active. I am unable to use go-to definitions feature of the plugin. I have double checked that I am on v213.1.2 of the plugin.

ArtsiomCh commented 2 years ago

Found some changes made by Jetbrains in license check process if licensed via ticket obtained from JetBrains Floating License Server. Please let me know if that's your case? Also try please 213.1.3 with fix for such cases by manually installing it from the disk: image

riggs commented 2 years ago

I get the same error even with 213.1.3

I doubt it's relevant, but I actually just purchased the license about 41 hours ago.

ArtsiomCh commented 2 years ago

@riggs please confirm if you see "CMake Plus plugin License not found. Plugin functionality will be disabled." notification on Ide startup? Do you use Clion 2021.3? Also check please at Help-Register if your license is identified by Ide? Also check at Settings-Plugins that Cmake Plus is enabled and marked as 'Purchased' ?

@ajakhotia please let me know if 213.1.3 fixed your problem with license?

riggs commented 2 years ago

Yes, I see the same error at startup. I'm on CLion 2012.3, Build #CL-213.5744.254 (MacOS 12.0.1, M1 MBP). The plugin is marked as Purchased and Enabled.

I also have CLion installed and running via the Toolbox app.

ArtsiomCh commented 2 years ago

@riggs Ok, let try to debug it.

riggs commented 2 years ago

Sent, and I'm seeing a particularly suspicious line in the logs: INFO - com.cmakeplugin.CheckLicense - cstamp is NULL

ArtsiomCh commented 2 years ago

@riggs the only way I can reproduce your situation is absence of plugin license at Help-Register: image Please make sure you activated your license there: image Also sometimes CLion doesn't recognize license right away and IDE restart is needed.

Please try to check(activate it) and let me know if you still getting that "CMake Plus plugin License not found. Plugin functionality will be disabled." message even when activation looks like on second screenshot above.

riggs commented 2 years ago

I've tried many different combinations of removing, re-activating, & restarting CLion and still get the message about the plugin not finding the license.

riggs commented 2 years ago

Even after I remove the license and restart CLion, the 'register' pane picks it up and shows the license as registered to my account.

riggs commented 2 years ago

I just downloaded the license key from the JB website and used to to activate manually and still get the pop-up about the plugin being disabled.

ArtsiomCh commented 2 years ago

Ok, that become more interesting then :) Have some ideas to try, will keep you updated.

ArtsiomCh commented 2 years ago

@riggs could you please try to install previous CLion 2021.2 (probably you can activate it with the same license you use for Clion 2021.3 or just start 30 days trial). Then install 213.1.3 Cmake Plus (together with CMake Simple Highlighter) on it and try to activate plugin there. If not succeed - try 212.0.1 version too.

ArtsiomCh commented 2 years ago

@riggs and on Clion 2021.3 please try 213.1.3-license-check-log2

PS I have felling Jetbrains team will be involved soon in that investigation ;)

riggs commented 2 years ago

cstamp managed to find the key this time. No popup. (Still on latest CLion)

ajakhotia commented 2 years ago

@ArtsiomCh: Hi, apologies for late responses. I still see the issue with plugin version 213.1.3. I additionally also tried the 213.1.3-license-check-log1 and 213.1.3-license-check-log2 with the latest Clion version and have the same observations as @riggs.

ArtsiomCh commented 2 years ago

@riggs @ajakhotia Sounds like we found the root cause! Just to clarify, you don't see license check failed message anymore with 213.1.3-license-check-log2, right? And functionality of Cmake Plus plugin works: docs for commands, structure view, var references, etc, correct? PS @ajakhotia are on Apple M1 chip as well? I have feeling the issue is related to that somehow. It's looks very like race condition.

ajakhotia commented 2 years ago

@ArtsiomCh: Yes, that is correct. I do not see license check failed message and the plugin 213.1.3-license-check-log2 works.

No, I am not on Apple M1 chip. I am using an Intel i9 processor.

ArtsiomCh commented 2 years ago

Great. Stay on 213.1.3-license-check-log2 then. I'll release 213.1.4 with that fix soon.

ArtsiomCh commented 2 years ago

213.1.4 uploaded. Should be available within few days. Thanks everyone for help in resolving that issue!

ajakhotia commented 2 years ago

Thank you for the quick turn-around. 😄