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

Extensions Log not showing on "neu run" #189

Open
thorin8k opened this issue Jul 13, 2022 · 5 comments
Open

Extensions Log not showing on "neu run" #189

thorin8k opened this issue Jul 13, 2022 · 5 comments
Labels
bug Something isn't working gsoc

Comments

@thorin8k
Copy link

Describe the bug
Trying to do an extension based on https://github.com/neutralinojs/neutralinojs/tree/main/bin/extensions/sampleextension im not being able to show logged messages.

I've copied main.js and see the output vía inspector (messaging) but nothing is shown in the neu run output

To Reproduce
Steps to reproduce the behavior:

  1. Create a simple extension based on the example
  2. Configure neutralino.config.json to use the extension
  3. Launch app

Expected behavior
Based on the code of main.js from sampleextension the neu run output should show information for connected, and messaging but it isnt.

Screenshots/Screen recordings

image

image

Specifications

  • OS: Windows 11 x64
  • Neutralinojs version: v4.6.0 (tried also with 4.5.0)
  • Neutralinojs client library version: v3.5.0
  • Neutralinojs CLI version: v9.3.1

Additional context
The log is not being writed to file also.

@thorin8k thorin8k added the bug Something isn't working label Jul 13, 2022
@thorin8k
Copy link
Author

I've also tried to show log by calling debug.log API but this turned out in another strange behaviour. The log started a write loop that wont stop until app is closed.

@Shuunen
Copy link

Shuunen commented Aug 9, 2022

@thorin8k any updates on your side ?

@thorin8k
Copy link
Author

@thorin8k any updates on your side ?

No, still having problems with this. I've not yet tried with the lastest versión (4.7.0) but im using a file logger in the extension in order to get some tracing.

@shalithasuranga shalithasuranga transferred this issue from neutralinojs/neutralinojs Nov 25, 2022
@Sadaf-A
Copy link
Contributor

Sadaf-A commented Mar 30, 2024

I've also tried to show log by calling debug.log API but this turned out in another strange behaviour. The log started a write loop that wont stop until app is closed.

Hey, make sure you have the following property in your neutralino.config.json

"enableExtensions": true,

Apart from this make sure your configurations for the extension in the neutralino.config.json file are correct

It would easier to figure out the issue if you could share your config file

@sahitya-chandra
Copy link

Hey @Sadaf-A Can you tell me how can I reproduce this issue ??

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working gsoc
Projects
None yet
Development

No branches or pull requests

5 participants