Giter VIP home page Giter VIP logo

Comments (21)

acrolink avatar acrolink commented on July 18, 2024 2

I have encountered a similar problem when developing a dotNet c# based notepad++ plug-in. Compiled in VS 2017 gives the error while compiled using VS 2015 works fine.

from notepadpp-wakatime.

alanhamlett avatar alanhamlett commented on July 18, 2024 1

I'm not able to reproduce this, testing on a Windows 7 (x86) Virtual Machine set to Spanish language. Installing v4.0.2 works there:
screen shot 2016-08-23 at 6 17 36 pm

@bruderstein maybe you can help show us how to find an error message showing the problem?

from notepadpp-wakatime.

jasminrueegger avatar jasminrueegger commented on July 18, 2024 1

The reply from acrolink contained the necessary info: That plugin requires VisualC++ Runtime 2017 x64. After installing vcredist, the error message dissappeared and the plugin is working.

from notepadpp-wakatime.

NDevox avatar NDevox commented on July 18, 2024

No log found.

Is this unicode or ANSI?

If it isn't unicode that'll probably be the problem: http://docs.notepad-plus-plus.org/index.php?title=Plugin_Development#Converting_plugins.

I'd love to apply a patch but don't know much (any) C#.

from notepadpp-wakatime.

alanhamlett avatar alanhamlett commented on July 18, 2024

Not related to unicode/ansi because Notepad++ is only releasing the unicode version now. I just tested with unicode v6.8.5 build 393301 and didn't get the error message.

Maybe it's a bug with NPP v6.8.3, can you upgrade Notepad++? If it's still happening with the latest version, maybe it's a 64bit problem, since I tested only on 32bit Windows.

from notepadpp-wakatime.

NDevox avatar NDevox commented on July 18, 2024

Was hoping it would be an easy fix, guess not then.

Upgraded to 6.8.5 but same error.

Might be a 64bit problem - what version of Windows do you have?

from notepadpp-wakatime.

alanhamlett avatar alanhamlett commented on July 18, 2024

Windows 8.1 32bit from https://dev.modern.ie/tools/vms/

Downloading Windows 10 VM now to see if it has the error.

from notepadpp-wakatime.

NDevox avatar NDevox commented on July 18, 2024

tried win7 32-bit form above site (sorry this took me ages to get back to) - which reflects my work build.

Same error raised.

from notepadpp-wakatime.

alanhamlett avatar alanhamlett commented on July 18, 2024

Are you installing via Plugin Manager inside Notepad++? I haven't been able to reproduce this when using the latest version available through Plugin Manager.

from notepadpp-wakatime.

NDevox avatar NDevox commented on July 18, 2024

I believe I'm connected through the vm (and through work) by proxy and have been unable to find which port to go through. So these are downloaded DLLs from the release page which are then pasted into the plugins folder.

from notepadpp-wakatime.

NDevox avatar NDevox commented on July 18, 2024

Note: proxy connections mean I can't access plugins through the plugin manager.

from notepadpp-wakatime.

alanhamlett avatar alanhamlett commented on July 18, 2024

Oh, that would prevent the plugin from downloading it's dependencies (wakatime-cli and embeddable-python). Can you add your proxy to your $HOME/.wakatime.cfg file and restart Notepad++?

Here's an example of the expected proxy format:
https://github.com/wakatime/wakatime#configuring

from notepadpp-wakatime.

alanhamlett avatar alanhamlett commented on July 18, 2024

The .cfg file should be located in your User home directory:
C:\Users\<user>\AppData\Roaming\Notepad++\plugins\config\.wakatime.cfg

After adding your https proxy to the config file and making sure WakaTime plugin is installed in Notepad++:

  1. restart Notepad++
  2. open any existing file, type something and save
  3. check C:\Users\<user>\AppData\Roaming\Notepad++\plugins\config\WakaTime.log for error messages
  4. check C:\Users\<user>\.wakatime.log for error messages

from notepadpp-wakatime.

NDevox avatar NDevox commented on July 18, 2024

Added in latest build of the plugin.

Setup the config file in the directory (edited the already existing config file). Now has proxy address (not convinced it is right but assuming there would be an error in logs if it is wrong). debug = true.

Restarted and edited a file. (error still comes up on restarting).

Checked the two log file locations (only get one in users\user.wakatime.log). No logs recorded since December.

Still failing :-. Any reason why it wouldn't be logging?

from notepadpp-wakatime.

alanhamlett avatar alanhamlett commented on July 18, 2024

Fixed with 83d0bb0 and released in v3.0.2.

from notepadpp-wakatime.

nelson6e65 avatar nelson6e65 commented on July 18, 2024

I'm still having this problem in Notepad++ 6.9.2, Windows 7 (x86), using dll 4.0.2:

wakatimepluginincompatible

from notepadpp-wakatime.

alanhamlett avatar alanhamlett commented on July 18, 2024

Can you delete the WakaTime.dll file in C:\Program Files\Notepad++\plugins\ and then re-install the plugin through the Plugin Manager to make sure it's the latest version?

from notepadpp-wakatime.

nelson6e65 avatar nelson6e65 commented on July 18, 2024

@alanhamlett
Can you delete the WakaTime.dll file in C:\Program Files\Notepad++\plugins\ and then re-install the plugin through the Plugin Manager to make sure it's the latest version?

Done! (It installs the same version of WakaTime plugin I downloaded: 0.4.2.

But still the same notification. Not working. 😟
(Actually, it craches if I don't uninstall the plugin.

from notepadpp-wakatime.

nelson6e65 avatar nelson6e65 commented on July 18, 2024

Well... I did reinstall Notepadd++ 2 times and now Wakatime plugin is not crashing. πŸ˜ƒ

I don't know why this happened πŸ˜•, but well... πŸ˜„

Thanks for answering! ☺️

from notepadpp-wakatime.

alanhamlett avatar alanhamlett commented on July 18, 2024

Ok, closing this issue since it's working now.

from notepadpp-wakatime.

alanhamlett avatar alanhamlett commented on July 18, 2024

Also #33 and v4.1.0 might have fixed this.

from notepadpp-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.