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

作者应该是用Mac开发的吧,Win下develop分支也是无法正常启动的 #7

Open
RedStarGroup opened this issue Feb 7, 2021 · 0 comments

Comments

@RedStarGroup
Copy link

D:\phpProjects\chatbot>php demo/console.php
[info] self binding.......
[info] Commune\Chatbot\Framework\ChatApp start boot chatbot app
[info] run bootstrapper: Commune\Chatbot\Framework\Bootstrap\WelcomeToUserChatbot
[info]
[info] @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[info]
[info] Boot Commune Chatbot
[info]
[info] @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[info]
[info] run bootstrapper: Commune\Chatbot\Framework\Bootstrap\LoadConfiguration
[debug] register config entry, name: Commune\Chatbot\App\Platform\ConsoleConfig
[info] run bootstrapper: Commune\Chatbot\Framework\Bootstrap\RegisterProviders
[debug] load base providers :
[debug] register base process service provider Commune\Chatbot\Framework\Providers\ExpHandlerServiceProvider
[debug] register base process service provider Commune\Chatbot\Framework\Providers\OptionRepoServiceProvider
[debug] register base process service provider Commune\Chatbot\Framework\Providers\TranslatorServiceProvider
[debug] register base process service provider Commune\Chatbot\Framework\Providers\ReplyRendererServiceProvider
[debug] register base process service provider Commune\Chatbot\Framework\Providers\LoggerServiceProvider
[debug] register base process service provider Commune\Chatbot\Framework\Providers\EventServiceProvider
[debug] register base process service provider Commune\Chatbot\Framework\Providers\SoundLikeServiceProvider
[debug] register base conversation service provider Commune\Chatbot\Framework\Providers\ConversationalServiceProvider
[debug] register base process service provider Commune\Chatbot\OOHost\HostProcessServiceProvider
[debug] register base conversation service provider Commune\Chatbot\OOHost\HostConversationalServiceProvider
[debug] load process providers :
[debug] load process provider Commune\Chatbot\App\Platform\ReactorStdio\RSServerProvider
[debug] load conversation providers :
[debug] load conversation provider Commune\Chatbot\App\Drivers\Demo\CacheServiceProvider
[debug] load conversation provider Commune\Chatbot\App\Drivers\Demo\SessionServiceProvider
[info] run bootstrapper: Commune\Chatbot\Framework\Bootstrap\LoadComponents
[debug] registering component Commune\Components\Demo\DemoComponent
[debug] registering component Commune\Components\SimpleChat\SimpleChatComponent
[debug] registering component Commune\Components\Story\StoryComponent
[debug] registering component Commune\Components\Rasa\RasaComponent
[debug] registering component Commune\Components\SimpleWiki\SimpleWikiComponent
[debug] registering component Commune\Components\UnheardLike\UnheardLikeComponent
[debug] registering component Commune\Components\Predefined\PredefinedComponent
[debug] registering component Commune\Chatbot\OOHost\NLU\NLUComponent
[debug] component Commune\Components\UnheardLike\UnheardLikeComponent depended by Commune\Components\Demo\DemoComponent has been register
[info] run bootstrapper: Commune\Chatbot\Framework\Bootstrap\ContractsValidator
[debug] check worker process contracts has been bound correctly
[debug] check conversation contracts has been bound correctly
[info] boot base container: Commune\Container\IlluminateAdapter
[info] Commune\Chatbot\Framework\ChatApp booting chatbot app
[debug] boot provider Commune\Chatbot\Framework\Component\Providers\LoadOptionRepoCategoryMeta
[debug] boot provider Commune\Chatbot\Framework\Component\Providers\LoadOptionRepoCategoryMeta
[debug] boot provider Commune\Chatbot\Framework\Component\Providers\LoadOptionRepoCategoryMeta
[debug] boot provider Commune\Chatbot\Framework\Component\Providers\LoadOptionRepoCategoryMeta
[debug] boot provider Commune\Chatbot\Framework\Component\Providers\LoadOptionRepoCategoryMeta
[debug] boot provider Commune\Chatbot\Framework\Component\Providers\LoadOptionRepoCategoryMeta
[debug] boot provider Commune\Chatbot\Framework\Component\Providers\LoadOptionRepoCategoryMeta
[debug] boot provider Commune\Chatbot\Framework\Providers\ExpHandlerServiceProvider
[debug] boot provider Commune\Chatbot\Framework\Providers\OptionRepoServiceProvider
[debug] boot provider Commune\Chatbot\Framework\Providers\TranslatorServiceProvider
[debug] register trans resource, locale: zh, domain:messages, path:D:\phpProjects\chatbot\demo\configs/../../src/Chatbot/App/trans\zh\messages.php
[debug] boot provider Commune\Chatbot\Framework\Providers\ReplyRendererServiceProvider
[debug] boot provider Commune\Chatbot\Framework\Providers\LoggerServiceProvider
[debug] boot provider Commune\Chatbot\Framework\Providers\EventServiceProvider
[debug] boot provider Commune\Chatbot\Framework\Providers\SoundLikeServiceProvider
[debug] boot provider Commune\Chatbot\OOHost\HostProcessServiceProvider
[warning] no self register class found,namespace is Commune\Demo,directory is D:\phpProjects\chatbot\demo\configs/../src/
[debug] boot provider Commune\Chatbot\App\Platform\ReactorStdio\RSServerProvider
[debug] boot provider Commune\Chatbot\Framework\Component\Providers\LoadPsr4SelfRegister
[debug] register context Commune\Components\Demo\Cases\Drink\Memories\OrderMem
[debug] register context Commune\Components\Demo\Cases\Drink\OrderJuiceInt
[debug] register context Commune\Components\Demo\Cases\Maze\Intents\LocationInt
[debug] register context Commune\Components\Demo\Cases\Maze\Intents\MazeBackInt
[debug] register context Commune\Components\Demo\Cases\Maze\Intents\MazeFrontInt
[debug] register context Commune\Components\Demo\Cases\Maze\Intents\MazeLeftInt
[debug] register context Commune\Components\Demo\Cases\Maze\Intents\MazeRightInt
[debug] register context Commune\Components\Demo\Cases\Maze\Intents\TowardsInt
[debug] register context Commune\Components\Demo\Cases\Maze\MazeInt
[debug] register context Commune\Components\Demo\Cases\Maze\Memories\UserPlayHistory
[debug] register context Commune\Components\Demo\Cases\Maze\Tasks\PlayMaze
[debug] register context Commune\Components\Demo\Cases\Questionnaire\ReadPersonality
[debug] register context Commune\Components\Demo\Cases\Weather\TellWeatherInt
[debug] register context Commune\Components\Demo\Contexts\DemoHome
[debug] register context Commune\Components\Demo\Contexts\DevTools
[debug] register context Commune\Components\Demo\Contexts\Features\SubDialogCase
[debug] register context Commune\Components\Demo\Contexts\FeatureTest
[debug] register context Commune\Components\Demo\Contexts\GameTestCases
[debug] register context Commune\Components\Demo\Contexts\NLTestCases
[debug] register context Commune\Components\Demo\Contexts\Testing\GcTask
[debug] register context Commune\Components\Demo\Contexts\WelcomeUser
[debug] register context Commune\Components\Demo\Memories\Sandbox
[debug] boot provider Commune\Chatbot\Framework\Component\Providers\LoadTranslationConfig
[debug] register trans resource, locale: zh, domain:messages, path:D:\phpProjects\chatbot\src\Components\Demo\resources\langs\zh\messages.php
[debug] boot provider Commune\Chatbot\Framework\Component\Providers\RegisterCorpusOptionFromYaml
[info] register corpus option Commune\Chatbot\OOHost\NLU\Options\IntentCorpusOption from D:\phpProjects\chatbot\src\Components\Demo\resources\nlu\intents.yml to corpus
[debug] boot provider Commune\Chatbot\Framework\Component\Providers\RegisterCorpusOptionFromYaml
[info] register corpus option Commune\Chatbot\OOHost\NLU\Options\EntityDictOption from D:\phpProjects\chatbot\src\Components\Demo\resources\nlu\entities.yml to corpus
[debug] boot provider Commune\Chatbot\Framework\Component\Providers\RegisterCorpusOptionFromYaml
[info] register corpus option Commune\Chatbot\OOHost\NLU\Options\SynonymOption from D:\phpProjects\chatbot\src\Components\Demo\resources\nlu\synonyms.yml to corpus
[debug] boot provider Commune\Components\SimpleChat\Providers\RegisterSimpleChat
[debug] simple chat register placeHolderIntent [attitudes.diss]
[debug] simple chat register examples for attitudes.diss
[debug] simple chat register placeHolderIntent [attitudes.laugh]
[debug] simple chat register examples for attitudes.laugh
[debug] simple chat register placeHolderIntent [attitudes.greet]
[debug] simple chat register examples for attitudes.greet
[debug] simple chat register placeHolderIntent [attitudes.thanks]
[debug] simple chat register examples for attitudes.thanks
[debug] simple chat register placeHolderIntent [attitudes.complement]
[debug] simple chat register examples for attitudes.complement
[debug] simple chat register placeHolderIntent [attitudes.stroll]
[debug] simple chat register placeHolderIntent [introduce.whoareyou]
[debug] simple chat register examples for introduce.whoareyou
[debug] simple chat register placeHolderIntent [introduce.contact]
[debug] simple chat register examples for introduce.contact
[debug] simple chat register placeHolderIntent [mood.happy]
[debug] simple chat register examples for mood.happy
[debug] simple chat register placeHolderIntent [mood.sad]
[debug] simple chat register examples for mood.sad
[debug] simple chat register placeHolderIntent [ask.talk]
[debug] simple chat register examples for ask.talk
[debug] simple chat register placeHolderIntent [ask.joke]
[debug] simple chat register examples for ask.joke
[debug] boot provider Commune\Chatbot\Framework\Component\Providers\LoadPsr4SelfRegister
[warning] no self register class found,namespace is Commune\Components\Story\Intents,directory is D:\phpProjects\chatbot\src\Components\Story/Intents/
[debug] boot provider Commune\Chatbot\Framework\Component\Providers\LoadTranslationConfig
[debug] register trans resource, locale: zh, domain:messages, path:D:\phpProjects\chatbot\src\Components\Story/resources/langs\zh\messages.php
[debug] boot provider Commune\Chatbot\Framework\Component\Providers\RegisterCorpusOptionFromYaml
[info] register corpus option Commune\Chatbot\OOHost\NLU\Options\IntentCorpusOption from D:\phpProjects\chatbot\src\Components\Story/resources/nlu/intents.yml to corpus
[debug] boot provider Commune\Components\Story\Providers\StoryServiceProvider
[debug] boot provider Commune\Chatbot\Framework\Component\Providers\LoadTranslationConfig
[debug] register trans resource, locale: zh, domain:messages, path:D:\phpProjects\chatbot\src\Components\SimpleWiki/resources/trans\zh\messages.php
[debug] boot provider Commune\Components\SimpleWiki\Providers\SimpleWikiServiceProvider
[debug] boot provider Commune\Chatbot\Framework\Component\Providers\LoadPsr4SelfRegister
[debug] register context Commune\Components\UnheardLike\Contexts\EpisodeTask
[debug] register context Commune\Components\UnheardLike\Contexts\Memories\EpisodeMem
[debug] boot provider Commune\Chatbot\Framework\Component\Providers\LoadTranslationConfig
[debug] register trans resource, locale: zh, domain:messages, path:D:\phpProjects\chatbot\src\Components\UnheardLike\resources\trans\zh\messages.php
[debug] boot provider Commune\Components\UnheardLike\Providers\UnheardLikeServiceProvider
[debug] boot provider Commune\Chatbot\Framework\Component\Providers\LoadPsr4SelfRegister
[debug] register context Commune\Components\Predefined\Intents\Attitudes\AffirmInt
[debug] register context Commune\Components\Predefined\Intents\Attitudes\AgreeInt
[debug] register context Commune\Components\Predefined\Intents\Attitudes\ComplementInt
[debug] register context Commune\Components\Predefined\Intents\Attitudes\DenyInt
[debug] register context Commune\Components\Predefined\Intents\Attitudes\DissInt
[debug] register context Commune\Components\Predefined\Intents\Attitudes\DontInt
[debug] register context Commune\Components\Predefined\Intents\Attitudes\GreetInt
[debug] register context Commune\Components\Predefined\Intents\Attitudes\ThanksInt
[debug] register context Commune\Components\Predefined\Intents\Dialogue\HelpInt
[debug] register context Commune\Components\Predefined\Intents\Dialogue\OrdinalInt
[debug] register context Commune\Components\Predefined\Intents\Dialogue\RandomInt
[debug] register context Commune\Components\Predefined\Intents\Loop\BreakInt
[debug] register context Commune\Components\Predefined\Intents\Loop\NextInt
[debug] register context Commune\Components\Predefined\Intents\Loop\PreviousInt
[debug] register context Commune\Components\Predefined\Intents\Loop\RewindInt
[debug] register context Commune\Components\Predefined\Intents\Navigation\BackwardInt
[debug] register context Commune\Components\Predefined\Intents\Navigation\CancelInt
[debug] register context Commune\Components\Predefined\Intents\Navigation\HomeInt
[debug] register context Commune\Components\Predefined\Intents\Navigation\QuitInt
[debug] register context Commune\Components\Predefined\Intents\Navigation\RepeatInt
[debug] register context Commune\Components\Predefined\Intents\Navigation\RestartInt
[debug] register context Commune\Components\Predefined\Memories\UserInfoMem
[debug] boot provider Commune\Chatbot\Framework\Component\Providers\RegisterCorpusOptionFromYaml
[info] register corpus option Commune\Chatbot\OOHost\NLU\Options\IntentCorpusOption from D:\phpProjects\chatbot\src\Components\Predefined/resources/intents.yml to corpus
[debug] boot provider Commune\Chatbot\Framework\Component\Providers\RegisterCorpusOptionFromYaml
[info] register corpus option Commune\Chatbot\OOHost\NLU\Options\EntityDictOption from D:\phpProjects\chatbot\src\Components\Predefined/resources/entities.yml to corpus
[debug] boot provider Commune\Chatbot\OOHost\NLU\Providers\CorpusServiceProvider
[debug] boot provider Commune\Chatbot\Framework\Component\Providers\LoadPsr4SelfRegister
[debug] register context Commune\Chatbot\OOHost\NLU\Contexts\CorpusManagerTask
[debug] register context Commune\Chatbot\OOHost\NLU\Contexts\IntCorpusEditor
[debug] register context Commune\Chatbot\OOHost\NLU\Contexts\IntExampleEditor
[debug] register context Commune\Chatbot\OOHost\NLU\Contexts\NLUMatcherTask
[info] Commune\Chatbot\Framework\ChatApp chatbot app booted

