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

Scripting Error #272

Open
1 task done
captaindopesauce opened this issue Jun 22, 2024 · 3 comments
Open
1 task done

Scripting Error #272

captaindopesauce opened this issue Jun 22, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@captaindopesauce
Copy link

captaindopesauce commented Jun 22, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current behaviour

World Edit addon is inoperable on the server side, server console show several, rapid errors. Server still shows world edit items but they have no function. This started on randomly on 1.21.0, but still on 1.21.1. Attempted to use a different server with the same error patterns.

Expected behaviour

Normal Function

Steps to reproduce

No response

Content logs

Server Logs

2024-06-21 17:16:42,375 DEBG 'webui-script' stderr output:

2024/06/21 17:16:42 Basic Authentication Succeeded: 192.168.1.163:56892

2024-06-21 17:16:42,376 DEBG 'webui-script' stderr output:
2024/06/21 17:16:42 192.168.1.163:56892 200 GET /

2024-06-21 17:16:42,477 DEBG 'webui-script' stderr output:
2024/06/21 17:16:42 Basic Authentication Succeeded: 192.168.1.163:56892

2024-06-21 17:16:42,478 DEBG 'webui-script' stderr output:
2024/06/21 17:16:42 192.168.1.163:56892 200 GET /css/index.css

2024-06-21 17:16:42,489 DEBG 'webui-script' stderr output:
2024/06/21 17:16:42 Basic Authentication Succeeded: 192.168.1.163:56896
2024/06/21 17:16:42 Basic Authentication Succeeded: 192.168.1.163:56897

2024-06-21 17:16:42,489 DEBG 'webui-script' stderr output:
2024/06/21 17:16:42 192.168.1.163:56896 200 GET /css/xterm_customize.css

2024-06-21 17:16:42,489 DEBG 'webui-script' stderr output:
2024/06/21 17:16:42 192.168.1.163:56897 200 GET /css/xterm.css
2024/06/21 17:16:42 Basic Authentication Succeeded: 192.168.1.163:56892
2024/06/21 17:16:42 192.168.1.163:56892 200 GET /auth_token.js

2024-06-21 17:16:42,492 DEBG 'webui-script' stderr output:
2024/06/21 17:16:42 Basic Authentication Succeeded: 192.168.1.163:56895
2024/06/21 17:16:42 192.168.1.163:56895 200 GET /config.js

2024-06-21 17:16:42,492 DEBG 'webui-script' stderr output:
2024/06/21 17:16:42 Basic Authentication Succeeded: 192.168.1.163:56894

2024-06-21 17:16:42,528 DEBG 'webui-script' stderr output:
2024/06/21 17:16:42 192.168.1.163:56894 200 GET /js/gotty.js

2024-06-21 17:16:43,014 DEBG 'webui-script' stderr output:
2024/06/21 17:16:43 New client connected: 192.168.1.163:56898, connections: 1/0

2024-06-21 17:16:43,084 DEBG 'webui-script' stderr output:
2024/06/21 17:16:43 Basic Authentication Succeeded: 192.168.1.163:56894

2024-06-21 17:16:43,085 DEBG 'webui-script' stderr output:
2024/06/21 17:16:43 192.168.1.163:56894 200 GET /favicon.ico

2024-06-21 17:17:40,187 DEBG 'webui-script' stderr output:
2024/06/21 17:17:40 Connection closed by client: 192.168.1.163:56898, connections: 0/0

2024-06-21 17:28:54,654 DEBG 'webui-script' stderr output:
2024/06/21 17:28:54 Basic Authentication Succeeded: 192.168.1.163:57038

2024-06-21 17:28:54,655 DEBG 'webui-script' stderr output:
2024/06/21 17:28:54 192.168.1.163:57038 200 GET /

2024-06-21 17:28:54,684 DEBG 'webui-script' stderr output:
2024/06/21 17:28:54 Basic Authentication Succeeded: 192.168.1.163:57038
2024/06/21 17:28:54 192.168.1.163:57038 200 GET /css/index.css

2024-06-21 17:28:54,687 DEBG 'webui-script' stderr output:
2024/06/21 17:28:54 Basic Authentication Succeeded: 192.168.1.163:57038

2024-06-21 17:28:54,688 DEBG 'webui-script' stderr output:
2024/06/21 17:28:54 Basic Authentication Succeeded: 192.168.1.163:57039

2024-06-21 17:28:54,688 DEBG 'webui-script' stderr output:
2024/06/21 17:28:54 192.168.1.163:57039 200 GET /css/xterm_customize.css
2024/06/21 17:28:54 192.168.1.163:57038 200 GET /css/xterm.css

