Code Monkey home page Code Monkey logo

Comments (12)

alanhamlett avatar alanhamlett commented on June 11, 2024

What OS are you using?

from eclipse-wakatime.

EliasWatson avatar EliasWatson commented on June 11, 2024

Windows 7 Home Premium x64
Eclipse Luna 4.4.2
Java 8 Update 40 and Java 7 Update 79 (Eclipse is using Java 7)

from eclipse-wakatime.

alanhamlett avatar alanhamlett commented on June 11, 2024

Are there any errors in your Eclipse Error Log window?

How about any errors in your $HOME/.wakatime.log file?

from eclipse-wakatime.

EliasWatson avatar EliasWatson commented on June 11, 2024

Eclipse log file: http://hastebin.com/xurelodani.coffee
I can't seem to find the wakatime log file, I searched my computer for that file name and it doesn't exist.

from eclipse-wakatime.

alanhamlett avatar alanhamlett commented on June 11, 2024

It should be at C:\Users\Assossa\.wakatime.log. Since it doesn't exist, the plugin was never calling wakatime cli. I think I've fixed the issue after noticing the path to python was hard-coded instead of using the detected location of python on your system:

5e66d00

from eclipse-wakatime.

netpoe avatar netpoe commented on June 11, 2024

Hi, I'm using this open issue to post this .wakatime.log:

TypeError: send_heartbeat() got multiple values for keyword argument 'project'

Wakatime stopped logging the last time I turned off my computer.
Using: Mac Book Air mid-2013, Yosemite 10.10.3

from eclipse-wakatime.

alanhamlett avatar alanhamlett commented on June 11, 2024

@netpoe that was a bug in wakatime cli. It's fixed now, but wakatime cli won't update unless you reinstall the plugin for Eclipse.

from eclipse-wakatime.

EliasWatson avatar EliasWatson commented on June 11, 2024

The plugin still does not work for me. I have Python 2.7.9 x64, and there is no wakatime log.

from eclipse-wakatime.

alanhamlett avatar alanhamlett commented on June 11, 2024

What location is python installed to, and can you get that from the cmd line by running:

which python

from eclipse-wakatime.

hllinc avatar hllinc commented on June 11, 2024

Hi, Alan!
Think you very much for your timely email replay.
It is my fault. Since I have not used Python, I didn't add python's home directory to my computer's system environment path. So now Waka have worked well. By the way, this plugin is fantastic! Thank you!

from eclipse-wakatime.

isortegah avatar isortegah commented on June 11, 2024
{"now": "2016/07/20 09:45:59 Central Daylight Time (Mexico)", "version": "6.0.7", "plugin": "eclipse/4.4.0.v20140925-0400 eclipse-wakatime/3.0.1", "time": 1469025959.399, "level": "ERROR", "message": "Traceback (most recent call last):
  File \"C:\\Users\\Ivansebastian\\eclipse\\configuration\\org.eclipse.osgi\\611\\0\\.cp\\wakatime-master\\wakatime\\main.py\", line 533, in execute
    retval = process_heartbeat(args, configs, hostname, heartbeat)
  File \"C:\\Users\\Ivansebastian\\eclipse\\configuration\\org.eclipse.osgi\\611\\0\\.cp\\wakatime-master\\wakatime\\main.py\", line 492, in process_heartbeat
    alternate_language=heartbeat.get('alternate_language'))
  File \"C:\\Users\\Ivansebastian\\eclipse\\configuration\\org.eclipse.osgi\\611\\0\\.cp\\wakatime-master\\wakatime\\stats.py\", line 173, in get_file_stats
    language, lexer = guess_language(file_name)
  File \"C:\\Users\\Ivansebastian\\eclipse\\configuration\\org.eclipse.osgi\\611\\0\\.cp\\wakatime-master\\wakatime\\stats.py\", line 41, in guess_language
    language = get_language_from_extension(file_name)
  File \"C:\\Users\\Ivansebastian\\eclipse\\configuration\\org.eclipse.osgi\\611\\0\\.cp\\wakatime-master\\wakatime\\stats.py\", line 129, in get_language_from_extension
    if os.path.exists(u('{0}{1}').format(u(filepart), u('.c'))) or os.path.exists(u('{0}{1}').format(u(filepart), u('.C'))):
UnicodeDecodeError: 'ascii' codec can't decode byte 0xf3 in position 67: ordinal not in range(128)
"}

from eclipse-wakatime.

alanhamlett avatar alanhamlett commented on June 11, 2024

@isortegah can you replace line 129 in file C:\Users\Ivansebastian\eclipse\configuration\org.eclipse.osgi\611\0\.cp\wakatime-master\wakatime\stats.py with:

if os.path.exists(filepart + '.c') or os.path.exists(filepart + '.C'):

Does it fix the bug?

Also, what is the full path of the file you were editing at the time of this error?

P.S. Next time please open a new issue instead of commenting on a closed unrelated issue.

from eclipse-wakatime.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.