Parsing error on mass quote entry

boettden - September 8, 2007 - 16:18
Project:Quotes
Version:5.x-1.1
Component:User interface
Category:bug report
Priority:normal
Assigned:Unassigned
Status:closed
Description

Hi! I'm using Quotes 5.x-1.1 on Drupal. I'm trying to mass-import quotes into the website. The quotes are saved in a text file, using one quote per line, with a tab separating the quote and the author. I copy a part of text file, insert the copied portion in the appropriate box on the appropriate page (we also have TinyMCE working on the website), then click Preview ... and when the screen comes back, I get a "parse error on line 1."

What am I doing wrong? What needs to be fixed?

#1

boettden - September 11, 2007 - 23:12
Assigned to:boettden» Anonymous

#2

jenna.tollerson - November 8, 2007 - 14:03

I'm having the same problem with tab separated quotes on mass import. I keep getting the error "Parse error on quote 59." 59 is the last line; if I take out that line I just get the same error except on quote 58, and so on.

Quotes 5.x-1.1, Drupal 5.3

#3

NancyDru - April 7, 2008 - 19:13

First thought: do you have a newline after the last one? I believe it is required.

Second thought: This is definitely a case where TinyMCE needs to be turned off before pasting the text.

#4

NancyDru - April 7, 2008 - 19:14
Status:active» postponed (maintainer needs more info)

#5

NancyDru - April 16, 2008 - 12:57

@boettden - don't "Preview" when mass importing. I'm not even sure what "preview" means in the context of a mass import. The validation routine will check that the file can be parsed before allowing the submit to actually happen.

@jenna - is this tab-delimited or fortune format?

#6

jenna.tollerson - April 21, 2008 - 23:20

Tab-delimited.

Actually, I did resolve this way back in November, but I did not swing back by and document how, and at this point I can't remember what the solution was. This makes me a sub par Drupal user, I must say. :) I hopped back on the same site and tried to recreate my "solution", but I keep running into the same error now.

None of my quotes had authors, and I can say with some confidence that neither adding a tab after the author-less quote nor adding a newline after the last quote (nor both in combination) resolves the error.

#7

NancyDru - April 21, 2008 - 23:56

Hmm, I don't have these problems. Have you tried using 5.x-1.3?

#8

NancyDru - May 15, 2008 - 01:51
Status:postponed (maintainer needs more info)» closed

No response.

#9

sterwa - January 28, 2009 - 05:31

i do! i do have the same problem!

#10

sterwa - January 28, 2009 - 05:38

I know it is pretty lame but what worked was adding a backslash after the tab (instead of author) in the last quote, and then manually editing that last quote once successfully imported

 
 

Drupal is a registered trademark of Dries Buytaert.