Giter Site home page Giter Site logo

Comments (6)

benbalter avatar benbalter commented on July 28, 2024

It looks like it's trying to call growlnotify which doesn't exist in your path? That's not part of this package.

from word-to-markdown-server.

jamal22066 avatar jamal22066 commented on July 28, 2024

I believe the actual error in the above output is:

configuration /var/www/html/word-to-markdown-demo/script/config.ru not found

However, the config.ru file exists in word-to-markdown-demo/config.ru and not in word-to-markdown-demo/script/config.ru. If I copy the file to the script folder, I get the following error:

10:59:20 [rerun] Rerun (25620) running Script (25635)
/var/www/html/word-to-markdown-demo/script/config.ru:1:in require': cannot load such file -- ./server (LoadError) from /var/www/html/word-to-markdown-demo/script/config.ru:1:in block in

'
from /usr/local/rvm/gems/ruby-2.2.5/gems/rack-2.0.4/lib/rack/builder.rb:55:in instance_eval' from /usr/local/rvm/gems/ruby-2.2.5/gems/rack-2.0.4/lib/rack/builder.rb:55:in initialize'
from /var/www/html/word-to-markdown-demo/script/config.ru:in new' from /var/www/html/word-to-markdown-demo/script/config.ru:in '
from /usr/local/rvm/gems/ruby-2.2.5/gems/rack-2.0.4/lib/rack/builder.rb:49:in eval' from /usr/local/rvm/gems/ruby-2.2.5/gems/rack-2.0.4/lib/rack/builder.rb:49:in new_from_string'
from /usr/local/rvm/gems/ruby-2.2.5/gems/rack-2.0.4/lib/rack/builder.rb:40:in parse_file' from /usr/local/rvm/gems/ruby-2.2.5/gems/rack-2.0.4/lib/rack/server.rb:319:in build_app_and_options_from_config'
from /usr/local/rvm/gems/ruby-2.2.5/gems/rack-2.0.4/lib/rack/server.rb:219:in app' from /usr/local/rvm/gems/ruby-2.2.5/gems/rack-2.0.4/lib/rack/server.rb:354:in wrapped_app'
from /usr/local/rvm/gems/ruby-2.2.5/gems/rack-2.0.4/lib/rack/server.rb:283:in start' from /usr/local/rvm/gems/ruby-2.2.5/gems/rack-2.0.4/lib/rack/server.rb:148:in start'
from /usr/local/rvm/gems/ruby-2.2.5/gems/rack-2.0.4/bin/rackup:4:in <top (required)>' from /usr/local/rvm/gems/ruby-2.2.5/bin/rackup:23:in load'
from /usr/local/rvm/gems/ruby-2.2.5/bin/rackup:23:in <main>' from /usr/local/rvm/gems/ruby-2.2.5/bin/ruby_executable_hooks:15:in eval'
from /usr/local/rvm/gems/ruby-2.2.5/bin/ruby_executable_hooks:15:in `'

10:59:23 [rerun] Script Launch Failed

Would you be able to shed any light on why this is looking for a file that is not in the right location according to your code? I believe that is where the failure is happening.

from word-to-markdown-server.

benbalter avatar benbalter commented on July 28, 2024

@jamal22066 what command are you running to generate this output? It looks like you're running server while in the script directory? script/server should be run from the repo root, or you can run bundle exec rerun rackup directly.

from word-to-markdown-server.

jamal22066 avatar jamal22066 commented on July 28, 2024

OK, that was pretty stupid of me. It is working now:

[root@EPSS-CMS-RENDER word-to-markdown-demo]# netstat -tnlp | grep 9292
tcp 0 0 127.0.0.1:9292 0.0.0.0:* LISTEN 1686/ruby /usr/loca
tcp6 0 0 ::1:9292 :::* LISTEN 1686/ruby /usr/loca

Sorry for the trouble and thank you for creating this!

from word-to-markdown-server.

jamal22066 avatar jamal22066 commented on July 28, 2024

hi Ben,

One additional question, this is meant to work from localhost:9292. Do you know of a way I can change this to listen from 0.0.0.0:9292 or serverip:9292 instead of 127.0.0.1:9292? I am running Nodejs. Not sure if this would be a nodejs change or something in the software config files can be changed to get this listen to the server IP so that the software is available for all users when installed on a server and not just localhost.

from word-to-markdown-server.

jamal22066 avatar jamal22066 commented on July 28, 2024

Fixed. Got this listening on the server IP instead of 127.0.0.1

from word-to-markdown-server.

Related Issues (10)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.