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

No logs, isn't running on linux #148

Closed
Mih4n opened this issue Mar 5, 2025 · 3 comments
Closed

No logs, isn't running on linux #148

Mih4n opened this issue Mar 5, 2025 · 3 comments
Labels
bug Something isn't working

Comments

@Mih4n
Copy link

Mih4n commented Mar 5, 2025

Describe the bug
When I load my plugin on windows system it runs well but when I tried it on linux in docker or without docker but on linux it returns this
[2025-03-05 13:45:45.554 ERROR] [Server] Error occurred when trying to load plugin from entry point 'whitelist':
without any error

To Reproduce
https://github.com/multi-punk/Whitelist
get the new config file from addition
put in into /plugins/configuration/whitelist

Expected behavior
as on windows

Screenshots

Image

Details (please complete the following information):

  • OS: Linux
  • Endstone Version: 6.2.dev0 from docker repo and from pypi
@Mih4n Mih4n added the bug Something isn't working label Mar 5, 2025
@wu-vincent
Copy link
Member

wu-vincent commented Mar 5, 2025

This was because an exception was thrown during the importing of your plugin class without a message, and endstone was therefore not able to show the reason.

[2025-03-05 17:09:23.626 ERROR] [Server]   File "/home/endstone/endstone/bedrock_server/plugins/endstone-whitelist/src/endstone_whitelist/__init__.py", line 1, in <module>
[2025-03-05 17:09:23.626 ERROR] [Server]     from endstone_whitelist.whitelist_plugin import WhitelistPlugin
[2025-03-05 17:09:23.626 ERROR] [Server]   File "/home/endstone/endstone/bedrock_server/plugins/endstone-whitelist/src/endstone_whitelist/whitelist_plugin.py", line 2, in <module>
[2025-03-05 17:09:23.626 ERROR] [Server]     from endstone_whitelist.commands.commands import register_commands
[2025-03-05 17:09:23.626 ERROR] [Server]   File "/home/endstone/endstone/bedrock_server/plugins/endstone-whitelist/src/endstone_whitelist/commands/commands.py", line 3, in <module>
[2025-03-05 17:09:23.626 ERROR] [Server]     from endstone_whitelist.commands.whitelist import WhitelistCommandExecutor
[2025-03-05 17:09:23.626 ERROR] [Server]   File "/home/endstone/endstone/bedrock_server/plugins/endstone-whitelist/src/endstone_whitelist/commands/whitelist.py", line 4, in <module>
[2025-03-05 17:09:23.626 ERROR] [Server]     from endstone_whitelist.forms.view import send_ban_view, send_profile_view
[2025-03-05 17:09:23.626 ERROR] [Server]   File "/home/endstone/endstone/bedrock_server/plugins/endstone-whitelist/src/endstone_whitelist/forms/view.py", line 4, in <module>
[2025-03-05 17:09:23.626 ERROR] [Server]     from endstone_whitelist.types.storage import storage
[2025-03-05 17:09:23.626 ERROR] [Server]   File "/home/endstone/endstone/bedrock_server/plugins/endstone-whitelist/src/endstone_whitelist/types/storage.py", line 174, in <module>
[2025-03-05 17:09:23.626 ERROR] [Server]     storage = WLStorage()
[2025-03-05 17:09:23.626 ERROR] [Server]           ^^^^^^^^^^^
[2025-03-05 17:09:23.626 ERROR] [Server]   File "/home/endstone/endstone/bedrock_server/plugins/endstone-whitelist/src/endstone_whitelist/types/storage.py", line 12, in __init__
[2025-03-05 17:09:23.626 ERROR] [Server]     self.config = GetConfiguration("config")
[2025-03-05 17:09:23.626 ERROR] [Server]                   ^^^^^^^^^^^^^^^^^^^^^^^^^^
[2025-03-05 17:09:23.626 ERROR] [Server]   File "/home/endstone/endstone/bedrock_server/plugins/endstone-whitelist/src/endstone_whitelist/tools/config_provider.py", line 8, in GetConfiguration
[2025-03-05 17:09:23.626 ERROR] [Server]     if not os.path.exists(file_path): raise Exception()
[2025-03-05 17:09:23.626 ERROR] [Server]                                       ^^^^^^^^^^^^^^^^^
[2025-03-05 17:09:23.626 ERROR] [Server] Exception
[2025-03-05 17:09:23.626 ERROR] [Server] 

@wu-vincent wu-vincent closed this as not planned Won't fix, can't repro, duplicate, stale Mar 5, 2025
@Mih4n
Copy link
Author

Mih4n commented Mar 5, 2025

@wu-vincent is there a way to see this exceptions?

@Mih4n
Copy link
Author

Mih4n commented Mar 5, 2025

oh, I see now. Thank you

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

No branches or pull requests

2 participants