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

Failed to find license on CLion 2021.3 RC #29

Closed
rez23 opened this issue Nov 19, 2021 · 29 comments
Closed

Failed to find license on CLion 2021.3 RC #29

rez23 opened this issue Nov 19, 2021 · 29 comments

Comments

@rez23
Copy link

rez23 commented Nov 19, 2021

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

@rez23 rez23 changed the title Filed to find license on CLion 2021.3 RC Failed to find license on CLion 2021.3 RC Nov 19, 2021
@objectx
Copy link

objectx commented Nov 29, 2021

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
Copy link

I have the same issue :(

@ArtsiomCh
Copy link
Owner

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

@ArtsiomCh
Copy link
Owner

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
Copy link

objectx commented Dec 3, 2021

At this time, 213.1.2 is not yet available 😢

@ArtsiomCh
Copy link
Owner

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

@objectx
Copy link

objectx commented Dec 3, 2021

@ArtsiomCh My license is correctly identified now. Thanks!

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

@ajakhotia
Copy link

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

@ajakhotia
Copy link

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
Copy link
Owner

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

@ArtsiomCh ArtsiomCh reopened this Dec 4, 2021
@riggs
Copy link

riggs commented Dec 6, 2021

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
Copy link
Owner

@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
Copy link

riggs commented Dec 7, 2021

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
Copy link
Owner

@riggs Ok, let try to debug it.

@riggs
Copy link

riggs commented Dec 8, 2021

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

@ArtsiomCh
Copy link
Owner

@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
Copy link

riggs commented Dec 8, 2021

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
Copy link

riggs commented Dec 8, 2021

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
Copy link

riggs commented Dec 8, 2021

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
Copy link
Owner

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

@ArtsiomCh
Copy link
Owner

@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
Copy link
Owner

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

  • Restart Clion after install
  • Try to open few projects (no matter what, cmake files presents is not required)
  • Collect the log and send it to me again, please

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

@riggs
Copy link

riggs commented Dec 10, 2021

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

@ajakhotia
Copy link

@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
Copy link
Owner

@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
Copy link

@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
Copy link
Owner

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

@ArtsiomCh
Copy link
Owner

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

@ajakhotia
Copy link

Thank you for the quick turn-around. 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants