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

Exception - Text contains unterminated color string #5680

Closed
skw359 opened this issue Jan 27, 2022 · 6 comments · Fixed by #5690
Closed

Exception - Text contains unterminated color string #5680

skw359 opened this issue Jan 27, 2022 · 6 comments · Fixed by #5690
Labels
Milestone

Comments

@skw359
Copy link

skw359 commented Jan 27, 2022

What steps will reproduce the problem?

This problem might be specific to something, but I'm not entirely sure what - using /t boardwalk outputs the problem though:

  1. Use /t boardwalk
  2. Done, free stacktrace in console! https://www.toptal.com/developers/hastebin/elonefagaf.properties

What is the expected output?

Information about the town in chat

Towny version

Towny v0.97.5.15

Server version

Paper version git-Paper-175 (MC: 1.18.1)

Please use Pastebin.com to link the following files

  1. Your full server startup from the logs\latest.log:
  2. Your Towny config.yml: https://www.toptal.com/developers/hastebin/ozakefutoj.yaml
  3. Your townyperms.yml:
  4. Your log's error: https://www.toptal.com/developers/hastebin/elonefagaf.properties

(optional) If this is to do with permissions,
5. Your permissions file:

(optional) If this is to do with chat,
6. Your chatconfig.yml:
7. Your channels.yml:

@skw359 skw359 added the bug label Jan 27, 2022
@LlmDl
Copy link
Member

LlmDl commented Jan 30, 2022

If this is still an issue with Boardwalk i'd like to see their towny\data\towns\boardwalk.txt, the issue is when towny is trying to format their town status screen's subtitle line.

@LlmDl LlmDl added the Need Feedback Something is required of the submitter. Tickets will be closed after 14 days with no feedback. label Jan 30, 2022
@skw359
Copy link
Author

skw359 commented Jan 30, 2022

boardwalk.txt
Sure, here ya go

@skw359
Copy link
Author

skw359 commented Jan 30, 2022

I'm using status_title_pvp: '&#ADF3FD(PVP)' which might be causing the error

@skw359
Copy link
Author

skw359 commented Jan 30, 2022

Oh I discovered another one: help_0: '&#ADF3FD&lGeneral Towny Help' (using that will get an internal error with this stacktrace: https://www.toptal.com/developers/hastebin/ilicerumal.properties

@LlmDl
Copy link
Member

LlmDl commented Jan 30, 2022

Yep, I'm working on it.

LlmDl added a commit that referenced this issue Jan 30, 2022
Closes #5680.

Has a side effect currently: PVP in the subtitle doesn't colour the
right colour.
@LlmDl
Copy link
Member

LlmDl commented Jan 30, 2022

So it works fine now, but for some reason the blue you chose (which colours fine everywhere else,) ends up showing the PVP in purple. I have run out of time to diagnose that one so far.

@LlmDl LlmDl removed the Need Feedback Something is required of the submitter. Tickets will be closed after 14 days with no feedback. label Jan 31, 2022
@LlmDl LlmDl added this to the 0.98.0.0 milestone Jan 31, 2022
LlmDl added a commit that referenced this issue Jan 31, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants