- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
每次我尝试将 make serve 与 nohup 命令一起使用时,都会将此错误附加到 nohup.out。
codio@anita-doctor:~/workspace/Introduction-to-Data-Science/IntroBook$ nohup make serve &
[1] 2201
codio@anita-doctor:~/workspace/Introduction-to-Data-Science/IntroBook$ nohup: ignoring input and
appending output to ‘nohup.out’
我的程序服务器在没有 nohup 的情况下使用正常的 make serve 工作正常。我正在尝试使用 nohup 在后台托管我的服务器,但是当我执行上面的代码时,出现以下错误。
[0m19:01:07 - INFO - Bye bye...
bundle exec guard
Configuration file: _config.yml
23:06:19 - INFO - Jekyll [33mbuilding... [0m
23:06:21 - INFO - Jekyll [32mbuild completed in 1.67s [0m/home/codio/workspace/Introduction-to-
Data-Science/IntroBook → _site
23:06:21 - INFO - Jekyll watching and serving using jekyll at 0.0.0.0:4000/jupyter-book
23:06:21 - INFO - Jekyll watching
23:06:21 - INFO - LiveReload is waiting for a browser to connect.
23:06:21 - INFO - Guard is now watching at '/home/codio/workspace/Introduction-to-Data-
Science/IntroBook'
[0G/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/guard-2.14.2/lib/guard/jobs/pry_wrapper.rb:279:
warning: method Pry#input_array is deprecated. Use Pry#input_ring instead
[1] guard(main)> Error: Bad file descriptor - read
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:200:in `readline'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:200:in `block in
input_readline'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/input_lock.rb:113:in
`interruptible_region'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:199:in `input_readline'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:185:in `block in read_line'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:130:in `handle_read_errors'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:171:in `read_line'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:98:in `read'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:68:in `block in repl'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:67:in `loop'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:67:in `repl'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:38:in `block in start'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/input_lock.rb:59:in
`__with_ownership'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/input_lock.rb:77:in
`with_ownership'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:38:in `start'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:13:in `start'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/pry_class.rb:200:in `start'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/guard-2.14.2/lib/guard/jobs/pry_wrapper.rb:102:in
`block (2 levels) in _switch_to_pry'
[1] guard(main)> Error: Bad file descriptor - read
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:200:in `readline'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:200:in `block in
input_readline'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/input_lock.rb:113:in
`interruptible_region'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:199:in `input_readline'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:185:in `block in read_line'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:130:in `handle_read_errors'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:171:in `read_line'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:98:in `read'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:68:in `block in repl'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:67:in `loop'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:67:in `repl'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:38:in `block in start'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/input_lock.rb:59:in
`__with_ownership'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/input_lock.rb:77:in
`with_ownership'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:38:in `start'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:13:in `start'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/pry_class.rb:200:in `start'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/guard-2.14.2/lib/guard/jobs/pry_wrapper.rb:102:in
`block (2 levels) in _switch_to_pry'
[1] guard(main)> Error: Bad file descriptor - read
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:200:in `readline'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:200:in `block in
input_readline'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/input_lock.rb:113:in
`interruptible_region'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:199:in `input_readline'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:185:in `block in read_line'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:130:in `handle_read_errors'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:171:in `read_line'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:98:in `read'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:68:in `block in repl'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:67:in `loop'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:67:in `repl'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:38:in `block in start'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/input_lock.rb:59:in
`__with_ownership'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/input_lock.rb:77:in
`with_ownership'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:38:in `start'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:13:in `start'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/pry_class.rb:200:in `start'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/guard-2.14.2/lib/guard/jobs/pry_wrapper.rb:102:in
`block (2 levels) in _switch_to_pry'
[1] guard(main)> Error: Bad file descriptor - read
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:200:in `readline'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:200:in `block in
input_readline'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/input_lock.rb:113:in
`interruptible_region'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:199:in `input_readline'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:185:in `block in read_line'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:130:in `handle_read_errors'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:171:in `read_line'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:98:in `read'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:68:in `block in repl'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:67:in `loop'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:67:in `repl'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:38:in `block in start'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/input_lock.rb:59:in
`__with_ownership'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/input_lock.rb:77:in
`with_ownership'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:38:in `start'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:13:in `start'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/pry_class.rb:200:in `start'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/guard-2.14.2/lib/guard/jobs/pry_wrapper.rb:102:in
`block (2 levels) in _switch_to_pry'
[1] guard(main)> Error: Bad file descriptor - read
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:200:in `readline'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:200:in `block in
input_readline'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/input_lock.rb:113:in
`interruptible_region'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:199:in `input_readline'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:185:in `block in read_line'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:130:in `handle_read_errors'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:171:in `read_line'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:98:in `read'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:68:in `block in repl'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:67:in `loop'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:67:in `repl'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:38:in `block in start'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/input_lock.rb:59:in
`__with_ownership'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/input_lock.rb:77:in
`with_ownership'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:38:in `start'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/repl.rb:13:in `start'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/pry-0.12.2/lib/pry/pry_class.rb:200:in `start'
/home/codio/anaconda/lib/ruby/gems/2.6.0/gems/guard-2.14.2/lib/guard/jobs/pry_wrapper.rb:102:in
`block (2 levels) in _switch_to_pry'
FATAL: Pry failed to get user input using `Readline`.
To fix this you may be able to pass input and output file descriptors to pry directly. e.g.
Pry.config.input = STDIN
Pry.config.output = STDOUT
binding.pry
[0m Server address: http://0.0.0.0:4000/jupyter-book/
Server running... press ctrl-c to stop.
]2;
[0m23:06:21 - INFO - Bye bye...
任何帮助都将不胜感激,因为这对我能够在后台托管的项目至关重要。
最佳答案
看起来您正在尝试在您的应用程序内部运行 pry
,因为这些错误似乎是相关的。尝试删除或注释掉任何 binding.pry
以及您可能包含或需要 pry 的任何地方,例如在 Gemfile 中,或者如果您有任何 require 'pry'
任何事物。
然后再次尝试您的命令,看看是否有效。
关于ruby - 错误的文件描述符错误 - 读取,当使用 nohup 在 ubuntu box 后台运行服务器时,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/59148232/
来自descriptor文档: A descriptor can be called directly by its method name. For example, d.__get__(obj).
概要 本人python理论知识远达不到传授级别,写文章主要目的是自我总结,并不能照顾所有人,请见谅,文章结尾贴有相关链接可以作为补充 全文分为三个部分装饰器理论知识、装饰器应用、装饰器延申
我正在查看 python 的描述 rune 档 here ,让我思考的陈述是: 对于物体,机械在 object.__getattribute__()转换 b.x进入 type(b).__dict__[
if((fd = creat(file_name,O_RDWR|S_IRWXU|S_IRWXG|S_IRWXO)) < 0){ perror("Create failed!");
长话短说Python 2.7.5,当使用描述符作为装饰器时,有没有办法传入参数(给 __init__ 方法)?或者如何使用带参数的方法装饰器 ( as here ) 访问类实例的属性? -- 我认为这
我试着用谷歌搜索一些关于它的东西。为什么非数据描述符适用于旧式类? 文档说他们不应该: “Note that descriptors are only invoked for new style ob
我升级到使用嵌入式 maven 3 的 netbeans 7。我有一个项目,其中包含许多模块和包含其他模块的模块。我的其他不依赖于内部项目的子模块可以在相同的配置下正常工作。在这种情况下,spring
我正在关注http://scikit-image.org/docs/0.11.x/auto_examples/plot_daisy.html ,但是不太清楚 desc[0],desc[1] 和 des
我有一个要求,其中有一个全局 FILE指针/描述符。其中一个函数将从该指针/描述符中读取。与FILE指针/描述符相关联的内部指针前进。此函数返回后,我想从同一个 FILE 指针/描述符中读取数据,并与
我正在编写一些描述符来封装数据验证,并想为它们编写测试。 我想知道是否应该通过在我的测试中创建描述符实例然后显式调用 __get__ 或 __set__ 方法来测试它们。 或者我应该在我的测试文件中创
我有这个 python 描述符: # Date Descriptor class DateAttribute(): def __init__(self, value=None):
分割: @font-face { font-family: 'RobotoLight'; src: url('../font/jura-demibold.eot'); src: url('../fon
我正在编写一个配置卷的存储自动化模块。我没有传递在存储 Controller 上实际创建卷所需的六个或更多参数,而是使用 __slots__ 创建了一个参数类,它被传递到 create 方法中,如下所
在我的应用程序中,我必须使用静态摄像头跟踪大学讲座中的讲师。目前我正在使用 Emgu CV 的默认 GPUHOGDescriptor,如果讲师的整个 body 都可见,它会很好用。在讲师站在 tabl
大家好,我正在使用 opencv3 和 contrib。问题是我想计算给定像素的筛选描述符(不使用检测到的关键点)。 我正在尝试用给定的像素构建一个关键点向量。但是,要创建关键点,除了像素位置外,我还
我正在使用 OpenCV 中的 HOGDescriptor 类进行对象检测。在我看来,该实现仅使用无符号渐变,因此无法区分亮->暗和暗->亮过渡,这是我真正需要的功能。有谁知道使用有符号梯度的 HOG
我目前正在使用 OpenCV 的 ORB 特征提取器,我确实注意到 ORB 描述符的存储方式很奇怪(至少对我来说是这样)(它基本上是一个 BRIEF-32,带有与我的问题无关的修改) .正如你们中的一
我想知道,在 MATLAB 中是否有针对“汽车”之类的对象而非人类的 HOG 描述符的任何实现? 但万一,只有人类,你能指导我找到那个代码,并给我一些提示,以改进代码以用于“汽车或摩托车等物体” 最佳
我正在尝试更好地理解描述符。 我不明白为什么在 foo 方法中描述符 __get__ 方法未被调用。 据我了解描述符 __get__ 当我通过点运算符访问对象属性或使用 __getattribute_
我想要一个类似于这个(无效)的结构: const uint8_t uArray[] = { uint8_t(sizeof(uArray)), 1, 2, 3 }; 并且 uArray[0] 应该是 4
我是一名优秀的程序员,十分优秀!