Bug Stomp

Upgrades and changes sometimes have unpredictable results, so post your bugs and glitches in here and I'll get out my trusty wrench and get to fixin'!

Posts 5,979 - 5,990 of 8,681

19 years ago #5979
Oh yes, and you can run spellcheck. When I get around to it, I still have to export and run spell check every so often.

19 years ago #5980
Not to discourage anyone about import/export, but it seems to be very unreliable about accepting AI Scripts. It discards them without an error message. I've confirmed this a number of times. I can't figure out if the problem is my formalisms or a bug, because it's so hard to see the dang things once they are imported.

19 years ago #5981
I have a ton of AI scripts...never lost one????Which ones did you lose..I have chrono scripts..conditional ones..and stupid ones I made up that, I am ever so surprised that they work? Are you using the tab key or the space key when you indent?

19 years ago #5982
I'm indenting with tabs. I'm willing to believe that the problem is user error, but I'm sure stumped by it. I lost a raft of AI Scripts after I thought I had it figured out.

Here's one that will not stick for love or money; tildes are tabs:
Something to drink?
~+ xnomatch [0]
~Coffee?
~~+ yes [0] <?PF rem "coffee" as "youlike";?>
            
M

19 years ago #5983
I've found the problem, mickmca. We need to put a space after the semicolon.

so, this doesn't work
+ yes [0] <?PF rem "coffee" as "youlike";?>

but this does
+ yes [0] <?PF rem "coffee" as "youlike"; ?>

19 years ago #5984
I still can't get mine to import. I know I don't have any blank keyphrases. Dunno how the 8048 present lines got doubled - I added 2 lines to it for testing.

Present Lines: 8048 • Import Lines: 16100
ATTENTION: This will overwrite all online work done since April 28 2006

Begin Language Center
----------------------------------------------------------------------------------------------------
ERROR: Keyphrases cannot be blank.

19 years ago #5985
What are you editing it with? Sounds like it's adding an extra carriage return to each line, and double-spacing the file (so every other line will be a blank one.)

19 years ago #5986
I've tried it with both notepad and WordPad. Tried saving it as both plain text and RTF (which I didn't expect to work anyway)

19 years ago #5987
it ought to work with Notepad, though it can add spurious hard breaks to files when saving if wordwrap is on.
I can highly recommend textpad (http://www.textpad.com) - it's fully-featured shareware, and I've never had any problems like that with it. Plus it can sort, spellcheck, find & replace, use macros and handle regexes very capably.

19 years ago #5988
I love textpad - I lost my reg key for it a long time ago and never bothered to re-download it. Done that now, opened the LC and removed the first and last blank lines...

Looks like it's not doubling things any longer. Now just to find where it thinks there is a blank keyphrase...

Present Lines: 8048 • Import Lines: 8047
ATTENTION: This will overwrite all online work done since April 28 2006

Begin Language Center
----------------------------------------------------------------------------------------------------
ERROR: Keyphrases cannot be blank.

19 years ago #5989
I figured it out. One of my keyphrases was simply

!!!

the system was seeing that as blank

19 years ago #5990
if you want that keyphrase you'll have to set it as a regex (raw mode too, obviously) -

([ ~!]+) (re) should do the job for any number of exclamation marks. If you want it to only cut in if there's no other text, ^([ ~!]+)$ (re) ought to do it.

replace the tildes with forward slashes (they won't display in forum posts.)


Posts 5,979 - 5,990 of 8,681

» More new posts: Doghead's Cosmic Bar