You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
EventBaseConfig::FEATURE_FDS not supported on Windows #189
@inri13666 Thanks for reporting and providing the platform info, it looks like this might in fact be a bug on Windows with ext-event.
Can you verify this by running the test suite and showing its output prior to your change and with your change applied? If this fixes the problem, a simple PR with your changes would be much appreciated!
Later I'll prepare PR for this error EventBase::__construct(): event_base_new_with_config: no event mechanism available
But right now I'm not sure how to fix on windows
1) React\Tests\EventLoop\Timer\ExtEventTimerTest::testAddPeriodicTimerCancelsItself
Failed asserting that 0.0043990612030029297 is equal to 0.0050000000000000001 or is greater than 0.0050000000000000001.
@inri13666 Thank you for your patience, I've tried to reproduce this locally but have been unable to get ext-event running on Windows so far. Can you provide some instructions on how to best reproduce your setup on a clean Windows 10 installation so I can look into providing an automated test setup for this project?
The unrelated build error regarding timers is going to be fixed via #203.
event
Event support => enabled
Sockets support => enabled
Debug support => disabled
Extra functionality support including HTTP, DNS, and RPC => enabled
OpenSSL support => disabled
Thread safety support => enabled
Extension version => 2.4.2
libevent2 headers version => 2.0.22-stable
PHP version
PHP Version => 7.1.26
System => Windows NT DESKTOP-13666 10.0 build 17763 (Windows 10) AMD64
Build Date => Jan 9 2019 21:47:23
Compiler => MSVC14 (Visual C++ 2015)
Architecture => x64
Configure Command => cscript /nologo configure.js "--enable-snapshot-build" "--enable-debug-pack" "--with-pdo-oci=c:\php-snap-build\deps_aux\oracle\x64\instantclient_12_1\sdk,shared" "--with-oci8-12c=c:\php-snap-build\deps_aux\oracle\x64\instantclient_12_1\sdk,shared" "--enable-object-out-dir=../obj/" "--enable-com-dotnet=shared" "--with-mcrypt=static" "--without-analyzer" "--with-pgo"
Server API => Command Line Interface
Virtual Directory Support => enabled
Configuration File (php.ini) Path => C:\Windows
Scan this dir for additional .ini files => (none)
Additional .ini files parsed => (none)
PHP API => 20160303
PHP Extension => 20160303
Zend Extension => 320160303
Zend Extension Build => API320160303,TS,VC14
PHP Extension Build => API20160303,TS,VC14
@inri13666 Thank you, I've been able to reproduce this locally with the help of @sitedyno (ext-event needs to be loaded afterext-sockets) and have prepared a PR to add an automated test on Windows and fix this issue. Expect this PR soon, this is currently waiting for #203/#204 first 👍
Activity
clue commentedon Apr 17, 2019
@inri13666 Thanks for reporting and providing the platform info, it looks like this might in fact be a bug on Windows with
ext-event.Can you verify this by running the test suite and showing its output prior to your change and with your change applied? If this fixes the problem, a simple PR with your changes would be much appreciated!
inri13666 commentedon Apr 18, 2019
Actual
master's phpunit results on Windows platformphpunit-master.txt
If I commented out mentioned line
phpunit-patch.txt
Later I'll prepare PR for this error
EventBase::__construct(): event_base_new_with_config: no event mechanism availableBut right now I'm not sure how to fix on windows
It would be nice to have test builds for windows hosts for example here https://www.appveyor.com/
It's Free for open-source projects https://www.appveyor.com/pricing/
Library issue https://bitbucket.org/osmanov/pecl-event/issues/53/eventbaseconfig-feature_fds-not-supported
clue commentedon Dec 23, 2019
@inri13666 Thank you for your patience, I've tried to reproduce this locally but have been unable to get
ext-eventrunning on Windows so far. Can you provide some instructions on how to best reproduce your setup on a clean Windows 10 installation so I can look into providing an automated test setup for this project?The unrelated build error regarding timers is going to be fixed via #203.
inri13666 commentedon Dec 24, 2019
The DLL can be downloaded here https://pecl.php.net/package/event
I have tested it with following extension version
PHP version
Full info here https://gist.github.com/inri13666/1e8d4e60ede974b97f86ed64a1fdb0e1
clue commentedon Dec 24, 2019
@inri13666 Thank you, I've been able to reproduce this locally with the help of @sitedyno (
ext-eventneeds to be loaded afterext-sockets) and have prepared a PR to add an automated test on Windows and fix this issue. Expect this PR soon, this is currently waiting for #203/#204 first 👍