[Unicode]   Common Locale Data Repository : Bug Tracking Home | Site Map | Search
 
Modify

CLDR Ticket #7264(accepted tools)

Opened 3 years ago

Last modified 18 months ago

ToolConfig fails

Reported by: mark Owned by: srl
Component: util Data Locale:
Phase: dsub Review:
Weeks: Data Xpath:
Xref:

Description (last modified by mark) (diff)

I tried generating the charts for 26, and ToolConfig fails.

Exception in thread "main" java.lang.InternalError: Error: ToolConfig can only be used in the LOCAL environment.

at org.unicode.cldr.tool.ToolConfig.getToolInstance(ToolConfig.java:22)
at org.unicode.cldr.tool.ShowLocaleCoverage.<clinit>(ShowLocaleCoverage.java:52)
at org.unicode.cldr.tool.ShowLanguages.printLanguageData(ShowLanguages.java:118)
at org.unicode.cldr.tool.ShowLanguages.main(ShowLanguages.java:96)
at org.unicode.cldr.tool.GenerateAllCharts.main(GenerateAllCharts.java:5)

Had to change in ShowLocaleCoverage, ShowData, and ShowKeyboards from

ToolConfig.getToolInstance();

to

CLDRConfig.getInstance();

to work around this.

Attachments

Change History

comment:1 Changed 3 years ago by mark

  • Description modified (diff)

comment:2 Changed 3 years ago by mark

  • Description modified (diff)

comment:3 Changed 3 years ago by mark

  • Description modified (diff)

comment:4 follow-up: ↓ 5 Changed 3 years ago by srl

Do you have -DCLDR_ENVIRONMENT=UNITTEST in your environment? If so, please remove it. It's only for unit tests.

comment:5 in reply to: ↑ 4 Changed 3 years ago by srl

Replying to srl:

Do you have -DCLDR_ENVIRONMENT=UNITTEST in your environment? If so, please remove it. It's only for unit tests.

That's why I added a warning on the instructions in http://cldr.unicode.org/development/eclipse-setup - -DCLDR_ENVIRONMENT=UNITTEST- you should put -DCLDR_ENVIRONMENT=UNITTEST only on the TestAll run configuration, not on the global VM setting.

comment:6 Changed 3 years ago by emmons

  • Status changed from new to assigned
  • Component changed from unknown to tools
  • Priority changed from assess to medium
  • Milestone changed from UNSCH to 26rc
  • Owner changed from anybody to srl
  • Type changed from unknown to defect

comment:7 Changed 3 years ago by srl

  • Milestone changed from 26rc to 27dsub

roll

comment:8 Changed 3 years ago by markus

  • Phase set to dsub
  • Milestone changed from 27dsub to 27

comment:9 Changed 2 years ago by srl

  • Milestone changed from 27 to 28

roll

comment:10 Changed 2 years ago by markus

  • Type changed from defect to tools
  • Component changed from tools to unknown

comment:11 Changed 2 years ago by srl

  • Status changed from assigned to accepted

comment:12 Changed 20 months ago by emmons

  • Component changed from unknown to util

comment:13 Changed 18 months ago by emmons

  • Milestone changed from 28 to 28roll

Moving all outstanding 28 tickets to 28roll. We will discuss disposition of these at the next CLDR TC.

View

Add a comment

Modify Ticket

Action
as accepted
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.