2024-06-21 17:28:54,695 DEBG 'webui-script' stderr output:
2024/06/21 17:28:54 Basic Authentication Succeeded: 192.168.1.163:57039
2024/06/21 17:28:54 192.168.1.163:57039 200 GET /auth_token.js

2024-06-21 17:28:54,695 DEBG 'webui-script' stderr output:
2024/06/21 17:28:54 Basic Authentication Succeeded: 192.168.1.163:57038
2024/06/21 17:28:54 192.168.1.163:57038 200 GET /config.js

2024-06-21 17:28:54,696 DEBG 'webui-script' stderr output:
2024/06/21 17:28:54 Basic Authentication Succeeded: 192.168.1.163:57040

2024-06-21 17:28:54,729 DEBG 'webui-script' stderr output:
2024/06/21 17:28:54 192.168.1.163:57040 200 GET /js/gotty.js

2024-06-21 17:28:55,166 DEBG 'webui-script' stderr output:
2024/06/21 17:28:55 New client connected: 192.168.1.163:57041, connections: 1/0

2024-06-21 17:28:55,231 DEBG 'webui-script' stderr output:
2024/06/21 17:28:55 Basic Authentication Succeeded: 192.168.1.163:57040

2024-06-21 17:28:55,233 DEBG 'webui-script' stderr output:
2024/06/21 17:28:55 192.168.1.163:57040 200 GET /favicon.ico

Console response (minimal due to console limits)

at PlayerSession (server/sessions.js:76)
at getSession (server/sessions.js:256)
at makeBuilder (server/index.js:72)
at <anonymous> (server/index.js:41)
at <anonymous> (library/classes/eventEmitter.js:60)
at forEach (native)
at emit (library/classes/eventEmitter.js:59)
at <anonymous> (library/Minecraft.js:148)

[2024-06-21 17:17:56:345 ERROR] [Scripting] SyntaxError: unexpected end of string at :1
at parse (native)
at Database (library/classes/databaseBuilder.js:12)
at PlayerSession (server/sessions.js:76)
at getSession (server/sessions.js:256)
at makeBuilder (server/index.js:72)
at (server/index.js:41)
at (library/classes/eventEmitter.js:60)
at forEach (native)
at emit (library/classes/eventEmitter.js:59)
at (library/Minecraft.js:148)

[2024-06-21 17:17:56:394 ERROR] [Scripting] SyntaxError: unexpected end of string at :1
at parse (native)
at Database (library/classes/databaseBuilder.js:12)
at PlayerSession (server/sessions.js:76)
at getSession (server/sessions.js:256)
at makeBuilder (server/index.js:72)
at (server/index.js:41)
at (library/classes/eventEmitter.js:60)
at forEach (native)
at emit (library/classes/eventEmitter.js:59)
at (library/Minecraft.js:148)

[2024-06-21 17:17:56:444 ERROR] [Scripting] SyntaxError: unexpected end of string at :1
at parse (native)
at Database (library/classes/databaseBuilder.js:12)
at PlayerSession (server/sessions.js:76)
at getSession (server/sessions.js:256)
at makeBuilder (server/index.js:72)
at (server/index.js:41)
at (library/classes/eventEmitter.js:60)
at forEach (native)
at emit (library/classes/eventEmitter.js:59)
at (library/Minecraft.js:148)

Minecraft version

1.21.1

Device and operating system

Windows 11

Additional info

bandicam.2024-06-21.20-48-31-056.2.mp4

Linked is a video showing the original console window seeming to load correctly with the server, then producing the rapid errors.

@captaindopesauce captaindopesauce added the bug Something isn't working label Jun 22, 2024
@SIsilicon
Copy link
Owner

Hmm it seems to be when the game attempts to load any created gradients. Has anyone ever made any gradients in the world the server is loading?

@captaindopesauce
Copy link
Author

I did, as kind of a test to see how exactly it operated, additionally I set I believe one brush as a gradient.

Even though the addon is currently failing, the generated gradients themselves that I have used are still present. The only thing that I have NOT tried is to backup the world, clear the server entirely and reinstall, then reupload as I would/did in the very beginning - theoretically if the fault is happening in created/stored gradients, then it should erase those by default with a new installation correct?

@captaindopesauce
Copy link
Author

So it seems like something has become corrupt with my world with whatever error is causing this. Making new worlds and adding world edit seems to be fine, even moving the files and installing a NEW world on my server works fine - but as soon as I restore my world DB files, it seems to break it. Unfortunately, my server is active, and my backups only save the 10 most recent world changes so going back at this point is not an option. Have you seen this happen before?

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