Enter forum description here ...

ImportError: No module named 'codeivated'

Sándor Czettner 7 years ago updated by Paul Sinclair 7 years ago 3
When I try to install the ST3 package I get this error message:

File "/home/sandor/.config/sublime-text-3/Packages/codeivate-st/codeivate.py", line 3, in <module>
import codeivated.Auth as Auth
ImportError: No module named 'codeivated'

It turned out the __init__.pyc is corrupted. If I want to import it from python 3 or python2 I get this:

"Bad magic number"

7 days + signature not working

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

My account at "http://www.codeivate.com/users/alex-lamson" doesn't have a working signature or 7 days page.

My guess is the space in the name.

EDIT: The beta API isn't working for me either.

Paul Sinclair 8 years ago

Hi Alex, 

the space seems to be the problem I will fix it today.

Fixed! You will need to code for a minute or so for data to go through system and make the .json page work. Signature page should work right now.


Machine names when syncing settings (ST3)

Lasse 6 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 6 years ago updated 6 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 8 years ago updated by Paul Sinclair 8 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 8 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 7 years ago updated by Paul Sinclair 7 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 8 years ago updated by Paul Sinclair 8 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!)

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

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 8 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 8 years ago updated by Paul Sinclair 8 years ago 0

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

Paul Sinclair 8 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 7 years ago updated by Paul Sinclair 7 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 7 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 8 years ago updated by Paul Sinclair 8 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 8 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