Re: [WebDNA] [append] does not add the newline char at the end

This WebDNA talk-list message is from

2009


It keeps the original formatting.
numero = 103351
interpreted = N
texte =
Yes, this has happened to me before. I bet it's an encoding issue. If the DB is created on a Mac with Mac line e= ndings, WebDNA will not see them as proper line endings. I've always used a Mac, and this has come up with me before. I h= ave BBEdit set up to use Unix line endings and the problem has pretty much gone away. Maybe the db that isn't working wa= s copied over from another server or from your desktop and has the wrong line endings. Somebody smarter about these thin= gs can chime in now for all the exact particulars, but I bet this is what's going on.

Terry


On Thu, 20 Aug 2009 12:05:41 -0600
Jo= hn Butler <govinda.webdnatalk@gmail.com> wrote:
>
>> You could add in an extra append until it get= s fixed and
>>then do a
>> clean up after .....
>>
>
> I am doing that now.. = but I have to leave the extra
>dummy record in till another real (wanted) record gets
>in there becaus= e [delete] ing the last dummy record
>just again exposes the previous real (wanted) record
>aga= in without its trailing newline char. I am amazed no
>one has come across this phenom. before me. (Actually= I
>did see it once before on a friend's server, but I did
>not know it at the time.)
> Not= e that the phenom. is intermittent. I am now
>finding that
> sometimes the *exact* same data in the db,= and the exact
>same [search ...] =20 WILL later find the record even
>without its trailing newline cha= r. I am on a shared
>host here so I am not sure what changed.. I tried
>[flushdatabse..] when the phen= om. was manifesting, but
>it did stop the failing [search].
>
> If anyone gets a clue as to how/wh= at to predict, please
>inform.
>
> Thanks
> -G
> --------------------------------------= -------------------
> This message is sent to you because you are subscribed
>to
> the mailing lis= t <talk@webdna.us>.
> To unsubscribe, E-mail to: <talk-leave@webdna.us>
> archives: ht= tp://mail.webdna.us/list/talk@webdna.us
> old archives: http://dev.webdna.us/TalkListArchive/
> Bug Reporting= :
>http://forum.webdna.us/eucabb.html?page=3Dtopics&category=3D= 288

=A0
Associated Messages, from the most recent to the oldest:

    
  1. Re: [WebDNA] [append] does not add the newline char at the end of the new record?! (which causes subsequent [search] to fail.) (Kenneth Grome 2009)
  2. [RESOLVED, I THINK] -- Re: [WebDNA] [append] does not add the newline char at the end of the new record?! (which can causes subsequent [search] to fail.) (John Butler 2009)
  3. Re: [WebDNA] [append] does not add the newline char at the end of (Donovan Brooke 2009)
  4. Re: [WebDNA] [append] does not add the newline char at the end of (Donovan Brooke 2009)
  5. Re: [WebDNA] [append] does not add the newline char at the end of the new record?! (which causes subsequent [search] to fail.) ("Brian Harrington, Broker" 2009)
  6. Re: [WebDNA] [append] does not add the newline char at the end of the new record?! (which can causes subsequent [search] to fail.) (Kenneth Grome 2009)
  7. Re: [WebDNA] [append] does not add the newline char at the end of the new record?! (which causes subsequent [search] to fail.) (Kenneth Grome 2009)
  8. Re: [WebDNA] [append] does not add the newline char at the end of the new record?! (which causes subsequent [search] to fail.) (christophe.billiottet@webdna.us 2009)
  9. Re: [WebDNA] [append] does not add the newline char at the end ("Terry Wilson" 2009)
  10. Re: [WebDNA] [append] does not add the newline char at the end of the new record?! (which causes subsequent [search] to fail.) (John Butler 2009)
  11. Re: [WebDNA] [append] does not add the newline char at the end of the new record?! (which can causes subsequent [search] to fail.) (John Butler 2009)
  12. Re: [WebDNA] [append] does not add the newline char at the end of (Donovan Brooke 2009)
  13. Re: [WebDNA] [append] does not add the newline char at the end of the new record?! (which causes subsequent [search] to fail.) (Stuart Tremain 2009)
  14. Re: [WebDNA] [append] does not add the newline char at the end of the new record?! (which causes subsequent [search] to fail.) (John Butler 2009)
  15. Re: [WebDNA] [append] does not add the newline char at the end of (Donovan Brooke 2009)
  16. [WebDNA] [append] does not add the newline char at the end of the new record?! (which causes subsequent [search] to fail.) (John Butler 2009)
Yes, this has happened to me before. I bet it's an encoding issue. If the DB is created on a Mac with Mac line e= ndings, WebDNA will not see them as proper line endings. I've always used a Mac, and this has come up with me before. I h= ave BBEdit set up to use Unix line endings and the problem has pretty much gone away. Maybe the db that isn't working wa= s copied over from another server or from your desktop and has the wrong line endings. Somebody smarter about these thin= gs can chime in now for all the exact particulars, but I bet this is what's going on.

Terry


On Thu, 20 Aug 2009 12:05:41 -0600
Jo= hn Butler <govinda.webdnatalk@gmail.com> wrote:
>
>> You could add in an extra append until it get= s fixed and
>>then do a
>> clean up after .....
>>
>
> I am doing that now.. = but I have to leave the extra
>dummy record in till another real (wanted) record gets
>in there becaus= e [delete] ing the last dummy record
>just again exposes the previous real (wanted) record
>aga= in without its trailing newline char. I am amazed no
>one has come across this phenom. before me. (Actually= I
>did see it once before on a friend's server, but I did
>not know it at the time.)
> Not= e that the phenom. is intermittent. I am now
>finding that
> sometimes the *exact* same data in the db,= and the exact
>same [search ...] =20 WILL later find the record even
>without its trailing newline cha= r. I am on a shared
>host here so I am not sure what changed.. I tried
>[flushdatabse..] when the phen= om. was manifesting, but
>it did stop the failing [search].
>
> If anyone gets a clue as to how/wh= at to predict, please
>inform.
>
> Thanks
> -G
> --------------------------------------= -------------------
> This message is sent to you because you are subscribed
>to
> the mailing lis= t <talk@webdna.us>.
> To unsubscribe, E-mail to: <talk-leave@webdna.us>
> archives: ht= tp://mail.webdna.us/list/talk@webdna.us
> old archives: http://dev.webdna.us/TalkListArchive/
> Bug Reporting= :
>http://forum.webdna.us/eucabb.html?page=3Dtopics&category=3D= 288

=A0
"Terry Wilson"

DOWNLOAD WEBDNA NOW!

Top Articles:

Talk List

The WebDNA community talk-list is the best place to get some help: several hundred extremely proficient programmers with an excellent knowledge of WebDNA and an excellent spirit will deliver all the tips and tricks you can imagine...

Related Readings:

WebMerchant 1.6 and SHTML (1997) Variable Prices (1998) Proper file locations (1997) [CART] inside a [LOOP] (1997) $Replace with [founditems] (1997) Using Applescript to process WebCatalog functions (1998) Setting the Date (2000) Re:no [search] with NT (1997) need some help with tcpsend (2000) [ShowNext] feature in 2.0 (1997) A multi-processor savvy WebCatalog? (1997) New Site Announcement (1998) Simple way to create unique SKU (1997) WebCat2b14MacPlugIn - [include] doesn't hide the search string (1997) Field lenght (1998) WebCat2b15MacPlugIn - [authenticate] not [protect] (1997) 2.1.1 bug (ORDERFILE/SHOWIF/LINEITEMS) (1998) [middle] (2000) WebCatalog Plug-in for Webstar. (1997) Download URL & access on the fly ? (1997)