Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Probably an encoding error #3

Open
danieljeff opened this issue Jul 31, 2014 · 12 comments
Open

Probably an encoding error #3

danieljeff opened this issue Jul 31, 2014 · 12 comments

Comments

@danieljeff
Copy link

When trying to post a new job I'm consistently getting the following error.

"Oops! Something Went Wrong...
Probably an encoding error - email or chat with us? Hit "refresh" to see the post-job form again."

Have tried multiple times from both Chrome and Firefox.

Here is what I'm attempting to post for reference.


My friend (CTO, Hacker) and I (Everything else, Product Guy, Hustler) have a little side project that we have been working on that has the goal of optimizing and improving happiness at work. Lately we’ve decided that the project would be a lot more fun if we had a great Designer to work with us. That is where you come in.

Maybe you know a Designer. Maybe you are a Designer.

We are looking for someone with the following skills and interests:

  • Excellent at taking wireframes, collaborative product discussions and other information and using them to create beautiful User Interfaces for Web and Mobile.
  • Has working knowledge of HTML and CSS and is able to modify and transform templates, Bootstrap themes and other assets. We aren’t building much from scratch at this early stage.
  • Curious about optimizing for happiness at work, obtaining work/life balance, behavioral science, habit science and positive psychology.
  • Has good “Kindergarten skills” aka likes to share, collaborate and listen to others perspectives. Design + ego + stubbornness = lame. Design - ego + collaboration = magic. :)

Why would you want to work with us?

  • We have a lot of great experience.
  • We’ve built companies that continue to grow.
  • We’ve built software at venture-backed startups.
  • We want to learn from you.
  • We want you to learn from us.
  • We know how to sell things and acquire customers.
  • We have a lot of fun.
  • The opportunity to be a minority co-founder of our project is something we would be willing to consider if we like each other and our project gains traction.

Want to learn more? Here is what you should do.

Email [email protected] with the following information:

  1. Your hourly rate. (Yes we want to pay you.)
  2. A short bio. Links to info about you.
  3. Examples of design work you’ve done.
  4. Examples of design work you wish you’d done and why.
  5. Examples of design work you hate and why.

------ end reference

@chaselee
Copy link
Member

Try this:

My friend (CTO, Hacker) and I (Everything else, Product Guy, Hustler) have a little side project that we have been working on that has the goal of optimizing and improving happiness at work.  Lately we’ve decided that the project would be a lot more fun if we had a great Designer to work with us.   That is where you come in.

Maybe you know a Designer.  Maybe you are a Designer.

### We are looking for someone with the following skills and interests:

- Excellent at taking wireframes, collaborative product discussions and other information and using them to create beautiful User Interfaces for Web and Mobile.
- Has working knowledge of HTML and CSS and is able to modify and transform templates, Bootstrap themes and other assets.  We aren’t building much from scratch at this early stage.
- Curious about optimizing for happiness at work, obtaining work/life balance, behavioral science, habit science and positive psychology.
- Has good "Kindergarten skills" aka likes to share, collaborate and listen to others perspectives.  Design + ego + stubbornness = lame.   Design - ego + collaboration = magic.  :)

### Why would you want to work with us?

- We have a lot of great experience.
- We’ve built companies that continue to grow.
- We’ve built software at venture-backed startups.
- We want to learn from you.
- We want you to learn from us.
- We know how to sell things and acquire customers.
- We have a lot of fun.
- The opportunity to be a minority co-founder of our project is something we would be willing to consider if we like each other and our project gains traction.

### Want to learn more?  Here is what you should do.

Email [email protected] with the following information:

1. Your hourly rate.  (Yes we want to pay you.)
2. A short bio.  Links to info about you.
3. Examples of design work you’ve done.
4. Examples of design work you _wish_ you’d done and why.
5. Examples of design work you _hate_ and why.

@danieljeff
Copy link
Author

That didn't work either. Interestingly. The Preview looks fine. Only throws the error when I try to Post.

@danieljeff
Copy link
Author

Also just tested by trying to post a hand typed description with the following data which yielded the same error. Also tested with no Markdown at all. Same error.


Test

  • Test
  • Test
  • Test
  1. Test
  2. Test
  3. Test

@nbashaw
Copy link
Member

nbashaw commented Aug 5, 2014

It's the smart quote here: 3. Examples of design work you’ve done.

I found this issue awhile ago and tried to fix it but didn't figure it out. Maybe an interim solution would be to just use javascript before submitting the form to replace any instance of a smart quote with a regular quote?

@danieljeff
Copy link
Author

I think it might go beyond that @nbashaw.

I get the same error if I submit with the value "test" in all fields. No Markdown. No quotes.

@chaselee
Copy link
Member

chaselee commented Aug 5, 2014

that was my thought @nbashaw, but I sent Dan a smart quote free snippet, and it didn't work, and it looks like basically nothing works now. nothing's changed in the code, so it's a little odd.

@djhopper01
Copy link

If someone can post a stack trace or some logs, I can take a look. There are dependencies on Twilio and Postmark - maybe the job is getting created, but it's failing there.

@nwest
Copy link
Contributor

nwest commented Aug 5, 2014

It's probably because we're using two different markdown parsers. One in javascript for when they are writing/submitting/previewing, and one in ruby when it is displayed. I don't remember when/if validation is happening on the markdown.

@mulka
Copy link
Member

mulka commented Aug 6, 2014

I think I fixed it. Can someone test and deploy?
54b4ea4

@nwest
Copy link
Contributor

nwest commented Aug 6, 2014