Fatal error: Uncaught RuntimeException: Unable to set stream resource to non-blocking mode in D:\phpProjects\chatbot\vendor\react\stream\src\ReadableResourceStream.php:56
Stack trace:
#0 D:\phpProjects\chatbot\vendor\clue\stdio-react\src\Stdio.php(547): React\Stream\ReadableResourceStream->__construct(Resource id #1, Object(React\EventLoop\StreamSelectLoop))
#1 D:\phpProjects\chatbot\vendor\clue\stdio-react\src\Stdio.php(28): Clue\React\Stdio\Stdio->createStdin(Object(React\EventLoop\StreamSelectLoop))
#2 D:\phpProjects\chatbot\src\Chatbot\App\Platform\ReactorStdio\StdioServer.php(44): Clue\React\Stdio\Stdio->__construct(Object(React\EventLoop\StreamSelectLoop))
#3 [internal function]: Commune\Chatbot\App\Platform\ReactorStdio\StdioServer->__construct(Object(Commune\Chatbot\Framework\ChatApp))
#4 D:\phpProjects\chatbot\vendor\illuminate\container\Container.php(843): ReflectionClass->newInstanceArgs(Array)
#5 D:\phpProjects\chatbot\vendor\illuminate\container\Container.php(681): Illuminate\Container\Container->build('Commu in D:\phpProjects\chatbot\vendor\react\stream\src\ReadableResourceStream.php on line 56

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

1 participant