Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Harlowe 1.1.0 bug reports

When you notice any bugs with Harlowe 1.1.0 (which is now publicly released) that cause your stories and projects to stop working or behave unlike how they did before, do report them here and I will try my best to investigate the issue.

Examine the change log first, though, to see whether the difference was intended to be deliberate (and to agree or disagree whether or not this change was valid).

I should warn that issues involving intricate story CSS, or story Javascript that's particularly dependant on the internals of Harlowe, may not be satisfactorily solvable. My apologies in advance if this becomes the case.

Comments

  • edited July 2015
    Hello L

    Annoying little problem with the new version. All my inline HTML is no more transformed to markup, as it was in previous version but now displayed verbatim on the screen.
    <img src="chaperon.png" /> is not very nice instead of my picture...

    The problem seems to be that the signs < and > are converted to
    &lt; and &gt;
    

    Is a bog inside Harlowe 1.1.0 or have I missed somtehing in the release notes ?

    I'm using Twine 2.0.7 local app on Mint 17.1

    Thanks a lot for your advice.
  • When submitting bug reports, it would probably be best to also state what all browsers and browser versions (e.g., Chrome v. 43.0.2357.130) you've used to test the issue. Noting your operating system (e.g., "Windows 7 x64") wouldn't hurt either, nor would providing if your version of Twine is online or offline, honestly.
  • Sharpe wrote: »
    Uh-oh. Might have found something.
    :: Start
    
    "Start"
    
    (set: $foo to 0)
    
    (live: 2s)[(goto: "Next")]
    
    :: Next
    
    "Next"
    
    Foo: $foo
    
    (set: $foo += 1)
    

    Release 1.0.1 prints a value of '0' for the naked variable. Beta 1.1 will first print '0', then print '1', indicating it has loaded the passage twice.

    If you put a (stop:) after the (goto:) it will "fix" the problem.

    See attached (Live 1-0 and Live 1-1). First one is release Harlowe. Second one is your latest upload.

    Might want to consider giving the beta versions numbers next time. ;-)
    Sharpe wrote: »
    Another curiosity.

    Using the following code to play audio in the Harlowe 1.0.1 release loops the audio correctly:
    <audio autoplay loop>
      <source src="pling.mp3" type="audio/mp3">
    </audio>
    

    In the latest beta, it plays all the way through once, then starts to loop, playing a tiny bit of the start, then fails in in Chrome, Firefox, and IE.

    Tested in Chrome with an .mp3 but added Base64 to the attachment and retested in Chrome, Firefox, and IE, all latest versions. Windows 7 x64. Same behavior.

    Again, first file (1-0) is in the release and the next (1-1) is the beta. Same exact code.

    L wrote: »
    Due to various circumstances, these bugs haven't been fixed for the release of v1.1.0. However, they will be fixed in v1.1.1, which I shall finalise in about a few days.

    Moved from the beta thread.
  • I too am having the markup issue.

    From the last 1.1 beta, this passage:
    <center><h3>Twine 2: Basic RPG</h1>
    Version 1.0
    
    <h4>by Richard Sharpe</h3>
    
    [[PLAY->town]]</center>
    
    (display: "init")
    

    Becomes this:
    &lt;center&gt;&lt;h3&gt;Twine 2: Basic RPG&lt;/h1&gt;
    Version 1.0
    
    &lt;h4&gt;by Richard Sharpe&lt;/h3&gt;
    
    [[PLAY-&gt;town]]&lt;/center&gt;
    
    (display: "init")
    

    I imported from the offline beta to the online release version using Chrome (43.0.2357.130) and Windows 7 x64.
  • NOTE TO THOSE WITH THE MARKUP ISSUE: A find/replace-all might fix your issues.

    Save your twine by publishing it to file first.

    Then, on the menu bar at the bottom of the screen, toward the right, there is a "Quick Find" field. Click the square icon in it.

    Replace:
    &lt;
    
    With:
    <
    
    And replace:
    &gt;
    
    With:
    >
    

    Of course, if you use that code legitimately in your twine, it will also be replaced.

    No guarantees, but it worked for me.
  • edited July 2015
    Another curious and frustrating issue is that certain characters like single apostrophes and words like "it" break when they are included in hyperlinks.

    eg: Throw the ball will output "Throw Operation.Identifier.It"

    eg: No ball to throw will give an "Unexpected Token" error.

    And adding single apostrophes to tell it to use it as it is doesn't work either (i.e: Throw the ball still gives broken outputs).
  • Neoroman wrote: »
    Another curious and frustrating issue is that certain characters like single apostrophes and words like "it" break when they are included in hyperlinks.

    eg: Throw the ball will output "Throw Operation.Identifier.It"

    eg: No ball to throw will give an "Unexpected Token" error.

    And adding single apostrophes to tell it to use it as it is doesn't work either (i.e: Throw the ball still gives broken outputs).

    Could you attach a test HTML file showing this bug, please?
  • Actually, nevermind, I can verify that one by myself. A fix for it will be in v1.1.1.
  • Sharpe wrote: »
    NOTE TO THOSE WITH THE MARKUP ISSUE: A find/replace-all might fix your issues.

    Save your twine by publishing it to file first.

    Then, on the menu bar at the bottom of the screen, toward the right, there is a "Quick Find" field. Click the square icon in it.

    Replace:
    &lt;
    
    With:
    <
    
    And replace:
    &gt;
    
    With:
    >
    

    Of course, if you use that code legitimately in your twine, it will also be replaced.

    No guarantees, but it worked for me.

    that works and that is nice an all... but in my story it sometimes say &amp;amp;lt; or&amp;amp;gt; i guess i have to do the same with those.. but just saying.. also for me. this happens every time i close twine, so it is rather annoying...
  • edited July 2015
    I just downloaded this and applied the fix for the html like was suggested but some people are saying it will keep happening every time twine starts. Where can I get 2.0.6 to roll back? I like how it color codes code but having to find and replace a bunch of stuff or reload from html file every time I start twine might get really annoying.
  • cidmid15 wrote: »
    I just downloaded this and applied the fix for the html like was suggested but some people are saying it will keep happening every time twine starts. Should I roll back and wait for a better version?

    Guess it depends on whether it keeps happening for you-- Sharpe doesn't seem to be having the recurring issue some of us are.
  • cidmid15 wrote: »
    I just downloaded this and applied the fix for the html like was suggested but some people are saying it will keep happening every time twine starts. Should I roll back and wait for a better version?

    i think it is rather about my computer being bad that it is happening every time twine start. no one else seem to have the problem that often. also there was a fix? didn't see that....
  • On this page Sharp explains a way to find and replace stuff that is changed when twine starts.
  • cidmid15 wrote: »
    On this page Sharp explains a way to find and replace stuff that is changed when twine starts.

    oh, well that isn't a permanent fix, i have to do it every time i close and have to open twine x) but it is working.. yeah...
  • cidmid15 wrote: »
    I just downloaded this and applied the fix for the html like was suggested but some people are saying it will keep happening every time twine starts. Should I roll back and wait for a better version?

    i think it is rather about my computer being bad that it is happening every time twine start. no one else seem to have the problem that often. also there was a fix? didn't see that....

    It's not just you, mine is doing the same thing, and my computer isn't great but it's not terrible either. I think it's just a weird bug.

  • I'm as guilty as anyone when sometimes considering Harlowe one and the same as Twine 2.

    However, this morning when I checked in, it dawned on my stupid, dumb-witted brain that the markup issue would most likely be one with the new Twine 2.0.7, not with Harlowe.

    I e-mailed Chris just to make sure. If he says it's a Harlowe issue, then never mind, but if he confirms it's an issue with Twine 2 instead, then bug reports related to Twine 2 rather than Harlowe should be made in this thread: http://twinery.org/forum/discussion/3068/twine-2-0-7
  • guinevak wrote: »
    cidmid15 wrote: »
    I just downloaded this and applied the fix for the html like was suggested but some people are saying it will keep happening every time twine starts. Should I roll back and wait for a better version?

    i think it is rather about my computer being bad that it is happening every time twine start. no one else seem to have the problem that often. also there was a fix? didn't see that....

    It's not just you, mine is doing the same thing, and my computer isn't great but it's not terrible either. I think it's just a weird bug.

    found the solution anyway, just don't close twine *chuckles* think i have had it up for like 6 hours now.... and when i had to go out for an hour i just backed up the files and left it open x)
  • Please see here for an update on this problem.
Sign In or Register to comment.