reactphp / filesystem

Evented filesystem access.
MIT License
135 stars 40 forks source link

Tail example not working #82

Closed GeertHauwaerts closed 4 years ago

GeertHauwaerts commented 4 years ago

Hey all,

Even when using the master version (which has #56 included), the tail example does not work. The error is exactly as mentioned in #81.

PHP Notice:  Undefined offset: 0 in /root/chatlogs/vendor/react/filesystem/src/ChildProcess/Adapter.php on line 226
PHP Notice:  Undefined offset: 0 in /root/chatlogs/vendor/react/filesystem/src/ChildProcess/Adapter.php on line 226
PHP Notice:  Undefined offset: 0 in /root/chatlogs/vendor/react/filesystem/src/ChildProcess/Adapter.php on line 226
PHP Notice:  Undefined offset: 0 in /root/chatlogs/vendor/react/filesystem/src/ChildProcess/Adapter.php on line 226
PHP Notice:  Undefined offset: 0 in /root/chatlogs/vendor/react/filesystem/src/ChildProcess/Adapter.php on line 226

I checked vendor/react/filesystem/src/ChildProcess/Adapter.php and the open() function is identical to #56, so something else must be causing this specfic issue.

ghost commented 4 years ago

The example is not correct, see #83.

GeertHauwaerts commented 4 years ago

Yep, that one works; thanks :)