Tcl Library Source Code

Ticket Change Details
Bounty program for improvements to Tcl and certain Tcl packages.

Artifact ID: 6e327e01756e58a63df49dc3fe503704a9d4871dc316854f6d162ece336641fa
Ticket: f11610e8719318867d9bf08ffdfd6252dc70560b
problem with yaml and huddle - conversion between both
User & Date: aku 2020-01-20 00:56:18

  1. Change assignee to "nobody"
  2. Change closer to "nobody"
  3. Change cmimetype to "text/plain"
  4. Change comment to:

    User "Steve Litt" showed up on the chat, and offered 3 pastes 5306 to 5308

    It turns out, that the yaml::huddle2yaml fails to convert back a huddle string that was created from yaml::yaml2huddle

    The huddle-string obtained from yaml was: HUDDLE {!!map {fname {!!str Steve} lname {!!str Litt}}} same for all checked versions(see below)

    but on converting back to yaml, the newer versions just prepended a line of three dashes to the huddle-string.

    Versions: tcllib1.17 yaml 0.3.7 huddle 0.1.5 worked tcllib1.18 yaml 0.3.9 huddle 0.2 failed tcllib1.19 yaml 0.4.1 huddle 0.3 failed

    Unfortunately huddle changed a big lot between 0.1.5 and 0.2 so I gave up trying to spot the problem from a side-to-side diff of the two huddle.tcl's.

  5. Change foundin to "tcllib 1.18 yaml 0.3.9 huddle 0.2"
  6. Change is_private to "0"
  7. Change login to "aku"
  8. Change priority to "5 Medium"
  9. Change private_contact to "194c9ef8edbd9a57ef36f4f18fde1d57ce26e1e5"
  10. Change resolution to "None"
  11. Change severity to "Severe"
  12. Change status to "Open"
  13. Change submitter to "aku"
  14. Change subsystem to "yaml"
  15. Change title to:

    problem with yaml and huddle - conversion between both

  16. Change type to "Bug"