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

can't convert nil into an exact number #45

Open
bert2002 opened this issue Sep 4, 2018 · 2 comments
Open

can't convert nil into an exact number #45

bert2002 opened this issue Sep 4, 2018 · 2 comments

Comments

@bert2002
Copy link

bert2002 commented Sep 4, 2018

Hi,
trying to run the latest gem module, but running in following problem:

# airstream -o 192.168.xxx.xxx $video loading can take a few seconds... => press [q] to exit airstream /var/lib/gems/2.3.0/gems/airstream-0.4.10/bin/airstream:101:in at': can't convert nil into an exact number (TypeError) | 0%
from /var/lib/gems/2.3.0/gems/airstream-0.4.10/bin/airstream:101:in <top (required)>' from /usr/local/bin/airstream:22:in load'
from /usr/local/bin/airstream:22:in <main>'

Running on a Raspbian (Debian 9).

Any idea why this is happening?

Thanks

bert

@unused
Copy link
Owner

unused commented Sep 9, 2018

Ahoi, I'm sorry that the error is not fetched and the message is misleading ;) It fails when it comes to read the elapsed time as the video did not get received properly. Unfortunately there are several reasons why this could fail. As described in the README did you check any firewall and network settings are right and your raspberry can offer the file on port 7000?

@bag-man
Copy link

bag-man commented Jun 15, 2019

loading can take a few seconds...
=> press [q] to exit air, stream
Traceback (most recent call last):                                                                                                                                                                                                                                            | 0%
        3: from /home/owg1/.gem/ruby/2.6.0/bin/airstream:23:in `<main>'
        2: from /home/owg1/.gem/ruby/2.6.0/bin/airstream:23:in `load'
        1: from /root/.gem/ruby/2.6.0/gems/airstream-0.4.10/bin/airstream:101:in `<top (required)>'
/root/.gem/ruby/2.6.0/gems/airstream-0.4.10/bin/airstream:101:in `at': can't convert nil into an exact number (TypeError)

I also get this issue, and as far as I can see the port is open.

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

3 participants