Enter forum description here ...

Machine names when syncing settings (ST3)

Lasse 9 years ago 0
I sync my settings across two machines so I would expect to be able to set it up as described here: http://www.codeivate.com/dropbox-support-bug-fixes

But in my settings I only see
"machine_name": "T450s"
So unfortunately both my machines are named "T450s" (Lenovo T450s / Apple MacBook Pro).

How can I find the ID generated by Codeivate?

Exception in Pycharm when working on django templates

Cody Harrington 10 years ago updated 10 years ago 0
I'm working in Pycharm Community Edition on a Python Django HTML template file, and when I type 


Codeivate breaks, with the exception provided below.

{% is the start of a special template keyword, i.e. {% for x in y %} or {% if x %}.

This only happens the first time I type it after opening PyCharm. It doesn't happen again until I've restarted PyCharm, I think. Log output at the link below:


Here are some of my current system specs (I'm currently using a colleague's OSX computer):

Darwin Kernel Version 13.4.0: Sun Aug 17 19:50:11 PDT 2014; root:xnu-2422.115.4~1/RELEASE_X86_64 x86_64
java version "1.6.0_65"
Java(TM) SE Runtime Environment (build 1.6.0_65-b14-462-11M4609)
Java HotSpot(TM) 64-Bit Server VM (build 20.65-b04-462, mixed mode)
PyCharm Community Edition 3.4.1 Build #PC-135.1057

Two other notable plugins I have installed are IdeaVim and CodeGlance.

Let me know if you need any other info.


Exception in thread (console)

Ghostface 11 years ago updated by Paul Sinclair 11 years ago 1

Hi while coding on my own plugin I noticed messages like these popping up in the sublime console:

posting data for Python

message :+1 Python

icon base :--icon=/home/christoph/.config/sublime-text-3/Packages/codeivate-st/codeivated/icons/32x32/

Exception in thread Thread-30:

Traceback (most recent call last):

  File "X/threading.py", line 639, in _bootstrap_inner

  File "C:\Users\Paul\AppData\Roaming\Sublime Text 3\Packages\codeivate-st\codeivated\FeedBack.py", line 110, in run

NameError: global name 'Pref' is not defined

Maybe something to look into, let me know if you need more infos

Paul Sinclair 11 years ago

Hi Ghostface, 

Thanks for reporting the bug. It looks like it is an issue with notify-send support that is only present on Linux when using Sublime Text 3.

I will fix this next time I do a Sublime 3 build.

As a temporary workaround in the Codeivate -> Settings - user  file, you can set 

"notify_send_active": false,

that should stop it from happening. This shouldn't cause any other issues with the plugin (apart from notify-send not working!).

Also in the same settings file you might want to set


To hide alot of the other Codeivate output. This was accidentally left on in some initial versions of the plugin.


- Paul


NullPointerException in PyCharm

Cody Harrington 10 years ago updated by Paul Sinclair 10 years ago 5
Hi, I didn't know where else to submit this. I got a NPE for the Codeivate plugin in PyCharm. Here's a stacktrace:

at com.codeivate.plugin.logic.CodeivateGame.authenticate(CodeivateGame.java:139)
at com.codeivate.plugin.CodeivateApplicationPlugin$1.run(CodeivateApplicationPlugin.java:98)
at com.intellij.openapi.application.impl.LaterInvocator$FlushQueue.run(LaterInvocator.java:347)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:251)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:733)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)

It happened as I was opening PyCharm, but I didn't have working internet at the time.
EDIT: Ok, so, I had a working internet connection, but I hadn't authenticated through our firewall, so traffic was being dropped or redirected.

Some details:
PyCharm 3.0.1 Build #PY-131.339
Running Fedora 20
Linux 3.13.8-200.fc20.x86_64
java version "1.7.0_45"
Java(TM) SE Runtime Environment (build 1.7.0_45-b18)
Java HotSpot(TM) 64-Bit Server VM (build 24.45-b08, mixed mode)

Let me know if you need anything else


Signature Annoyance

Alex Lamson 11 years ago updated by Paul Sinclair 11 years ago 0

