Skip to content

Multi-Blind generation runs into No multiBLD number for round #894

@lgarron

Description

@lgarron

Actual (problem) behavior

When trying to generate Multi-Blind scrambles, TNoodle errors with:

No multiBLD number for round Round(id=333mbf-r1, format=3, scrambleSetCount=1, scrambleSets=[], extensions=[Extension(id=org.worldcubeassociation.tnoodle.SheetCopyCount, specUrl=, data={"numCopies":"1"})]) specified

Expected behavior

I can generate Multi-Blind scrambles.

Steps To Reproduce

  1. Launch TNoodle and open http://localhost:2014/scramble (don't log in).
  2. Add a multi-blind round to the default competition.
  3. Click "Generate".

This results in the error above. Clicking "More" gives:

org.worldcubeassociation.tnoodle.server.webscrambles.exceptions.ScrambleMatchingException: No multiBLD number for round Round(id=333mbf-r1, format=3, scrambleSetCount=1, scrambleSets=[], extensions=[Extension(id=org.worldcubeassociation.tnoodle.SheetCopyCount, specUrl=, data={"numCopies":"1"})]) specified
	at org.worldcubeassociation.tnoodle.server.webscrambles.exceptions.ScrambleMatchingException$Companion.error(ScrambleMatchingException.kt:5)
	at org.worldcubeassociation.tnoodle.server.webscrambles.wcif.WCIFScrambleMatcher.standardScrambleCountPerSet(WCIFScrambleMatcher.kt:151)
	at org.worldcubeassociation.tnoodle.server.webscrambles.wcif.WCIFScrambleMatcher.totalScrambleCountPerSet(WCIFScrambleMatcher.kt:186)
	at org.worldcubeassociation.tnoodle.server.webscrambles.wcif.WCIFScrambleMatcher.getScrambleCountsPerEvent(WCIFScrambleMatcher.kt:181)
	at org.worldcubeassociation.tnoodle.server.webscrambles.routing.WcifHandler$ScramblingJob.getTargetState(WcifHandler.kt:62)
	at org.worldcubeassociation.tnoodle.server.webscrambles.routing.WcifHandler$ScramblingJob.getTargetState(WcifHandler.kt:28)
	at org.worldcubeassociation.tnoodle.server.webscrambles.routing.job.JobSchedulingHandler$registerJobPaths$3.invokeSuspend(JobSchedulingHandler.kt:112)
	at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:33)
	at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.kt:108)
	at kotlinx.coroutines.internal.LimitedDispatcher$Worker.run(LimitedDispatcher.kt:115)
	at kotlinx.coroutines.scheduling.TaskImpl.run(Tasks.kt:103)
	at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.kt:584)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.kt:793)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.kt:697)
	at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.kt:684)

I can seem to kick things into action by selecting the field for the number of scrambles and re-typing 35 to replace the existing value of 35. It seems a listener on the field needs to be triggered.

Desktop (please complete the following information):

  • OS: macOS 14.2.1
  • Browser: Chrome 120
  • TNoodle Version 1.2.1
  • Java version [e.g. Java 8] (how to find out)

Screenshot

Screenshot 2024-01-07 at 17 06 56
Screenshot 2024-01-07 at 17 05 38

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions