Share via E-Mail
Share on Google Buzz
Share on Twitter
Share on Facebook
E-junkie Blog
E-junkie FaceBook Page
E-junkie @ Twitter

E-junkie Ecommerce Forums » E-junkie Discussions

Tag Cloud for this topic:

Stored PIN/Registration Codes all one long line



mnmojoe
member
Posts: 11


Hi there,

I am trying to paste codes into the box and they look like each is on a line by itself. But then when I test it they all become one long code. I tried importing from Text Edit, had my brother make a text file on a PC and email me then I copied and pasted it, still didn't work.

I'm on a mac. Would that effect it? I don't want to have to go into the file and delete, return, after each code as that would take forever!

Thanks for your help,
Joe


#
POSTED ON: April 10, 2009 @ 09:47 GMT -7




E-junkieGuru
E-Junkie Crew
Posts: 3483


There are differences in how plaintext files indicate a newline in Mac, Windows and Unix/Linux. You may want to try opening your brother's PC file on your Mac using the free TextWrangler program:
http://www.barebones.com/products/textwrangler/

You can open the file in TextWrangler, copy from there and paste into E-junkie, and if that doesn't work, try using TextWrangler's command to change line endings before you copy and paste.


#
POSTED ON: April 12, 2009 @ 13:35 GMT -7
MODIFIED ON: April 12, 2009 @ 13:37 GMT -7




mnmojoe
member
Posts: 11


Tried Text Wrangler to no avail. Anytime I copy and paste into the box it puts them all together, even though at first it all looks fine.

The only way I have found to make it work so far is to delete return my list in the box, but that will take forever.

I normalized all Line Endings and even made them all windows line endings in Text Wrangler.
I tried codes with only letters and codes with only numbers.

Any other ideas?


#
POSTED ON: April 13, 2009 @ 08:55 GMT -7




mnmojoe
member
Posts: 11


So I tried copying and pasting on my brother's pc into the box and that worked.

I'm guessing then that stored codes copying/pasting on a mac is not possible?
Has anyone had success with it?

Thanks!


#
POSTED ON: April 13, 2009 @ 09:44 GMT -7




E-junkieGuru
E-Junkie Crew
Posts: 3483


I'll ask one of our staff who uses a Mac to double-check, but so far as I know it should work fine. I think the problem may be that your source file was initially generated on a PC, but then subsequently sent to a Mac, opened and copy-pasted from there, so the line-endings got "lost in translation" when moving the file from a PC origin to a Mac.

Did you try the free TextWrangler program I suggested? That's a bit more sophisticated at handling cross-platform newline characters properly.


#
POSTED ON: April 13, 2009 @ 14:20 GMT -7




mnmojoe
member
Posts: 11


Thanks Tyson,

Curious to see what they say. I tried Text Wrangler and made it format it to Unix and then to Windows and no luck. I actually got the list from Random.org and just copy and pasted from there originally.

I think the issue is with the Mac in the copy and paste and it reformatting it to Mac line breaks and then the box on e-junkie not recognizing the Mac line breaks.

Look forward to seeing what they say. I did get it to work on a PC but that's problematic as I have to go to the PC to do it instead of just on my mac.

Thanks again!
Joe


#
POSTED ON: April 13, 2009 @ 14:33 GMT -7




E-junkieGuru
E-Junkie Crew
Posts: 3483


Our resident Mac user just confirmed that copy-pasting a list into the stored codes field appears to keep the newlines after initially pasting-in the list, but it does not in fact retain the newlines after clicking Submit to save changes. This happened even if she copy-pasted directly from a "native" TextEdit file created on the Mac itself, and also when she copied directly from output generated from Random.org/strings/.

Funny thing is, Mac newlines these days are the same as Unix newlines, since Mac OS X is based on a derivative of BSD Unix, and our server is also running a Unix-style OS. I'm wondering if it may be a Flash problem or limitation, since our Admin panels are all Flash-based. I'll bring this matter to the attention of Development.


#
POSTED ON: April 14, 2009 @ 12:49 GMT -7
MODIFIED ON: April 14, 2009 @ 12:50 GMT -7




E-junkieGuru
E-Junkie Crew
Posts: 3483


I've done a bit of research on this issue and have confirmed that the loss of newlines when pasting text from a Mac into Flash (which our Admin panels are based on) is a known issue with the Flash plugin for Mac itself -- see bug report filed with Adobe here:
http://bugs.adobe.com/jira/browse/FP-780

I have passed this info along to our Lead Developer, to see if we can hack together a workaround before Adobe (hopefully soon!) fixes this bug in the Flash plugin for Mac itself.


#
POSTED ON: April 19, 2009 @ 17:28 GMT -7


You must be logged in to make a post. Please click here to login.

30 Day Money Back Guarantee
PayPal Certified Integration
Google Checkout Certified Integration
Slam the Online Scam