I wouldn't say that my name is extremely long, but the programming and flow_state items clip through the text on the far right.

(Hooray for lousy ms-paint editing!)

Image 5

My request is that the two items be moved underneath the Level # and level bar.

Image 4

That would use unoccupied space and free up space for people with long names.

(If there is already something reserved for that space, sorry, I didn't know)

 Also, the link at the bottom left should be: 


(its the space again, huh?)

Paul Sinclair 11 years ago

Thanks for the feedback! I can see how that would be annoying. 

I had some stupid code that truncated the programming to p and flow state to f when usernames got over 13 characters, don't know what I was thinking!

Your idea is wayyy better.

Should be sweet now.

Also www.codeivate.com/users/Alex Lamson should redirect to www.codeivate.com/users/alex-lamson but I have updated that link down the bottom so it is clearer.


- Paul


Is Current level bar correct?

Michael Calkins 11 years ago updated by Paul Sinclair 11 years ago 0

This is confusing shouldn't it be 66.96% full?

Image 7

Paul Sinclair 11 years ago

Hi Michael,

I agree looking at that bar with a fresh set of eyes it is confusing! 

What it's actually saying is you are on level 4 which is something like 220 points, but you need 109 points (330 - 221) to get to the next level.

So it should say something like 1/109.

I will fix this up.


- Paul

Not a bug

length emailaddress

Peter Nijssen 11 years ago updated by Paul Sinclair 11 years ago 3

When I was editting my password, I noticed that my emailaddress was missing one character. After changing it, it's still missing one character. My emailadress has a total length of 21 characters, so maybe the database field is only 20 characters long?

Paul Sinclair 11 years ago

Hi Peter,

Thanks for reporting the issue, I have done some tests and seem to be able to add email addresses longer than that. Can you please email me your address to paul@codeivate.com and I will check it out further. 



Under review

Bigger level ladder

Michael Calkins 11 years ago updated by Paul Sinclair 11 years ago 4

Instead of the 22 level thing use a popular level tier that's proven to successfully motivate people to play it like WoW's 1 to 80.  If it takes forever to get to level 3 it kinda makes you feel like "meh".

Paul Sinclair 11 years ago

Hi Michael,

Funny you should mention WOW the levelling on the site is currently based on that but maybe not in the way you are expecting. 

The levelling at the moment is a combination of the 10,000 hour philosophy and the WOW levelling system (from 1-80)


From what I have read it takes about 10,000 hours to become a master in any skill so based on some initial research I did, level 70 should equate to roughly 10,000 hours of coding. Also levelling is non linear so each level requires more time/effort to get to than the previous one.

At the moment you the yellow bars / points on the user summary i.e. http://www.codeivate.com/users/jbrooksuk show you how many points you have earned today towards the next level(s) and when logged in you should see a rough E.T.A on the top right towards your next overall level up. The points gained today/overtime is definitely an area I would like to improve upon to give users a better sense of achievement. 

I may need to tweak the levelling system once I get more data though...


- Paul

Not a bug

power languages incorrect

Peter Nijssen 11 years ago updated by Paul Sinclair 11 years ago 0

I believe power languages are incorrect:


Currently, it says that my power languages are PHP, Javascript and Shell-Unix. Well, if you look at the meters, that's correct. However, my "plain" is level 1 and is basically higher then javascript.

Or is stuff like plain automatically downgraded?

Paul Sinclair 11 years ago

Hi Peter,

Sorry about the delay in replying. 

At the moment "power languages" are made up of your top 5 languages excluding Plain, this is because the earlier versions of the plugin picked up alot of stuff as Plain.


This should be a bit better now. Although if you create a new tab and start typing without either choosing a language on the bottom right or saving it Sublime will think it is Plain.


- Paul

Under review

Plain Text Issue

Victor Malca 10 years ago updated by Paul Sinclair 10 years ago 1
Hi, some weeks ago i posted a issue about this problem, i attach a image with the problem, i wanna know what is the problem with this category because as you can see i'm writin a CSS file.

Image 20