unused / airstream

A command line tool for streaming to airplay-devices
628 stars 30 forks source link

can't convert nil into an exact number #45

Open bert2002 opened 6 years ago

bert2002 commented 6 years ago

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:inat': 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:inload' from /usr/local/bin/airstream:22:in <main>'

Running on a Raspbian (Debian 9).

Any idea why this is happening?

Thanks

bert

unused commented 6 years ago

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 commented 5 years ago
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.