Closed sdosemagen closed 11 years ago
What was the exact title you tried to use? What did you click or what was the URL you were at when you got this error page?
I failed to reproduce this problem on my sandbox PL web server.
I was using the URL http://localhost:3000/notes/create
I uploaded a tiny PNG and using the title "this is the longest title in the entire world ever so that I can totally test that problem shannon reported in that one ticket that one day".
First time I clicked Publish:
There were problems with the following fields:
* Title is too long (maximum is 100 characters)
Second time was the same. Third time was the same. Fourth time was the same. I was not able to reproduce any error post beyond the little red notice.
It was for this note: http://publiclab.org/notes/shannon/5-23-2013/note-de-prensa-public-lab-lanza-una-campa-para-financiar-el-infrared-photogr
The title initially was: Nota de Prensa: El Laboratorio Publico lanza una campana en Kickstarter para financiar el Infrared Photography Project (Proyecto Fotografia Infrarroja)
I clicked "publish" and got "Title is too long". I shortened the title to what it is now and hit "publish" and got the same error message. After the third try, the note disappeared and was replaced with a "error: page does not exist" message.
Hrm... I still can't reproduce the problem.
I began by clicking "Post Related Work" which led me to the URL: http://localhost:3000/post?tags=infrared,infragram,press-release,infrared,infragram,response:7878 (replace localhost:3000 with publiclab.org and it should be the same thing)
I tried the title "Nota de Prensa: El Laboratorio Publico lanza una campana en Kickstarter para financiar el Infrared Photography Project (Proyecto Fotografia Infrarroja)", and it said Title Too Long.
While the title too long red box was still showing, I tried the title "Nota da Prensa: Public Lab lanza una campana para financiar el Infrared Photography Project", which is the current title on the page (although I substituted an 'e' with an 'a' to make the title unique). This page published without anything strange occurring.
I tried again using the "Post research" button which led me to the URL: http://localhost:3000/post
The title "Nota de Prensa: El Laboratorio Publico lanza una campana en Kickstarter para financiar el Infrared Photography Project (Proyecto Fotografia Infrarroja)", and it said Title Too Long.
While the title too long red box was still showing, I tried the title "Nota va Prensa: Public Lab lanza una campana para financiar el Infrared Photography Project", which is the current title on the page (although I substituted an 'de' with an 'va' to make the title unique). This page also published without anything strange occurring.
Did the error page say something along the lines of "Address not found"?
No, just page error
On Wed, Jun 19, 2013 at 4:04 PM, Bryan Bonvallet notifications@github.comwrote:
Did the error page say something along the lines of "Address not found"?
— Reply to this email directly or view it on GitHubhttps://github.com/jywarren/plots2/issues/134#issuecomment-19714819 .
@sdosemagen
maybe this was related to ascii character encoding, which is no longer used, and that's why you can't reproduce? just scratching my head here...
On Wed, Jun 19, 2013 at 5:22 PM, Shannon Dosemagen <notifications@github.com
wrote:
No, just page error
On Wed, Jun 19, 2013 at 4:04 PM, Bryan Bonvallet notifications@github.comwrote:
Did the error page say something along the lines of "Address not found"?
— Reply to this email directly or view it on GitHub< https://github.com/jywarren/plots2/issues/134#issuecomment-19714819> .
@sdosemagen
— Reply to this email directly or view it on GitHubhttps://github.com/jywarren/plots2/issues/134#issuecomment-19716022 .
Not a bad thought. I just looked into it. Ticket #102 had its "fixes" commit 22 days ago with your confirmation that it works 20 days ago. Shannon filed this ticket "a month ago" and I tested it 15 days ago.
Myth Busters think the character coding explanation is Plausible.
At some point I'll revert the code back, switch back to ASCII encoding, and see if I can reproduce the problem. If so, I'll close this ticket with great authority!
This would be way easier if Github timestamped these tickets with more detail than "a month ago." I still have an email from the second comment posted to this ticket on June 6th, but I can't figure out exactly when it was opened. Jeff, do you have a timestamped email from when this ticket was opened?
my first email notification was from June 5, but shannon originally texted me with the problem on may 23
On Thu, Jun 20, 2013 at 3:43 PM, Bryan Bonvallet notifications@github.comwrote:
This would be way easier if Github timestamped these tickets with more detail than "a month ago." I still have an email from the second comment posted to this ticket on June 6th, but I can't figure out exactly when it was opened. Jeff, do you have a timestamped email from when this ticket was opened?
— Reply to this email directly or view it on GitHubhttps://github.com/jywarren/plots2/issues/134#issuecomment-19778272 .
Perfect. It seems to have occurred between these two commits. I'll try to reproduce the problem with some retro code.
commit 9cac357954611eb453a2647567be139ca4184d89 Author: btbonval btbonval@mtu.edu Date: Mon May 27 15:52:05 2013 -0400
google analytics has the account for publiclab.org but the domain was incorr
commit 1aa1f5b662c2840512f583aee5325eea18b9fe03 Author: Jeffrey Warren jeff@unterbahn.com Date: Wed May 22 12:37:41 2013 +0000
kickstarter widgets
Checked out commit 1aa1f5b and modified config/database.py back to ASCII encoding.
Created a Research Note entitled: Nota pe Prensa: El Laboratorio Publico lanza una campana en Kickstarter para financiar el Infrared Photography Project (Proyecto Fotografia Infrarroja)
Clicked Publish. Forgot to put an image; added an image, clicked publish. "Title is too long". Clicked publish. "Title is too long." Clicked publish. "Title is too long." Changed title to: Nota pe Prensa: Public Lab lanza una campana para financiar el Infrared Photography Project. Clicked publish. It published.
Can't reproduce it even with the same version of code. At this point I'd recommend closing the ticket as not reproducible; a new one can be opened if this happens again. :/
Agreed.
Tried to submit a note, the title was too long, told me this twice and then published as an "error" page.