2014-08-06T12:37:43.971694+00:00 heroku[router]: at=info method=POST path="/create-job" host=jobs.hackersandhustlers.org request_id=b27dbecd-9d62-4dcd-a2fc-b0073479df44 fwd="" dyno=web.1 connect=6ms service=141ms status=500 bytes=2126
2014-08-06T12:37:43.966414+00:00 app[web.1]: Twilio::REST::RequestError - Authenticate:
2014-08-06T12:37:43.966426+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/twilio-ruby-3.5.1/lib/twilio-ruby/rest/client.rb:261:in `connect_and_send'
2014-08-06T12:37:43.966428+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/twilio-ruby-3.5.1/lib/twilio-ruby/rest/client.rb:160:in `block (2 levels) in <class:Client>'
2014-08-06T12:37:43.966430+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/twilio-ruby-3.5.1/lib/twilio-ruby/rest/list_resource.rb:73:in `create'
2014-08-06T12:37:43.966431+00:00 app[web.1]:    /app/app.rb:100:in `block in <top (required)>'
2014-08-06T12:37:43.966433+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:1212:in `call'
2014-08-06T12:37:43.966435+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:1212:in `block in compile!'
2014-08-06T12:37:43.966436+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:785:in `[]'
2014-08-06T12:37:43.966438+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:785:in `block (3 levels) in route!'
2014-08-06T12:37:43.966439+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:801:in `route_eval'
2014-08-06T12:37:43.966441+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:785:in `block (2 levels) in route!'
2014-08-06T12:37:43.966443+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:822:in `block in process_route'
2014-08-06T12:37:43.966444+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:820:in `catch'
2014-08-06T12:37:43.966446+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:820:in `process_route'
2014-08-06T12:37:43.966447+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:784:in `block in route!'
2014-08-06T12:37:43.966449+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:783:in `each'
2014-08-06T12:37:43.966450+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:783:in `route!'
2014-08-06T12:37:43.966452+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:886:in `dispatch!'
2014-08-06T12:37:43.966453+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `block in call!'
2014-08-06T12:37:43.966456+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `block in invoke'
2014-08-06T12:37:43.966457+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `catch'
2014-08-06T12:37:43.966458+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:871:in `invoke'
2014-08-06T12:37:43.966460+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:719:in `call!'
2014-08-06T12:37:43.966461+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:705:in `call'
2014-08-06T12:37:43.966463+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in `call'
2014-08-06T12:37:43.966464+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/base.rb:47:in `call'
2014-08-06T12:37:43.966465+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/base.rb:47:in `call'
2014-08-06T12:37:43.966467+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/path_traversal.rb:16:in `call'
2014-08-06T12:37:43.966468+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/json_csrf.rb:17:in `call'
2014-08-06T12:37:43.966469+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/base.rb:47:in `call'
2014-08-06T12:37:43.966470+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/rack-protection-1.2.0/lib/rack/protection/xss_header.rb:22:in `call'
2014-08-06T12:37:43.966472+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:205:in `context'
2014-08-06T12:37:43.966491+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/session/abstract/id.rb:200:in `call'
2014-08-06T12:37:43.966493+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/logger.rb:15:in `call'
2014-08-06T12:37:43.966494+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/commonlogger.rb:20:in `call'
2014-08-06T12:37:43.966496+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/head.rb:9:in `call'
2014-08-06T12:37:43.966497+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/rack-1.4.1/lib/rack/methodoverride.rb:21:in `call'
2014-08-06T12:37:43.966499+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:1334:in `block in call'
2014-08-06T12:37:43.966500+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:1416:in `synchronize'
2014-08-06T12:37:43.966501+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/sinatra-1.3.2/lib/sinatra/base.rb:1334:in `call'
2014-08-06T12:37:43.966503+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/thin-1.3.1/lib/thin/connection.rb:80:in `block in pre_process'
2014-08-06T12:37:43.966504+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/thin-1.3.1/lib/thin/connection.rb:78:in `catch'
2014-08-06T12:37:43.966505+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/thin-1.3.1/lib/thin/connection.rb:78:in `pre_process'
2014-08-06T12:37:43.966507+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/thin-1.3.1/lib/thin/connection.rb:53:in `process'
2014-08-06T12:37:43.966513+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/thin-1.3.1/lib/thin/connection.rb:38:in `receive_data'
2014-08-06T12:37:43.966515+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run_machine'
2014-08-06T12:37:43.966516+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/eventmachine-0.12.10/lib/eventmachine.rb:256:in `run'
2014-08-06T12:37:43.966517+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/thin-1.3.1/lib/thin/backends/base.rb:61:in `start'
2014-08-06T12:37:43.966519+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/thin-1.3.1/lib/thin/server.rb:159:in `start'
2014-08-06T12:37:43.966520+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/thin-1.3.1/lib/thin/controllers/controller.rb:86:in `start'
2014-08-06T12:37:43.966522+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/thin-1.3.1/lib/thin/runner.rb:185:in `run_command'
2014-08-06T12:37:43.966524+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/thin-1.3.1/lib/thin/runner.rb:151:in `run!'
2014-08-06T12:37:43.966525+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/gems/thin-1.3.1/bin/thin:6:in `<top (required)>'
2014-08-06T12:37:43.966527+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/bin/thin:19:in `load'
2014-08-06T12:37:43.966567+00:00 app[web.1]:    /app/vendor/bundle/ruby/1.9.1/bin/thin:19:in `<main>'

@nbashaw did you remove the twilio app?

@chaselee
Copy link
Member

chaselee commented Aug 6, 2014

maybe we ran out of twilio credit?

@malachaifrazier
Copy link

Has this been resolved yet?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

7 participants