text1
stringlengths
0
536k
text2
stringlengths
0
536k
label
int64
0
1
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://camo.githubusercontent.com/5406dca5973f3e50108437dcd9c758b331a6b866f8bb3aee39a5d3d6026a9627/687474703a2f2f692e696d6775722e636f6d2f5a66564371646f2e676966"><img src="https://camo.githubusercontent.com/5406dca5973f3e50108437dcd9c758b331a6b866f8bb3aee39a5d3d6026a9627/687474703a2f2f692e696d6775722e636f6d2f5a66564371646f2e676966" alt="screencap of bug reproduction" data-animated-image="" data-canonical-src="http://i.imgur.com/ZfVCqdo.gif" style="max-width: 100%;"></a></p> <p dir="auto">Atom version: 0.123.0<br> Platform: OSX v10.9.4</p> <h3 dir="auto">Reproduce:</h3> <ol dir="auto"> <li>Open new atom window with single pane, "pane1"</li> <li>Open new pane, "pane2" (<code class="notranslate">cmd</code>+<code class="notranslate">k</code>+<code class="notranslate">arrow</code>)</li> <li>Ensure pane2 is empty</li> <li>Focus on pane1 &amp; open Settings (<code class="notranslate">cmd</code>+<code class="notranslate">,</code>)</li> <li>Drag Settings tab to empty pane2</li> </ol> <p dir="auto">As per screencap above, this bug only presents when the target pane is empty. Dragging to a pane which has an editor window open renders the Settings page normally.</p>
<p dir="auto">Here's another kind of crash I've seen a lot of.</p> <p dir="auto">/cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/zcbenz/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/zcbenz">@zcbenz</a></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Process: Atom [33683] Path: /Applications/Atom.app/Contents/MacOS/Atom Identifier: com.github.atom Version: 0.3 (0.3) Code Type: X86 (Native) Parent Process: launchd [116] User ID: 501 Date/Time: 2013-03-20 15:17:05.208 -0600 OS Version: Mac OS X 10.8.2 (12C3012) Report Version: 10 Crashed Thread: 0 CrBrowserMain Dispatch queue: com.apple.main-thread Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: 0x0000000000000002, 0x0000000000000000 Thread 0 Crashed:: CrBrowserMain Dispatch queue: com.apple.main-thread 0 libcef.dylib 0x0102ebbe base::debug::BreakDebugger() + 30 1 libcef.dylib 0x01085364 logging::LogMessage::~LogMessage() + 1156 2 libcef.dylib 0x01083a1b logging::LogMessage::~LogMessage() + 43 3 libcef.dylib 0x0181e30b net::ProxyConfigServiceMac::~ProxyConfigServiceMac() + 283 4 libcef.dylib 0x0181e1cb net::ProxyConfigServiceMac::~ProxyConfigServiceMac() + 43 5 libcef.dylib 0x0181e16e net::ProxyConfigServiceMac::~ProxyConfigServiceMac() + 46 6 libcef.dylib 0x026c32b4 base::DefaultDeleter&lt;net::ProxyConfigService&gt;::operator()(net::ProxyConfigService*) const + 68 7 libcef.dylib 0x026c3246 base::internal::scoped_ptr_impl&lt;net::ProxyConfigService, base::DefaultDeleter&lt;net::ProxyConfigService&gt; &gt;::~scoped_ptr_impl() + 70 8 libcef.dylib 0x026c31db base::internal::scoped_ptr_impl&lt;net::ProxyConfigService, base::DefaultDeleter&lt;net::ProxyConfigService&gt; &gt;::~scoped_ptr_impl() + 43 9 libcef.dylib 0x026c318b scoped_ptr&lt;net::ProxyConfigService, base::DefaultDeleter&lt;net::ProxyConfigService&gt; &gt;::~scoped_ptr() + 43 10 libcef.dylib 0x026c09db scoped_ptr&lt;net::ProxyConfigService, base::DefaultDeleter&lt;net::ProxyConfigService&gt; &gt;::~scoped_ptr() + 43 11 libcef.dylib 0x0281bf1f ChromeProxyConfigService::~ChromeProxyConfigService() + 191 12 libcef.dylib 0x0281bddb ChromeProxyConfigService::~ChromeProxyConfigService() + 43 13 libcef.dylib 0x0281bd7e ChromeProxyConfigService::~ChromeProxyConfigService() + 46 14 libcef.dylib 0x026c32b4 base::DefaultDeleter&lt;net::ProxyConfigService&gt;::operator()(net::ProxyConfigService*) const + 68 15 libcef.dylib 0x026c3246 base::internal::scoped_ptr_impl&lt;net::ProxyConfigService, base::DefaultDeleter&lt;net::ProxyConfigService&gt; &gt;::~scoped_ptr_impl() + 70 16 libcef.dylib 0x026c31db base::internal::scoped_ptr_impl&lt;net::ProxyConfigService, base::DefaultDeleter&lt;net::ProxyConfigService&gt; &gt;::~scoped_ptr_impl() + 43 17 libcef.dylib 0x026c318b scoped_ptr&lt;net::ProxyConfigService, base::DefaultDeleter&lt;net::ProxyConfigService&gt; &gt;::~scoped_ptr() + 43 18 libcef.dylib 0x026c09db scoped_ptr&lt;net::ProxyConfigService, base::DefaultDeleter&lt;net::ProxyConfigService&gt; &gt;::~scoped_ptr() + 43 19 libcef.dylib 0x0269b614 CefBrowserMainParts::~CefBrowserMainParts() + 100 20 libcef.dylib 0x0269b58b CefBrowserMainParts::~CefBrowserMainParts() + 43 21 libcef.dylib 0x0269b52e CefBrowserMainParts::~CefBrowserMainParts() + 46 22 libcef.dylib 0x0024cd14 base::DefaultDeleter&lt;content::BrowserMainParts&gt;::operator()(content::BrowserMainParts*) const + 68 23 libcef.dylib 0x0024fd76 base::internal::scoped_ptr_impl&lt;content::BrowserMainParts, base::DefaultDeleter&lt;content::BrowserMainParts&gt; &gt;::~scoped_ptr_impl() + 70 24 libcef.dylib 0x0024fd0b base::internal::scoped_ptr_impl&lt;content::BrowserMainParts, base::DefaultDeleter&lt;content::BrowserMainParts&gt; &gt;::~scoped_ptr_impl() + 43 25 libcef.dylib 0x0024fcbb scoped_ptr&lt;content::BrowserMainParts, base::DefaultDeleter&lt;content::BrowserMainParts&gt; &gt;::~scoped_ptr() + 43 26 libcef.dylib 0x0024992b scoped_ptr&lt;content::BrowserMainParts, base::DefaultDeleter&lt;content::BrowserMainParts&gt; &gt;::~scoped_ptr() + 43 27 libcef.dylib 0x00246f29 content::BrowserMainLoop::~BrowserMainLoop() + 473 28 libcef.dylib 0x00246d2b content::BrowserMainLoop::~BrowserMainLoop() + 43 29 libcef.dylib 0x00246cce content::BrowserMainLoop::~BrowserMainLoop() + 46 30 libcef.dylib 0x00251214 base::DefaultDeleter&lt;content::BrowserMainLoop&gt;::operator()(content::BrowserMainLoop*) const + 68 31 libcef.dylib 0x0025113c base::internal::scoped_ptr_impl&lt;content::BrowserMainLoop, base::DefaultDeleter&lt;content::BrowserMainLoop&gt; &gt;::reset(content::BrowserMainLoop*) + 92 32 libcef.dylib 0x00250ef9 scoped_ptr&lt;content::BrowserMainLoop, base::DefaultDeleter&lt;content::BrowserMainLoop&gt; &gt;::reset(content::BrowserMainLoop*) + 57 33 libcef.dylib 0x00250da3 content::BrowserMainRunnerImpl::Shutdown() + 547 34 libcef.dylib 0x02763111 CefMainDelegate::ShutdownBrowser() + 97 35 libcef.dylib 0x026befbd CefContext::FinalizeShutdown() + 93 36 libcef.dylib 0x026be1e4 CefContext::Shutdown() + 676 37 libcef.dylib 0x026bde71 CefShutdown() + 561 38 libcef.dylib 0x00145bd8 cef_shutdown + 40 39 com.github.atom.framework 0x00072a89 CefShutdown() + 18 40 com.github.atom.framework 0x00064801 -[AtomApplication applicationWillTerminate:] + 240 41 com.apple.Foundation 0x9610fc52 __57-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_0 + 49 42 com.apple.CoreFoundation 0x93952e01 ___CFXNotificationPost_block_invoke_0 + 257 43 com.apple.CoreFoundation 0x9389e43a _CFXNotificationPost + 2794 44 com.apple.Foundation 0x960f8788 -[NSNotificationCenter postNotificationName:object:userInfo:] + 92 45 com.apple.Foundation 0x96108527 -[NSNotificationCenter postNotificationName:object:] + 55 46 com.apple.AppKit 0x9968fe19 -[NSApplication terminate:] + 2420 47 libobjc.A.dylib 0x97c8c5d3 -[NSObject performSelector:withObject:] + 70 48 com.apple.AppKit 0x99552bd2 -[NSApplication sendAction:to:from:] + 436 49 com.apple.AppKit 0x9968f3dc -[NSMenuItem _corePerformAction] + 529 50 com.apple.AppKit 0x9968f06b -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 163 51 com.apple.AppKit 0x9968e6f4 -[NSMenu _performActionWithHighlightingForItemAtIndex:sendAccessibilityNotification:] + 79 52 com.apple.AppKit 0x9968e6a0 -[NSMenu _performActionWithHighlightingForItemAtIndex:] + 48 53 com.apple.AppKit 0x9968dba5 -[NSMenu performKeyEquivalent:] + 306 54 com.github.atom.framework 0x00064880 -[AtomApplication sendEvent:] + 72 55 com.apple.AppKit 0x9945c72c -[NSApplication run] + 951 56 libcef.dylib 0x00ffd0cb base::MessagePumpNSApplication::DoRun(base::MessagePump::Delegate*) + 427 57 libcef.dylib 0x00ffbb38 base::MessagePumpCFRunLoopBase::Run(base::MessagePump::Delegate*) + 104 58 libcef.dylib 0x0109f712 MessageLoop::RunInternal() + 290 59 libcef.dylib 0x0109f5cb MessageLoop::RunHandler() + 43 60 libcef.dylib 0x01102348 base::RunLoop::Run() + 72 61 libcef.dylib 0x0109e9c6 MessageLoop::Run() + 54 62 libcef.dylib 0x0269fbcb CefBrowserMessageLoop::RunMessageLoop() + 43 63 libcef.dylib 0x026be682 CefRunMessageLoop() + 546 64 libcef.dylib 0x00148d3f cef_run_message_loop + 31 65 com.github.atom.framework 0x0006c8e6 AtomMain(int, char**) + 470 66 libdyld.dylib 0x932e1725 start + 1 Thread 1:: Dispatch queue: com.apple.root.default-priority 0 libsystem_kernel.dylib 0x9384eb3e __recvfrom + 10 1 com.github.atom.framework 0x0006d1c3 __listenForPathToOpen_block_invoke_0 + 465 2 libdispatch.dylib 0x9a040f8f _dispatch_call_block_and_release + 15 3 libdispatch.dylib 0x9a03df02 _dispatch_worker_thread2 + 285 4 libsystem_c.dylib 0x987e1e12 _pthread_wqthread + 441 5 libsystem_c.dylib 0x987c9cca start_wqthread + 30 Thread 2:: Dispatch queue: com.apple.libdispatch-manager 0 libsystem_kernel.dylib 0x9384f9ae kevent + 10 1 libdispatch.dylib 0x9a03fc71 _dispatch_mgr_invoke + 993 2 libdispatch.dylib 0x9a03f7a9 _dispatch_mgr_thread + 53 Thread 3:: NetworkConfigWatcher 0 libsystem_kernel.dylib 0x9384c7d2 mach_msg_trap + 10 1 libsystem_kernel.dylib 0x9384bcb0 mach_msg + 68 2 com.apple.CoreFoundation 0x93887599 __CFRunLoopServiceMachPort + 185 3 com.apple.CoreFoundation 0x9388cf7f __CFRunLoopRun + 1247 4 com.apple.CoreFoundation 0x9388c63a CFRunLoopRunSpecific + 378 5 com.apple.CoreFoundation 0x9388c4ab CFRunLoopRunInMode + 123 6 com.apple.Foundation 0x9614f946 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 278 7 libcef.dylib 0x00ffc939 base::MessagePumpNSRunLoop::DoRun(base::MessagePump::Delegate*) + 169 8 libcef.dylib 0x00ffbb38 base::MessagePumpCFRunLoopBase::Run(base::MessagePump::Delegate*) + 104 9 libcef.dylib 0x0109f712 MessageLoop::RunInternal() + 290 10 libcef.dylib 0x0109f5cb MessageLoop::RunHandler() + 43 11 libcef.dylib 0x01102348 base::RunLoop::Run() + 72 12 libcef.dylib 0x0109e9c6 MessageLoop::Run() + 54 13 libcef.dylib 0x01177f22 base::Thread::Run(MessageLoop*) + 50 14 libcef.dylib 0x011780d3 base::Thread::ThreadMain() + 275 15 libcef.dylib 0x0115f295 base::(anonymous namespace)::ThreadFunc(void*) + 133 16 libsystem_c.dylib 0x987df557 _pthread_start + 344 17 libsystem_c.dylib 0x987c9cee thread_start + 34 Thread 4:: DnsConfigService 0 libsystem_kernel.dylib 0x9384f9ae kevent + 10 1 libcef.dylib 0x02f98ae2 kq_dispatch + 178 2 libcef.dylib 0x02f92985 event_base_loop + 405 3 libcef.dylib 0x00ff6490 base::MessagePumpLibevent::Run(base::MessagePump::Delegate*) + 816 4 libcef.dylib 0x0109f712 MessageLoop::RunInternal() + 290 5 libcef.dylib 0x0109f5cb MessageLoop::RunHandler() + 43 6 libcef.dylib 0x01102348 base::RunLoop::Run() + 72 7 libcef.dylib 0x0109e9c6 MessageLoop::Run() + 54 8 libcef.dylib 0x01177f22 base::Thread::Run(MessageLoop*) + 50 9 libcef.dylib 0x011780d3 base::Thread::ThreadMain() + 275 10 libcef.dylib 0x0115f295 base::(anonymous namespace)::ThreadFunc(void*) + 133 11 libsystem_c.dylib 0x987df557 _pthread_start + 344 12 libsystem_c.dylib 0x987c9cee thread_start + 34 Thread 5:: WorkerPool/17683 0 libsystem_kernel.dylib 0x9384e8e2 __psynch_cvwait + 10 1 libsystem_c.dylib 0x987e4220 _pthread_cond_wait + 833 2 libsystem_c.dylib 0x9886a0ec pthread_cond_timedwait$UNIX2003 + 70 3 libcef.dylib 0x0113eb94 base::ConditionVariable::TimedWait(base::TimeDelta const&amp;) + 532 4 libcef.dylib 0x01181df9 base::PosixDynamicThreadPool::WaitForTask() + 409 5 libcef.dylib 0x01182589 base::(anonymous namespace)::WorkerThread::ThreadMain() + 217 6 libcef.dylib 0x0115f295 base::(anonymous namespace)::ThreadFunc(void*) + 133 7 libsystem_c.dylib 0x987df557 _pthread_start + 344 8 libsystem_c.dylib 0x987c9cee thread_start + 34 Thread 6:: WorkerPool/20995 0 libsystem_kernel.dylib 0x9384e8e2 __psynch_cvwait + 10 1 libsystem_c.dylib 0x987e4220 _pthread_cond_wait + 833 2 libsystem_c.dylib 0x9886a0ec pthread_cond_timedwait$UNIX2003 + 70 3 libcef.dylib 0x0113eb94 base::ConditionVariable::TimedWait(base::TimeDelta const&amp;) + 532 4 libcef.dylib 0x01181df9 base::PosixDynamicThreadPool::WaitForTask() + 409 5 libcef.dylib 0x01182589 base::(anonymous namespace)::WorkerThread::ThreadMain() + 217 6 libcef.dylib 0x0115f295 base::(anonymous namespace)::ThreadFunc(void*) + 133 7 libsystem_c.dylib 0x987df557 _pthread_start + 344 8 libsystem_c.dylib 0x987c9cee thread_start + 34 Thread 7:: AudioThread 0 libsystem_kernel.dylib 0x9384c7d2 mach_msg_trap + 10 1 libsystem_kernel.dylib 0x9384bcb0 mach_msg + 68 2 com.apple.CoreFoundation 0x93887599 __CFRunLoopServiceMachPort + 185 3 com.apple.CoreFoundation 0x9388cf7f __CFRunLoopRun + 1247 4 com.apple.CoreFoundation 0x9388c63a CFRunLoopRunSpecific + 378 5 com.apple.CoreFoundation 0x9388c4ab CFRunLoopRunInMode + 123 6 com.apple.Foundation 0x9614f946 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 278 7 libcef.dylib 0x00ffc939 base::MessagePumpNSRunLoop::DoRun(base::MessagePump::Delegate*) + 169 8 libcef.dylib 0x00ffbb38 base::MessagePumpCFRunLoopBase::Run(base::MessagePump::Delegate*) + 104 9 libcef.dylib 0x0109f712 MessageLoop::RunInternal() + 290 10 libcef.dylib 0x0109f5cb MessageLoop::RunHandler() + 43 11 libcef.dylib 0x01102348 base::RunLoop::Run() + 72 12 libcef.dylib 0x0109e9c6 MessageLoop::Run() + 54 13 libcef.dylib 0x01177f22 base::Thread::Run(MessageLoop*) + 50 14 libcef.dylib 0x011780d3 base::Thread::ThreadMain() + 275 15 libcef.dylib 0x0115f295 base::(anonymous namespace)::ThreadFunc(void*) + 133 16 libsystem_c.dylib 0x987df557 _pthread_start + 344 17 libsystem_c.dylib 0x987c9cee thread_start + 34 Thread 8:: NetworkConfigWatcher 0 libsystem_kernel.dylib 0x9384c7d2 mach_msg_trap + 10 1 libsystem_kernel.dylib 0x9384bcb0 mach_msg + 68 2 com.apple.CoreFoundation 0x93887599 __CFRunLoopServiceMachPort + 185 3 com.apple.CoreFoundation 0x9388cf7f __CFRunLoopRun + 1247 4 com.apple.CoreFoundation 0x9388c63a CFRunLoopRunSpecific + 378 5 com.apple.CoreFoundation 0x9388c4ab CFRunLoopRunInMode + 123 6 com.apple.Foundation 0x9614f946 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 278 7 libcef.dylib 0x00ffc939 base::MessagePumpNSRunLoop::DoRun(base::MessagePump::Delegate*) + 169 8 libcef.dylib 0x00ffbb38 base::MessagePumpCFRunLoopBase::Run(base::MessagePump::Delegate*) + 104 9 libcef.dylib 0x0109f712 MessageLoop::RunInternal() + 290 10 libcef.dylib 0x0109f5cb MessageLoop::RunHandler() + 43 11 libcef.dylib 0x01102348 base::RunLoop::Run() + 72 12 libcef.dylib 0x0109e9c6 MessageLoop::Run() + 54 13 libcef.dylib 0x01177f22 base::Thread::Run(MessageLoop*) + 50 14 libcef.dylib 0x011780d3 base::Thread::ThreadMain() + 275 15 libcef.dylib 0x0115f295 base::(anonymous namespace)::ThreadFunc(void*) + 133 16 libsystem_c.dylib 0x987df557 _pthread_start + 344 17 libsystem_c.dylib 0x987c9cee thread_start + 34 Thread 9:: com.apple.NSURLConnectionLoader 0 libsystem_kernel.dylib 0x9384c7d2 mach_msg_trap + 10 1 libsystem_kernel.dylib 0x9384bcb0 mach_msg + 68 2 com.apple.CoreFoundation 0x93887599 __CFRunLoopServiceMachPort + 185 3 com.apple.CoreFoundation 0x9388cf7f __CFRunLoopRun + 1247 4 com.apple.CoreFoundation 0x9388c63a CFRunLoopRunSpecific + 378 5 com.apple.CoreFoundation 0x9388c4ab CFRunLoopRunInMode + 123 6 com.apple.Foundation 0x960e613a +[NSURLConnection(Loader) _resourceLoadLoop:] + 395 7 com.apple.Foundation 0x9614a1d8 -[NSThread main] + 45 8 com.apple.Foundation 0x9614a15b __NSThread__main__ + 1396 9 libsystem_c.dylib 0x987df557 _pthread_start + 344 10 libsystem_c.dylib 0x987c9cee thread_start + 34 Thread 10: 0 libsystem_kernel.dylib 0x9384c7d2 mach_msg_trap + 10 1 libsystem_kernel.dylib 0x9384bcb0 mach_msg + 68 2 libcef.dylib 0x01097858 base::ReceivePort::WaitForMessage(base::MachReceiveMessage*, unsigned int) + 328 3 libcef.dylib 0x00527b51 content::MachListenerThreadDelegate::ThreadMain() + 113 4 libcef.dylib 0x0115f295 base::(anonymous namespace)::ThreadFunc(void*) + 133 5 libsystem_c.dylib 0x987df557 _pthread_start + 344 6 libsystem_c.dylib 0x987c9cee thread_start + 34 Thread 11:: com.apple.CFSocket.private 0 libsystem_kernel.dylib 0x9384ebe6 __select + 10 1 com.apple.CoreFoundation 0x938d0c00 __CFSocketManager + 1632 2 libsystem_c.dylib 0x987df557 _pthread_start + 344 3 libsystem_c.dylib 0x987c9cee thread_start + 34 Thread 12: 0 libsystem_kernel.dylib 0x9384f0ee __workq_kernreturn + 10 1 libsystem_c.dylib 0x987e204c _pthread_workq_return + 45 2 libsystem_c.dylib 0x987e1e19 _pthread_wqthread + 448 3 libsystem_c.dylib 0x987c9cca start_wqthread + 30 Thread 13: 0 libsystem_kernel.dylib 0x9384f0ee __workq_kernreturn + 10 1 libsystem_c.dylib 0x987e204c _pthread_workq_return + 45 2 libsystem_c.dylib 0x987e1e19 _pthread_wqthread + 448 3 libsystem_c.dylib 0x987c9cca start_wqthread + 30 Thread 14: 0 libsystem_kernel.dylib 0x9384f0ee __workq_kernreturn + 10 1 libsystem_c.dylib 0x987e204c _pthread_workq_return + 45 2 libsystem_c.dylib 0x987e1e19 _pthread_wqthread + 448 3 libsystem_c.dylib 0x987c9cca start_wqthread + 30 Thread 0 crashed with X86 Thread State (32-bit): eax: 0xac9b3174 ebx: 0x089ecae8 ecx: 0xdb6d55b5 edx: 0x007dd200 edi: 0x00000004 esi: 0xbff9d9f8 ebp: 0xbff9d958 esp: 0xbff9d950 ss: 0x00000023 efl: 0x00000286 eip: 0x0102ebbe cs: 0x0000001b ds: 0x00000023 es: 0x00000023 fs: 0x00000000 gs: 0x0000000f cr2: 0xacbb0900 Logical CPU: 6 Binary Images: 0x5d000 - 0x5dffb +com.github.atom (0.3 - 0.3) &lt;717B6130-1969-3B95-A4D2-13E029438E1D&gt; /Applications/Atom.app/Contents/MacOS/Atom 0x62000 - 0xc0ff3 +com.github.atom.framework (1.0 - 1) &lt;23118393-7A41-36D0-91F6-95D28BE5D92D&gt; /Applications/Atom.app/Contents/Frameworks/Atom.framework/Versions/A/Atom 0x114000 - 0x130ffa +org.andymatuschak.Sparkle (1.5 Beta [git] - 4abc126) &lt;BEA976A2-5C2F-3D41-AAD1-7116F03501C4&gt; /Applications/Atom.app/Contents/Frameworks/Sparkle.framework/Versions/A/Sparkle 0x144000 - 0x8969fcf +libcef.dylib (31135.5.143) &lt;582FF3D8-576D-3F26-A66A-6724D0F6DCD4&gt; /Applications/Atom.app/Contents/Frameworks/Chromium Embedded Framework.framework/Libraries/libcef.dylib 0xc973000 - 0xca91ff3 com.apple.WebKit (8536 - 8536.26.14) &lt;C98F734D-D579-3F89-9A58-9EE890B1748E&gt; /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit 0xcb43000 - 0xd7d2ff3 com.apple.WebCore (8536 - 8536.26.14) &lt;82E97E6B-3F31-39A7-B41F-CD308E6EF238&gt; /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.framework/Versions/A/WebCore 0xf1e4000 - 0xf1f1ff3 com.apple.Librarian (1.1 - 1) &lt;88A55A5E-40FF-3234-8394-2317120B79AB&gt; /System/Library/PrivateFrameworks/Librarian.framework/Versions/A/Librarian 0xf777000 - 0xf77cfff com.apple.audio.AppleHDAHALPlugIn (2.3.5 - 2.3.5fc10) &lt;B9C7A6BA-FC48-3694-BF96-03D82AD56D14&gt; /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn 0x1039b000 - 0x103a3ffc libcldcpuengine.dylib (2.1.19) &lt;E5429AB3-FE28-3C0C-8942-686BB4191A9E&gt; /System/Library/Frameworks/OpenCL.framework/Libraries/libcldcpuengine.dylib 0x103aa000 - 0x103acfff libCoreFSCache.dylib (24.4) &lt;A089ED2E-0156-3937-BE32-5BED76DF4066&gt; /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreFSCache.dylib 0x103b5000 - 0x103b6ffd +cl_kernels (???) &lt;C15FC3EC-FF25-4C77-8A85-753E011C523E&gt; cl_kernels 0x103c3000 - 0x103c3ff7 +cl_kernels (???) &lt;C727CF05-5BE3-4DFB-9740-50DFEA5DF934&gt; cl_kernels 0x103db000 - 0x1045bff6 com.apple.xquery (1.3.1 - 30) &lt;F6B4DB2B-47A3-3B61-9297-FA2B53859DFF&gt; /System/Library/PrivateFrameworks/XQuery.framework/XQuery 0x11e69000 - 0x11efbff7 unorm8_bgra.dylib (2.1.19) &lt;A2C66114-F581-3D86-9BC9-9994156640AF&gt; /System/Library/Frameworks/OpenCL.framework/Libraries/ImageFormats/unorm8_bgra.dylib 0x8fe5c000 - 0x8fe8ee57 dyld (210.2.3) &lt;23516BE4-29BE-350C-91C9-F36E7999F0F1&gt; /usr/lib/dyld 0x90007000 - 0x9001dfff com.apple.CFOpenDirectory (10.8 - 151.10) &lt;56C3F276-BD1F-3031-8CF9-8F4F481A534E&gt; /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory 0x9001e000 - 0x90112ff3 com.apple.QuickLookUIFramework (4.0 - 555.4) &lt;D66F61A6-2C4C-359F-A2E3-7D023C33CB5A&gt; /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuickLookUI.framework/Versions/A/QuickLookUI 0x90113000 - 0x90113fff com.apple.Cocoa (6.7 - 19) &lt;354094F0-F36B-36F9-BF5F-FD60590FBEB9&gt; /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa 0x90114000 - 0x90164ff7 com.apple.CoreMediaIO (306.0 - 4151.1) &lt;5F85D6A6-7F01-333B-91B4-9FB7D4D3752A&gt; /System/Library/Frameworks/CoreMediaIO.framework/Versions/A/CoreMediaIO 0x90165000 - 0x90246fff libcrypto.0.9.8.dylib (47) &lt;D4EFFCFB-206D-3E3D-ADB5-CBAF04EB8838&gt; /usr/lib/libcrypto.0.9.8.dylib 0x90247000 - 0x90278fff com.apple.DictionaryServices (1.2 - 184.4) &lt;0D5BE86F-F40A-3E39-8569-19FCA5EDF9D3&gt; /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices 0x90279000 - 0x9027ffff libGFXShared.dylib (8.6.1) &lt;E32A7266-FCDD-352C-9C2A-8939265974AF&gt; /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib 0x90280000 - 0x9028cffd libkxld.dylib (2050.20.9) &lt;29C6FCF5-E450-3724-BEA5-278A954A5247&gt; /usr/lib/system/libkxld.dylib 0x9028d000 - 0x90291ff7 libmacho.dylib (829) &lt;5280A013-4F74-3F74-BE0C-7F612C49F1DC&gt; /usr/lib/system/libmacho.dylib 0x90294000 - 0x90368fff com.apple.backup.framework (1.4.1 - 1.4.1) &lt;55F2A679-9B21-3F43-A580-4C2ECF6A5FC5&gt; /System/Library/PrivateFrameworks/Backup.framework/Versions/A/Backup 0x90369000 - 0x90373fff libsystem_notify.dylib (98.5) &lt;7EEE9475-18F8-3099-B0ED-23A3E528ABE0&gt; /usr/lib/system/libsystem_notify.dylib 0x90374000 - 0x903dcfe7 libvDSP.dylib (380.6) &lt;55780308-4DCA-3B10-9703-EAFC3E13A3FA&gt; /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib 0x903dd000 - 0x903ddfff com.apple.Carbon (154 - 155) &lt;604ADD9D-5835-3294-842E-3A4AEBCCB548&gt; /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon 0x903de000 - 0x90403ffb com.apple.framework.familycontrols (4.1 - 410) &lt;5A8504E7-D95D-3101-8E20-38EADE8DEAE1&gt; /System/Library/PrivateFrameworks/FamilyControls.framework/Versions/A/FamilyControls 0x90404000 - 0x907e7ff3 com.apple.HIToolbox (2.0 - 625) &lt;5A312E41-9940-363E-B891-90C4672E6850&gt; /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox 0x907f4000 - 0x907fbff3 com.apple.NetFS (5.0 - 4.0) &lt;1F7041F2-4E97-368C-8F5D-24153D81BBDB&gt; /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS 0x907fc000 - 0x9080cff7 libsasl2.2.dylib (166) &lt;D9080BA2-A365-351E-9FF2-7E0D4E8B1339&gt; /usr/lib/libsasl2.2.dylib 0x9080d000 - 0x90832ff7 com.apple.quartzfilters (1.8.0 - 1.7.0) &lt;F6A88D89-AB4A-3217-9D65-C2C259B5F09B&gt; /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzFilters.framework/Versions/A/QuartzFilters 0x90833000 - 0x90a8bff1 com.apple.JavaScriptCore (8536 - 8536.26.7) &lt;75629E05-65FE-3699-8CDC-80C95015CF42&gt; /System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore 0x90a8c000 - 0x90a90fff com.apple.CommonPanels (1.2.5 - 94) &lt;6B3E7E53-7708-3DA2-8C50-59C2B4735DE1&gt; /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels 0x90a91000 - 0x90bccff7 libBLAS.dylib (1073.4) &lt;FF74A147-05E1-37C4-BC10-7DEB57FE5326&gt; /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib 0x90c24000 - 0x90c24fff com.apple.vecLib (3.8 - vecLib 3.8) &lt;83160DD1-5614-3E34-80EB-97041016EF1F&gt; /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib 0x90c25000 - 0x90c26fff libDiagnosticMessagesClient.dylib (8) &lt;39B3D25A-148A-3936-B800-0D393A00E64F&gt; /usr/lib/libDiagnosticMessagesClient.dylib 0x90c53000 - 0x90c61fff libxar.1.dylib (105) &lt;343E4A3B-1D04-34A3-94C2-8C7C9A8F736B&gt; /usr/lib/libxar.1.dylib 0x90c62000 - 0x90d38fff com.apple.DiscRecording (7.0 - 7000.2.4) &lt;DE1EF7D3-018A-3501-B3E7-7497D7D2D69E&gt; /System/Library/Frameworks/DiscRecording.framework/Versions/A/DiscRecording 0x90d39000 - 0x90d9dff3 libstdc++.6.dylib (56) &lt;F8FA490A-8F3C-3645-ABF5-78926CE9C62C&gt; /usr/lib/libstdc++.6.dylib 0x90d9e000 - 0x90decff3 com.apple.SystemConfiguration (1.12.2 - 1.12.2) &lt;7BA6C58B-0357-356F-BB69-17ACB5E35988&gt; /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration 0x90ded000 - 0x911e9feb com.apple.VideoToolbox (1.0 - 926.62) &lt;B09EEF06-CB3C-3EAA-8B0E-22A1801F3CAE&gt; /System/Library/Frameworks/VideoToolbox.framework/Versions/A/VideoToolbox 0x91220000 - 0x91288ff7 com.apple.framework.IOKit (2.0.1 - 755.20.4) &lt;12C97562-CBBD-3255-A998-28A341128FC8&gt; /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit 0x91289000 - 0x91292ff9 com.apple.CommonAuth (3.0 - 2.0) &lt;A1A6CC3D-AA88-3519-A305-9B5D76C5D63B&gt; /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth 0x91293000 - 0x912b0fff libxpc.dylib (140.41) &lt;1BFE3149-C242-3A77-9729-B00DEDC8CCF2&gt; /usr/lib/system/libxpc.dylib 0x912b1000 - 0x912f3fff libcurl.4.dylib (69.2) &lt;8CC566A0-0B25-37E8-A6EC-30074C3CDB8C&gt; /usr/lib/libcurl.4.dylib 0x912f4000 - 0x913e5ffc libiconv.2.dylib (34) &lt;B096A9B7-83A6-31B3-8D2F-87D91910BF4C&gt; /usr/lib/libiconv.2.dylib 0x913e6000 - 0x913edfff libsystem_dnssd.dylib (379.34) &lt;885F324F-43A3-30A9-8A6B-3665065CC588&gt; /usr/lib/system/libsystem_dnssd.dylib 0x913ee000 - 0x916aefff com.apple.security (7.0 - 55179.1) &lt;CB470E48-621B-34D9-9E78-8B773358CB6B&gt; /System/Library/Frameworks/Security.framework/Versions/A/Security 0x916e6000 - 0x916f3fff libGL.dylib (8.6.1) &lt;C7A3917A-C444-33CC-8599-BB9CD8C12BC4&gt; /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib 0x916f4000 - 0x91997ffb com.apple.CoreImage (8.2.2 - 1.0.1) &lt;85BFFB09-D765-3F5F-AF65-FB136DDCAEF3&gt; /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/CoreImage.framework/Versions/A/CoreImage 0x91998000 - 0x919afff4 com.apple.CoreMediaAuthoring (2.1 - 914) &lt;37C0A2C7-73B3-39BC-8DE1-4A6B75F115FC&gt; /System/Library/PrivateFrameworks/CoreMediaAuthoring.framework/Versions/A/CoreMediaAuthoring 0x919b0000 - 0x919bbfff libcommonCrypto.dylib (60027) &lt;D9337AF4-C094-370E-858C-059AB6560719&gt; /usr/lib/system/libcommonCrypto.dylib 0x919c5000 - 0x919defff com.apple.Kerberos (2.0 - 1) &lt;9BDE8F4D-DBC3-34D1-852C-898D3655A611&gt; /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos 0x919df000 - 0x91b9bffd libicucore.A.dylib (491.11.1) &lt;B19E450A-BAF1-3967-9C95-7F77DC0B4639&gt; /usr/lib/libicucore.A.dylib 0x91b9c000 - 0x91bc8ff7 libsystem_info.dylib (406.17) &lt;AA5611DB-A944-3072-B6BE-ACAB08689547&gt; /usr/lib/system/libsystem_info.dylib 0x91bc9000 - 0x91f81ffa libLAPACK.dylib (1073.4) &lt;9A6E5EAD-F2F2-3D5C-B655-2B536DB477F2&gt; /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib 0x91f82000 - 0x91f82ffd com.apple.audio.units.AudioUnit (1.8 - 1.8) &lt;4C13DEA2-1EB0-3D06-901A-DB93184C06F0&gt; /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit 0x91f83000 - 0x91fc2ff7 com.apple.bom (12.0 - 192) &lt;0637E52C-D151-37B3-904F-8656B2FD44DD&gt; /System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom 0x91fc3000 - 0x92405ff7 com.apple.CoreGraphics (1.600.0 - 328.0.4) &lt;E1D5CF68-B1CB-370E-A326-DA4292C0C096&gt; /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics 0x92408000 - 0x92409fff libsystem_sandbox.dylib (220) &lt;4E42390B-25EC-3530-AF01-337E430C16EB&gt; /usr/lib/system/libsystem_sandbox.dylib 0x92b8a000 - 0x92b91ffb libunwind.dylib (35.1) &lt;E1E8D8B3-3C78-3AB1-B398-C180DC6DCF05&gt; /usr/lib/system/libunwind.dylib 0x92b92000 - 0x92c2cfff com.apple.CoreSymbolication (3.0 - 87) &lt;6A27BBE5-6EF0-3D5D-A485-2145826B9796&gt; /System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/A/CoreSymbolication 0x92d01000 - 0x92d0bffe com.apple.bsd.ServiceManagement (2.0 - 2.0) &lt;9732BA61-D6F6-3644-82DA-FF0D6FEEFC69&gt; /System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManagement 0x92d0c000 - 0x92d94fff com.apple.PDFKit (2.7.2 - 2.7.2) &lt;7AE7BAE9-4C21-3BFB-919E-5C6EEBBDFF75&gt; /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/PDFKit.framework/Versions/A/PDFKit 0x92d95000 - 0x92d96fff liblangid.dylib (116) &lt;E13CC8C5-5034-320A-A210-41A2BDE4F846&gt; /usr/lib/liblangid.dylib 0x92d97000 - 0x92f0fff5 com.apple.QuartzCore (1.8 - 304.0) &lt;0B0EC55A-9084-3E28-9A84-1813CE3FAA9B&gt; /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore 0x92f10000 - 0x92f39fff libxslt.1.dylib (11.3) &lt;0DE17DAA-66FF-3195-AADB-347BEB5E2EFA&gt; /usr/lib/libxslt.1.dylib 0x92f3a000 - 0x92f4ffff com.apple.ImageCapture (8.0 - 8.0) &lt;B8BD421F-D5A9-3FB4-8E89-AD5CFC0D4030&gt; /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture 0x92f81000 - 0x92fc2ff7 libcups.2.dylib (327) &lt;F46F8703-FEAE-3442-87CB-45C8BF98BEE5&gt; /usr/lib/libcups.2.dylib 0x92fc3000 - 0x92ff6ff5 libssl.0.9.8.dylib (47) &lt;3224FBB3-3074-3022-AD9A-187703680C03&gt; /usr/lib/libssl.0.9.8.dylib 0x92ff7000 - 0x92ffbffe libcache.dylib (57) &lt;834FDCA7-FE3B-33CC-A12A-E11E202477EC&gt; /usr/lib/system/libcache.dylib 0x93094000 - 0x93096ffb libRadiance.dylib (845) &lt;3F87840F-217D-3074-A29D-919BAAED2F4A&gt; /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib 0x93097000 - 0x930eeff7 com.apple.ScalableUserInterface (1.0 - 1) &lt;2B5E454B-BC49-3E85-B54D-1950397C448C&gt; /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/ScalableUserInterface.framework/Versions/A/ScalableUserInterface 0x930fc000 - 0x9315efff libc++.1.dylib (65.1) &lt;C0CFF9FF-5D52-3EAE-B921-6AE1DA00A135&gt; /usr/lib/libc++.1.dylib 0x9316e000 - 0x931e7ff0 com.apple.CorePDF (2.0 - 2) &lt;6B5BF755-F336-359C-9A99-F006F61442CF&gt; /System/Library/PrivateFrameworks/CorePDF.framework/Versions/A/CorePDF 0x931e8000 - 0x93205ff7 libresolv.9.dylib (51) &lt;B9742A2A-DF15-3F6E-8FCE-778A58214B3A&gt; /usr/lib/libresolv.9.dylib 0x9324b000 - 0x932d0ff7 com.apple.SearchKit (1.4.0 - 1.4.0) &lt;454E950F-291C-3E95-8F35-05CA0AD6B327&gt; /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit 0x932d1000 - 0x932deff7 com.apple.AppleFSCompression (49 - 1.0) &lt;166AA1F8-E50A-3533-A3B5-8737C5118CC3&gt; /System/Library/PrivateFrameworks/AppleFSCompression.framework/Versions/A/AppleFSCompression 0x932df000 - 0x932e1fff libdyld.dylib (210.2.3) &lt;05D6FF2A-F09B-309D-95F7-7AF10259C707&gt; /usr/lib/system/libdyld.dylib 0x932e2000 - 0x9333bfff com.apple.AE (645.3 - 645.3) &lt;6745659F-006D-3F25-94D6-DF944E9A01FD&gt; /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE 0x9333c000 - 0x93373ffa com.apple.LDAPFramework (2.4.28 - 194.5) &lt;8368FAE7-2B89-3A7D-B6EE-7184B522CB66&gt; /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP 0x93374000 - 0x93374fff libSystem.B.dylib (169.3) &lt;4F99C03B-BBFF-3BF8-8CC2-2DA764447446&gt; /usr/lib/libSystem.B.dylib 0x93375000 - 0x933c4ff6 libTIFF.dylib (845) &lt;989A2EB9-3A49-3157-8E9C-B16E6005BC64&gt; /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib 0x933c5000 - 0x93457ffb libvMisc.dylib (380.6) &lt;6DA3A03F-20BE-300D-A664-B50A7B4E4B1A&gt; /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib 0x93458000 - 0x93462fff com.apple.speech.recognition.framework (4.1.5 - 4.1.5) &lt;B855E8B4-2EE3-3BFF-8547-98A0F084F9AF&gt; /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition 0x93463000 - 0x934c7fff com.apple.datadetectorscore (4.0 - 269.1) &lt;4D155F09-1A60-325A-BCAC-1B858C2C051B&gt; /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDetectorsCore 0x934ee000 - 0x93512fff com.apple.PerformanceAnalysis (1.16 - 16) &lt;18DE0F9F-1264-394D-AC56-6B2A1771DFBE&gt; /System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/PerformanceAnalysis 0x93513000 - 0x93546ff3 com.apple.GSS (3.0 - 2.0) &lt;B1D719C1-B000-3BE3-B747-329D608585DD&gt; /System/Library/Frameworks/GSS.framework/Versions/A/GSS 0x93547000 - 0x93548fff libremovefile.dylib (23.1) &lt;98622D14-DAAB-3AD8-A5D9-C322BF572A98&gt; /usr/lib/system/libremovefile.dylib 0x935e7000 - 0x935e7fff com.apple.quartzframework (1.5 - 1.5) &lt;9018BE5B-4070-320E-8091-6584CC17F798&gt; /System/Library/Frameworks/Quartz.framework/Versions/A/Quartz 0x935e8000 - 0x93818fff com.apple.QuartzComposer (5.1 - 284) &lt;4E8682B7-EBAE-3C40-ABDB-8705EC7952BD&gt; /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzComposer.framework/Versions/A/QuartzComposer 0x93819000 - 0x9381cff9 libCGXType.A.dylib (328.0.4) &lt;9BC4856B-B92A-3D46-AABD-F5E3E80A8748&gt; /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGXType.A.dylib 0x9381d000 - 0x93839ff7 libPng.dylib (845) &lt;14C43094-C670-3575-BF9B-3A967E05EAC0&gt; /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib 0x9383a000 - 0x93854ffc libsystem_kernel.dylib (2050.20.9) &lt;561E35E5-E32E-3BFB-9E8B-C977BA6C4F85&gt; /usr/lib/system/libsystem_kernel.dylib 0x93855000 - 0x93a3dff3 com.apple.CoreFoundation (6.8 - 744.12) &lt;E939CEA0-493C-3233-9983-5070981BB350&gt; /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 0x93a3e000 - 0x93a45fff liblaunch.dylib (442.26.2) &lt;310C99F8-0811-314D-9BB9-D0ED6DFA024B&gt; /usr/lib/system/liblaunch.dylib 0x93a46000 - 0x93b2fff7 libxml2.2.dylib (22.3) &lt;015A4FA6-5BB9-3F95-AFB8-B9281E22685B&gt; /usr/lib/libxml2.2.dylib 0x93b30000 - 0x93d9dfff com.apple.imageKit (2.2 - 667) &lt;3F5F92DB-C0C0-3C5F-98C6-B84AB9E28B55&gt; /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/ImageKit.framework/Versions/A/ImageKit 0x93d9e000 - 0x93f27ff7 com.apple.vImage (6.0 - 6.0) &lt;1D1F67FE-4F75-3689-BEF6-4A46C8039E70&gt; /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage 0x93f28000 - 0x93f2afff com.apple.securityhi (4.0 - 55002) &lt;15E9B9BC-108F-3416-A0A7-A321A85081F7&gt; /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI 0x93f2d000 - 0x93f44fff com.apple.GenerationalStorage (1.1 - 132.2) &lt;93694E0D-35D3-3633-976E-F354CBD92F54&gt; /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/GenerationalStorage 0x93f45000 - 0x93f72ffb com.apple.CoreServicesInternal (154.2 - 154.2) &lt;DCCF604B-1DB8-3F09-8122-545E2E7F466D&gt; /System/Library/PrivateFrameworks/CoreServicesInternal.framework/Versions/A/CoreServicesInternal 0x93f73000 - 0x9408bff7 com.apple.coreavchd (5.6.0 - 5600.4.16) &lt;F024C78B-4FAA-38F1-A182-AD0A0A596CBE&gt; /System/Library/PrivateFrameworks/CoreAVCHD.framework/Versions/A/CoreAVCHD 0x9408c000 - 0x94094fff com.apple.CommerceCore (1.0 - 26) &lt;AF0D1990-8CBF-3AB4-99DF-8B7AE14FB0D5&gt; /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Frameworks/CommerceCore.framework/Versions/A/CommerceCore 0x94095000 - 0x9418dff9 libsqlite3.dylib (138.1) &lt;AD7C5914-35F0-37A3-9238-A29D2E26C755&gt; /usr/lib/libsqlite3.dylib 0x9418e000 - 0x9419cfff com.apple.opengl (1.8.6 - 1.8.6) &lt;1AD1AE7B-B57B-35B5-B571-32A34F0DA737&gt; /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL 0x9419d000 - 0x941a9ff7 com.apple.NetAuth (4.0 - 4.0) &lt;4983C4B8-9D95-3C4D-897E-07743326487E&gt; /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth 0x94ee3000 - 0x94eefff8 libbz2.1.0.dylib (29) &lt;7031A4C0-784A-3EAA-93DF-EA1F26CC9264&gt; /usr/lib/libbz2.1.0.dylib 0x94ef0000 - 0x94f3cfff libcorecrypto.dylib (106.2) &lt;20EBADBA-D6D6-36F0-AE80-168E9AF13DB6&gt; /usr/lib/system/libcorecrypto.dylib 0x94f3d000 - 0x95059ff7 com.apple.desktopservices (1.7.2 - 1.7.2) &lt;8E74D101-8398-34F1-A463-B4950680A597&gt; /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv 0x9505a000 - 0x95104fff com.apple.LaunchServices (539.7 - 539.7) &lt;AF33EBD3-BC0B-30B5-B7DA-5CCCF12D7EDD&gt; /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices 0x95391000 - 0x953f7fff com.apple.print.framework.PrintCore (8.1 - 387.1) &lt;F8CF762B-B707-3021-958F-BB8D33DB3576&gt; /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore 0x953f8000 - 0x953f8fff com.apple.ApplicationServices (45 - 45) &lt;677C4ACC-9D12-366F-8A87-B898AC806DD9&gt; /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices 0x953f9000 - 0x953fdfff com.apple.OpenDirectory (10.8 - 151.10) &lt;A1858D81-086F-3BF5-87E3-9B70409FFDF6&gt; /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory 0x95403000 - 0x95451ffb libFontRegistry.dylib (100) &lt;3B8350C2-4D8F-38C4-A22E-2F855D7E83D1&gt; /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontRegistry.dylib 0x95452000 - 0x9555dff7 libJP2.dylib (845) &lt;D409C913-6FA4-3D60-BFE0-B9FC6A02FEE0&gt; /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib 0x9555e000 - 0x9557bfff libCRFSuite.dylib (33) &lt;C9D72D0C-871A-39A2-8AFB-682D11AE7D0D&gt; /usr/lib/libCRFSuite.dylib 0x9557c000 - 0x955beffb com.apple.RemoteViewServices (2.0 - 80.5) &lt;60E04F2F-AFD8-3B1F-BF07-8A3A7EABB8E9&gt; /System/Library/PrivateFrameworks/RemoteViewServices.framework/Versions/A/RemoteViewServices 0x955bf000 - 0x95952ffb com.apple.MediaToolbox (1.0 - 926.62) &lt;7290B07B-4D03-3B46-809C-64C8FB97B40C&gt; /System/Library/Frameworks/MediaToolbox.framework/Versions/A/MediaToolbox 0x95953000 - 0x95953fff com.apple.Accelerate.vecLib (3.8 - vecLib 3.8) &lt;908B8D40-3FB5-3047-B482-3DF95025ECFC&gt; /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib 0x95954000 - 0x959f4ff7 com.apple.QD (3.42 - 285) &lt;1B8307C6-AFA8-312E-BA5B-679070EF2CA1&gt; /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD 0x95a03000 - 0x95a07fff com.apple.IOSurface (86.0.3 - 86.0.3) &lt;E3A4DB0A-1C1A-31E3-A550-5C0E1C874509&gt; /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface 0x95a08000 - 0x95a08fff com.apple.Accelerate (1.8 - Accelerate 1.8) &lt;4EC0548E-3A3F-310D-A366-47B51D5B6398&gt; /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate 0x95a09000 - 0x95a0cff7 com.apple.TCC (1.0 - 1) &lt;437D76CD-6437-3B55-BE2C-A53508858256&gt; /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC 0x95a1c000 - 0x95c98ff7 com.apple.QuickTime (7.7.1 - 2599.13) &lt;FE609160-E1EF-341D-9B6A-205D3E03A4D2&gt; /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime 0x95c99000 - 0x95ca2ffd com.apple.audio.SoundManager (4.0 - 4.0) &lt;ABC5FE40-B222-36EB-9905-5C8C4BFD8C87&gt; /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/CarbonSound 0x95ca3000 - 0x95da1ff7 libFontParser.dylib (84.5) &lt;B3006327-7B2D-3966-A56A-BD85F1D71641&gt; /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib 0x95da2000 - 0x960a7ff7 com.apple.CoreServices.CarbonCore (1037.3 - 1037.3) &lt;4571EDDC-704A-3FB1-B9A6-59870AA6165F&gt; /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore 0x960a8000 - 0x960abff3 com.apple.AppleSystemInfo (2.0 - 2) &lt;4639D755-8A68-31C9-95C4-7E7F70C233FA&gt; /System/Library/PrivateFrameworks/AppleSystemInfo.framework/Versions/A/AppleSystemInfo 0x960ac000 - 0x963c9ff3 com.apple.Foundation (6.8 - 945.11) &lt;03B242AC-519C-3683-AA52-E73536B3D55F&gt; /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation 0x963ca000 - 0x964d7ff3 com.apple.ImageIO.framework (3.2.0 - 845) &lt;BF959BCB-C30A-3680-B7C2-91B327B2B63B&gt; /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO 0x964d8000 - 0x96533fff com.apple.htmlrendering (77 - 1.1.4) &lt;5C0C669F-AE07-3983-B38F-EB829B5CE609&gt; /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering 0x96534000 - 0x9658efff com.apple.Symbolication (1.3 - 93) &lt;D327EEFF-F2F5-39C4-B1EC-32E259DC04F1&gt; /System/Library/PrivateFrameworks/Symbolication.framework/Versions/A/Symbolication 0x9658f000 - 0x96626ff7 com.apple.ink.framework (10.8.2 - 150) &lt;D90FF7BC-6B90-39F1-AC52-670269947C58&gt; /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink 0x96627000 - 0x9665dffb com.apple.DebugSymbols (98 - 98) &lt;9A9ADA0A-E487-3C8F-9998-286EE04C235A&gt; /System/Library/PrivateFrameworks/DebugSymbols.framework/Versions/A/DebugSymbols 0x9665e000 - 0x966a0ff7 libauto.dylib (185.1) &lt;B2B5B639-6778-352A-828D-FD8B64A3E8B3&gt; /usr/lib/libauto.dylib 0x966a1000 - 0x966cbff9 com.apple.framework.Apple80211 (8.3 - 830.18) &lt;DCCC8813-A9D8-3C01-8BC9-646EA954F986&gt; /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Apple80211 0x966cc000 - 0x966eaff3 com.apple.openscripting (1.3.6 - 148.2) &lt;55738D66-CC15-3F43-9265-00C3322D39C4&gt; /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting 0x966eb000 - 0x96760ff7 com.apple.ApplicationServices.ATS (332 - 341.1) &lt;95206704-F9C9-33C4-AF25-FE9890E160B2&gt; /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS 0x96761000 - 0x9676afff com.apple.DiskArbitration (2.5.1 - 2.5.1) &lt;05EF69BB-5D55-3A9E-9E5E-2EF9F84B3985&gt; /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration 0x9676b000 - 0x96771fff com.apple.print.framework.Print (8.0 - 258) &lt;12AEAD24-6924-3923-9E4A-C5D21231E639&gt; /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print 0x96772000 - 0x96826fff com.apple.coreui (2.0 - 181.1) &lt;C15ABF35-B7F5-34ED-A461-386DAF65D96B&gt; /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI 0x96832000 - 0x9697fffb com.apple.CFNetwork (596.2.3 - 596.2.3) &lt;1221EF86-659B-3136-AB57-0CC6B130CDA2&gt; /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork 0x97233000 - 0x97234ffd libunc.dylib (25) &lt;58599CBF-E262-3CEA-AFE1-35560E0177DC&gt; /usr/lib/system/libunc.dylib 0x974cf000 - 0x97513fff libGLU.dylib (8.6.1) &lt;06BAFDCA-800C-35E3-B1A3-F05E105B86AB&gt; /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib 0x97514000 - 0x97ba0feb com.apple.CoreAUC (6.16.00 - 6.16.00) &lt;654A0AB8-F24F-3489-8F70-F0A22414FE08&gt; /System/Library/PrivateFrameworks/CoreAUC.framework/Versions/A/CoreAUC 0x97ba1000 - 0x97bfaff7 com.apple.ImageCaptureCore (5.0.1 - 5.0.1) &lt;541529F7-063E-370B-9EB2-DF5BE39073E6&gt; /System/Library/Frameworks/ImageCaptureCore.framework/Versions/A/ImageCaptureCore 0x97bfb000 - 0x97bfeffc libpam.2.dylib (20) &lt;FCF74195-A99E-3B07-8E49-688D4A6F1E18&gt; /usr/lib/libpam.2.dylib 0x97bff000 - 0x97c00ffd com.apple.TrustEvaluationAgent (2.0 - 23) &lt;E42347C0-2D3C-36A4-9200-757FFA61B388&gt; /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent 0x97c01000 - 0x97c05ffc libGIF.dylib (845) &lt;714E9F0D-D7A3-3F58-B46E-FCBE0F144B23&gt; /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib 0x97c06000 - 0x97c5ffff com.apple.QuickLookFramework (4.0 - 555.4) &lt;96911441-FDD4-3B68-9E0C-51BA11A97C2E&gt; /System/Library/Frameworks/QuickLook.framework/Versions/A/QuickLook 0x97c6e000 - 0x97d7b057 libobjc.A.dylib (532.2) &lt;FA455371-7395-3D58-A89B-D1520612D1BC&gt; /usr/lib/libobjc.A.dylib 0x97d7c000 - 0x97df8ff3 com.apple.Metadata (10.7.0 - 707.3) &lt;6B6A6216-23D0-34CE-8099-BEE9BA42501E&gt; /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata 0x97df9000 - 0x97e07ff3 libsystem_network.dylib (77.10) &lt;7FBF5A15-97BA-3721-943E-E77F0C40DBE1&gt; /usr/lib/system/libsystem_network.dylib 0x97e08000 - 0x97e08fff libsystem_blocks.dylib (59) &lt;3A743C5D-CFA5-37D8-80A8-B6795A9DB04F&gt; /usr/lib/system/libsystem_blocks.dylib 0x98182000 - 0x981abff7 libRIP.A.dylib (328.0.4) &lt;00D3148A-C70D-3D5A-B60B-C23F2ACE99FE&gt; /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib 0x981ac000 - 0x981d0fff libJPEG.dylib (845) &lt;547FA9A5-0BBB-3E39-BACA-F3E2DAE57DB0&gt; /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib 0x981d1000 - 0x981d3fff libCVMSPluginSupport.dylib (8.6.1) &lt;8A174BD9-992E-351D-8F9A-DF6991723ABE&gt; /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginSupport.dylib 0x981d4000 - 0x981dcfff libcopyfile.dylib (89) &lt;4963541B-0254-371B-B29A-B6806888949B&gt; /usr/lib/system/libcopyfile.dylib 0x981dd000 - 0x98275fff com.apple.CoreServices.OSServices (557.4 - 557.4) &lt;C724AB29-A596-3E1E-9FF1-A4E509AD843A&gt; /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices 0x98324000 - 0x98393ffb com.apple.Heimdal (3.0 - 2.0) &lt;1ABF438B-30E6-3165-968C-E2EA1A9DF1FD&gt; /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal 0x98394000 - 0x983ebff3 com.apple.HIServices (1.20 - 417) &lt;561A770B-8523-3D09-A763-11F872779A4C&gt; /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices 0x983ec000 - 0x983f6fff com.apple.DisplayServicesFW (2.7.2 - 357) &lt;434461ED-E2AF-3F01-9793-128F368E8595&gt; /System/Library/PrivateFrameworks/DisplayServices.framework/Versions/A/DisplayServices 0x983f7000 - 0x984f3ff3 com.apple.DiskImagesFramework (10.8 - 344) &lt;E35483F1-3F14-33DC-8D21-F2E63EA76ED3&gt; /System/Library/PrivateFrameworks/DiskImages.framework/Versions/A/DiskImages 0x984f4000 - 0x9864cffb com.apple.audio.toolbox.AudioToolbox (1.8 - 1.8) &lt;9205DFC2-8DAE-354E-AD87-46E229B5F2F1&gt; /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox 0x9864d000 - 0x986fcff7 com.apple.CoreText (260.0 - 275.16) &lt;873ADCD9-D361-3753-A220-CDD289196AD8&gt; /System/Library/Frameworks/CoreText.framework/Versions/A/CoreText 0x986fd000 - 0x9870bff7 libz.1.dylib (43) &lt;245F1B61-2276-3BBB-9891-99934116D833&gt; /usr/lib/libz.1.dylib 0x9873b000 - 0x9874dfff libbsm.0.dylib (32) &lt;DADD385E-FE53-3458-94FB-E316A6345108&gt; /usr/lib/libbsm.0.dylib 0x9874e000 - 0x987c8ff7 com.apple.securityfoundation (6.0 - 55115.4) &lt;7F614418-F853-3FED-B265-0EA47F309A49&gt; /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation 0x987c9000 - 0x98886feb libsystem_c.dylib (825.25) &lt;B1F6916A-F558-38B5-A18C-D9733625FDC9&gt; /usr/lib/system/libsystem_c.dylib 0x98887000 - 0x988b4ffe libsystem_m.dylib (3022.6) &lt;9975D9C3-3B71-38E3-AA21-C5C5F9D9C431&gt; /usr/lib/system/libsystem_m.dylib 0x988b5000 - 0x98973ff3 com.apple.ColorSync (4.8.0 - 4.8.0) &lt;EFEDCB37-4F20-3CEC-A185-5D2976E11BAC&gt; /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync 0x98975000 - 0x989b6ff7 com.apple.framework.CoreWiFi (1.1 - 110.11) &lt;571FD499-4B2F-305E-A43E-DCF961966CE5&gt; /System/Library/Frameworks/CoreWiFi.framework/Versions/A/CoreWiFi 0x989b7000 - 0x98a14fff com.apple.audio.CoreAudio (4.1.0 - 4.1.0) &lt;9549B81F-4425-34EE-802B-F462068DC0C5&gt; /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio 0x98d53000 - 0x98d54fff libdnsinfo.dylib (453.18) &lt;41C7B8E2-2A81-31DE-BD8B-F0C29E169D4F&gt; /usr/lib/system/libdnsinfo.dylib 0x98d92000 - 0x98d95ffd libCoreVMClient.dylib (24.4) &lt;C54E8FD0-61EC-3DC8-8631-54288AC66AC8&gt; /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib 0x98d96000 - 0x98db6ffd com.apple.ChunkingLibrary (2.0 - 133.2) &lt;FE5F0F1E-B15D-3F76-8655-DC2FE19BF56E&gt; /System/Library/PrivateFrameworks/ChunkingLibrary.framework/Versions/A/ChunkingLibrary 0x98e52000 - 0x98e5cfff libCSync.A.dylib (328.0.4) &lt;A875CE4A-EB89-309F-B160-F3CC8BBF0A11&gt; /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib 0x98e5d000 - 0x98e5efff libquarantine.dylib (52) &lt;D526310F-DC77-37EA-8F5F-83928EFA3262&gt; /usr/lib/system/libquarantine.dylib 0x98e5f000 - 0x98e84ff7 com.apple.CoreVideo (1.8 - 99.3) &lt;5B872AC0-E82D-3475-A3F9-FD95F380560D&gt; /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo 0x98e85000 - 0x98ec0fe7 libGLImage.dylib (8.6.1) &lt;A3442557-18D5-332E-8859-423D5A20EBBE&gt; /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib 0x98ec1000 - 0x98ed4ff9 com.apple.MultitouchSupport.framework (235.29 - 235.29) &lt;451701B6-03CE-3F26-9FF0-92D8DA1467EE&gt; /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport 0x98ed5000 - 0x98ed8ff7 libcompiler_rt.dylib (30) &lt;CE5DBDB4-0124-3E2B-9105-989DF98DD108&gt; /usr/lib/system/libcompiler_rt.dylib 0x98ed9000 - 0x98ee9ff2 com.apple.LangAnalysis (1.7.0 - 1.7.0) &lt;875363E7-6D02-3229-A9DD-E5A5568A7D61&gt; /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis 0x98eea000 - 0x98f2fff5 com.apple.opencl (2.1.21 - 2.1.21) &lt;8B48DA40-593C-36D1-8E1B-6739448F38F7&gt; /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL 0x98f30000 - 0x99147fff com.apple.CoreData (106.1 - 407.7) &lt;17FD06D6-AD7C-345A-8FA4-1F0FBFF4DAE1&gt; /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData 0x99150000 - 0x992adffb com.apple.QTKit (7.7.1 - 2599.13) &lt;2DC9E2BB-9895-3D02-A318-88431052E70B&gt; /System/Library/Frameworks/QTKit.framework/Versions/A/QTKit 0x992ae000 - 0x992aefff libkeymgr.dylib (25) &lt;D5E93F7F-9315-3AD6-92C7-941F7B54C490&gt; /usr/lib/system/libkeymgr.dylib 0x992af000 - 0x992f4ff7 com.apple.NavigationServices (3.7 - 200) &lt;F6531764-6E43-3AF3-ACDD-8A5551EF016A&gt; /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationServices.framework/Versions/A/NavigationServices 0x992f5000 - 0x992f5ffd libOpenScriptingUtil.dylib (148.2) &lt;907E25B1-4F50-3461-B8D5-733C687EB534&gt; /usr/lib/libOpenScriptingUtil.dylib 0x992f6000 - 0x99302ffa com.apple.CrashReporterSupport (10.8.2 - 415) &lt;BAE9900A-51E7-3AD4-A7FB-7E6CCFFB2F21&gt; /System/Library/PrivateFrameworks/CrashReporterSupport.framework/Versions/A/CrashReporterSupport 0x99303000 - 0x99ebfffb com.apple.AppKit (6.8 - 1187.34) &lt;06EDB1D1-3B8A-3699-8E3A-D8F50A27AB7C&gt; /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit 0x99ec0000 - 0x99fdeff7 com.apple.MediaControlSender (1.4.5 - 145.3) &lt;E0931EE7-4ACA-3538-9658-B9B2AC1E6A80&gt; /System/Library/PrivateFrameworks/MediaControlSender.framework/Versions/A/MediaControlSender 0x99fdf000 - 0x99ff4fff com.apple.speech.synthesis.framework (4.1.12 - 4.1.12) &lt;DE68CEB5-4959-3652-83B8-D2B00D3B932D&gt; /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis 0x99ff5000 - 0x99ff5fff com.apple.CoreServices (57 - 57) &lt;956C6C6D-A5DD-314F-9C57-4A61D41F30CE&gt; /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices 0x99ff6000 - 0x99ff9fff com.apple.help (1.3.2 - 42) &lt;AD7EB1F0-A068-3A2C-9D59-38E59CEC0D96&gt; /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help 0x99ffa000 - 0x9a03afff com.apple.MediaKit (14 - 685) &lt;64028790-49E5-31C8-8577-F98FA09CF490&gt; /System/Library/PrivateFrameworks/MediaKit.framework/Versions/A/MediaKit 0x9a03b000 - 0x9a04dff7 libdispatch.dylib (228.23) &lt;86EF7D45-2D97-3465-A449-95038AE5DABA&gt; /usr/lib/system/libdispatch.dylib 0x9a0bc000 - 0x9a103ff3 com.apple.CoreMedia (1.0 - 926.62) &lt;69B3835E-C02F-3935-AD39-83F8E81FB780&gt; /System/Library/Frameworks/CoreMedia.framework/Versions/A/CoreMedia 0x9a104000 - 0x9a15fff7 com.apple.AppleVAFramework (5.0.18 - 5.0.18) &lt;4BA2AAEA-4936-375C-B4D8-4BBE2EDC7FF5&gt; /System/Library/PrivateFrameworks/AppleVA.framework/Versions/A/AppleVA 0x9a160000 - 0x9a182fff libc++abi.dylib (24.4) &lt;06479DA4-BC23-34B6-BAFC-A885814261D0&gt; /usr/lib/libc++abi.dylib 0x9a183000 - 0x9a5a0fff FaceCoreLight (2.4.1) &lt;571DE3F8-CA8A-3E71-9AF4-F06FFE721CE6&gt; /System/Library/PrivateFrameworks/FaceCoreLight.framework/Versions/A/FaceCoreLight 0x9a5a1000 - 0x9a5c0ff3 com.apple.Ubiquity (1.2 - 243.10) &lt;D2C9F356-1681-31D2-B292-5227E2DDEB0B&gt; /System/Library/PrivateFrameworks/Ubiquity.framework/Versions/A/Ubiquity 0x9a6d2000 - 0x9a71cff7 com.apple.framework.CoreWLAN (3.0.1 - 301.12) &lt;0D20C03D-706B-39B7-B4E4-E03671565212&gt; /System/Library/Frameworks/CoreWLAN.framework/Versions/A/CoreWLAN External Modification Summary: Calls made by other processes targeting this process: task_for_pid: 2 thread_create: 0 thread_set_state: 0 Calls made by this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by all processes on this machine: task_for_pid: 14406 thread_create: 2 thread_set_state: 84 VM Region Summary: ReadOnly portion of Libraries: Total=370.8M resident=351.4M(95%) swapped_out_or_unallocated=19.4M(5%) Writable regions: Total=197.7M written=5704K(3%) resident=24.4M(12%) swapped_out=444K(0%) unallocated=173.2M(88%) REGION TYPE VIRTUAL =========== ======= ATS (font support) 32.0M ATS (font support) (reserved) 4K reserved VM address space (unallocated) CG backing stores 14.2M CG image 12K CG shared images 256K CoreServices 3164K MALLOC 82.0M MALLOC guard page 48K Memory tag=240 4K Memory tag=242 12K Memory tag=35 4448K OpenCL 20K SQLite page cache 192K Stack 107.4M VM_ALLOCATE 16.6M __DATA 9.8M __DATA/__OBJC 436K __IMAGE 528K __LINKEDIT 100.1M __OBJC 2420K __OBJC/__DATA 84K __PAGEZERO 4K __TEXT 270.7M __UNICODE 544K mapped file 107.0M shared memory 308K =========== ======= TOTAL 751.9M TOTAL, minus reserved VM space 751.9M"><pre class="notranslate"><code class="notranslate">Process: Atom [33683] Path: /Applications/Atom.app/Contents/MacOS/Atom Identifier: com.github.atom Version: 0.3 (0.3) Code Type: X86 (Native) Parent Process: launchd [116] User ID: 501 Date/Time: 2013-03-20 15:17:05.208 -0600 OS Version: Mac OS X 10.8.2 (12C3012) Report Version: 10 Crashed Thread: 0 CrBrowserMain Dispatch queue: com.apple.main-thread Exception Type: EXC_BREAKPOINT (SIGTRAP) Exception Codes: 0x0000000000000002, 0x0000000000000000 Thread 0 Crashed:: CrBrowserMain Dispatch queue: com.apple.main-thread 0 libcef.dylib 0x0102ebbe base::debug::BreakDebugger() + 30 1 libcef.dylib 0x01085364 logging::LogMessage::~LogMessage() + 1156 2 libcef.dylib 0x01083a1b logging::LogMessage::~LogMessage() + 43 3 libcef.dylib 0x0181e30b net::ProxyConfigServiceMac::~ProxyConfigServiceMac() + 283 4 libcef.dylib 0x0181e1cb net::ProxyConfigServiceMac::~ProxyConfigServiceMac() + 43 5 libcef.dylib 0x0181e16e net::ProxyConfigServiceMac::~ProxyConfigServiceMac() + 46 6 libcef.dylib 0x026c32b4 base::DefaultDeleter&lt;net::ProxyConfigService&gt;::operator()(net::ProxyConfigService*) const + 68 7 libcef.dylib 0x026c3246 base::internal::scoped_ptr_impl&lt;net::ProxyConfigService, base::DefaultDeleter&lt;net::ProxyConfigService&gt; &gt;::~scoped_ptr_impl() + 70 8 libcef.dylib 0x026c31db base::internal::scoped_ptr_impl&lt;net::ProxyConfigService, base::DefaultDeleter&lt;net::ProxyConfigService&gt; &gt;::~scoped_ptr_impl() + 43 9 libcef.dylib 0x026c318b scoped_ptr&lt;net::ProxyConfigService, base::DefaultDeleter&lt;net::ProxyConfigService&gt; &gt;::~scoped_ptr() + 43 10 libcef.dylib 0x026c09db scoped_ptr&lt;net::ProxyConfigService, base::DefaultDeleter&lt;net::ProxyConfigService&gt; &gt;::~scoped_ptr() + 43 11 libcef.dylib 0x0281bf1f ChromeProxyConfigService::~ChromeProxyConfigService() + 191 12 libcef.dylib 0x0281bddb ChromeProxyConfigService::~ChromeProxyConfigService() + 43 13 libcef.dylib 0x0281bd7e ChromeProxyConfigService::~ChromeProxyConfigService() + 46 14 libcef.dylib 0x026c32b4 base::DefaultDeleter&lt;net::ProxyConfigService&gt;::operator()(net::ProxyConfigService*) const + 68 15 libcef.dylib 0x026c3246 base::internal::scoped_ptr_impl&lt;net::ProxyConfigService, base::DefaultDeleter&lt;net::ProxyConfigService&gt; &gt;::~scoped_ptr_impl() + 70 16 libcef.dylib 0x026c31db base::internal::scoped_ptr_impl&lt;net::ProxyConfigService, base::DefaultDeleter&lt;net::ProxyConfigService&gt; &gt;::~scoped_ptr_impl() + 43 17 libcef.dylib 0x026c318b scoped_ptr&lt;net::ProxyConfigService, base::DefaultDeleter&lt;net::ProxyConfigService&gt; &gt;::~scoped_ptr() + 43 18 libcef.dylib 0x026c09db scoped_ptr&lt;net::ProxyConfigService, base::DefaultDeleter&lt;net::ProxyConfigService&gt; &gt;::~scoped_ptr() + 43 19 libcef.dylib 0x0269b614 CefBrowserMainParts::~CefBrowserMainParts() + 100 20 libcef.dylib 0x0269b58b CefBrowserMainParts::~CefBrowserMainParts() + 43 21 libcef.dylib 0x0269b52e CefBrowserMainParts::~CefBrowserMainParts() + 46 22 libcef.dylib 0x0024cd14 base::DefaultDeleter&lt;content::BrowserMainParts&gt;::operator()(content::BrowserMainParts*) const + 68 23 libcef.dylib 0x0024fd76 base::internal::scoped_ptr_impl&lt;content::BrowserMainParts, base::DefaultDeleter&lt;content::BrowserMainParts&gt; &gt;::~scoped_ptr_impl() + 70 24 libcef.dylib 0x0024fd0b base::internal::scoped_ptr_impl&lt;content::BrowserMainParts, base::DefaultDeleter&lt;content::BrowserMainParts&gt; &gt;::~scoped_ptr_impl() + 43 25 libcef.dylib 0x0024fcbb scoped_ptr&lt;content::BrowserMainParts, base::DefaultDeleter&lt;content::BrowserMainParts&gt; &gt;::~scoped_ptr() + 43 26 libcef.dylib 0x0024992b scoped_ptr&lt;content::BrowserMainParts, base::DefaultDeleter&lt;content::BrowserMainParts&gt; &gt;::~scoped_ptr() + 43 27 libcef.dylib 0x00246f29 content::BrowserMainLoop::~BrowserMainLoop() + 473 28 libcef.dylib 0x00246d2b content::BrowserMainLoop::~BrowserMainLoop() + 43 29 libcef.dylib 0x00246cce content::BrowserMainLoop::~BrowserMainLoop() + 46 30 libcef.dylib 0x00251214 base::DefaultDeleter&lt;content::BrowserMainLoop&gt;::operator()(content::BrowserMainLoop*) const + 68 31 libcef.dylib 0x0025113c base::internal::scoped_ptr_impl&lt;content::BrowserMainLoop, base::DefaultDeleter&lt;content::BrowserMainLoop&gt; &gt;::reset(content::BrowserMainLoop*) + 92 32 libcef.dylib 0x00250ef9 scoped_ptr&lt;content::BrowserMainLoop, base::DefaultDeleter&lt;content::BrowserMainLoop&gt; &gt;::reset(content::BrowserMainLoop*) + 57 33 libcef.dylib 0x00250da3 content::BrowserMainRunnerImpl::Shutdown() + 547 34 libcef.dylib 0x02763111 CefMainDelegate::ShutdownBrowser() + 97 35 libcef.dylib 0x026befbd CefContext::FinalizeShutdown() + 93 36 libcef.dylib 0x026be1e4 CefContext::Shutdown() + 676 37 libcef.dylib 0x026bde71 CefShutdown() + 561 38 libcef.dylib 0x00145bd8 cef_shutdown + 40 39 com.github.atom.framework 0x00072a89 CefShutdown() + 18 40 com.github.atom.framework 0x00064801 -[AtomApplication applicationWillTerminate:] + 240 41 com.apple.Foundation 0x9610fc52 __57-[NSNotificationCenter addObserver:selector:name:object:]_block_invoke_0 + 49 42 com.apple.CoreFoundation 0x93952e01 ___CFXNotificationPost_block_invoke_0 + 257 43 com.apple.CoreFoundation 0x9389e43a _CFXNotificationPost + 2794 44 com.apple.Foundation 0x960f8788 -[NSNotificationCenter postNotificationName:object:userInfo:] + 92 45 com.apple.Foundation 0x96108527 -[NSNotificationCenter postNotificationName:object:] + 55 46 com.apple.AppKit 0x9968fe19 -[NSApplication terminate:] + 2420 47 libobjc.A.dylib 0x97c8c5d3 -[NSObject performSelector:withObject:] + 70 48 com.apple.AppKit 0x99552bd2 -[NSApplication sendAction:to:from:] + 436 49 com.apple.AppKit 0x9968f3dc -[NSMenuItem _corePerformAction] + 529 50 com.apple.AppKit 0x9968f06b -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 163 51 com.apple.AppKit 0x9968e6f4 -[NSMenu _performActionWithHighlightingForItemAtIndex:sendAccessibilityNotification:] + 79 52 com.apple.AppKit 0x9968e6a0 -[NSMenu _performActionWithHighlightingForItemAtIndex:] + 48 53 com.apple.AppKit 0x9968dba5 -[NSMenu performKeyEquivalent:] + 306 54 com.github.atom.framework 0x00064880 -[AtomApplication sendEvent:] + 72 55 com.apple.AppKit 0x9945c72c -[NSApplication run] + 951 56 libcef.dylib 0x00ffd0cb base::MessagePumpNSApplication::DoRun(base::MessagePump::Delegate*) + 427 57 libcef.dylib 0x00ffbb38 base::MessagePumpCFRunLoopBase::Run(base::MessagePump::Delegate*) + 104 58 libcef.dylib 0x0109f712 MessageLoop::RunInternal() + 290 59 libcef.dylib 0x0109f5cb MessageLoop::RunHandler() + 43 60 libcef.dylib 0x01102348 base::RunLoop::Run() + 72 61 libcef.dylib 0x0109e9c6 MessageLoop::Run() + 54 62 libcef.dylib 0x0269fbcb CefBrowserMessageLoop::RunMessageLoop() + 43 63 libcef.dylib 0x026be682 CefRunMessageLoop() + 546 64 libcef.dylib 0x00148d3f cef_run_message_loop + 31 65 com.github.atom.framework 0x0006c8e6 AtomMain(int, char**) + 470 66 libdyld.dylib 0x932e1725 start + 1 Thread 1:: Dispatch queue: com.apple.root.default-priority 0 libsystem_kernel.dylib 0x9384eb3e __recvfrom + 10 1 com.github.atom.framework 0x0006d1c3 __listenForPathToOpen_block_invoke_0 + 465 2 libdispatch.dylib 0x9a040f8f _dispatch_call_block_and_release + 15 3 libdispatch.dylib 0x9a03df02 _dispatch_worker_thread2 + 285 4 libsystem_c.dylib 0x987e1e12 _pthread_wqthread + 441 5 libsystem_c.dylib 0x987c9cca start_wqthread + 30 Thread 2:: Dispatch queue: com.apple.libdispatch-manager 0 libsystem_kernel.dylib 0x9384f9ae kevent + 10 1 libdispatch.dylib 0x9a03fc71 _dispatch_mgr_invoke + 993 2 libdispatch.dylib 0x9a03f7a9 _dispatch_mgr_thread + 53 Thread 3:: NetworkConfigWatcher 0 libsystem_kernel.dylib 0x9384c7d2 mach_msg_trap + 10 1 libsystem_kernel.dylib 0x9384bcb0 mach_msg + 68 2 com.apple.CoreFoundation 0x93887599 __CFRunLoopServiceMachPort + 185 3 com.apple.CoreFoundation 0x9388cf7f __CFRunLoopRun + 1247 4 com.apple.CoreFoundation 0x9388c63a CFRunLoopRunSpecific + 378 5 com.apple.CoreFoundation 0x9388c4ab CFRunLoopRunInMode + 123 6 com.apple.Foundation 0x9614f946 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 278 7 libcef.dylib 0x00ffc939 base::MessagePumpNSRunLoop::DoRun(base::MessagePump::Delegate*) + 169 8 libcef.dylib 0x00ffbb38 base::MessagePumpCFRunLoopBase::Run(base::MessagePump::Delegate*) + 104 9 libcef.dylib 0x0109f712 MessageLoop::RunInternal() + 290 10 libcef.dylib 0x0109f5cb MessageLoop::RunHandler() + 43 11 libcef.dylib 0x01102348 base::RunLoop::Run() + 72 12 libcef.dylib 0x0109e9c6 MessageLoop::Run() + 54 13 libcef.dylib 0x01177f22 base::Thread::Run(MessageLoop*) + 50 14 libcef.dylib 0x011780d3 base::Thread::ThreadMain() + 275 15 libcef.dylib 0x0115f295 base::(anonymous namespace)::ThreadFunc(void*) + 133 16 libsystem_c.dylib 0x987df557 _pthread_start + 344 17 libsystem_c.dylib 0x987c9cee thread_start + 34 Thread 4:: DnsConfigService 0 libsystem_kernel.dylib 0x9384f9ae kevent + 10 1 libcef.dylib 0x02f98ae2 kq_dispatch + 178 2 libcef.dylib 0x02f92985 event_base_loop + 405 3 libcef.dylib 0x00ff6490 base::MessagePumpLibevent::Run(base::MessagePump::Delegate*) + 816 4 libcef.dylib 0x0109f712 MessageLoop::RunInternal() + 290 5 libcef.dylib 0x0109f5cb MessageLoop::RunHandler() + 43 6 libcef.dylib 0x01102348 base::RunLoop::Run() + 72 7 libcef.dylib 0x0109e9c6 MessageLoop::Run() + 54 8 libcef.dylib 0x01177f22 base::Thread::Run(MessageLoop*) + 50 9 libcef.dylib 0x011780d3 base::Thread::ThreadMain() + 275 10 libcef.dylib 0x0115f295 base::(anonymous namespace)::ThreadFunc(void*) + 133 11 libsystem_c.dylib 0x987df557 _pthread_start + 344 12 libsystem_c.dylib 0x987c9cee thread_start + 34 Thread 5:: WorkerPool/17683 0 libsystem_kernel.dylib 0x9384e8e2 __psynch_cvwait + 10 1 libsystem_c.dylib 0x987e4220 _pthread_cond_wait + 833 2 libsystem_c.dylib 0x9886a0ec pthread_cond_timedwait$UNIX2003 + 70 3 libcef.dylib 0x0113eb94 base::ConditionVariable::TimedWait(base::TimeDelta const&amp;) + 532 4 libcef.dylib 0x01181df9 base::PosixDynamicThreadPool::WaitForTask() + 409 5 libcef.dylib 0x01182589 base::(anonymous namespace)::WorkerThread::ThreadMain() + 217 6 libcef.dylib 0x0115f295 base::(anonymous namespace)::ThreadFunc(void*) + 133 7 libsystem_c.dylib 0x987df557 _pthread_start + 344 8 libsystem_c.dylib 0x987c9cee thread_start + 34 Thread 6:: WorkerPool/20995 0 libsystem_kernel.dylib 0x9384e8e2 __psynch_cvwait + 10 1 libsystem_c.dylib 0x987e4220 _pthread_cond_wait + 833 2 libsystem_c.dylib 0x9886a0ec pthread_cond_timedwait$UNIX2003 + 70 3 libcef.dylib 0x0113eb94 base::ConditionVariable::TimedWait(base::TimeDelta const&amp;) + 532 4 libcef.dylib 0x01181df9 base::PosixDynamicThreadPool::WaitForTask() + 409 5 libcef.dylib 0x01182589 base::(anonymous namespace)::WorkerThread::ThreadMain() + 217 6 libcef.dylib 0x0115f295 base::(anonymous namespace)::ThreadFunc(void*) + 133 7 libsystem_c.dylib 0x987df557 _pthread_start + 344 8 libsystem_c.dylib 0x987c9cee thread_start + 34 Thread 7:: AudioThread 0 libsystem_kernel.dylib 0x9384c7d2 mach_msg_trap + 10 1 libsystem_kernel.dylib 0x9384bcb0 mach_msg + 68 2 com.apple.CoreFoundation 0x93887599 __CFRunLoopServiceMachPort + 185 3 com.apple.CoreFoundation 0x9388cf7f __CFRunLoopRun + 1247 4 com.apple.CoreFoundation 0x9388c63a CFRunLoopRunSpecific + 378 5 com.apple.CoreFoundation 0x9388c4ab CFRunLoopRunInMode + 123 6 com.apple.Foundation 0x9614f946 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 278 7 libcef.dylib 0x00ffc939 base::MessagePumpNSRunLoop::DoRun(base::MessagePump::Delegate*) + 169 8 libcef.dylib 0x00ffbb38 base::MessagePumpCFRunLoopBase::Run(base::MessagePump::Delegate*) + 104 9 libcef.dylib 0x0109f712 MessageLoop::RunInternal() + 290 10 libcef.dylib 0x0109f5cb MessageLoop::RunHandler() + 43 11 libcef.dylib 0x01102348 base::RunLoop::Run() + 72 12 libcef.dylib 0x0109e9c6 MessageLoop::Run() + 54 13 libcef.dylib 0x01177f22 base::Thread::Run(MessageLoop*) + 50 14 libcef.dylib 0x011780d3 base::Thread::ThreadMain() + 275 15 libcef.dylib 0x0115f295 base::(anonymous namespace)::ThreadFunc(void*) + 133 16 libsystem_c.dylib 0x987df557 _pthread_start + 344 17 libsystem_c.dylib 0x987c9cee thread_start + 34 Thread 8:: NetworkConfigWatcher 0 libsystem_kernel.dylib 0x9384c7d2 mach_msg_trap + 10 1 libsystem_kernel.dylib 0x9384bcb0 mach_msg + 68 2 com.apple.CoreFoundation 0x93887599 __CFRunLoopServiceMachPort + 185 3 com.apple.CoreFoundation 0x9388cf7f __CFRunLoopRun + 1247 4 com.apple.CoreFoundation 0x9388c63a CFRunLoopRunSpecific + 378 5 com.apple.CoreFoundation 0x9388c4ab CFRunLoopRunInMode + 123 6 com.apple.Foundation 0x9614f946 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 278 7 libcef.dylib 0x00ffc939 base::MessagePumpNSRunLoop::DoRun(base::MessagePump::Delegate*) + 169 8 libcef.dylib 0x00ffbb38 base::MessagePumpCFRunLoopBase::Run(base::MessagePump::Delegate*) + 104 9 libcef.dylib 0x0109f712 MessageLoop::RunInternal() + 290 10 libcef.dylib 0x0109f5cb MessageLoop::RunHandler() + 43 11 libcef.dylib 0x01102348 base::RunLoop::Run() + 72 12 libcef.dylib 0x0109e9c6 MessageLoop::Run() + 54 13 libcef.dylib 0x01177f22 base::Thread::Run(MessageLoop*) + 50 14 libcef.dylib 0x011780d3 base::Thread::ThreadMain() + 275 15 libcef.dylib 0x0115f295 base::(anonymous namespace)::ThreadFunc(void*) + 133 16 libsystem_c.dylib 0x987df557 _pthread_start + 344 17 libsystem_c.dylib 0x987c9cee thread_start + 34 Thread 9:: com.apple.NSURLConnectionLoader 0 libsystem_kernel.dylib 0x9384c7d2 mach_msg_trap + 10 1 libsystem_kernel.dylib 0x9384bcb0 mach_msg + 68 2 com.apple.CoreFoundation 0x93887599 __CFRunLoopServiceMachPort + 185 3 com.apple.CoreFoundation 0x9388cf7f __CFRunLoopRun + 1247 4 com.apple.CoreFoundation 0x9388c63a CFRunLoopRunSpecific + 378 5 com.apple.CoreFoundation 0x9388c4ab CFRunLoopRunInMode + 123 6 com.apple.Foundation 0x960e613a +[NSURLConnection(Loader) _resourceLoadLoop:] + 395 7 com.apple.Foundation 0x9614a1d8 -[NSThread main] + 45 8 com.apple.Foundation 0x9614a15b __NSThread__main__ + 1396 9 libsystem_c.dylib 0x987df557 _pthread_start + 344 10 libsystem_c.dylib 0x987c9cee thread_start + 34 Thread 10: 0 libsystem_kernel.dylib 0x9384c7d2 mach_msg_trap + 10 1 libsystem_kernel.dylib 0x9384bcb0 mach_msg + 68 2 libcef.dylib 0x01097858 base::ReceivePort::WaitForMessage(base::MachReceiveMessage*, unsigned int) + 328 3 libcef.dylib 0x00527b51 content::MachListenerThreadDelegate::ThreadMain() + 113 4 libcef.dylib 0x0115f295 base::(anonymous namespace)::ThreadFunc(void*) + 133 5 libsystem_c.dylib 0x987df557 _pthread_start + 344 6 libsystem_c.dylib 0x987c9cee thread_start + 34 Thread 11:: com.apple.CFSocket.private 0 libsystem_kernel.dylib 0x9384ebe6 __select + 10 1 com.apple.CoreFoundation 0x938d0c00 __CFSocketManager + 1632 2 libsystem_c.dylib 0x987df557 _pthread_start + 344 3 libsystem_c.dylib 0x987c9cee thread_start + 34 Thread 12: 0 libsystem_kernel.dylib 0x9384f0ee __workq_kernreturn + 10 1 libsystem_c.dylib 0x987e204c _pthread_workq_return + 45 2 libsystem_c.dylib 0x987e1e19 _pthread_wqthread + 448 3 libsystem_c.dylib 0x987c9cca start_wqthread + 30 Thread 13: 0 libsystem_kernel.dylib 0x9384f0ee __workq_kernreturn + 10 1 libsystem_c.dylib 0x987e204c _pthread_workq_return + 45 2 libsystem_c.dylib 0x987e1e19 _pthread_wqthread + 448 3 libsystem_c.dylib 0x987c9cca start_wqthread + 30 Thread 14: 0 libsystem_kernel.dylib 0x9384f0ee __workq_kernreturn + 10 1 libsystem_c.dylib 0x987e204c _pthread_workq_return + 45 2 libsystem_c.dylib 0x987e1e19 _pthread_wqthread + 448 3 libsystem_c.dylib 0x987c9cca start_wqthread + 30 Thread 0 crashed with X86 Thread State (32-bit): eax: 0xac9b3174 ebx: 0x089ecae8 ecx: 0xdb6d55b5 edx: 0x007dd200 edi: 0x00000004 esi: 0xbff9d9f8 ebp: 0xbff9d958 esp: 0xbff9d950 ss: 0x00000023 efl: 0x00000286 eip: 0x0102ebbe cs: 0x0000001b ds: 0x00000023 es: 0x00000023 fs: 0x00000000 gs: 0x0000000f cr2: 0xacbb0900 Logical CPU: 6 Binary Images: 0x5d000 - 0x5dffb +com.github.atom (0.3 - 0.3) &lt;717B6130-1969-3B95-A4D2-13E029438E1D&gt; /Applications/Atom.app/Contents/MacOS/Atom 0x62000 - 0xc0ff3 +com.github.atom.framework (1.0 - 1) &lt;23118393-7A41-36D0-91F6-95D28BE5D92D&gt; /Applications/Atom.app/Contents/Frameworks/Atom.framework/Versions/A/Atom 0x114000 - 0x130ffa +org.andymatuschak.Sparkle (1.5 Beta [git] - 4abc126) &lt;BEA976A2-5C2F-3D41-AAD1-7116F03501C4&gt; /Applications/Atom.app/Contents/Frameworks/Sparkle.framework/Versions/A/Sparkle 0x144000 - 0x8969fcf +libcef.dylib (31135.5.143) &lt;582FF3D8-576D-3F26-A66A-6724D0F6DCD4&gt; /Applications/Atom.app/Contents/Frameworks/Chromium Embedded Framework.framework/Libraries/libcef.dylib 0xc973000 - 0xca91ff3 com.apple.WebKit (8536 - 8536.26.14) &lt;C98F734D-D579-3F89-9A58-9EE890B1748E&gt; /System/Library/Frameworks/WebKit.framework/Versions/A/WebKit 0xcb43000 - 0xd7d2ff3 com.apple.WebCore (8536 - 8536.26.14) &lt;82E97E6B-3F31-39A7-B41F-CD308E6EF238&gt; /System/Library/Frameworks/WebKit.framework/Versions/A/Frameworks/WebCore.framework/Versions/A/WebCore 0xf1e4000 - 0xf1f1ff3 com.apple.Librarian (1.1 - 1) &lt;88A55A5E-40FF-3234-8394-2317120B79AB&gt; /System/Library/PrivateFrameworks/Librarian.framework/Versions/A/Librarian 0xf777000 - 0xf77cfff com.apple.audio.AppleHDAHALPlugIn (2.3.5 - 2.3.5fc10) &lt;B9C7A6BA-FC48-3694-BF96-03D82AD56D14&gt; /System/Library/Extensions/AppleHDA.kext/Contents/PlugIns/AppleHDAHALPlugIn.bundle/Contents/MacOS/AppleHDAHALPlugIn 0x1039b000 - 0x103a3ffc libcldcpuengine.dylib (2.1.19) &lt;E5429AB3-FE28-3C0C-8942-686BB4191A9E&gt; /System/Library/Frameworks/OpenCL.framework/Libraries/libcldcpuengine.dylib 0x103aa000 - 0x103acfff libCoreFSCache.dylib (24.4) &lt;A089ED2E-0156-3937-BE32-5BED76DF4066&gt; /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreFSCache.dylib 0x103b5000 - 0x103b6ffd +cl_kernels (???) &lt;C15FC3EC-FF25-4C77-8A85-753E011C523E&gt; cl_kernels 0x103c3000 - 0x103c3ff7 +cl_kernels (???) &lt;C727CF05-5BE3-4DFB-9740-50DFEA5DF934&gt; cl_kernels 0x103db000 - 0x1045bff6 com.apple.xquery (1.3.1 - 30) &lt;F6B4DB2B-47A3-3B61-9297-FA2B53859DFF&gt; /System/Library/PrivateFrameworks/XQuery.framework/XQuery 0x11e69000 - 0x11efbff7 unorm8_bgra.dylib (2.1.19) &lt;A2C66114-F581-3D86-9BC9-9994156640AF&gt; /System/Library/Frameworks/OpenCL.framework/Libraries/ImageFormats/unorm8_bgra.dylib 0x8fe5c000 - 0x8fe8ee57 dyld (210.2.3) &lt;23516BE4-29BE-350C-91C9-F36E7999F0F1&gt; /usr/lib/dyld 0x90007000 - 0x9001dfff com.apple.CFOpenDirectory (10.8 - 151.10) &lt;56C3F276-BD1F-3031-8CF9-8F4F481A534E&gt; /System/Library/Frameworks/OpenDirectory.framework/Versions/A/Frameworks/CFOpenDirectory.framework/Versions/A/CFOpenDirectory 0x9001e000 - 0x90112ff3 com.apple.QuickLookUIFramework (4.0 - 555.4) &lt;D66F61A6-2C4C-359F-A2E3-7D023C33CB5A&gt; /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuickLookUI.framework/Versions/A/QuickLookUI 0x90113000 - 0x90113fff com.apple.Cocoa (6.7 - 19) &lt;354094F0-F36B-36F9-BF5F-FD60590FBEB9&gt; /System/Library/Frameworks/Cocoa.framework/Versions/A/Cocoa 0x90114000 - 0x90164ff7 com.apple.CoreMediaIO (306.0 - 4151.1) &lt;5F85D6A6-7F01-333B-91B4-9FB7D4D3752A&gt; /System/Library/Frameworks/CoreMediaIO.framework/Versions/A/CoreMediaIO 0x90165000 - 0x90246fff libcrypto.0.9.8.dylib (47) &lt;D4EFFCFB-206D-3E3D-ADB5-CBAF04EB8838&gt; /usr/lib/libcrypto.0.9.8.dylib 0x90247000 - 0x90278fff com.apple.DictionaryServices (1.2 - 184.4) &lt;0D5BE86F-F40A-3E39-8569-19FCA5EDF9D3&gt; /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/DictionaryServices.framework/Versions/A/DictionaryServices 0x90279000 - 0x9027ffff libGFXShared.dylib (8.6.1) &lt;E32A7266-FCDD-352C-9C2A-8939265974AF&gt; /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGFXShared.dylib 0x90280000 - 0x9028cffd libkxld.dylib (2050.20.9) &lt;29C6FCF5-E450-3724-BEA5-278A954A5247&gt; /usr/lib/system/libkxld.dylib 0x9028d000 - 0x90291ff7 libmacho.dylib (829) &lt;5280A013-4F74-3F74-BE0C-7F612C49F1DC&gt; /usr/lib/system/libmacho.dylib 0x90294000 - 0x90368fff com.apple.backup.framework (1.4.1 - 1.4.1) &lt;55F2A679-9B21-3F43-A580-4C2ECF6A5FC5&gt; /System/Library/PrivateFrameworks/Backup.framework/Versions/A/Backup 0x90369000 - 0x90373fff libsystem_notify.dylib (98.5) &lt;7EEE9475-18F8-3099-B0ED-23A3E528ABE0&gt; /usr/lib/system/libsystem_notify.dylib 0x90374000 - 0x903dcfe7 libvDSP.dylib (380.6) &lt;55780308-4DCA-3B10-9703-EAFC3E13A3FA&gt; /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvDSP.dylib 0x903dd000 - 0x903ddfff com.apple.Carbon (154 - 155) &lt;604ADD9D-5835-3294-842E-3A4AEBCCB548&gt; /System/Library/Frameworks/Carbon.framework/Versions/A/Carbon 0x903de000 - 0x90403ffb com.apple.framework.familycontrols (4.1 - 410) &lt;5A8504E7-D95D-3101-8E20-38EADE8DEAE1&gt; /System/Library/PrivateFrameworks/FamilyControls.framework/Versions/A/FamilyControls 0x90404000 - 0x907e7ff3 com.apple.HIToolbox (2.0 - 625) &lt;5A312E41-9940-363E-B891-90C4672E6850&gt; /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HIToolbox.framework/Versions/A/HIToolbox 0x907f4000 - 0x907fbff3 com.apple.NetFS (5.0 - 4.0) &lt;1F7041F2-4E97-368C-8F5D-24153D81BBDB&gt; /System/Library/Frameworks/NetFS.framework/Versions/A/NetFS 0x907fc000 - 0x9080cff7 libsasl2.2.dylib (166) &lt;D9080BA2-A365-351E-9FF2-7E0D4E8B1339&gt; /usr/lib/libsasl2.2.dylib 0x9080d000 - 0x90832ff7 com.apple.quartzfilters (1.8.0 - 1.7.0) &lt;F6A88D89-AB4A-3217-9D65-C2C259B5F09B&gt; /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzFilters.framework/Versions/A/QuartzFilters 0x90833000 - 0x90a8bff1 com.apple.JavaScriptCore (8536 - 8536.26.7) &lt;75629E05-65FE-3699-8CDC-80C95015CF42&gt; /System/Library/Frameworks/JavaScriptCore.framework/Versions/A/JavaScriptCore 0x90a8c000 - 0x90a90fff com.apple.CommonPanels (1.2.5 - 94) &lt;6B3E7E53-7708-3DA2-8C50-59C2B4735DE1&gt; /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CommonPanels.framework/Versions/A/CommonPanels 0x90a91000 - 0x90bccff7 libBLAS.dylib (1073.4) &lt;FF74A147-05E1-37C4-BC10-7DEB57FE5326&gt; /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib 0x90c24000 - 0x90c24fff com.apple.vecLib (3.8 - vecLib 3.8) &lt;83160DD1-5614-3E34-80EB-97041016EF1F&gt; /System/Library/Frameworks/vecLib.framework/Versions/A/vecLib 0x90c25000 - 0x90c26fff libDiagnosticMessagesClient.dylib (8) &lt;39B3D25A-148A-3936-B800-0D393A00E64F&gt; /usr/lib/libDiagnosticMessagesClient.dylib 0x90c53000 - 0x90c61fff libxar.1.dylib (105) &lt;343E4A3B-1D04-34A3-94C2-8C7C9A8F736B&gt; /usr/lib/libxar.1.dylib 0x90c62000 - 0x90d38fff com.apple.DiscRecording (7.0 - 7000.2.4) &lt;DE1EF7D3-018A-3501-B3E7-7497D7D2D69E&gt; /System/Library/Frameworks/DiscRecording.framework/Versions/A/DiscRecording 0x90d39000 - 0x90d9dff3 libstdc++.6.dylib (56) &lt;F8FA490A-8F3C-3645-ABF5-78926CE9C62C&gt; /usr/lib/libstdc++.6.dylib 0x90d9e000 - 0x90decff3 com.apple.SystemConfiguration (1.12.2 - 1.12.2) &lt;7BA6C58B-0357-356F-BB69-17ACB5E35988&gt; /System/Library/Frameworks/SystemConfiguration.framework/Versions/A/SystemConfiguration 0x90ded000 - 0x911e9feb com.apple.VideoToolbox (1.0 - 926.62) &lt;B09EEF06-CB3C-3EAA-8B0E-22A1801F3CAE&gt; /System/Library/Frameworks/VideoToolbox.framework/Versions/A/VideoToolbox 0x91220000 - 0x91288ff7 com.apple.framework.IOKit (2.0.1 - 755.20.4) &lt;12C97562-CBBD-3255-A998-28A341128FC8&gt; /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit 0x91289000 - 0x91292ff9 com.apple.CommonAuth (3.0 - 2.0) &lt;A1A6CC3D-AA88-3519-A305-9B5D76C5D63B&gt; /System/Library/PrivateFrameworks/CommonAuth.framework/Versions/A/CommonAuth 0x91293000 - 0x912b0fff libxpc.dylib (140.41) &lt;1BFE3149-C242-3A77-9729-B00DEDC8CCF2&gt; /usr/lib/system/libxpc.dylib 0x912b1000 - 0x912f3fff libcurl.4.dylib (69.2) &lt;8CC566A0-0B25-37E8-A6EC-30074C3CDB8C&gt; /usr/lib/libcurl.4.dylib 0x912f4000 - 0x913e5ffc libiconv.2.dylib (34) &lt;B096A9B7-83A6-31B3-8D2F-87D91910BF4C&gt; /usr/lib/libiconv.2.dylib 0x913e6000 - 0x913edfff libsystem_dnssd.dylib (379.34) &lt;885F324F-43A3-30A9-8A6B-3665065CC588&gt; /usr/lib/system/libsystem_dnssd.dylib 0x913ee000 - 0x916aefff com.apple.security (7.0 - 55179.1) &lt;CB470E48-621B-34D9-9E78-8B773358CB6B&gt; /System/Library/Frameworks/Security.framework/Versions/A/Security 0x916e6000 - 0x916f3fff libGL.dylib (8.6.1) &lt;C7A3917A-C444-33CC-8599-BB9CD8C12BC4&gt; /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib 0x916f4000 - 0x91997ffb com.apple.CoreImage (8.2.2 - 1.0.1) &lt;85BFFB09-D765-3F5F-AF65-FB136DDCAEF3&gt; /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/CoreImage.framework/Versions/A/CoreImage 0x91998000 - 0x919afff4 com.apple.CoreMediaAuthoring (2.1 - 914) &lt;37C0A2C7-73B3-39BC-8DE1-4A6B75F115FC&gt; /System/Library/PrivateFrameworks/CoreMediaAuthoring.framework/Versions/A/CoreMediaAuthoring 0x919b0000 - 0x919bbfff libcommonCrypto.dylib (60027) &lt;D9337AF4-C094-370E-858C-059AB6560719&gt; /usr/lib/system/libcommonCrypto.dylib 0x919c5000 - 0x919defff com.apple.Kerberos (2.0 - 1) &lt;9BDE8F4D-DBC3-34D1-852C-898D3655A611&gt; /System/Library/Frameworks/Kerberos.framework/Versions/A/Kerberos 0x919df000 - 0x91b9bffd libicucore.A.dylib (491.11.1) &lt;B19E450A-BAF1-3967-9C95-7F77DC0B4639&gt; /usr/lib/libicucore.A.dylib 0x91b9c000 - 0x91bc8ff7 libsystem_info.dylib (406.17) &lt;AA5611DB-A944-3072-B6BE-ACAB08689547&gt; /usr/lib/system/libsystem_info.dylib 0x91bc9000 - 0x91f81ffa libLAPACK.dylib (1073.4) &lt;9A6E5EAD-F2F2-3D5C-B655-2B536DB477F2&gt; /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libLAPACK.dylib 0x91f82000 - 0x91f82ffd com.apple.audio.units.AudioUnit (1.8 - 1.8) &lt;4C13DEA2-1EB0-3D06-901A-DB93184C06F0&gt; /System/Library/Frameworks/AudioUnit.framework/Versions/A/AudioUnit 0x91f83000 - 0x91fc2ff7 com.apple.bom (12.0 - 192) &lt;0637E52C-D151-37B3-904F-8656B2FD44DD&gt; /System/Library/PrivateFrameworks/Bom.framework/Versions/A/Bom 0x91fc3000 - 0x92405ff7 com.apple.CoreGraphics (1.600.0 - 328.0.4) &lt;E1D5CF68-B1CB-370E-A326-DA4292C0C096&gt; /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics 0x92408000 - 0x92409fff libsystem_sandbox.dylib (220) &lt;4E42390B-25EC-3530-AF01-337E430C16EB&gt; /usr/lib/system/libsystem_sandbox.dylib 0x92b8a000 - 0x92b91ffb libunwind.dylib (35.1) &lt;E1E8D8B3-3C78-3AB1-B398-C180DC6DCF05&gt; /usr/lib/system/libunwind.dylib 0x92b92000 - 0x92c2cfff com.apple.CoreSymbolication (3.0 - 87) &lt;6A27BBE5-6EF0-3D5D-A485-2145826B9796&gt; /System/Library/PrivateFrameworks/CoreSymbolication.framework/Versions/A/CoreSymbolication 0x92d01000 - 0x92d0bffe com.apple.bsd.ServiceManagement (2.0 - 2.0) &lt;9732BA61-D6F6-3644-82DA-FF0D6FEEFC69&gt; /System/Library/Frameworks/ServiceManagement.framework/Versions/A/ServiceManagement 0x92d0c000 - 0x92d94fff com.apple.PDFKit (2.7.2 - 2.7.2) &lt;7AE7BAE9-4C21-3BFB-919E-5C6EEBBDFF75&gt; /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/PDFKit.framework/Versions/A/PDFKit 0x92d95000 - 0x92d96fff liblangid.dylib (116) &lt;E13CC8C5-5034-320A-A210-41A2BDE4F846&gt; /usr/lib/liblangid.dylib 0x92d97000 - 0x92f0fff5 com.apple.QuartzCore (1.8 - 304.0) &lt;0B0EC55A-9084-3E28-9A84-1813CE3FAA9B&gt; /System/Library/Frameworks/QuartzCore.framework/Versions/A/QuartzCore 0x92f10000 - 0x92f39fff libxslt.1.dylib (11.3) &lt;0DE17DAA-66FF-3195-AADB-347BEB5E2EFA&gt; /usr/lib/libxslt.1.dylib 0x92f3a000 - 0x92f4ffff com.apple.ImageCapture (8.0 - 8.0) &lt;B8BD421F-D5A9-3FB4-8E89-AD5CFC0D4030&gt; /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/ImageCapture.framework/Versions/A/ImageCapture 0x92f81000 - 0x92fc2ff7 libcups.2.dylib (327) &lt;F46F8703-FEAE-3442-87CB-45C8BF98BEE5&gt; /usr/lib/libcups.2.dylib 0x92fc3000 - 0x92ff6ff5 libssl.0.9.8.dylib (47) &lt;3224FBB3-3074-3022-AD9A-187703680C03&gt; /usr/lib/libssl.0.9.8.dylib 0x92ff7000 - 0x92ffbffe libcache.dylib (57) &lt;834FDCA7-FE3B-33CC-A12A-E11E202477EC&gt; /usr/lib/system/libcache.dylib 0x93094000 - 0x93096ffb libRadiance.dylib (845) &lt;3F87840F-217D-3074-A29D-919BAAED2F4A&gt; /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libRadiance.dylib 0x93097000 - 0x930eeff7 com.apple.ScalableUserInterface (1.0 - 1) &lt;2B5E454B-BC49-3E85-B54D-1950397C448C&gt; /System/Library/Frameworks/QuartzCore.framework/Versions/A/Frameworks/ScalableUserInterface.framework/Versions/A/ScalableUserInterface 0x930fc000 - 0x9315efff libc++.1.dylib (65.1) &lt;C0CFF9FF-5D52-3EAE-B921-6AE1DA00A135&gt; /usr/lib/libc++.1.dylib 0x9316e000 - 0x931e7ff0 com.apple.CorePDF (2.0 - 2) &lt;6B5BF755-F336-359C-9A99-F006F61442CF&gt; /System/Library/PrivateFrameworks/CorePDF.framework/Versions/A/CorePDF 0x931e8000 - 0x93205ff7 libresolv.9.dylib (51) &lt;B9742A2A-DF15-3F6E-8FCE-778A58214B3A&gt; /usr/lib/libresolv.9.dylib 0x9324b000 - 0x932d0ff7 com.apple.SearchKit (1.4.0 - 1.4.0) &lt;454E950F-291C-3E95-8F35-05CA0AD6B327&gt; /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/SearchKit.framework/Versions/A/SearchKit 0x932d1000 - 0x932deff7 com.apple.AppleFSCompression (49 - 1.0) &lt;166AA1F8-E50A-3533-A3B5-8737C5118CC3&gt; /System/Library/PrivateFrameworks/AppleFSCompression.framework/Versions/A/AppleFSCompression 0x932df000 - 0x932e1fff libdyld.dylib (210.2.3) &lt;05D6FF2A-F09B-309D-95F7-7AF10259C707&gt; /usr/lib/system/libdyld.dylib 0x932e2000 - 0x9333bfff com.apple.AE (645.3 - 645.3) &lt;6745659F-006D-3F25-94D6-DF944E9A01FD&gt; /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/AE.framework/Versions/A/AE 0x9333c000 - 0x93373ffa com.apple.LDAPFramework (2.4.28 - 194.5) &lt;8368FAE7-2B89-3A7D-B6EE-7184B522CB66&gt; /System/Library/Frameworks/LDAP.framework/Versions/A/LDAP 0x93374000 - 0x93374fff libSystem.B.dylib (169.3) &lt;4F99C03B-BBFF-3BF8-8CC2-2DA764447446&gt; /usr/lib/libSystem.B.dylib 0x93375000 - 0x933c4ff6 libTIFF.dylib (845) &lt;989A2EB9-3A49-3157-8E9C-B16E6005BC64&gt; /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libTIFF.dylib 0x933c5000 - 0x93457ffb libvMisc.dylib (380.6) &lt;6DA3A03F-20BE-300D-A664-B50A7B4E4B1A&gt; /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libvMisc.dylib 0x93458000 - 0x93462fff com.apple.speech.recognition.framework (4.1.5 - 4.1.5) &lt;B855E8B4-2EE3-3BFF-8547-98A0F084F9AF&gt; /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SpeechRecognition.framework/Versions/A/SpeechRecognition 0x93463000 - 0x934c7fff com.apple.datadetectorscore (4.0 - 269.1) &lt;4D155F09-1A60-325A-BCAC-1B858C2C051B&gt; /System/Library/PrivateFrameworks/DataDetectorsCore.framework/Versions/A/DataDetectorsCore 0x934ee000 - 0x93512fff com.apple.PerformanceAnalysis (1.16 - 16) &lt;18DE0F9F-1264-394D-AC56-6B2A1771DFBE&gt; /System/Library/PrivateFrameworks/PerformanceAnalysis.framework/Versions/A/PerformanceAnalysis 0x93513000 - 0x93546ff3 com.apple.GSS (3.0 - 2.0) &lt;B1D719C1-B000-3BE3-B747-329D608585DD&gt; /System/Library/Frameworks/GSS.framework/Versions/A/GSS 0x93547000 - 0x93548fff libremovefile.dylib (23.1) &lt;98622D14-DAAB-3AD8-A5D9-C322BF572A98&gt; /usr/lib/system/libremovefile.dylib 0x935e7000 - 0x935e7fff com.apple.quartzframework (1.5 - 1.5) &lt;9018BE5B-4070-320E-8091-6584CC17F798&gt; /System/Library/Frameworks/Quartz.framework/Versions/A/Quartz 0x935e8000 - 0x93818fff com.apple.QuartzComposer (5.1 - 284) &lt;4E8682B7-EBAE-3C40-ABDB-8705EC7952BD&gt; /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/QuartzComposer.framework/Versions/A/QuartzComposer 0x93819000 - 0x9381cff9 libCGXType.A.dylib (328.0.4) &lt;9BC4856B-B92A-3D46-AABD-F5E3E80A8748&gt; /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCGXType.A.dylib 0x9381d000 - 0x93839ff7 libPng.dylib (845) &lt;14C43094-C670-3575-BF9B-3A967E05EAC0&gt; /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libPng.dylib 0x9383a000 - 0x93854ffc libsystem_kernel.dylib (2050.20.9) &lt;561E35E5-E32E-3BFB-9E8B-C977BA6C4F85&gt; /usr/lib/system/libsystem_kernel.dylib 0x93855000 - 0x93a3dff3 com.apple.CoreFoundation (6.8 - 744.12) &lt;E939CEA0-493C-3233-9983-5070981BB350&gt; /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 0x93a3e000 - 0x93a45fff liblaunch.dylib (442.26.2) &lt;310C99F8-0811-314D-9BB9-D0ED6DFA024B&gt; /usr/lib/system/liblaunch.dylib 0x93a46000 - 0x93b2fff7 libxml2.2.dylib (22.3) &lt;015A4FA6-5BB9-3F95-AFB8-B9281E22685B&gt; /usr/lib/libxml2.2.dylib 0x93b30000 - 0x93d9dfff com.apple.imageKit (2.2 - 667) &lt;3F5F92DB-C0C0-3C5F-98C6-B84AB9E28B55&gt; /System/Library/Frameworks/Quartz.framework/Versions/A/Frameworks/ImageKit.framework/Versions/A/ImageKit 0x93d9e000 - 0x93f27ff7 com.apple.vImage (6.0 - 6.0) &lt;1D1F67FE-4F75-3689-BEF6-4A46C8039E70&gt; /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vImage.framework/Versions/A/vImage 0x93f28000 - 0x93f2afff com.apple.securityhi (4.0 - 55002) &lt;15E9B9BC-108F-3416-A0A7-A321A85081F7&gt; /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/SecurityHI.framework/Versions/A/SecurityHI 0x93f2d000 - 0x93f44fff com.apple.GenerationalStorage (1.1 - 132.2) &lt;93694E0D-35D3-3633-976E-F354CBD92F54&gt; /System/Library/PrivateFrameworks/GenerationalStorage.framework/Versions/A/GenerationalStorage 0x93f45000 - 0x93f72ffb com.apple.CoreServicesInternal (154.2 - 154.2) &lt;DCCF604B-1DB8-3F09-8122-545E2E7F466D&gt; /System/Library/PrivateFrameworks/CoreServicesInternal.framework/Versions/A/CoreServicesInternal 0x93f73000 - 0x9408bff7 com.apple.coreavchd (5.6.0 - 5600.4.16) &lt;F024C78B-4FAA-38F1-A182-AD0A0A596CBE&gt; /System/Library/PrivateFrameworks/CoreAVCHD.framework/Versions/A/CoreAVCHD 0x9408c000 - 0x94094fff com.apple.CommerceCore (1.0 - 26) &lt;AF0D1990-8CBF-3AB4-99DF-8B7AE14FB0D5&gt; /System/Library/PrivateFrameworks/CommerceKit.framework/Versions/A/Frameworks/CommerceCore.framework/Versions/A/CommerceCore 0x94095000 - 0x9418dff9 libsqlite3.dylib (138.1) &lt;AD7C5914-35F0-37A3-9238-A29D2E26C755&gt; /usr/lib/libsqlite3.dylib 0x9418e000 - 0x9419cfff com.apple.opengl (1.8.6 - 1.8.6) &lt;1AD1AE7B-B57B-35B5-B571-32A34F0DA737&gt; /System/Library/Frameworks/OpenGL.framework/Versions/A/OpenGL 0x9419d000 - 0x941a9ff7 com.apple.NetAuth (4.0 - 4.0) &lt;4983C4B8-9D95-3C4D-897E-07743326487E&gt; /System/Library/PrivateFrameworks/NetAuth.framework/Versions/A/NetAuth 0x94ee3000 - 0x94eefff8 libbz2.1.0.dylib (29) &lt;7031A4C0-784A-3EAA-93DF-EA1F26CC9264&gt; /usr/lib/libbz2.1.0.dylib 0x94ef0000 - 0x94f3cfff libcorecrypto.dylib (106.2) &lt;20EBADBA-D6D6-36F0-AE80-168E9AF13DB6&gt; /usr/lib/system/libcorecrypto.dylib 0x94f3d000 - 0x95059ff7 com.apple.desktopservices (1.7.2 - 1.7.2) &lt;8E74D101-8398-34F1-A463-B4950680A597&gt; /System/Library/PrivateFrameworks/DesktopServicesPriv.framework/Versions/A/DesktopServicesPriv 0x9505a000 - 0x95104fff com.apple.LaunchServices (539.7 - 539.7) &lt;AF33EBD3-BC0B-30B5-B7DA-5CCCF12D7EDD&gt; /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/LaunchServices.framework/Versions/A/LaunchServices 0x95391000 - 0x953f7fff com.apple.print.framework.PrintCore (8.1 - 387.1) &lt;F8CF762B-B707-3021-958F-BB8D33DB3576&gt; /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/PrintCore 0x953f8000 - 0x953f8fff com.apple.ApplicationServices (45 - 45) &lt;677C4ACC-9D12-366F-8A87-B898AC806DD9&gt; /System/Library/Frameworks/ApplicationServices.framework/Versions/A/ApplicationServices 0x953f9000 - 0x953fdfff com.apple.OpenDirectory (10.8 - 151.10) &lt;A1858D81-086F-3BF5-87E3-9B70409FFDF6&gt; /System/Library/Frameworks/OpenDirectory.framework/Versions/A/OpenDirectory 0x95403000 - 0x95451ffb libFontRegistry.dylib (100) &lt;3B8350C2-4D8F-38C4-A22E-2F855D7E83D1&gt; /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontRegistry.dylib 0x95452000 - 0x9555dff7 libJP2.dylib (845) &lt;D409C913-6FA4-3D60-BFE0-B9FC6A02FEE0&gt; /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJP2.dylib 0x9555e000 - 0x9557bfff libCRFSuite.dylib (33) &lt;C9D72D0C-871A-39A2-8AFB-682D11AE7D0D&gt; /usr/lib/libCRFSuite.dylib 0x9557c000 - 0x955beffb com.apple.RemoteViewServices (2.0 - 80.5) &lt;60E04F2F-AFD8-3B1F-BF07-8A3A7EABB8E9&gt; /System/Library/PrivateFrameworks/RemoteViewServices.framework/Versions/A/RemoteViewServices 0x955bf000 - 0x95952ffb com.apple.MediaToolbox (1.0 - 926.62) &lt;7290B07B-4D03-3B46-809C-64C8FB97B40C&gt; /System/Library/Frameworks/MediaToolbox.framework/Versions/A/MediaToolbox 0x95953000 - 0x95953fff com.apple.Accelerate.vecLib (3.8 - vecLib 3.8) &lt;908B8D40-3FB5-3047-B482-3DF95025ECFC&gt; /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/vecLib 0x95954000 - 0x959f4ff7 com.apple.QD (3.42 - 285) &lt;1B8307C6-AFA8-312E-BA5B-679070EF2CA1&gt; /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/QD.framework/Versions/A/QD 0x95a03000 - 0x95a07fff com.apple.IOSurface (86.0.3 - 86.0.3) &lt;E3A4DB0A-1C1A-31E3-A550-5C0E1C874509&gt; /System/Library/Frameworks/IOSurface.framework/Versions/A/IOSurface 0x95a08000 - 0x95a08fff com.apple.Accelerate (1.8 - Accelerate 1.8) &lt;4EC0548E-3A3F-310D-A366-47B51D5B6398&gt; /System/Library/Frameworks/Accelerate.framework/Versions/A/Accelerate 0x95a09000 - 0x95a0cff7 com.apple.TCC (1.0 - 1) &lt;437D76CD-6437-3B55-BE2C-A53508858256&gt; /System/Library/PrivateFrameworks/TCC.framework/Versions/A/TCC 0x95a1c000 - 0x95c98ff7 com.apple.QuickTime (7.7.1 - 2599.13) &lt;FE609160-E1EF-341D-9B6A-205D3E03A4D2&gt; /System/Library/Frameworks/QuickTime.framework/Versions/A/QuickTime 0x95c99000 - 0x95ca2ffd com.apple.audio.SoundManager (4.0 - 4.0) &lt;ABC5FE40-B222-36EB-9905-5C8C4BFD8C87&gt; /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/CarbonSound.framework/Versions/A/CarbonSound 0x95ca3000 - 0x95da1ff7 libFontParser.dylib (84.5) &lt;B3006327-7B2D-3966-A56A-BD85F1D71641&gt; /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/Resources/libFontParser.dylib 0x95da2000 - 0x960a7ff7 com.apple.CoreServices.CarbonCore (1037.3 - 1037.3) &lt;4571EDDC-704A-3FB1-B9A6-59870AA6165F&gt; /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/CarbonCore.framework/Versions/A/CarbonCore 0x960a8000 - 0x960abff3 com.apple.AppleSystemInfo (2.0 - 2) &lt;4639D755-8A68-31C9-95C4-7E7F70C233FA&gt; /System/Library/PrivateFrameworks/AppleSystemInfo.framework/Versions/A/AppleSystemInfo 0x960ac000 - 0x963c9ff3 com.apple.Foundation (6.8 - 945.11) &lt;03B242AC-519C-3683-AA52-E73536B3D55F&gt; /System/Library/Frameworks/Foundation.framework/Versions/C/Foundation 0x963ca000 - 0x964d7ff3 com.apple.ImageIO.framework (3.2.0 - 845) &lt;BF959BCB-C30A-3680-B7C2-91B327B2B63B&gt; /System/Library/Frameworks/ImageIO.framework/Versions/A/ImageIO 0x964d8000 - 0x96533fff com.apple.htmlrendering (77 - 1.1.4) &lt;5C0C669F-AE07-3983-B38F-EB829B5CE609&gt; /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/HTMLRendering.framework/Versions/A/HTMLRendering 0x96534000 - 0x9658efff com.apple.Symbolication (1.3 - 93) &lt;D327EEFF-F2F5-39C4-B1EC-32E259DC04F1&gt; /System/Library/PrivateFrameworks/Symbolication.framework/Versions/A/Symbolication 0x9658f000 - 0x96626ff7 com.apple.ink.framework (10.8.2 - 150) &lt;D90FF7BC-6B90-39F1-AC52-670269947C58&gt; /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Ink.framework/Versions/A/Ink 0x96627000 - 0x9665dffb com.apple.DebugSymbols (98 - 98) &lt;9A9ADA0A-E487-3C8F-9998-286EE04C235A&gt; /System/Library/PrivateFrameworks/DebugSymbols.framework/Versions/A/DebugSymbols 0x9665e000 - 0x966a0ff7 libauto.dylib (185.1) &lt;B2B5B639-6778-352A-828D-FD8B64A3E8B3&gt; /usr/lib/libauto.dylib 0x966a1000 - 0x966cbff9 com.apple.framework.Apple80211 (8.3 - 830.18) &lt;DCCC8813-A9D8-3C01-8BC9-646EA954F986&gt; /System/Library/PrivateFrameworks/Apple80211.framework/Versions/A/Apple80211 0x966cc000 - 0x966eaff3 com.apple.openscripting (1.3.6 - 148.2) &lt;55738D66-CC15-3F43-9265-00C3322D39C4&gt; /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/OpenScripting.framework/Versions/A/OpenScripting 0x966eb000 - 0x96760ff7 com.apple.ApplicationServices.ATS (332 - 341.1) &lt;95206704-F9C9-33C4-AF25-FE9890E160B2&gt; /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ATS.framework/Versions/A/ATS 0x96761000 - 0x9676afff com.apple.DiskArbitration (2.5.1 - 2.5.1) &lt;05EF69BB-5D55-3A9E-9E5E-2EF9F84B3985&gt; /System/Library/Frameworks/DiskArbitration.framework/Versions/A/DiskArbitration 0x9676b000 - 0x96771fff com.apple.print.framework.Print (8.0 - 258) &lt;12AEAD24-6924-3923-9E4A-C5D21231E639&gt; /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Print.framework/Versions/A/Print 0x96772000 - 0x96826fff com.apple.coreui (2.0 - 181.1) &lt;C15ABF35-B7F5-34ED-A461-386DAF65D96B&gt; /System/Library/PrivateFrameworks/CoreUI.framework/Versions/A/CoreUI 0x96832000 - 0x9697fffb com.apple.CFNetwork (596.2.3 - 596.2.3) &lt;1221EF86-659B-3136-AB57-0CC6B130CDA2&gt; /System/Library/Frameworks/CFNetwork.framework/Versions/A/CFNetwork 0x97233000 - 0x97234ffd libunc.dylib (25) &lt;58599CBF-E262-3CEA-AFE1-35560E0177DC&gt; /usr/lib/system/libunc.dylib 0x974cf000 - 0x97513fff libGLU.dylib (8.6.1) &lt;06BAFDCA-800C-35E3-B1A3-F05E105B86AB&gt; /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLU.dylib 0x97514000 - 0x97ba0feb com.apple.CoreAUC (6.16.00 - 6.16.00) &lt;654A0AB8-F24F-3489-8F70-F0A22414FE08&gt; /System/Library/PrivateFrameworks/CoreAUC.framework/Versions/A/CoreAUC 0x97ba1000 - 0x97bfaff7 com.apple.ImageCaptureCore (5.0.1 - 5.0.1) &lt;541529F7-063E-370B-9EB2-DF5BE39073E6&gt; /System/Library/Frameworks/ImageCaptureCore.framework/Versions/A/ImageCaptureCore 0x97bfb000 - 0x97bfeffc libpam.2.dylib (20) &lt;FCF74195-A99E-3B07-8E49-688D4A6F1E18&gt; /usr/lib/libpam.2.dylib 0x97bff000 - 0x97c00ffd com.apple.TrustEvaluationAgent (2.0 - 23) &lt;E42347C0-2D3C-36A4-9200-757FFA61B388&gt; /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent 0x97c01000 - 0x97c05ffc libGIF.dylib (845) &lt;714E9F0D-D7A3-3F58-B46E-FCBE0F144B23&gt; /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libGIF.dylib 0x97c06000 - 0x97c5ffff com.apple.QuickLookFramework (4.0 - 555.4) &lt;96911441-FDD4-3B68-9E0C-51BA11A97C2E&gt; /System/Library/Frameworks/QuickLook.framework/Versions/A/QuickLook 0x97c6e000 - 0x97d7b057 libobjc.A.dylib (532.2) &lt;FA455371-7395-3D58-A89B-D1520612D1BC&gt; /usr/lib/libobjc.A.dylib 0x97d7c000 - 0x97df8ff3 com.apple.Metadata (10.7.0 - 707.3) &lt;6B6A6216-23D0-34CE-8099-BEE9BA42501E&gt; /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/Metadata.framework/Versions/A/Metadata 0x97df9000 - 0x97e07ff3 libsystem_network.dylib (77.10) &lt;7FBF5A15-97BA-3721-943E-E77F0C40DBE1&gt; /usr/lib/system/libsystem_network.dylib 0x97e08000 - 0x97e08fff libsystem_blocks.dylib (59) &lt;3A743C5D-CFA5-37D8-80A8-B6795A9DB04F&gt; /usr/lib/system/libsystem_blocks.dylib 0x98182000 - 0x981abff7 libRIP.A.dylib (328.0.4) &lt;00D3148A-C70D-3D5A-B60B-C23F2ACE99FE&gt; /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libRIP.A.dylib 0x981ac000 - 0x981d0fff libJPEG.dylib (845) &lt;547FA9A5-0BBB-3E39-BACA-F3E2DAE57DB0&gt; /System/Library/Frameworks/ImageIO.framework/Versions/A/Resources/libJPEG.dylib 0x981d1000 - 0x981d3fff libCVMSPluginSupport.dylib (8.6.1) &lt;8A174BD9-992E-351D-8F9A-DF6991723ABE&gt; /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCVMSPluginSupport.dylib 0x981d4000 - 0x981dcfff libcopyfile.dylib (89) &lt;4963541B-0254-371B-B29A-B6806888949B&gt; /usr/lib/system/libcopyfile.dylib 0x981dd000 - 0x98275fff com.apple.CoreServices.OSServices (557.4 - 557.4) &lt;C724AB29-A596-3E1E-9FF1-A4E509AD843A&gt; /System/Library/Frameworks/CoreServices.framework/Versions/A/Frameworks/OSServices.framework/Versions/A/OSServices 0x98324000 - 0x98393ffb com.apple.Heimdal (3.0 - 2.0) &lt;1ABF438B-30E6-3165-968C-E2EA1A9DF1FD&gt; /System/Library/PrivateFrameworks/Heimdal.framework/Versions/A/Heimdal 0x98394000 - 0x983ebff3 com.apple.HIServices (1.20 - 417) &lt;561A770B-8523-3D09-A763-11F872779A4C&gt; /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/HIServices.framework/Versions/A/HIServices 0x983ec000 - 0x983f6fff com.apple.DisplayServicesFW (2.7.2 - 357) &lt;434461ED-E2AF-3F01-9793-128F368E8595&gt; /System/Library/PrivateFrameworks/DisplayServices.framework/Versions/A/DisplayServices 0x983f7000 - 0x984f3ff3 com.apple.DiskImagesFramework (10.8 - 344) &lt;E35483F1-3F14-33DC-8D21-F2E63EA76ED3&gt; /System/Library/PrivateFrameworks/DiskImages.framework/Versions/A/DiskImages 0x984f4000 - 0x9864cffb com.apple.audio.toolbox.AudioToolbox (1.8 - 1.8) &lt;9205DFC2-8DAE-354E-AD87-46E229B5F2F1&gt; /System/Library/Frameworks/AudioToolbox.framework/Versions/A/AudioToolbox 0x9864d000 - 0x986fcff7 com.apple.CoreText (260.0 - 275.16) &lt;873ADCD9-D361-3753-A220-CDD289196AD8&gt; /System/Library/Frameworks/CoreText.framework/Versions/A/CoreText 0x986fd000 - 0x9870bff7 libz.1.dylib (43) &lt;245F1B61-2276-3BBB-9891-99934116D833&gt; /usr/lib/libz.1.dylib 0x9873b000 - 0x9874dfff libbsm.0.dylib (32) &lt;DADD385E-FE53-3458-94FB-E316A6345108&gt; /usr/lib/libbsm.0.dylib 0x9874e000 - 0x987c8ff7 com.apple.securityfoundation (6.0 - 55115.4) &lt;7F614418-F853-3FED-B265-0EA47F309A49&gt; /System/Library/Frameworks/SecurityFoundation.framework/Versions/A/SecurityFoundation 0x987c9000 - 0x98886feb libsystem_c.dylib (825.25) &lt;B1F6916A-F558-38B5-A18C-D9733625FDC9&gt; /usr/lib/system/libsystem_c.dylib 0x98887000 - 0x988b4ffe libsystem_m.dylib (3022.6) &lt;9975D9C3-3B71-38E3-AA21-C5C5F9D9C431&gt; /usr/lib/system/libsystem_m.dylib 0x988b5000 - 0x98973ff3 com.apple.ColorSync (4.8.0 - 4.8.0) &lt;EFEDCB37-4F20-3CEC-A185-5D2976E11BAC&gt; /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/ColorSync.framework/Versions/A/ColorSync 0x98975000 - 0x989b6ff7 com.apple.framework.CoreWiFi (1.1 - 110.11) &lt;571FD499-4B2F-305E-A43E-DCF961966CE5&gt; /System/Library/Frameworks/CoreWiFi.framework/Versions/A/CoreWiFi 0x989b7000 - 0x98a14fff com.apple.audio.CoreAudio (4.1.0 - 4.1.0) &lt;9549B81F-4425-34EE-802B-F462068DC0C5&gt; /System/Library/Frameworks/CoreAudio.framework/Versions/A/CoreAudio 0x98d53000 - 0x98d54fff libdnsinfo.dylib (453.18) &lt;41C7B8E2-2A81-31DE-BD8B-F0C29E169D4F&gt; /usr/lib/system/libdnsinfo.dylib 0x98d92000 - 0x98d95ffd libCoreVMClient.dylib (24.4) &lt;C54E8FD0-61EC-3DC8-8631-54288AC66AC8&gt; /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libCoreVMClient.dylib 0x98d96000 - 0x98db6ffd com.apple.ChunkingLibrary (2.0 - 133.2) &lt;FE5F0F1E-B15D-3F76-8655-DC2FE19BF56E&gt; /System/Library/PrivateFrameworks/ChunkingLibrary.framework/Versions/A/ChunkingLibrary 0x98e52000 - 0x98e5cfff libCSync.A.dylib (328.0.4) &lt;A875CE4A-EB89-309F-B160-F3CC8BBF0A11&gt; /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/CoreGraphics.framework/Versions/A/Resources/libCSync.A.dylib 0x98e5d000 - 0x98e5efff libquarantine.dylib (52) &lt;D526310F-DC77-37EA-8F5F-83928EFA3262&gt; /usr/lib/system/libquarantine.dylib 0x98e5f000 - 0x98e84ff7 com.apple.CoreVideo (1.8 - 99.3) &lt;5B872AC0-E82D-3475-A3F9-FD95F380560D&gt; /System/Library/Frameworks/CoreVideo.framework/Versions/A/CoreVideo 0x98e85000 - 0x98ec0fe7 libGLImage.dylib (8.6.1) &lt;A3442557-18D5-332E-8859-423D5A20EBBE&gt; /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGLImage.dylib 0x98ec1000 - 0x98ed4ff9 com.apple.MultitouchSupport.framework (235.29 - 235.29) &lt;451701B6-03CE-3F26-9FF0-92D8DA1467EE&gt; /System/Library/PrivateFrameworks/MultitouchSupport.framework/Versions/A/MultitouchSupport 0x98ed5000 - 0x98ed8ff7 libcompiler_rt.dylib (30) &lt;CE5DBDB4-0124-3E2B-9105-989DF98DD108&gt; /usr/lib/system/libcompiler_rt.dylib 0x98ed9000 - 0x98ee9ff2 com.apple.LangAnalysis (1.7.0 - 1.7.0) &lt;875363E7-6D02-3229-A9DD-E5A5568A7D61&gt; /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/LangAnalysis.framework/Versions/A/LangAnalysis 0x98eea000 - 0x98f2fff5 com.apple.opencl (2.1.21 - 2.1.21) &lt;8B48DA40-593C-36D1-8E1B-6739448F38F7&gt; /System/Library/Frameworks/OpenCL.framework/Versions/A/OpenCL 0x98f30000 - 0x99147fff com.apple.CoreData (106.1 - 407.7) &lt;17FD06D6-AD7C-345A-8FA4-1F0FBFF4DAE1&gt; /System/Library/Frameworks/CoreData.framework/Versions/A/CoreData 0x99150000 - 0x992adffb com.apple.QTKit (7.7.1 - 2599.13) &lt;2DC9E2BB-9895-3D02-A318-88431052E70B&gt; /System/Library/Frameworks/QTKit.framework/Versions/A/QTKit 0x992ae000 - 0x992aefff libkeymgr.dylib (25) &lt;D5E93F7F-9315-3AD6-92C7-941F7B54C490&gt; /usr/lib/system/libkeymgr.dylib 0x992af000 - 0x992f4ff7 com.apple.NavigationServices (3.7 - 200) &lt;F6531764-6E43-3AF3-ACDD-8A5551EF016A&gt; /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/NavigationServices.framework/Versions/A/NavigationServices 0x992f5000 - 0x992f5ffd libOpenScriptingUtil.dylib (148.2) &lt;907E25B1-4F50-3461-B8D5-733C687EB534&gt; /usr/lib/libOpenScriptingUtil.dylib 0x992f6000 - 0x99302ffa com.apple.CrashReporterSupport (10.8.2 - 415) &lt;BAE9900A-51E7-3AD4-A7FB-7E6CCFFB2F21&gt; /System/Library/PrivateFrameworks/CrashReporterSupport.framework/Versions/A/CrashReporterSupport 0x99303000 - 0x99ebfffb com.apple.AppKit (6.8 - 1187.34) &lt;06EDB1D1-3B8A-3699-8E3A-D8F50A27AB7C&gt; /System/Library/Frameworks/AppKit.framework/Versions/C/AppKit 0x99ec0000 - 0x99fdeff7 com.apple.MediaControlSender (1.4.5 - 145.3) &lt;E0931EE7-4ACA-3538-9658-B9B2AC1E6A80&gt; /System/Library/PrivateFrameworks/MediaControlSender.framework/Versions/A/MediaControlSender 0x99fdf000 - 0x99ff4fff com.apple.speech.synthesis.framework (4.1.12 - 4.1.12) &lt;DE68CEB5-4959-3652-83B8-D2B00D3B932D&gt; /System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/SpeechSynthesis.framework/Versions/A/SpeechSynthesis 0x99ff5000 - 0x99ff5fff com.apple.CoreServices (57 - 57) &lt;956C6C6D-A5DD-314F-9C57-4A61D41F30CE&gt; /System/Library/Frameworks/CoreServices.framework/Versions/A/CoreServices 0x99ff6000 - 0x99ff9fff com.apple.help (1.3.2 - 42) &lt;AD7EB1F0-A068-3A2C-9D59-38E59CEC0D96&gt; /System/Library/Frameworks/Carbon.framework/Versions/A/Frameworks/Help.framework/Versions/A/Help 0x99ffa000 - 0x9a03afff com.apple.MediaKit (14 - 685) &lt;64028790-49E5-31C8-8577-F98FA09CF490&gt; /System/Library/PrivateFrameworks/MediaKit.framework/Versions/A/MediaKit 0x9a03b000 - 0x9a04dff7 libdispatch.dylib (228.23) &lt;86EF7D45-2D97-3465-A449-95038AE5DABA&gt; /usr/lib/system/libdispatch.dylib 0x9a0bc000 - 0x9a103ff3 com.apple.CoreMedia (1.0 - 926.62) &lt;69B3835E-C02F-3935-AD39-83F8E81FB780&gt; /System/Library/Frameworks/CoreMedia.framework/Versions/A/CoreMedia 0x9a104000 - 0x9a15fff7 com.apple.AppleVAFramework (5.0.18 - 5.0.18) &lt;4BA2AAEA-4936-375C-B4D8-4BBE2EDC7FF5&gt; /System/Library/PrivateFrameworks/AppleVA.framework/Versions/A/AppleVA 0x9a160000 - 0x9a182fff libc++abi.dylib (24.4) &lt;06479DA4-BC23-34B6-BAFC-A885814261D0&gt; /usr/lib/libc++abi.dylib 0x9a183000 - 0x9a5a0fff FaceCoreLight (2.4.1) &lt;571DE3F8-CA8A-3E71-9AF4-F06FFE721CE6&gt; /System/Library/PrivateFrameworks/FaceCoreLight.framework/Versions/A/FaceCoreLight 0x9a5a1000 - 0x9a5c0ff3 com.apple.Ubiquity (1.2 - 243.10) &lt;D2C9F356-1681-31D2-B292-5227E2DDEB0B&gt; /System/Library/PrivateFrameworks/Ubiquity.framework/Versions/A/Ubiquity 0x9a6d2000 - 0x9a71cff7 com.apple.framework.CoreWLAN (3.0.1 - 301.12) &lt;0D20C03D-706B-39B7-B4E4-E03671565212&gt; /System/Library/Frameworks/CoreWLAN.framework/Versions/A/CoreWLAN External Modification Summary: Calls made by other processes targeting this process: task_for_pid: 2 thread_create: 0 thread_set_state: 0 Calls made by this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by all processes on this machine: task_for_pid: 14406 thread_create: 2 thread_set_state: 84 VM Region Summary: ReadOnly portion of Libraries: Total=370.8M resident=351.4M(95%) swapped_out_or_unallocated=19.4M(5%) Writable regions: Total=197.7M written=5704K(3%) resident=24.4M(12%) swapped_out=444K(0%) unallocated=173.2M(88%) REGION TYPE VIRTUAL =========== ======= ATS (font support) 32.0M ATS (font support) (reserved) 4K reserved VM address space (unallocated) CG backing stores 14.2M CG image 12K CG shared images 256K CoreServices 3164K MALLOC 82.0M MALLOC guard page 48K Memory tag=240 4K Memory tag=242 12K Memory tag=35 4448K OpenCL 20K SQLite page cache 192K Stack 107.4M VM_ALLOCATE 16.6M __DATA 9.8M __DATA/__OBJC 436K __IMAGE 528K __LINKEDIT 100.1M __OBJC 2420K __OBJC/__DATA 84K __PAGEZERO 4K __TEXT 270.7M __UNICODE 544K mapped file 107.0M shared memory 308K =========== ======= TOTAL 751.9M TOTAL, minus reserved VM space 751.9M </code></pre></div>
0
<p dir="auto"><strong>I'm submitting a ...</strong> (check one with "x")</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[x ] bug report =&gt; search github for a similar issue or PR before submitting [ ] feature request [ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question"><pre class="notranslate"><code class="notranslate">[x ] bug report =&gt; search github for a similar issue or PR before submitting [ ] feature request [ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question </code></pre></div> <p dir="auto"><strong>Current behavior</strong><br> 2.0.0 release<br> When trying to run unit tests with karma, test_bed.js is bundled by karma as part of karam-test-shim.js. But the contents of test_bed.js are uncompiled TypeScript:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="/** * @license * Copyright Google Inc. All Rights Reserved. * * Use of this source code is governed by an MIT-style license that can be * found in the LICENSE file at https://angular.io/license */ import { Injector, NgModule, NgZone, OpaqueToken } from '@angular/core'; import { AsyncTestCompleter } from './async_test_completer'; import { ComponentFixture } from './component_fixture'; import { ListWrapper } from './facade/collection'; import { FunctionWrapper, stringify } from './facade/lang'; import { TestingCompilerFactory } from './test_compiler'; var UNDEFINED = new Object(); ..."><pre class="notranslate"><span class="pl-c">/**</span> <span class="pl-c"> * <span class="pl-k">@license</span></span> <span class="pl-c"> * Copyright Google Inc. All Rights Reserved.</span> <span class="pl-c"> *</span> <span class="pl-c"> * Use of this source code is governed by an MIT-style license that can be</span> <span class="pl-c"> * found in the LICENSE file at https://angular.io/license</span> <span class="pl-c"> */</span> <span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-v">Injector</span><span class="pl-kos">,</span> <span class="pl-v">NgModule</span><span class="pl-kos">,</span> <span class="pl-v">NgZone</span><span class="pl-kos">,</span> <span class="pl-v">OpaqueToken</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'@angular/core'</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-v">AsyncTestCompleter</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'./async_test_completer'</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-v">ComponentFixture</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'./component_fixture'</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-v">ListWrapper</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'./facade/collection'</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-v">FunctionWrapper</span><span class="pl-kos">,</span> <span class="pl-s1">stringify</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'./facade/lang'</span><span class="pl-kos">;</span> <span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-v">TestingCompilerFactory</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'./test_compiler'</span><span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-c1">UNDEFINED</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-v">Object</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> ...</pre></div> <p dir="auto">This results in the following error:</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="PhantomJS 2.1.1 (Mac OS X 0.0.0) ERROR SyntaxError: Use of reserved word 'import' at karma-test-shim.js:3833 Chrome 53.0.2785 (Mac OS X 10.11.6) ERROR Uncaught SyntaxError: Unexpected token import at http://localhost:9876/context.html:8"><pre class="notranslate">PhantomJS 2.1.1 (Mac OS X 0.0.0) ERROR SyntaxError: Use of reserved word <span class="pl-s"><span class="pl-pds">'</span>import<span class="pl-pds">'</span></span> at karma-test-shim.js:3833 Chrome 53.0.2785 (Mac OS X 10.11.6) ERROR Uncaught SyntaxError: Unexpected token import at http://localhost:9876/context.html:8</pre></div> <p dir="auto"><strong>Expected behavior</strong><br> test_bed.js should be compiled to JavaScript before inclusion by karma.</p> <p dir="auto"><strong>Reproduction of the problem</strong><br> webpack/karma/angular setup using <code class="notranslate">npm test</code></p> <p dir="auto">webpack.test.config:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="process.env.npm_lifecycle_event = 'test'; var webpack = require('webpack'), basicConf = {}, path = require('path'); var NODE_MODULES = root(&quot;node_modules&quot;); function root(args) { args = Array.prototype.slice.call(arguments, 0); return path.join.apply(path, [__dirname].concat(args)); } basicConf.entry = {}; basicConf.devtool = &quot;eval&quot;; basicConf.debug = true; basicConf.resolve = { cache: true, fallback: [ NODE_MODULES ], modulesDirectories: [ NODE_MODULES ], root: [ root(&quot;&quot;) ], extensions: [&quot;&quot;, &quot;.ts&quot;, &quot;.js&quot;, &quot;.json&quot;, &quot;.css&quot;, &quot;.scss&quot;, &quot;.html&quot;] }; basicConf.module = { loaders: [ { test: /\.ts$/, loader: &quot;ts&quot;, query: { &quot;ignoreDiagnostics&quot;: [ 2403, // 2403 -&gt; Subsequent variable declarations 2300, // 2300 -&gt; Duplicate identifier 2374, // 2374 -&gt; Duplicate number index signature 2375, // 2375 -&gt; Duplicate string index signature 2502 // 2502 -&gt; Referenced directly or indirectly ] }, exclude: [ /node_modules\/?!(@angular)/ ] }, {test: /\.scss$/, loader: &quot;null&quot;}, {test: /\.css$/, loader: &quot;null&quot;}, {test: /\.html$/, loader: &quot;raw&quot;} ], postLoaders: [ { test: /\.(js|ts)$/, include: path.resolve(&quot;.&quot;), loader: &quot;istanbul-instrumenter-loader&quot;, exclude: [/.+-spec\.ts$/, /\.e2e\.ts$/, NODE_MODULES] } ] }; module.exports = basicConf;"><pre class="notranslate"><span class="pl-s1">process</span><span class="pl-kos">.</span><span class="pl-c1">env</span><span class="pl-kos">.</span><span class="pl-c1">npm_lifecycle_event</span> <span class="pl-c1">=</span> <span class="pl-s">'test'</span><span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-s1">webpack</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'webpack'</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-s1">basicConf</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span><span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-s1">path</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'path'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-c1">NODE_MODULES</span> <span class="pl-c1">=</span> <span class="pl-en">root</span><span class="pl-kos">(</span><span class="pl-s">"node_modules"</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">function</span> <span class="pl-en">root</span><span class="pl-kos">(</span><span class="pl-s1">args</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-s1">args</span> <span class="pl-c1">=</span> <span class="pl-v">Array</span><span class="pl-kos">.</span><span class="pl-c1">prototype</span><span class="pl-kos">.</span><span class="pl-c1">slice</span><span class="pl-kos">.</span><span class="pl-en">call</span><span class="pl-kos">(</span><span class="pl-smi">arguments</span><span class="pl-kos">,</span> <span class="pl-c1">0</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">return</span> <span class="pl-s1">path</span><span class="pl-kos">.</span><span class="pl-c1">join</span><span class="pl-kos">.</span><span class="pl-en">apply</span><span class="pl-kos">(</span><span class="pl-s1">path</span><span class="pl-kos">,</span> <span class="pl-kos">[</span><span class="pl-s1">__dirname</span><span class="pl-kos">]</span><span class="pl-kos">.</span><span class="pl-en">concat</span><span class="pl-kos">(</span><span class="pl-s1">args</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-s1">basicConf</span><span class="pl-kos">.</span><span class="pl-c1">entry</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span><span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-s1">basicConf</span><span class="pl-kos">.</span><span class="pl-c1">devtool</span> <span class="pl-c1">=</span> <span class="pl-s">"eval"</span><span class="pl-kos">;</span> <span class="pl-s1">basicConf</span><span class="pl-kos">.</span><span class="pl-c1">debug</span> <span class="pl-c1">=</span> <span class="pl-c1">true</span><span class="pl-kos">;</span> <span class="pl-s1">basicConf</span><span class="pl-kos">.</span><span class="pl-c1">resolve</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-c1">cache</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span> <span class="pl-c1">fallback</span>: <span class="pl-kos">[</span> <span class="pl-c1">NODE_MODULES</span> <span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-c1">modulesDirectories</span>: <span class="pl-kos">[</span> <span class="pl-c1">NODE_MODULES</span> <span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-c1">root</span>: <span class="pl-kos">[</span> <span class="pl-en">root</span><span class="pl-kos">(</span><span class="pl-s">""</span><span class="pl-kos">)</span> <span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-c1">extensions</span>: <span class="pl-kos">[</span><span class="pl-s">""</span><span class="pl-kos">,</span> <span class="pl-s">".ts"</span><span class="pl-kos">,</span> <span class="pl-s">".js"</span><span class="pl-kos">,</span> <span class="pl-s">".json"</span><span class="pl-kos">,</span> <span class="pl-s">".css"</span><span class="pl-kos">,</span> <span class="pl-s">".scss"</span><span class="pl-kos">,</span> <span class="pl-s">".html"</span><span class="pl-kos">]</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-s1">basicConf</span><span class="pl-kos">.</span><span class="pl-c1">module</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-c1">loaders</span>: <span class="pl-kos">[</span> <span class="pl-kos">{</span> <span class="pl-c1">test</span>: <span class="pl-pds"><span class="pl-c1">/</span><span class="pl-cce">\.</span>ts<span class="pl-cce">$</span><span class="pl-c1">/</span></span><span class="pl-kos">,</span> <span class="pl-c1">loader</span>: <span class="pl-s">"ts"</span><span class="pl-kos">,</span> <span class="pl-c1">query</span>: <span class="pl-kos">{</span> <span class="pl-s">"ignoreDiagnostics"</span>: <span class="pl-kos">[</span> <span class="pl-c1">2403</span><span class="pl-kos">,</span> <span class="pl-c">// 2403 -&gt; Subsequent variable declarations</span> <span class="pl-c1">2300</span><span class="pl-kos">,</span> <span class="pl-c">// 2300 -&gt; Duplicate identifier</span> <span class="pl-c1">2374</span><span class="pl-kos">,</span> <span class="pl-c">// 2374 -&gt; Duplicate number index signature</span> <span class="pl-c1">2375</span><span class="pl-kos">,</span> <span class="pl-c">// 2375 -&gt; Duplicate string index signature</span> <span class="pl-c1">2502</span> <span class="pl-c">// 2502 -&gt; Referenced directly or indirectly</span> <span class="pl-kos">]</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-c1">exclude</span>: <span class="pl-kos">[</span> <span class="pl-pds"><span class="pl-c1">/</span>node_modules<span class="pl-cce">\/</span>?!<span class="pl-kos">(</span>@angular<span class="pl-kos">)</span><span class="pl-c1">/</span></span> <span class="pl-kos">]</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">{</span><span class="pl-c1">test</span>: <span class="pl-pds"><span class="pl-c1">/</span><span class="pl-cce">\.</span>scss<span class="pl-cce">$</span><span class="pl-c1">/</span></span><span class="pl-kos">,</span> <span class="pl-c1">loader</span>: <span class="pl-s">"null"</span><span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">{</span><span class="pl-c1">test</span>: <span class="pl-pds"><span class="pl-c1">/</span><span class="pl-cce">\.</span>css<span class="pl-cce">$</span><span class="pl-c1">/</span></span><span class="pl-kos">,</span> <span class="pl-c1">loader</span>: <span class="pl-s">"null"</span><span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">{</span><span class="pl-c1">test</span>: <span class="pl-pds"><span class="pl-c1">/</span><span class="pl-cce">\.</span>html<span class="pl-cce">$</span><span class="pl-c1">/</span></span><span class="pl-kos">,</span> <span class="pl-c1">loader</span>: <span class="pl-s">"raw"</span><span class="pl-kos">}</span> <span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-c1">postLoaders</span>: <span class="pl-kos">[</span> <span class="pl-kos">{</span> <span class="pl-c1">test</span>: <span class="pl-pds"><span class="pl-c1">/</span><span class="pl-cce">\.</span><span class="pl-kos">(</span>js<span class="pl-c1">|</span>ts<span class="pl-kos">)</span><span class="pl-cce">$</span><span class="pl-c1">/</span></span><span class="pl-kos">,</span> <span class="pl-c1">include</span>: <span class="pl-s1">path</span><span class="pl-kos">.</span><span class="pl-en">resolve</span><span class="pl-kos">(</span><span class="pl-s">"."</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-c1">loader</span>: <span class="pl-s">"istanbul-instrumenter-loader"</span><span class="pl-kos">,</span> <span class="pl-c1">exclude</span>: <span class="pl-kos">[</span><span class="pl-pds"><span class="pl-c1">/</span>.<span class="pl-c1">+</span>-spec<span class="pl-cce">\.</span>ts<span class="pl-cce">$</span><span class="pl-c1">/</span></span><span class="pl-kos">,</span> <span class="pl-pds"><span class="pl-c1">/</span><span class="pl-cce">\.</span>e2e<span class="pl-cce">\.</span>ts<span class="pl-cce">$</span><span class="pl-c1">/</span></span><span class="pl-kos">,</span> <span class="pl-c1">NODE_MODULES</span><span class="pl-kos">]</span> <span class="pl-kos">}</span> <span class="pl-kos">]</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-smi">module</span><span class="pl-kos">.</span><span class="pl-c1">exports</span> <span class="pl-c1">=</span> <span class="pl-s1">basicConf</span><span class="pl-kos">;</span></pre></div> <p dir="auto">karma.conf:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// Karma configuration // Generated on Tue Mar 01 2016 10:24:10 GMT-0700 (Mountain Standard Time) var webpackConfig = require(&quot;./webpack.test.config&quot;); module.exports = function(config){ var _config = { basePath: &quot;.&quot;, frameworks: [&quot;jasmine&quot;], files: [ {pattern: &quot;karma-test-shim.js&quot;, watched: false} ], exclude: [], preprocessors: { &quot;karma-test-shim.js&quot;: [&quot;webpack&quot;] }, webpack: webpackConfig, webpackMiddleware: { // webpack-dev-middleware configuration // i. e. stats: &quot;errors-only&quot; }, webpackServer: { noInfo: true // please don&quot;t spam the console when running in karma! }, reporters: [&quot;mocha&quot;, &quot;coverage&quot;], coverageReporter: { dir: &quot;../coverage/&quot;, reporters: [ {type: &quot;text-summary&quot;, subdir: &quot;./&quot;}, {type: &quot;html&quot;, subdir: &quot;html&quot;}, {type: &quot;teamcity&quot;, subdir: &quot;./&quot;} ] }, // web server port port: 9876, colors: true, // Suppress all console output from tested code: client: { captureConsole: false }, // level of logging // possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG logLevel: config.LOG_ERROR, browsers: [&quot;Chrome&quot;, &quot;PhantomJSDebug&quot;], autoWatch: true, singleRun: false, customLaunchers: { &quot;PhantomJSDebug&quot;: { base: &quot;PhantomJS&quot;, options: { windowName: &quot;myWindow&quot;, settings: { webSecurityEnabled: false } }, flags: [&quot;--load-images=true&quot;], debug: true } }, phantomjsLauncher: { exitOnResourceError: true }, concurrency: Infinity }; config.set(_config); }"><pre class="notranslate"><span class="pl-c">// Karma configuration</span> <span class="pl-c">// Generated on Tue Mar 01 2016 10:24:10 GMT-0700 (Mountain Standard Time)</span> <span class="pl-k">var</span> <span class="pl-s1">webpackConfig</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">"./webpack.test.config"</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-smi">module</span><span class="pl-kos">.</span><span class="pl-en">exports</span> <span class="pl-c1">=</span> <span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-s1">config</span><span class="pl-kos">)</span><span class="pl-kos">{</span> <span class="pl-k">var</span> <span class="pl-s1">_config</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-c1">basePath</span>: <span class="pl-s">"."</span><span class="pl-kos">,</span> <span class="pl-c1">frameworks</span>: <span class="pl-kos">[</span><span class="pl-s">"jasmine"</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-c1">files</span>: <span class="pl-kos">[</span> <span class="pl-kos">{</span><span class="pl-c1">pattern</span>: <span class="pl-s">"karma-test-shim.js"</span><span class="pl-kos">,</span> <span class="pl-c1">watched</span>: <span class="pl-c1">false</span><span class="pl-kos">}</span> <span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-c1">exclude</span>: <span class="pl-kos">[</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-c1">preprocessors</span>: <span class="pl-kos">{</span> <span class="pl-s">"karma-test-shim.js"</span>: <span class="pl-kos">[</span><span class="pl-s">"webpack"</span><span class="pl-kos">]</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-c1">webpack</span>: <span class="pl-s1">webpackConfig</span><span class="pl-kos">,</span> <span class="pl-c1">webpackMiddleware</span>: <span class="pl-kos">{</span> <span class="pl-c">// webpack-dev-middleware configuration</span> <span class="pl-c">// i. e.</span> <span class="pl-c1">stats</span>: <span class="pl-s">"errors-only"</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-c1">webpackServer</span>: <span class="pl-kos">{</span> <span class="pl-c1">noInfo</span>: <span class="pl-c1">true</span> <span class="pl-c">// please don"t spam the console when running in karma!</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-c1">reporters</span>: <span class="pl-kos">[</span><span class="pl-s">"mocha"</span><span class="pl-kos">,</span> <span class="pl-s">"coverage"</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-c1">coverageReporter</span>: <span class="pl-kos">{</span> <span class="pl-c1">dir</span>: <span class="pl-s">"../coverage/"</span><span class="pl-kos">,</span> <span class="pl-c1">reporters</span>: <span class="pl-kos">[</span> <span class="pl-kos">{</span><span class="pl-c1">type</span>: <span class="pl-s">"text-summary"</span><span class="pl-kos">,</span> <span class="pl-c1">subdir</span>: <span class="pl-s">"./"</span><span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">{</span><span class="pl-c1">type</span>: <span class="pl-s">"html"</span><span class="pl-kos">,</span> <span class="pl-c1">subdir</span>: <span class="pl-s">"html"</span><span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-kos">{</span><span class="pl-c1">type</span>: <span class="pl-s">"teamcity"</span><span class="pl-kos">,</span> <span class="pl-c1">subdir</span>: <span class="pl-s">"./"</span><span class="pl-kos">}</span> <span class="pl-kos">]</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-c">// web server port</span> <span class="pl-c1">port</span>: <span class="pl-c1">9876</span><span class="pl-kos">,</span> <span class="pl-c1">colors</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span> <span class="pl-c">// Suppress all console output from tested code:</span> <span class="pl-c1">client</span>: <span class="pl-kos">{</span> <span class="pl-c1">captureConsole</span>: <span class="pl-c1">false</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-c">// level of logging</span> <span class="pl-c">// possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG</span> <span class="pl-c1">logLevel</span>: <span class="pl-s1">config</span><span class="pl-kos">.</span><span class="pl-c1">LOG_ERROR</span><span class="pl-kos">,</span> <span class="pl-c1">browsers</span>: <span class="pl-kos">[</span><span class="pl-s">"Chrome"</span><span class="pl-kos">,</span> <span class="pl-s">"PhantomJSDebug"</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-c1">autoWatch</span>: <span class="pl-c1">true</span><span class="pl-kos">,</span> <span class="pl-c1">singleRun</span>: <span class="pl-c1">false</span><span class="pl-kos">,</span> <span class="pl-c1">customLaunchers</span>: <span class="pl-kos">{</span> <span class="pl-s">"PhantomJSDebug"</span>: <span class="pl-kos">{</span> <span class="pl-c1">base</span>: <span class="pl-s">"PhantomJS"</span><span class="pl-kos">,</span> <span class="pl-c1">options</span>: <span class="pl-kos">{</span> <span class="pl-c1">windowName</span>: <span class="pl-s">"myWindow"</span><span class="pl-kos">,</span> <span class="pl-c1">settings</span>: <span class="pl-kos">{</span> <span class="pl-c1">webSecurityEnabled</span>: <span class="pl-c1">false</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-c1">flags</span>: <span class="pl-kos">[</span><span class="pl-s">"--load-images=true"</span><span class="pl-kos">]</span><span class="pl-kos">,</span> <span class="pl-c1">debug</span>: <span class="pl-c1">true</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-c1">phantomjsLauncher</span>: <span class="pl-kos">{</span> <span class="pl-c1">exitOnResourceError</span>: <span class="pl-c1">true</span> <span class="pl-kos">}</span><span class="pl-kos">,</span> <span class="pl-c1">concurrency</span>: <span class="pl-v">Infinity</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-s1">config</span><span class="pl-kos">.</span><span class="pl-en">set</span><span class="pl-kos">(</span><span class="pl-s1">_config</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p dir="auto">karma-test-shim.js:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="/* * When testing with webpack and ES6, we have to do some extra * things to get testing to work right. Because we are gonna write tests * in ES6 too, we have to compile those as well. That's handled in * karma.conf.js with the karma-webpack plugin. This is the entry * file for webpack test. Just like webpack will create a bundle.js * file for our client, when we run test, it will compile and bundle them * all here! Crazy huh. So we need to do some setup */ Error.stackTraceLimit = Infinity; require('core-js/es6'); require('core-js/es7/reflect'); // Typescript emit helpers polyfill require('ts-helpers'); require('zone.js/dist/zone'); require('zone.js/dist/long-stack-trace-zone'); require('zone.js/dist/proxy'); // since zone.js 0.6.15 require('zone.js/dist/sync-test'); require('zone.js/dist/jasmine-patch'); // put here since zone.js 0.6.14 require('zone.js/dist/async-test'); require('zone.js/dist/fake-async-test'); // RxJS require('rxjs/Rx'); require(&quot;material-design-lite/dist/material.min.js&quot;); var testing = require('@angular/core/testing'); var browser = require('@angular/platform-browser-dynamic/testing'); testing.TestBed.initTestEnvironment( browser.BrowserDynamicTestingModule, browser.platformBrowserDynamicTesting() ); /* * Ok, this is kinda crazy. We can use the context method on * require that webpack created in order to tell webpack * what files we actually want to require or import. * Below, context will be a function/object with file names as keys. * Using that regex we are saying look in ../src then find * any file that ends with spec.ts and get its path. By passing in true * we say do this recursively */ var testContext = require.context('.', true, /.+-spec\.ts/); /* * get all the files, for each file, call the context function * that will require the file and load it up here. Context will * loop and require those spec files here */ function requireAll(requireContext) { return requireContext.keys().map(requireContext); } // requires and returns all modules that match var modules = requireAll(testContext);"><pre class="notranslate"><span class="pl-c">/*</span> <span class="pl-c"> * When testing with webpack and ES6, we have to do some extra</span> <span class="pl-c"> * things to get testing to work right. Because we are gonna write tests</span> <span class="pl-c"> * in ES6 too, we have to compile those as well. That's handled in</span> <span class="pl-c"> * karma.conf.js with the karma-webpack plugin. This is the entry</span> <span class="pl-c"> * file for webpack test. Just like webpack will create a bundle.js</span> <span class="pl-c"> * file for our client, when we run test, it will compile and bundle them</span> <span class="pl-c"> * all here! Crazy huh. So we need to do some setup</span> <span class="pl-c"> */</span> <span class="pl-v">Error</span><span class="pl-kos">.</span><span class="pl-c1">stackTraceLimit</span> <span class="pl-c1">=</span> <span class="pl-v">Infinity</span><span class="pl-kos">;</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'core-js/es6'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'core-js/es7/reflect'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// Typescript emit helpers polyfill</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'ts-helpers'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'zone.js/dist/zone'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'zone.js/dist/long-stack-trace-zone'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'zone.js/dist/proxy'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// since zone.js 0.6.15</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'zone.js/dist/sync-test'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'zone.js/dist/jasmine-patch'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// put here since zone.js 0.6.14</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'zone.js/dist/async-test'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'zone.js/dist/fake-async-test'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// RxJS</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'rxjs/Rx'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">"material-design-lite/dist/material.min.js"</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-s1">testing</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'@angular/core/testing'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">var</span> <span class="pl-s1">browser</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'@angular/platform-browser-dynamic/testing'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">testing</span><span class="pl-kos">.</span><span class="pl-c1">TestBed</span><span class="pl-kos">.</span><span class="pl-en">initTestEnvironment</span><span class="pl-kos">(</span> <span class="pl-s1">browser</span><span class="pl-kos">.</span><span class="pl-c1">BrowserDynamicTestingModule</span><span class="pl-kos">,</span> <span class="pl-s1">browser</span><span class="pl-kos">.</span><span class="pl-en">platformBrowserDynamicTesting</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">/*</span> <span class="pl-c"> * Ok, this is kinda crazy. We can use the context method on</span> <span class="pl-c"> * require that webpack created in order to tell webpack</span> <span class="pl-c"> * what files we actually want to require or import.</span> <span class="pl-c"> * Below, context will be a function/object with file names as keys.</span> <span class="pl-c"> * Using that regex we are saying look in ../src then find</span> <span class="pl-c"> * any file that ends with spec.ts and get its path. By passing in true</span> <span class="pl-c"> * we say do this recursively</span> <span class="pl-c"> */</span> <span class="pl-k">var</span> <span class="pl-s1">testContext</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">.</span><span class="pl-en">context</span><span class="pl-kos">(</span><span class="pl-s">'.'</span><span class="pl-kos">,</span> <span class="pl-c1">true</span><span class="pl-kos">,</span> <span class="pl-pds"><span class="pl-c1">/</span>.<span class="pl-c1">+</span>-spec<span class="pl-cce">\.</span>ts<span class="pl-c1">/</span></span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">/*</span> <span class="pl-c"> * get all the files, for each file, call the context function</span> <span class="pl-c"> * that will require the file and load it up here. Context will</span> <span class="pl-c"> * loop and require those spec files here</span> <span class="pl-c"> */</span> <span class="pl-k">function</span> <span class="pl-en">requireAll</span><span class="pl-kos">(</span><span class="pl-s1">requireContext</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-s1">requireContext</span><span class="pl-kos">.</span><span class="pl-en">keys</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">map</span><span class="pl-kos">(</span><span class="pl-s1">requireContext</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-c">// requires and returns all modules that match</span> <span class="pl-k">var</span> <span class="pl-s1">modules</span> <span class="pl-c1">=</span> <span class="pl-en">requireAll</span><span class="pl-kos">(</span><span class="pl-s1">testContext</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong><br> Unit Testing broken</p> <p dir="auto"><strong>Please tell us about your environment:</strong><br> npm 3.10.2<br> node 6.5.0<br> typescript 2.0.3<br> webpack 1.13.2</p> <ul dir="auto"> <li><strong>Angular version:</strong><br> 2.0.0</li> <li><strong>Browser:</strong><br> PhantomJS 2.1.1</li> <li><strong>Language:</strong><br> TypeScript/JavaScript</li> </ul>
<p dir="auto">We have been designing a system based on Angular 2.0 and going thru various use-cases. One common use-case is infinite scroll of a large collection. At a high level we understand how it could be done in Angular 2.0. But things get complicated when we bring data driven rendering into picture (data to view mapping complicated enough to justify the use of imperative logic ).</p> <p dir="auto">It makes us nervous when we hear - "we should not be touching the DOM when using Angular". In this case, it means - create super-set template and pre-process data to give the desired effect. Implementing imperative logic in the data-world makes perfect sense until you notice that it leads to a complicated state machine of auxiliary data to give the desired effect to view. One example of auxiliary data is - additional variables required to "show-hide" elements of super-set template. Does it not become more convoluted than DOM manipulation within rendering logic of a View?</p> <p dir="auto">Is there another construct of Angular or approach that we should be looking for this use case?</p>
0
<h2 dir="auto">🐛 Bug</h2> <p dir="auto">Script shared below runs into RRef leaks and pickler issues when running the DistributedOptimizer</p> <h2 dir="auto">To Reproduce</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import torch from torch.distributed import rpc import torch.distributed.autograd as dist_autograd from torch import optim from torch.distributed.optim import DistributedOptimizer from tempfile import NamedTemporaryFile import multiprocessing as mp def random_tensor(): return torch.rand((3, 3), requires_grad=True) def _run_process(self_rank, dst_rank, file_name): self_name = &quot;worker{}&quot;.format(self_rank) dst_name = &quot;worker{}&quot;.format(dst_rank) rpc.init_model_parallel( self_name=self_name, self_rank=self_rank, worker_name_to_id={&quot;worker0&quot;: 0, &quot;worker1&quot;: 1}, init_method=&quot;file://{}&quot;.format(file_name), ) with dist_autograd.context() as context_id: # Forward pass. rref1 = rpc.remote(dst_name, random_tensor) rref2 = rpc.remote(dst_name, random_tensor) loss = rref1.to_here() + rref2.to_here() # Backward pass. dist_autograd.backward([loss.sum()]) # Optimizer. try: dist_optim = DistributedOptimizer( optim.SGD, [rref1, rref2], lr=0.05, ) except Exception as e: print (e) raise e dist_optim.step() rpc.join_rpc() file_name = NamedTemporaryFile().name processes = [] for i in range(2): p = mp.Process(target=_run_process, args=(i, (i + 1) % 2, file_name)) p.start() for p in processes: p.join()"><pre class="notranslate"><code class="notranslate">import torch from torch.distributed import rpc import torch.distributed.autograd as dist_autograd from torch import optim from torch.distributed.optim import DistributedOptimizer from tempfile import NamedTemporaryFile import multiprocessing as mp def random_tensor(): return torch.rand((3, 3), requires_grad=True) def _run_process(self_rank, dst_rank, file_name): self_name = "worker{}".format(self_rank) dst_name = "worker{}".format(dst_rank) rpc.init_model_parallel( self_name=self_name, self_rank=self_rank, worker_name_to_id={"worker0": 0, "worker1": 1}, init_method="file://{}".format(file_name), ) with dist_autograd.context() as context_id: # Forward pass. rref1 = rpc.remote(dst_name, random_tensor) rref2 = rpc.remote(dst_name, random_tensor) loss = rref1.to_here() + rref2.to_here() # Backward pass. dist_autograd.backward([loss.sum()]) # Optimizer. try: dist_optim = DistributedOptimizer( optim.SGD, [rref1, rref2], lr=0.05, ) except Exception as e: print (e) raise e dist_optim.step() rpc.join_rpc() file_name = NamedTemporaryFile().name processes = [] for i in range(2): p = mp.Process(target=_run_process, args=(i, (i + 1) % 2, file_name)) p.start() for p in processes: p.join() </code></pre></div> <p dir="auto">The code above fails with: <a href="https://gist.github.com/pritamdamania87/08cf8de0aa95de03ba1e50da89f96996">https://gist.github.com/pritamdamania87/08cf8de0aa95de03ba1e50da89f96996</a></p> <p dir="auto">It looks like when we create RRefs in the DistributedOptimizer constructor, we don't "wait" for these RRefs. Aside from the issue above, we should ensure we wait for the rrefs so that we discover any errors earlier. But now, if I change the DistributedOptimizer code to wait for rrefs, I run into the following error with the same script above:</p> <p dir="auto"><a href="https://gist.github.com/pritamdamania87/e637f5f8a5fede8a8102c584191c28b3">https://gist.github.com/pritamdamania87/e637f5f8a5fede8a8102c584191c28b3</a></p> <p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pietern/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pietern">@pietern</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mrshenli/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mrshenli">@mrshenli</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pritamdamania87/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pritamdamania87">@pritamdamania87</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/zhaojuanmao/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/zhaojuanmao">@zhaojuanmao</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/satgera/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/satgera">@satgera</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gqchen/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gqchen">@gqchen</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/aazzolini/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/aazzolini">@aazzolini</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rohan-varma/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rohan-varma">@rohan-varma</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/xush6528/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/xush6528">@xush6528</a></p>
<h2 dir="auto"><g-emoji class="g-emoji" alias="bug" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f41b.png">🐛</g-emoji> Bug / Enhancement</h2> <p dir="auto">In distributed training, if <code class="notranslate">rpc.join_rpc()</code> is called when the locally created rrefs are not garbage collected, this can result in leakage errors. See the example script below to reproduce.</p> <h2 dir="auto">To Reproduce</h2> <ol dir="auto"> <li>Run the following script</li> </ol> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import os import time from datetime import timedelta import torch import torch.distributed as dist from torch.multiprocessing import Process import torch.distributed.rpc as rpc def run(rank, size): if rank == 1: rref1, rref2 = rpc.remote(&quot;worker0&quot;, torch.add, args=(torch.ones(2,2),1)), rpc.remote(&quot;worker0&quot;, torch.add, args=(torch.zeros(2,2), 3)) x = rref1.to_here() + rref2.to_here() print(x) rpc.join_rpc() # comment this and uncomment in init_process to remove error def init_process(rank, size, fn, backend='gloo'): os.environ['MASTER_ADDR'] = '127.0.0.1' os.environ['MASTER_PORT'] = '29509' dist.init_process_group(backend, rank=rank, world_size=size, timeout=timedelta(seconds=12)) rpc.init_model_parallel(&quot;worker{}&quot;.format(rank)) fn(rank, size) # rpc.join_rpc() if __name__ == &quot;__main__&quot;: size = 2 processes = [] for rank in range(size): p = Process(target=init_process, args=(rank, size, run)) p.start() processes.append(p) for p in processes: p.join()"><pre class="notranslate"><code class="notranslate">import os import time from datetime import timedelta import torch import torch.distributed as dist from torch.multiprocessing import Process import torch.distributed.rpc as rpc def run(rank, size): if rank == 1: rref1, rref2 = rpc.remote("worker0", torch.add, args=(torch.ones(2,2),1)), rpc.remote("worker0", torch.add, args=(torch.zeros(2,2), 3)) x = rref1.to_here() + rref2.to_here() print(x) rpc.join_rpc() # comment this and uncomment in init_process to remove error def init_process(rank, size, fn, backend='gloo'): os.environ['MASTER_ADDR'] = '127.0.0.1' os.environ['MASTER_PORT'] = '29509' dist.init_process_group(backend, rank=rank, world_size=size, timeout=timedelta(seconds=12)) rpc.init_model_parallel("worker{}".format(rank)) fn(rank, size) # rpc.join_rpc() if __name__ == "__main__": size = 2 processes = [] for rank in range(size): p = Process(target=init_process, args=(rank, size, run)) p.start() processes.append(p) for p in processes: p.join() </code></pre></div> <p dir="auto">Results in the error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="RuntimeError: Leaking RRef GloballyUniqueId(1, 1) with fork Id GloballyUniqueId(1, 0) Leaking RRef GloballyUniqueId(1, 3) with fork Id GloballyUniqueId(1, 2) (checkRRefLeaks at ../torch/csrc/distributed/rpc/rref_context.cpp:48)"><pre class="notranslate"><code class="notranslate">RuntimeError: Leaking RRef GloballyUniqueId(1, 1) with fork Id GloballyUniqueId(1, 0) Leaking RRef GloballyUniqueId(1, 3) with fork Id GloballyUniqueId(1, 2) (checkRRefLeaks at ../torch/csrc/distributed/rpc/rref_context.cpp:48) </code></pre></div> <h2 dir="auto">Expected behavior</h2> <p dir="auto">Open for discussion, but I don't think we should have a user error here. The script above can be fixed by running <code class="notranslate">join_rpc()</code> after the rrefs are garbage collected (such as in the parent function), but this does not seem robust. In particular, there are no real guarantees (AFAIK) of when exactly the garbage collection will happen and the user can use <code class="notranslate">gc</code> to modify this. Should we provide a way for the user to say they are done using the rref?</p> <p dir="auto">A few ideas are: stop holding the remote ref once <code class="notranslate">to_here</code> is called (this makes sense to me, since the user now has the value locally), or use a context manager that wraps <code class="notranslate">init_model_parallel</code> and <code class="notranslate">join_rpc</code> to garbage collect everything that is needed.</p> <p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pietern/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pietern">@pietern</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mrshenli/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mrshenli">@mrshenli</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/pritamdamania87/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/pritamdamania87">@pritamdamania87</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/zhaojuanmao/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/zhaojuanmao">@zhaojuanmao</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/satgera/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/satgera">@satgera</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rohan-varma/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rohan-varma">@rohan-varma</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gqchen/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gqchen">@gqchen</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/aazzolini/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/aazzolini">@aazzolini</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/xush6528/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/xush6528">@xush6528</a></p>
1
<h5 dir="auto">Issue Type:</h5> <p dir="auto">Bug Report</p> <h5 dir="auto">Ansible Version:</h5> <p dir="auto">devel (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/ansible/ansible/commit/e0147f18b1a5355d391dd9482d6afaf89ace8264/hovercard" href="https://github.com/ansible/ansible/commit/e0147f18b1a5355d391dd9482d6afaf89ace8264"><tt>e0147f1</tt></a>)</p> <h5 dir="auto">Environment:</h5> <p dir="auto">N/A</p> <h5 dir="auto">Summary:</h5> <p dir="auto">When trying to restrict tasks by tags all tasks are being executed. Regardless of the specified tags.</p> <h5 dir="auto">Steps To Reproduce:</h5> <p dir="auto">Hostfile test:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="localhost ansible_ssh_user=root"><pre class="notranslate"><code class="notranslate">localhost ansible_ssh_user=root </code></pre></div> <p dir="auto">Playbook test-tags.yml:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- hosts: localhost roles: - test-tags"><pre class="notranslate"><code class="notranslate">- hosts: localhost roles: - test-tags </code></pre></div> <p dir="auto">/roles/test-tags/tasks/main.yml:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- include: foo.yml tags: foo - include: bar.yml tags: bar"><pre class="notranslate"><code class="notranslate">- include: foo.yml tags: foo - include: bar.yml tags: bar </code></pre></div> <p dir="auto">/roles/test-tags/tasks/foo.yml:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- debug: msg=&quot;foo&quot;"><pre class="notranslate"><code class="notranslate">- debug: msg="foo" </code></pre></div> <p dir="auto">/roles/test-tags/tasks/bar.yml:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- debug: msg=&quot;bar&quot;"><pre class="notranslate"><code class="notranslate">- debug: msg="bar" </code></pre></div> <p dir="auto">Execute playbook:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible-playbook -i test test-tags.yml --tags bar --list-tasks"><pre class="notranslate"><code class="notranslate">ansible-playbook -i test test-tags.yml --tags bar --list-tasks </code></pre></div> <h5 dir="auto">Expected Results:</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="playbook: test-tags.yml play #1 (localhost): debug msg=&quot;bar&quot; (tags: all, bar)"><pre class="notranslate"><code class="notranslate">playbook: test-tags.yml play #1 (localhost): debug msg="bar" (tags: all, bar) </code></pre></div> <h5 dir="auto">Actual Results:</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="playbook: test-tags.yml play #1 (localhost): debug msg=&quot;foo&quot; (tags: all, foo, bar) debug msg=&quot;bar&quot; (tags: all, foo, bar)"><pre class="notranslate"><code class="notranslate">playbook: test-tags.yml play #1 (localhost): debug msg="foo" (tags: all, foo, bar) debug msg="bar" (tags: all, foo, bar) </code></pre></div> <p dir="auto">Please note that I added a debug output to ansible-playbook (see PR <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="29260114" data-permission-text="Title is private" data-url="https://github.com/ansible/ansible/issues/6434" data-hovercard-type="pull_request" data-hovercard-url="/ansible/ansible/pull/6434/hovercard" href="https://github.com/ansible/ansible/pull/6434">#6434</a>) to see which tags are compiled for each task.<br> The problem seems to be: All tags are assigned to every task. So restricting via tag is completely useless in the current develop-branch.</p>
<h5 dir="auto">Issue Type:</h5> <p dir="auto">Bug report in tag handling</p> <h5 dir="auto">Ansible Version:</h5> <p dir="auto">Latest devel, as per git bisect, bug was introduced in <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/ansible/ansible/commit/6577ff5f85bf27048739013d91066c7b4e1dd466/hovercard" href="https://github.com/ansible/ansible/commit/6577ff5f85bf27048739013d91066c7b4e1dd466"><tt>6577ff5</tt></a></p> <h5 dir="auto">Environment:</h5> <p dir="auto">Ubuntu, but N/A</p> <h5 dir="auto">Summary:</h5> <p dir="auto">When running a larger playbooks contanin multiple plays with different tags, and running it with specifying a particular tag, all tasks in those plays that contain (tasks with) that tag are ran, instead of only those tasks that have the specific tag.</p> <h5 dir="auto">Steps To Reproduce:</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" 1 - name: Restart Tomcat Servers 2 hosts: tomcat 3 gather_facts: False 4 tasks: 5 - name: trigger stop 6 debug: var=tomcat_version 7 changed_when: True 8 notify: 9 - stop_tomcat 10 tags: stop 11 - name: trigger start 12 debug: var=tomcat_version 13 changed_when: True 14 notify: 15 - start_tomcat 16 tags: start 17 handlers: 18 - include: handlers/tomcat.yml "><pre class="notranslate"><code class="notranslate"> 1 - name: Restart Tomcat Servers 2 hosts: tomcat 3 gather_facts: False 4 tasks: 5 - name: trigger stop 6 debug: var=tomcat_version 7 changed_when: True 8 notify: 9 - stop_tomcat 10 tags: stop 11 - name: trigger start 12 debug: var=tomcat_version 13 changed_when: True 14 notify: 15 - start_tomcat 16 tags: start 17 handlers: 18 - include: handlers/tomcat.yml </code></pre></div> <p dir="auto">running <code class="notranslate">ansible-playbook util-tomcat-restart.yml -t stop</code> will run both trigger tasks, not just the stop task.</p> <h5 dir="auto">Expected Results:</h5> <p dir="auto">Run only the tasks that have a particular tag.</p> <h5 dir="auto">Actual Results:</h5> <p dir="auto">All tasks from the play that contain some tasks with a given tag are ran.</p>
1
<p dir="auto">I am updating state in setState() and the page is rendered correctly, but "React Developer Tools" is showing previous state.<br> Objects and Arrays are updating in realtime but not "boolean / string / number values".<br> But when I close the dev tools window ( not switching tabs ) and reopen it, then only it shows the updated state.<br> I don't remember if this was the issue from prev version, but please add realtime state update functionality to it.</p>
<p dir="auto"><strong>Do you want to request a <em>feature</em> or report a <em>bug</em>?</strong></p> <p dir="auto">Bug</p> <p dir="auto"><strong>What is the current behavior?</strong></p> <p dir="auto">Visual bug: showing wrong state; so user cant use devtools for debugging</p> <p dir="auto"><strong>If the current behavior is a bug, please provide the steps to reproduce and if possible a minimal demo of the problem. Your bug will get fixed much faster if we can run your code and it doesn't have dependencies other than React. Paste the link to your JSFiddle (<a href="https://jsfiddle.net/Luktwrdm/" rel="nofollow">https://jsfiddle.net/Luktwrdm/</a>) or CodeSandbox (<a href="https://codesandbox.io/s/new" rel="nofollow">https://codesandbox.io/s/new</a>) example below:</strong></p> <p dir="auto"><a href="https://codesandbox.io/s/wizardly-lewin-dlw5k" rel="nofollow">https://codesandbox.io/s/wizardly-lewin-dlw5k</a><br> <a href="https://dlw5k.csb.app/" rel="nofollow">https://dlw5k.csb.app/</a></p> <ol dir="auto"> <li> <p dir="auto">Open <a href="https://dlw5k.csb.app/" rel="nofollow">https://dlw5k.csb.app/</a></p> </li> <li> <p dir="auto">Open browser dev tools</p> </li> <li> <p dir="auto">select "Components", click on "App", expand <code class="notranslate">selectedPairs</code> of <code class="notranslate">State</code></p> </li> <li> <p dir="auto">select 3+ currencies from the list on the page. State is proper for now</p> </li> <li> <p dir="auto">uncheck any not last box.<br> Devtools will remove the last from the list.<br> Uncheck something once more, and again just last item will disappear.</p> </li> <li> <p dir="auto">Click on 'bug' icon ("Log this component data to the console")<br> Expand data, 'State' is ok. So just a visual bug?</p> </li> </ol> <p dir="auto"><strong>What is the expected behavior?</strong></p> <p dir="auto">Devtools should update State properly.</p> <p dir="auto"><strong>Which versions of React, and which browser / OS are affected by this issue? Did this work in previous versions of React?</strong></p> <p dir="auto">React Developer Tools: 4.1.0 (9/19/2019)<br> Browser: Google Chrome 76.0.3809.132 (64bit)<br> OS: Windows 7 Professional SP1 64bit</p>
1
<p dir="auto"><a href="https://discourse.julialang.org/t/suggestion-julia-version-header-in-jl-files/16316" rel="nofollow">https://discourse.julialang.org/t/suggestion-julia-version-header-in-jl-files/16316</a></p> <p dir="auto">strongly suggest a header in .jl files that indicates the version under which the file is running. issue a warning if this is not the first line in the .jl file. I would suggest</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="#!julia 1.0.0 1.0.1"><pre class="notranslate"><code class="notranslate">#!julia 1.0.0 1.0.1 </code></pre></div> <p dir="auto">where the first version on which this .jl was tested on is 1.0.0 and the last version is 1.0.1.</p> <p dir="auto">In the distant future, such a requirement will help you by making it easier for you to deprecate and break features without incurring the wrath of every user who has ever written a julia program. I understand that packages have some REQUIRE aspects already, but this is different. the shebang line should be in every .jl file, user or packaged.</p> <p dir="auto">a secondary minor advantage is easier recognition for unix <code class="notranslate">file</code>.</p> <p dir="auto">regards,</p> <p dir="auto">/iaw</p>
<p dir="auto">There's a test in DataFrames that's intermittently failing due to something that looks like an inference bug. When I run <code class="notranslate">finfer(getindex, (BitArray{2}, Int64, Range1{Int64}))</code> immediately after starting Julia, I sometimes get:</p> <div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="finfer(getindex, (BitArray{2}, Int64, Range1{Int64})) :($(Expr(:lambda, {:B, :(I::top(apply_type)(Vararg,Union(Real,AbstractVector)))}, {{:X, :Xc}, {{:B, BitArray{2}, 0}, {:I, Any, 2}, {:X, BitArray{2}, 2}, {:Xc, Array{Uint64,1}, 2}}, {{:getindex_cache, Any, 7}}}, quote # bitarray.jl, line 471: I = top(tuple)(indices(tupleref(I::(Int64,Range1{Int64}),1)::Union(Range1{Int64},Int64)),indices(tupleref(I::(Int64,Range1{Int64}),2)::Union(Range1{Int64},Int64)))::(Any,Any) # line 472: X = BitArray(index_shape(top(tupleref)(I::(Any,Any),1),top(tupleref)(I::(Any,Any),2))::Union((),(Any,),(Any,Any)))::BitArray{2} # line 473: Xc = top(getfield)(X::BitArray{2},:chunks)::Array{Uint64,1} # line 475: unless is(getindex_cache,nothing)::Bool goto 0 # line 476: getindex_cache = $(Dict{Any,Any})()::Dict{Any,Any} 0: # line 478: gen_cartesian_map(getindex_cache,$(AST(:($(Expr(:lambda, {:(ivars::Any)}, {{:#s143, :#s137}, {{:ivars, Any, 0}, {:#s143, Array{Any,1}, 2}, {:#s137, Array{Any,1}, 2}}, {}}, quote # bitarray.jl, line 478: #s143 = top(ccall)(:jl_alloc_array_1d,$(Array{Any,1}),top(tuple)(Any,Int)::(Type{Any},Type{Int64}),$(Array{Any,1}),0,1,0)::Array{Any,1} top(arrayset)(#s143::Array{Any,1},:B,1)::Array{Any,1} #s137 = #s143::Array{Any,1} return top(Expr)(:block,top(Expr)(:line,480,:bitarray.jl)::Expr,top(Expr)(:call,:setindex_unchecked,:Xc,top(splicedexpr)(:ref,top(append_any)(#s137::Array{Any,1},ivars)::Array{Any,1})::Expr,:ind)::Expr,top(Expr)(:line,481)::Expr,top(Expr)(:+=,:ind,1)::Expr)::Expr end))))),I::(Any,Any),top(tuple)(:B,:Xc,:ind)::(Symbol,Symbol,Symbol),B::BitArray{2},Xc::Array{Uint64,1},1) # line 483: return X::BitArray{2} end)))"><pre class="notranslate"><span class="pl-c1">finfer</span>(getindex, (BitArray{<span class="pl-c1">2</span>}, Int64, Range1{Int64})) :(<span class="pl-k">$</span>(<span class="pl-c1">Expr</span>(<span class="pl-c1">:lambda</span>, {<span class="pl-c1">:B</span>, :(I<span class="pl-k">::</span><span class="pl-c1">top</span>(apply_type)(Vararg,<span class="pl-c1">Union</span>(Real,AbstractVector)))}, {{<span class="pl-c1">:X</span>, <span class="pl-c1">:Xc</span>}, {{<span class="pl-c1">:B</span>, BitArray{<span class="pl-c1">2</span>}, <span class="pl-c1">0</span>}, {<span class="pl-c1">:I</span>, Any, <span class="pl-c1">2</span>}, {<span class="pl-c1">:X</span>, BitArray{<span class="pl-c1">2</span>}, <span class="pl-c1">2</span>}, {<span class="pl-c1">:Xc</span>, Array{Uint64,<span class="pl-c1">1</span>}, <span class="pl-c1">2</span>}}, {{<span class="pl-c1">:getindex_cache</span>, Any, <span class="pl-c1">7</span>}}}, <span class="pl-k">quote</span> <span class="pl-c"><span class="pl-c">#</span> bitarray.jl, line 471:</span> I <span class="pl-k">=</span> <span class="pl-c1">top</span>(tuple)(<span class="pl-c1">indices</span>(<span class="pl-c1">tupleref</span>(I<span class="pl-k">::</span><span class="pl-c1">(Int64,Range1{Int64})</span>,<span class="pl-c1">1</span>)<span class="pl-k">::</span><span class="pl-c1">Union(Range1{Int64},Int64)</span>),<span class="pl-c1">indices</span>(<span class="pl-c1">tupleref</span>(I<span class="pl-k">::</span><span class="pl-c1">(Int64,Range1{Int64})</span>,<span class="pl-c1">2</span>)<span class="pl-k">::</span><span class="pl-c1">Union(Range1{Int64},Int64)</span>))<span class="pl-k">::</span><span class="pl-c1">(Any,Any)</span> <span class="pl-c"><span class="pl-c">#</span> line 472:</span> X <span class="pl-k">=</span> <span class="pl-c1">BitArray</span>(<span class="pl-c1">index_shape</span>(<span class="pl-c1">top</span>(tupleref)(I<span class="pl-k">::</span><span class="pl-c1">(Any,Any)</span>,<span class="pl-c1">1</span>),<span class="pl-c1">top</span>(tupleref)(I<span class="pl-k">::</span><span class="pl-c1">(Any,Any)</span>,<span class="pl-c1">2</span>))<span class="pl-k">::</span><span class="pl-c1">Union(()</span>,(Any,),(Any,Any)))<span class="pl-k">::</span><span class="pl-c1">BitArray{2}</span> <span class="pl-c"><span class="pl-c">#</span> line 473:</span> Xc <span class="pl-k">=</span> <span class="pl-c1">top</span>(getfield)(X<span class="pl-k">::</span><span class="pl-c1">BitArray{2}</span>,<span class="pl-c1">:chunks</span>)<span class="pl-k">::</span><span class="pl-c1">Array{Uint64,1}</span> <span class="pl-c"><span class="pl-c">#</span> line 475:</span> unless <span class="pl-c1">is</span>(getindex_cache,<span class="pl-c1">nothing</span>)<span class="pl-k">::</span><span class="pl-c1">Bool</span> goto <span class="pl-c1">0</span> <span class="pl-c"><span class="pl-c">#</span> line 476:</span> getindex_cache <span class="pl-k">=</span> <span class="pl-k">$</span>(Dict{Any,Any})()<span class="pl-k">::</span><span class="pl-c1">Dict{Any,Any}</span> <span class="pl-c1">0</span><span class="pl-k">:</span> <span class="pl-c"><span class="pl-c">#</span> line 478:</span> <span class="pl-c1">gen_cartesian_map</span>(getindex_cache,<span class="pl-k">$</span>(<span class="pl-c1">AST</span>(:(<span class="pl-k">$</span>(<span class="pl-c1">Expr</span>(<span class="pl-c1">:lambda</span>, {:(ivars<span class="pl-k">::</span><span class="pl-c1">Any</span>)}, {{:<span class="pl-c"><span class="pl-c">#</span>s143, :#s137}, {{:ivars, Any, 0}, {:#s143, Array{Any,1}, 2}, {:#s137, Array{Any,1}, 2}}, {}}, quote # bitarray.jl, line 478:</span> <span class="pl-c"><span class="pl-c">#</span>s143 = top(ccall)(:jl_alloc_array_1d,$(Array{Any,1}),top(tuple)(Any,Int)::(Type{Any},Type{Int64}),$(Array{Any,1}),0,1,0)::Array{Any,1}</span> <span class="pl-c1">top</span>(arrayset)(<span class="pl-c"><span class="pl-c">#</span>s143::Array{Any,1},:B,1)::Array{Any,1}</span> <span class="pl-c"><span class="pl-c">#</span>s137 = #s143::Array{Any,1}</span> <span class="pl-k">return</span> <span class="pl-en">top</span>(Expr)(<span class="pl-c1">:block</span>,<span class="pl-en">top</span>(Expr)(<span class="pl-c1">:line</span>,<span class="pl-c1">480</span>,<span class="pl-c1">:bitarray</span><span class="pl-k">.</span>jl)<span class="pl-k">::</span><span class="pl-c1">Expr</span>,<span class="pl-c1">top</span>(Expr)(<span class="pl-c1">:call</span>,<span class="pl-c1">:setindex_unchecked</span>,<span class="pl-c1">:Xc</span>,<span class="pl-c1">top</span>(splicedexpr)(<span class="pl-c1">:ref</span>,<span class="pl-c1">top</span>(append_any)(<span class="pl-c"><span class="pl-c">#</span>s137::Array{Any,1},ivars)::Array{Any,1})::Expr,:ind)::Expr,top(Expr)(:line,481)::Expr,top(Expr)(:+=,:ind,1)::Expr)::Expr</span> <span class="pl-k">end</span>))))),I<span class="pl-k">::</span><span class="pl-c1">(Any,Any)</span>,<span class="pl-c1">top</span>(tuple)(<span class="pl-c1">:B</span>,<span class="pl-c1">:Xc</span>,<span class="pl-c1">:ind</span>)<span class="pl-k">::</span><span class="pl-c1">(Symbol,Symbol,Symbol)</span>,B<span class="pl-k">::</span><span class="pl-c1">BitArray{2}</span>,Xc<span class="pl-k">::</span><span class="pl-c1">Array{Uint64,1}</span>,<span class="pl-c1">1</span>) <span class="pl-c"><span class="pl-c">#</span> line 483:</span> <span class="pl-k">return</span> X<span class="pl-k">::</span><span class="pl-c1">BitArray{2}</span> <span class="pl-k">end</span>)))</pre></div> <p dir="auto">which looks okay. Other times I get:</p> <div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="finfer(getindex, (BitArray{2}, Int64, Range1{Int64})) :($(Expr(:lambda, {:B, :(I::top(apply_type)(Vararg,Union(Real,AbstractVector)))}, {{:X, :Xc}, {{:B, BitArray{2}, 0}, {:I, Any, 2}, {:X, BitArray{1}, 2}, {:Xc, Array{Uint64,1}, 2}}, {{:getindex_cache, Any, 7}}}, quote # bitarray.jl, line 471: I = top(tuple)(indices(tupleref(I::(Int64,Range1{Int64}),1)::Union(Int64,Range1{Int64})),indices(tupleref(I::(Int64,Range1{Int64}),2)::Union(Int64,Range1{Int64})))::(Any,Any) # line 472: X = BitArray(index_shape(top(tupleref)(I::(Any,Any),1),top(tupleref)(I::(Any,Any),2))::Union((),(Any,Any),(Any,)))::BitArray{1} # line 473: Xc = top(getfield)(X::BitArray{1},:chunks)::Array{Uint64,1} # line 475: unless is(getindex_cache,nothing)::Bool goto 0 # line 476: getindex_cache = $(Dict{Any,Any})()::Dict{Any,Any} 0: # line 478: gen_cartesian_map(getindex_cache,$(AST(:($(Expr(:lambda, {:(ivars::Any)}, {{:#s143, :#s137}, {{:ivars, Any, 0}, {:#s143, Array{Any,1}, 2}, {:#s137, Array{Any,1}, 2}}, {}}, quote # bitarray.jl, line 478: #s143 = top(ccall)(:jl_alloc_array_1d,$(Array{Any,1}),top(tuple)(Any,Int)::(Type{Any},Type{Int64}),$(Array{Any,1}),0,1,0)::Array{Any,1} top(arrayset)(#s143::Array{Any,1},:B,1)::Array{Any,1} #s137 = #s143::Array{Any,1} return top(Expr)(:block,top(Expr)(:line,480,:bitarray.jl)::Expr,top(Expr)(:call,:setindex_unchecked,:Xc,top(splicedexpr)(:ref,top(append_any)(#s137::Array{Any,1},ivars)::Array{Any,1})::Expr,:ind)::Expr,top(Expr)(:line,481)::Expr,top(Expr)(:+=,:ind,1)::Expr)::Expr end))))),I::(Any,Any),top(tuple)(:B,:Xc,:ind)::(Symbol,Symbol,Symbol),B::BitArray{2},Xc::Array{Uint64,1},1) # line 483: return X::BitArray{1} end)))"><pre class="notranslate"><span class="pl-c1">finfer</span>(getindex, (BitArray{<span class="pl-c1">2</span>}, Int64, Range1{Int64})) :(<span class="pl-k">$</span>(<span class="pl-c1">Expr</span>(<span class="pl-c1">:lambda</span>, {<span class="pl-c1">:B</span>, :(I<span class="pl-k">::</span><span class="pl-c1">top</span>(apply_type)(Vararg,<span class="pl-c1">Union</span>(Real,AbstractVector)))}, {{<span class="pl-c1">:X</span>, <span class="pl-c1">:Xc</span>}, {{<span class="pl-c1">:B</span>, BitArray{<span class="pl-c1">2</span>}, <span class="pl-c1">0</span>}, {<span class="pl-c1">:I</span>, Any, <span class="pl-c1">2</span>}, {<span class="pl-c1">:X</span>, BitArray{<span class="pl-c1">1</span>}, <span class="pl-c1">2</span>}, {<span class="pl-c1">:Xc</span>, Array{Uint64,<span class="pl-c1">1</span>}, <span class="pl-c1">2</span>}}, {{<span class="pl-c1">:getindex_cache</span>, Any, <span class="pl-c1">7</span>}}}, <span class="pl-k">quote</span> <span class="pl-c"><span class="pl-c">#</span> bitarray.jl, line 471:</span> I <span class="pl-k">=</span> <span class="pl-c1">top</span>(tuple)(<span class="pl-c1">indices</span>(<span class="pl-c1">tupleref</span>(I<span class="pl-k">::</span><span class="pl-c1">(Int64,Range1{Int64})</span>,<span class="pl-c1">1</span>)<span class="pl-k">::</span><span class="pl-c1">Union(Int64,Range1{Int64})</span>),<span class="pl-c1">indices</span>(<span class="pl-c1">tupleref</span>(I<span class="pl-k">::</span><span class="pl-c1">(Int64,Range1{Int64})</span>,<span class="pl-c1">2</span>)<span class="pl-k">::</span><span class="pl-c1">Union(Int64,Range1{Int64})</span>))<span class="pl-k">::</span><span class="pl-c1">(Any,Any)</span> <span class="pl-c"><span class="pl-c">#</span> line 472:</span> X <span class="pl-k">=</span> <span class="pl-c1">BitArray</span>(<span class="pl-c1">index_shape</span>(<span class="pl-c1">top</span>(tupleref)(I<span class="pl-k">::</span><span class="pl-c1">(Any,Any)</span>,<span class="pl-c1">1</span>),<span class="pl-c1">top</span>(tupleref)(I<span class="pl-k">::</span><span class="pl-c1">(Any,Any)</span>,<span class="pl-c1">2</span>))<span class="pl-k">::</span><span class="pl-c1">Union(()</span>,(Any,Any),(Any,)))<span class="pl-k">::</span><span class="pl-c1">BitArray{1}</span> <span class="pl-c"><span class="pl-c">#</span> line 473:</span> Xc <span class="pl-k">=</span> <span class="pl-c1">top</span>(getfield)(X<span class="pl-k">::</span><span class="pl-c1">BitArray{1}</span>,<span class="pl-c1">:chunks</span>)<span class="pl-k">::</span><span class="pl-c1">Array{Uint64,1}</span> <span class="pl-c"><span class="pl-c">#</span> line 475:</span> unless <span class="pl-c1">is</span>(getindex_cache,<span class="pl-c1">nothing</span>)<span class="pl-k">::</span><span class="pl-c1">Bool</span> goto <span class="pl-c1">0</span> <span class="pl-c"><span class="pl-c">#</span> line 476:</span> getindex_cache <span class="pl-k">=</span> <span class="pl-k">$</span>(Dict{Any,Any})()<span class="pl-k">::</span><span class="pl-c1">Dict{Any,Any}</span> <span class="pl-c1">0</span><span class="pl-k">:</span> <span class="pl-c"><span class="pl-c">#</span> line 478:</span> <span class="pl-c1">gen_cartesian_map</span>(getindex_cache,<span class="pl-k">$</span>(<span class="pl-c1">AST</span>(:(<span class="pl-k">$</span>(<span class="pl-c1">Expr</span>(<span class="pl-c1">:lambda</span>, {:(ivars<span class="pl-k">::</span><span class="pl-c1">Any</span>)}, {{:<span class="pl-c"><span class="pl-c">#</span>s143, :#s137}, {{:ivars, Any, 0}, {:#s143, Array{Any,1}, 2}, {:#s137, Array{Any,1}, 2}}, {}}, quote # bitarray.jl, line 478:</span> <span class="pl-c"><span class="pl-c">#</span>s143 = top(ccall)(:jl_alloc_array_1d,$(Array{Any,1}),top(tuple)(Any,Int)::(Type{Any},Type{Int64}),$(Array{Any,1}),0,1,0)::Array{Any,1}</span> <span class="pl-c1">top</span>(arrayset)(<span class="pl-c"><span class="pl-c">#</span>s143::Array{Any,1},:B,1)::Array{Any,1}</span> <span class="pl-c"><span class="pl-c">#</span>s137 = #s143::Array{Any,1}</span> <span class="pl-k">return</span> <span class="pl-en">top</span>(Expr)(<span class="pl-c1">:block</span>,<span class="pl-en">top</span>(Expr)(<span class="pl-c1">:line</span>,<span class="pl-c1">480</span>,<span class="pl-c1">:bitarray</span><span class="pl-k">.</span>jl)<span class="pl-k">::</span><span class="pl-c1">Expr</span>,<span class="pl-c1">top</span>(Expr)(<span class="pl-c1">:call</span>,<span class="pl-c1">:setindex_unchecked</span>,<span class="pl-c1">:Xc</span>,<span class="pl-c1">top</span>(splicedexpr)(<span class="pl-c1">:ref</span>,<span class="pl-c1">top</span>(append_any)(<span class="pl-c"><span class="pl-c">#</span>s137::Array{Any,1},ivars)::Array{Any,1})::Expr,:ind)::Expr,top(Expr)(:line,481)::Expr,top(Expr)(:+=,:ind,1)::Expr)::Expr</span> <span class="pl-k">end</span>))))),I<span class="pl-k">::</span><span class="pl-c1">(Any,Any)</span>,<span class="pl-c1">top</span>(tuple)(<span class="pl-c1">:B</span>,<span class="pl-c1">:Xc</span>,<span class="pl-c1">:ind</span>)<span class="pl-k">::</span><span class="pl-c1">(Symbol,Symbol,Symbol)</span>,B<span class="pl-k">::</span><span class="pl-c1">BitArray{2}</span>,Xc<span class="pl-k">::</span><span class="pl-c1">Array{Uint64,1}</span>,<span class="pl-c1">1</span>) <span class="pl-c"><span class="pl-c">#</span> line 483:</span> <span class="pl-k">return</span> X<span class="pl-k">::</span><span class="pl-c1">BitArray{1}</span> <span class="pl-k">end</span>)))</pre></div> <p dir="auto">which gives the wrong return type.</p>
0
<h3 dir="auto">Bug summary</h3> <p dir="auto">The suptitle of the figure does not show if using plt.subfigures, without defining layout to be 'constrained'.</p> <h3 dir="auto">Code for reproduction</h3> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="fig = plt.figure(figsize=(20, 14)) subfigs = fig.subfigures(1, 4, wspace=0.5, width_ratios=[0.5, 1, 1, 1]) axs0= subfigs[0].subplots(nrows = 12, ncols = 1, sharex = True) axs1 = subfigs[1].subplots(nrows = 12, ncols = 1, sharex = True) subfigs[1].suptitle('\n A subfigure') axs2 = subfigs[2].subplots(nrows = 12, ncols = 1, sharex = True) subfigs[2].suptitle('\n A subfigure') axs3 = subfigs[3].subplots(nrows = 12, ncols = 1, sharex = True) subfigs[3].suptitle('\n A subfigure')"><pre class="notranslate"><span class="pl-s1">fig</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">figure</span>(<span class="pl-s1">figsize</span><span class="pl-c1">=</span>(<span class="pl-c1">20</span>, <span class="pl-c1">14</span>)) <span class="pl-s1">subfigs</span> <span class="pl-c1">=</span> <span class="pl-s1">fig</span>.<span class="pl-en">subfigures</span>(<span class="pl-c1">1</span>, <span class="pl-c1">4</span>, <span class="pl-s1">wspace</span><span class="pl-c1">=</span><span class="pl-c1">0.5</span>, <span class="pl-s1">width_ratios</span><span class="pl-c1">=</span>[<span class="pl-c1">0.5</span>, <span class="pl-c1">1</span>, <span class="pl-c1">1</span>, <span class="pl-c1">1</span>]) <span class="pl-s1">axs0</span><span class="pl-c1">=</span> <span class="pl-s1">subfigs</span>[<span class="pl-c1">0</span>].<span class="pl-en">subplots</span>(<span class="pl-s1">nrows</span> <span class="pl-c1">=</span> <span class="pl-c1">12</span>, <span class="pl-s1">ncols</span> <span class="pl-c1">=</span> <span class="pl-c1">1</span>, <span class="pl-s1">sharex</span> <span class="pl-c1">=</span> <span class="pl-c1">True</span>) <span class="pl-s1">axs1</span> <span class="pl-c1">=</span> <span class="pl-s1">subfigs</span>[<span class="pl-c1">1</span>].<span class="pl-en">subplots</span>(<span class="pl-s1">nrows</span> <span class="pl-c1">=</span> <span class="pl-c1">12</span>, <span class="pl-s1">ncols</span> <span class="pl-c1">=</span> <span class="pl-c1">1</span>, <span class="pl-s1">sharex</span> <span class="pl-c1">=</span> <span class="pl-c1">True</span>) <span class="pl-s1">subfigs</span>[<span class="pl-c1">1</span>].<span class="pl-en">suptitle</span>(<span class="pl-s">'<span class="pl-cce">\n</span> A subfigure'</span>) <span class="pl-s1">axs2</span> <span class="pl-c1">=</span> <span class="pl-s1">subfigs</span>[<span class="pl-c1">2</span>].<span class="pl-en">subplots</span>(<span class="pl-s1">nrows</span> <span class="pl-c1">=</span> <span class="pl-c1">12</span>, <span class="pl-s1">ncols</span> <span class="pl-c1">=</span> <span class="pl-c1">1</span>, <span class="pl-s1">sharex</span> <span class="pl-c1">=</span> <span class="pl-c1">True</span>) <span class="pl-s1">subfigs</span>[<span class="pl-c1">2</span>].<span class="pl-en">suptitle</span>(<span class="pl-s">'<span class="pl-cce">\n</span> A subfigure'</span>) <span class="pl-s1">axs3</span> <span class="pl-c1">=</span> <span class="pl-s1">subfigs</span>[<span class="pl-c1">3</span>].<span class="pl-en">subplots</span>(<span class="pl-s1">nrows</span> <span class="pl-c1">=</span> <span class="pl-c1">12</span>, <span class="pl-s1">ncols</span> <span class="pl-c1">=</span> <span class="pl-c1">1</span>, <span class="pl-s1">sharex</span> <span class="pl-c1">=</span> <span class="pl-c1">True</span>) <span class="pl-s1">subfigs</span>[<span class="pl-c1">3</span>].<span class="pl-en">suptitle</span>(<span class="pl-s">'<span class="pl-cce">\n</span> A subfigure'</span>)</pre></div> <h3 dir="auto">Actual outcome</h3> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/64196642/226391637-ccb126ff-c20e-4fbd-8fda-f6e599942c75.png"><img src="https://user-images.githubusercontent.com/64196642/226391637-ccb126ff-c20e-4fbd-8fda-f6e599942c75.png" alt="image" style="max-width: 100%;"></a></p> <h3 dir="auto">Expected outcome</h3> <p dir="auto">A title should be given on top of the figure</p> <h3 dir="auto">Additional information</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Operating system</h3> <p dir="auto">Ubuntu</p> <h3 dir="auto">Matplotlib Version</h3> <p dir="auto">3.6.2</p> <h3 dir="auto">Matplotlib Backend</h3> <p dir="auto">Qt5Agg</p> <h3 dir="auto">Python version</h3> <p dir="auto">3.10.9</p> <h3 dir="auto">Jupyter version</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Installation</h3> <p dir="auto">conda</p>
<h3 dir="auto">Bug summary</h3> <p dir="auto">In a fairly basic example using subfigures, a suptitle added to the parent figure is not visible:</p> <h3 dir="auto">Code for reproduction</h3> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="f = plt.figure(figsize=(4, 3)) sf1, sf2 = f.subfigures(1, 2) sf1.subplots() sf2.subplots() f.suptitle(&quot;It's a bird, it's a plane, it's a suptitle&quot;)"><pre class="notranslate"><span class="pl-s1">f</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">figure</span>(<span class="pl-s1">figsize</span><span class="pl-c1">=</span>(<span class="pl-c1">4</span>, <span class="pl-c1">3</span>)) <span class="pl-s1">sf1</span>, <span class="pl-s1">sf2</span> <span class="pl-c1">=</span> <span class="pl-s1">f</span>.<span class="pl-en">subfigures</span>(<span class="pl-c1">1</span>, <span class="pl-c1">2</span>) <span class="pl-s1">sf1</span>.<span class="pl-en">subplots</span>() <span class="pl-s1">sf2</span>.<span class="pl-en">subplots</span>() <span class="pl-s1">f</span>.<span class="pl-en">suptitle</span>(<span class="pl-s">"It's a bird, it's a plane, it's a suptitle"</span>)</pre></div> <h3 dir="auto">Actual outcome</h3> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/315810/211206529-a3249ee9-6de1-4f0d-8be4-3e46f6f484dc.png"><img src="https://user-images.githubusercontent.com/315810/211206529-a3249ee9-6de1-4f0d-8be4-3e46f6f484dc.png" alt="test" style="max-width: 100%;"></a></p> <h3 dir="auto">Expected outcome</h3> <p dir="auto">Visible suptitle.</p> <h3 dir="auto">Additional information</h3> <p dir="auto">It looks like this is happening because the subfigures have a solid facecolor that obscure the suptitle:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="f = plt.figure(figsize=(4, 3)) sf1, sf2 = f.subfigures(1, 2) sf1.subplots() sf2.subplots() sf1.set_facecolor((.8, 0, 0, .3)) f.suptitle(&quot;It's a bird, it's a plane, it's a suptitle&quot;)"><pre class="notranslate"><span class="pl-s1">f</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">figure</span>(<span class="pl-s1">figsize</span><span class="pl-c1">=</span>(<span class="pl-c1">4</span>, <span class="pl-c1">3</span>)) <span class="pl-s1">sf1</span>, <span class="pl-s1">sf2</span> <span class="pl-c1">=</span> <span class="pl-s1">f</span>.<span class="pl-en">subfigures</span>(<span class="pl-c1">1</span>, <span class="pl-c1">2</span>) <span class="pl-s1">sf1</span>.<span class="pl-en">subplots</span>() <span class="pl-s1">sf2</span>.<span class="pl-en">subplots</span>() <span class="pl-s1">sf1</span>.<span class="pl-en">set_facecolor</span>((<span class="pl-c1">.8</span>, <span class="pl-c1">0</span>, <span class="pl-c1">0</span>, <span class="pl-c1">.3</span>)) <span class="pl-s1">f</span>.<span class="pl-en">suptitle</span>(<span class="pl-s">"It's a bird, it's a plane, it's a suptitle"</span>)</pre></div> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/315810/211206669-1b39ecf7-ce7c-444b-851f-8e994538cee1.png"><img src="https://user-images.githubusercontent.com/315810/211206669-1b39ecf7-ce7c-444b-851f-8e994538cee1.png" alt="test" style="max-width: 100%;"></a></p> <p dir="auto">Setting the zorder of the suptitle to a large number has no apparent effect.</p> <h3 dir="auto">Matplotlib Version</h3> <p dir="auto">3.6.2</p> <h3 dir="auto">Matplotlib Backend</h3> <p dir="auto">module://matplotlib_inline.backend_inline</p>
1
<p dir="auto">if you execute</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="app/console"><pre class="notranslate"><code class="notranslate">app/console </code></pre></div> <p dir="auto">you get<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/995707/5920676/a1aeb926-a63e-11e4-8390-c2e5956bcd7c.png"><img src="https://cloud.githubusercontent.com/assets/995707/5920676/a1aeb926-a63e-11e4-8390-c2e5956bcd7c.png" alt="bildschirmfoto 2015-01-27 um 16 05 42" style="max-width: 100%;"></a></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Usage: [options] command [arguments]"><pre class="notranslate"><code class="notranslate">Usage: [options] command [arguments] </code></pre></div> <p dir="auto">i think this wold be correct:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Usage: command [options] [arguments]"><pre class="notranslate"><code class="notranslate">Usage: command [options] [arguments] </code></pre></div> <p dir="auto">what do you think?</p> <p dir="auto">Best regards, Oskar</p>
<p dir="auto">I propose to add the following constraints for validating <code class="notranslate">Traversable</code> instances and arrays:</p> <ul dir="auto"> <li><code class="notranslate">Each</code>: Validates that each entry satisfies some constraint (replaces <code class="notranslate">All</code>, which should be deprecated).</li> <li><code class="notranslate">Some</code>: Validates that at least one entry satisfies some constraint. The lower limit (default 1) and upper limit (default <code class="notranslate">null</code>, i.e. unbounded) can be configured. Alternatively, a precise number of matches can be given.</li> <li><code class="notranslate">None</code>: Validates that 0 entries satisfy some constraint (alias for <code class="notranslate">Some(exactly = 0, ...)</code>)</li> <li><code class="notranslate">Unique</code>: Validates that the collection does not contain duplicates.</li> </ul> <p dir="auto">Example:</p> <div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="/** * @Each(@GreaterThan(6)) */ private $numbers. /** * @Some(@GreaterThan(6)) */ private $numbers. /** * @Some(@GreaterThan(6), min = 2, max = 5) */ private $numbers. /** * @Some(@GreaterThan(6), exactly = 3) */ private $numbers. /** * @None(@GreaterThan(6)) */ private $numbers. /** * @Unique */ private $numbers."><pre class="notranslate"><span class="pl-c">/**</span> <span class="pl-c"> * @Each(@GreaterThan(6))</span> <span class="pl-c"> */</span> <span class="pl-k">private</span> <span class="pl-s1"><span class="pl-c1">$</span>numbers</span>. <span class="pl-c">/**</span> <span class="pl-c"> * @Some(@GreaterThan(6))</span> <span class="pl-c"> */</span> private <span class="pl-s1"><span class="pl-c1">$</span>numbers</span>. <span class="pl-c">/**</span> <span class="pl-c"> * @Some(@GreaterThan(6), min = 2, max = 5)</span> <span class="pl-c"> */</span> private <span class="pl-s1"><span class="pl-c1">$</span>numbers</span>. <span class="pl-c">/**</span> <span class="pl-c"> * @Some(@GreaterThan(6), exactly = 3)</span> <span class="pl-c"> */</span> private <span class="pl-s1"><span class="pl-c1">$</span>numbers</span>. <span class="pl-c">/**</span> <span class="pl-c"> * @None(@GreaterThan(6))</span> <span class="pl-c"> */</span> private <span class="pl-s1"><span class="pl-c1">$</span>numbers</span>. <span class="pl-c">/**</span> <span class="pl-c"> * @Unique</span> <span class="pl-c"> */</span> private <span class="pl-s1"><span class="pl-c1">$</span>numbers</span>.</pre></div> <p dir="auto">Each constraint should expect either a single constraint or an array of constraints to be given. That means you can also do:</p> <div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="/** * @Each({ * @NotNull, * @GreaterThan(6) * }) */ private $numbers."><pre class="notranslate"><span class="pl-c">/**</span> <span class="pl-c"> * @Each({</span> <span class="pl-c"> * @NotNull,</span> <span class="pl-c"> * @GreaterThan(6)</span> <span class="pl-c"> * })</span> <span class="pl-c"> */</span> <span class="pl-k">private</span> <span class="pl-s1"><span class="pl-c1">$</span>numbers</span>.</pre></div> <p dir="auto">"min" or "max" and "exactly" must not be given at the same time:</p> <div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// ConstraintDefinitionException new Some(array( 'constraints' =&gt; array(...), 'min' =&gt; 2, 'exactly' =&gt; 2, ));"><pre class="notranslate"><span class="pl-c">// ConstraintDefinitionException</span> <span class="pl-k">new</span> <span class="pl-v">Some</span>(<span class="pl-en">array</span>( <span class="pl-s">'constraints'</span> =&gt; <span class="pl-en">array</span>(...), <span class="pl-s">'min'</span> =&gt; <span class="pl-c1">2</span>, <span class="pl-s">'exactly'</span> =&gt; <span class="pl-c1">2</span>, ));</pre></div> <p dir="auto">Groups on inner constraints should be supported (ref <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="4807960" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/4453" data-hovercard-type="pull_request" data-hovercard-url="/symfony/symfony/pull/4453/hovercard" href="https://github.com/symfony/symfony/pull/4453">#4453</a>).</p> <ul dir="auto"> <li> <p dir="auto">If a collection constraint has explicit groups given, it should call <code class="notranslate">addImplicitGroupName()</code> on the nested constraints with each of these groups (except "Default").</p> <div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="new Each(array( 'groups' =&gt; array('Default', 'Strict'), 'constraints' =&gt; new GreaterThan(6), // implicitly group &quot;Default&quot; and &quot;Strict&quot; ));"><pre class="notranslate"><span class="pl-k">new</span> <span class="pl-v">Each</span>(<span class="pl-en">array</span>( <span class="pl-s">'groups'</span> =&gt; <span class="pl-en">array</span>(<span class="pl-s">'Default'</span>, <span class="pl-s">'Strict'</span>), <span class="pl-s">'constraints'</span> =&gt; <span class="pl-k">new</span> <span class="pl-v">GreaterThan</span>(<span class="pl-c1">6</span>), <span class="pl-c">// implicitly group "Default" and "Strict"</span> ));</pre></div> </li> <li> <p dir="auto">If a collection constraint has no explicit group given, its groups should be the merged result of all nested groups.</p> <div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="new Each(array( 'constraints' =&gt; array( new GreaterThan(array( 'value' =&gt; 6, 'groups' =&gt; array('Default', 'Strict'), )), new NotNull(array('groups' =&gt; 'Filled')), ), // implicitly group &quot;Default&quot;, &quot;Strict&quot; and &quot;Filled&quot; ));"><pre class="notranslate"><span class="pl-k">new</span> <span class="pl-v">Each</span>(<span class="pl-en">array</span>( <span class="pl-s">'constraints'</span> =&gt; <span class="pl-en">array</span>( <span class="pl-k">new</span> <span class="pl-v">GreaterThan</span>(<span class="pl-en">array</span>( <span class="pl-s">'value'</span> =&gt; <span class="pl-c1">6</span>, <span class="pl-s">'groups'</span> =&gt; <span class="pl-en">array</span>(<span class="pl-s">'Default'</span>, <span class="pl-s">'Strict'</span>), )), <span class="pl-k">new</span> <span class="pl-v">NotNull</span>(<span class="pl-en">array</span>(<span class="pl-s">'groups'</span> =&gt; <span class="pl-s">'Filled'</span>)), ), <span class="pl-c">// implicitly group "Default", "Strict" and "Filled"</span> ));</pre></div> </li> <li> <p dir="auto">If both the collection constraint and a nested constraint have explicit groups given, the groups of the nested constraint need to be a subset of the groups of the outer constraint.</p> <div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// ok new Each(array( 'groups' =&gt; array('Default', 'Strict'), 'constraints' =&gt; new GreaterThan(array( 'value' =&gt; 6, 'groups' =&gt; array('Default', 'Strict'), )), )); // ok new Each(array( 'groups' =&gt; array('Default', 'Strict'), 'constraints' =&gt; new GreaterThan(array( 'value' =&gt; 6, 'groups' =&gt; 'Strict', )), )); // ConstraintDefinitionException new Each(array( 'groups' =&gt; array('Default', 'Strict'), 'constraints' =&gt; new GreaterThan(array( 'value' =&gt; 6, 'groups' =&gt; array('Strict', 'Sales'), )), ));"><pre class="notranslate"><span class="pl-c">// ok</span> <span class="pl-k">new</span> <span class="pl-v">Each</span>(<span class="pl-en">array</span>( <span class="pl-s">'groups'</span> =&gt; <span class="pl-en">array</span>(<span class="pl-s">'Default'</span>, <span class="pl-s">'Strict'</span>), <span class="pl-s">'constraints'</span> =&gt; <span class="pl-k">new</span> <span class="pl-v">GreaterThan</span>(<span class="pl-en">array</span>( <span class="pl-s">'value'</span> =&gt; <span class="pl-c1">6</span>, <span class="pl-s">'groups'</span> =&gt; <span class="pl-en">array</span>(<span class="pl-s">'Default'</span>, <span class="pl-s">'Strict'</span>), )), )); <span class="pl-c">// ok</span> <span class="pl-k">new</span> <span class="pl-v">Each</span>(<span class="pl-en">array</span>( <span class="pl-s">'groups'</span> =&gt; <span class="pl-en">array</span>(<span class="pl-s">'Default'</span>, <span class="pl-s">'Strict'</span>), <span class="pl-s">'constraints'</span> =&gt; <span class="pl-k">new</span> <span class="pl-v">GreaterThan</span>(<span class="pl-en">array</span>( <span class="pl-s">'value'</span> =&gt; <span class="pl-c1">6</span>, <span class="pl-s">'groups'</span> =&gt; <span class="pl-s">'Strict'</span>, )), )); <span class="pl-c">// ConstraintDefinitionException</span> <span class="pl-k">new</span> <span class="pl-v">Each</span>(<span class="pl-en">array</span>( <span class="pl-s">'groups'</span> =&gt; <span class="pl-en">array</span>(<span class="pl-s">'Default'</span>, <span class="pl-s">'Strict'</span>), <span class="pl-s">'constraints'</span> =&gt; <span class="pl-k">new</span> <span class="pl-v">GreaterThan</span>(<span class="pl-en">array</span>( <span class="pl-s">'value'</span> =&gt; <span class="pl-c1">6</span>, <span class="pl-s">'groups'</span> =&gt; <span class="pl-en">array</span>(<span class="pl-s">'Strict'</span>, <span class="pl-s">'Sales'</span>), )), ));</pre></div> </li> <li> <p dir="auto">Calls to <code class="notranslate">addImplicitGroupName()</code> on the collection constraint should be propagated to nested constraints.</p> </li> </ul>
0
<h1 dir="auto">Bug report</h1> <h2 dir="auto">Describe the bug</h2> <p dir="auto">An index page implemented within a subdirectory behaves differently between development and production modes.</p> <p dir="auto">When the next server is started in dev mode everything seems to work as expected. When running in "production" mode via <code class="notranslate">next build</code> and <code class="notranslate">next start</code> the event listeners on page do not fire.</p> <h2 dir="auto">To Reproduce</h2> <p dir="auto">I created a minimal example here: <a href="https://github.com/hoffrocket/next8bug">https://github.com/hoffrocket/next8bug</a></p> <h2 dir="auto">Expected behavior</h2> <p dir="auto">I'd expect the same behavior in production as in dev. The event listeners should fire.</p> <h2 dir="auto">System information</h2> <ul dir="auto"> <li>OS: macOS</li> <li>chrome, safari</li> <li>Version of Next.js: 8.0.1</li> <li>Version of node: 8.14.0</li> </ul>
<h1 dir="auto">Bug report</h1> <p dir="auto">When you build next.js when the index page is located in <code class="notranslate">/index/index.js</code> instead of <code class="notranslate">/index.js</code> The client side script will not be executed when you access <code class="notranslate">http://localhost/</code>.</p> <p dir="auto">The built index page will register with <code class="notranslate">/index</code> (as shown below)</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="(window.__NEXT_P = window.__NEXT_P || []).push([&quot;/index&quot;, function () { var e = n(&quot;gDgk&quot;); return { page: e.default || e } }])"><pre class="notranslate"><span class="pl-kos">(</span><span class="pl-smi">window</span><span class="pl-kos">.</span><span class="pl-c1">__NEXT_P</span> <span class="pl-c1">=</span> <span class="pl-smi">window</span><span class="pl-kos">.</span><span class="pl-c1">__NEXT_P</span> <span class="pl-c1">||</span> <span class="pl-kos">[</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">push</span><span class="pl-kos">(</span><span class="pl-kos">[</span><span class="pl-s">"/index"</span><span class="pl-kos">,</span> <span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">var</span> <span class="pl-s1">e</span> <span class="pl-c1">=</span> <span class="pl-en">n</span><span class="pl-kos">(</span><span class="pl-s">"gDgk"</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">return</span> <span class="pl-kos">{</span> <span class="pl-c1">page</span>: <span class="pl-s1">e</span><span class="pl-kos">.</span><span class="pl-c1">default</span> <span class="pl-c1">||</span> <span class="pl-s1">e</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">]</span><span class="pl-kos">)</span></pre></div> <p dir="auto">Moving the index.js to the pages root will restore the wanted behaviour.<br> It took a while for me to figure out what the actual issue is as it's working just fine in dev mode.</p> <h2 dir="auto">To Reproduce</h2> <p dir="auto">Steps to reproduce the behavior, please provide code snippets or a repository:</p> <ol dir="auto"> <li>Check out <a href="https://github.com/adlk/nextjs-index-issue">https://github.com/adlk/nextjs-index-issue</a></li> <li>Run <code class="notranslate">npm install &amp;&amp; npm run build &amp;&amp; npm start</code></li> <li>Check in DevTools if you have a log with <code class="notranslate">Home: component did mount</code></li> </ol> <h2 dir="auto">System information</h2> <ul dir="auto"> <li>Version of Next.js: 8.0.0</li> </ul>
1
<h2 dir="auto"><g-emoji class="g-emoji" alias="bug" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f41b.png">🐛</g-emoji> Bug</h2> <h2 dir="auto">To Reproduce</h2> <p dir="auto">I have created a Python package with PyTorch and torchvision as dependencies:</p> <p dir="auto">requirements.txt</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# Image Preprocessing pims_nd2&gt;=1.0,&lt;1.1 nd2reader&gt;=3.2.3,&lt;4.0.0 read-roi&gt;=1.6.0,&lt;2.0.0 scikit-image&gt;=0.17.2,&lt;1.0.0 opencv-python&lt;=4.2.0.30 numpy&gt;=1.18.5,&lt;2.0.0 # ML libraries torch&gt;=1.6.0,&lt;2.0.0 torchvision&gt;=0.7.0,&lt;1.0.0 # GUI PyQt5&gt;=5.11.3,&lt;5.13.0 # Utils tqdm"><pre class="notranslate"><code class="notranslate"># Image Preprocessing pims_nd2&gt;=1.0,&lt;1.1 nd2reader&gt;=3.2.3,&lt;4.0.0 read-roi&gt;=1.6.0,&lt;2.0.0 scikit-image&gt;=0.17.2,&lt;1.0.0 opencv-python&lt;=4.2.0.30 numpy&gt;=1.18.5,&lt;2.0.0 # ML libraries torch&gt;=1.6.0,&lt;2.0.0 torchvision&gt;=0.7.0,&lt;1.0.0 # GUI PyQt5&gt;=5.11.3,&lt;5.13.0 # Utils tqdm </code></pre></div> <p dir="auto">setup.py</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# Always prefer setuptools over distutils from setuptools import setup, find_packages # To use a consistent encoding from codecs import open # Get the long description from the README file with open('README.md', 'r', encoding='utf-8') as f: long_description = f.read() def parse_requirements(filename): &quot;&quot;&quot; load requirements from a pip requirements file &quot;&quot;&quot; lineiter = (line.strip() for line in open(filename)) return [line for line in lineiter if line and not line.startswith(&quot;#&quot;)] install_reqs = parse_requirements(&quot;requirements.txt&quot;) # Arguments marked as &quot;Required&quot; below must be included for upload to PyPI. # Fields marked as &quot;Optional&quot; may be commented out. setup( ******************************** install_requires=install_reqs, # Optional include_package_data=True, data_files=[ (&quot;&quot;,&quot;requirements.txt&quot;) ] )"><pre class="notranslate"><code class="notranslate"># Always prefer setuptools over distutils from setuptools import setup, find_packages # To use a consistent encoding from codecs import open # Get the long description from the README file with open('README.md', 'r', encoding='utf-8') as f: long_description = f.read() def parse_requirements(filename): """ load requirements from a pip requirements file """ lineiter = (line.strip() for line in open(filename)) return [line for line in lineiter if line and not line.startswith("#")] install_reqs = parse_requirements("requirements.txt") # Arguments marked as "Required" below must be included for upload to PyPI. # Fields marked as "Optional" may be commented out. setup( ******************************** install_requires=install_reqs, # Optional include_package_data=True, data_files=[ ("","requirements.txt") ] ) </code></pre></div> <p dir="auto">The problem is that when I install my package on Windows no PyTorch and torchvision gets downloaded. In Linux it works perfectly.</p> <h2 dir="auto">Expected behavior</h2> <p dir="auto">It should work as in Linux done</p> <p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/peterjc123/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/peterjc123">@peterjc123</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/maxluk/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/maxluk">@maxluk</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/nbcsm/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/nbcsm">@nbcsm</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/guyang3532/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/guyang3532">@guyang3532</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/gunandrose4u/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/gunandrose4u">@gunandrose4u</a> @smartcat2010 <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mszhanyi/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mszhanyi">@mszhanyi</a></p>
<h2 dir="auto"><g-emoji class="g-emoji" alias="bug" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f41b.png">🐛</g-emoji> Bug</h2> <p dir="auto">While installing from source on windows, build fails with the error</p> <h2 dir="auto">To Reproduce</h2> <p dir="auto">Steps to reproduce the behavior:<br> Install pytorch from source as per below steps.</p> <p dir="auto">cd ~\Desktop<br> git clone --recursive <a href="https://github.com/pytorch/pytorch">https://github.com/pytorch/pytorch</a><br> cd ~\Desktop\pytorch<br> set "VS150COMNTOOLS=C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\VC\Auxiliary\Build"<br> set CMAKE_GENERATOR=Visual Studio 15 2017 Win64<br> set DISTUTILS_USE_SDK=1<br> set "PREBUILD_COMMAND=%VS140COMNTOOLS%....\VC\vcvarsall.bat"<br> set PREBUILD_COMMAND_ARGS=x64</p> <p dir="auto">call "%VS150COMNTOOLS%\vcvarsall.bat" x64 -vcvars_ver=14.11<br> python setup.py install</p> <p dir="auto">Error message as below.<br> "C:\Users&lt;username&gt;\Desktop\pytorch\build\INSTALL.vcxproj" (default target) (1) -&gt;<br> "C:\Users&lt;username&gt;\Desktop\pytorch\build\ALL_BUILD.vcxproj" (default target) (3) -&gt;<br> "C:\Users&lt;username&gt;\Desktop\pytorch\build\caffe2\AlgorithmsTest.vcxproj" (default target) (4) -&gt;<br> "C:\Users&lt;username&gt;\Desktop\pytorch\build\caffe2\caffe2_gpu.vcxproj" (default target) (22) -&gt;<br> (CustomBuild target) -&gt;<br> c:\users&lt;username&gt;\desktop\pytorch\third_party\eigen\eigen\src/Core/arch/CUDA/Half.h(212): error : more than one instance of overloaded function "__hadd" matches the argument list: [C:\Users&lt;username&gt;\Desktop\pytorch<br> \build\caffe2\caffe2_gpu.vcxproj]</p> <h2 dir="auto">Expected behavior</h2> <p dir="auto">Build to complete properly</p> <h2 dir="auto">Environment</h2> <p dir="auto">Windows</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Collecting environment information... PyTorch version: 1.0.0a0+0f9807e Is debug build: No CUDA used to build PyTorch: 9.0 OS: Microsoft Windows 10 Pro GCC version: (Rev5, Built by MSYS2 project) 5.3.0 CMake version: version 3.12.2 Python version: 3.6 Is CUDA available: Yes CUDA runtime version: 9.0.176 GPU models and configuration: GPU 0: GeForce GTX 1080 Nvidia driver version: 397.93 cuDNN version: Probably one of the following: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0\bin\cudnn64_7.dll Versions of relevant libraries: [pip] Could not collect [conda] cuda90 1.0 0 pytorch [conda] pytorch 0.4.1 py36_cuda90_cudnn7he774522_1 pytorch [conda] torch 1.0.0a0+0f9807e &lt;pip&gt; [conda] torchtext 0.2.3 &lt;pip&gt; [conda] torchvision 0.2.0 &lt;pip&gt; [conda] torchvision-nightly 0.2.1 &lt;pip&gt;"><pre class="notranslate"><code class="notranslate">Collecting environment information... PyTorch version: 1.0.0a0+0f9807e Is debug build: No CUDA used to build PyTorch: 9.0 OS: Microsoft Windows 10 Pro GCC version: (Rev5, Built by MSYS2 project) 5.3.0 CMake version: version 3.12.2 Python version: 3.6 Is CUDA available: Yes CUDA runtime version: 9.0.176 GPU models and configuration: GPU 0: GeForce GTX 1080 Nvidia driver version: 397.93 cuDNN version: Probably one of the following: C:\Program Files\NVIDIA GPU Computing Toolkit\CUDA\v9.0\bin\cudnn64_7.dll Versions of relevant libraries: [pip] Could not collect [conda] cuda90 1.0 0 pytorch [conda] pytorch 0.4.1 py36_cuda90_cudnn7he774522_1 pytorch [conda] torch 1.0.0a0+0f9807e &lt;pip&gt; [conda] torchtext 0.2.3 &lt;pip&gt; [conda] torchvision 0.2.0 &lt;pip&gt; [conda] torchvision-nightly 0.2.1 &lt;pip&gt; </code></pre></div> <ul dir="auto"> <li>PyTorch Version (e.g., 1.0): 1.0</li> <li>OS (e.g., Linux): Windows</li> <li>How you installed PyTorch (<code class="notranslate">conda</code>, <code class="notranslate">pip</code>, source): source</li> <li>Build command you used (if compiling from source): given above</li> <li>Python version:3.6.6</li> <li>CUDA/cuDNN version:9.0</li> <li>GPU models and configuration:GTX 1080</li> <li>Any other relevant information: N/A</li> </ul> <h2 dir="auto">Additional context</h2> <p dir="auto">To fix the error and ensure that the compile is successful, Modify the following lines in (where pytorch git source is cloned)<br> ~\Desktop\pytorch\third_party\eigen\Eigen\src\Core\arch\CUDA\Half.h</p> <p dir="auto">EIGEN_STRONG_INLINE <strong>device</strong> half operator + (const half&amp; a, const half&amp; b) {<br> return __hadd(::__half(a), ::__half(b));<br> // return __hadd(a, b);<br> }<br> EIGEN_STRONG_INLINE <strong>device</strong> half operator * (const half&amp; a, const half&amp; b) {<br> return __hmul(a, b);<br> }<br> EIGEN_STRONG_INLINE <strong>device</strong> half operator - (const half&amp; a, const half&amp; b) {<br> return __hsub(a, b);<br> }<br> EIGEN_STRONG_INLINE <strong>device</strong> half operator / (const half&amp; a, const half&amp; b) {<br> return __hdiv(a, b);<br> // float num = __half2float(a);<br> // float denom = __half2float(b);<br> // return __float2half(num / denom);<br> }</p>
0
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=gviczai" rel="nofollow">Viczai Gábor</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-7130?redirect=false" rel="nofollow">SPR-7130</a></strong> and commented</p> <p dir="auto">We are currently working on an enterprise project for one of our biggest clients. We are using Spring 2.0 and Spring Web Flow 1.0 Rc4. While deploying the application to Oracle 9ias 10.1.2.0.2 in our development environment, we encountered the following error. We experienced the same error in Spring 2.0 RC2 and it was fixed in Spring 2.0 RC3 by Rick Evans. The ticket No is SPR - 2290. Kindly fix the bug. I will attach the XMLParser Oracle uses so you guys can test it. This is a critical error and we are unable to move forward.</p> <p dir="auto">EXCEPTION FROM THE LOG FILE:</p> <hr> <p dir="auto">06/10/11 17:58:18 Started<br> 06/10/11 17:58:21 drlm: jsp: init<br> 06/10/11 17:58:21 drlm: context: init<br> 06/10/11 17:58:21 drlm: Loading Spring root WebApplicationContext<br> 06/10/11 17:58:52 drlm: Error initializing servlet<br> org.springframework.beans.factory.BeanDefinitionStoreException: Line 8 in XML document from ServletContext resource [/WEB-INF/drlm-servlet.xml] is invalid; nested exception is oracle.xml.parser.schema.XSDException: Duplicated definition for: 'identifiedType'<br> Caused by: oracle.xml.parser.schema.XSDException: Duplicated definition for: 'identifiedType'<br> at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:444)<br> at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:303)<br> at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:290)<br> at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:196)<br> at oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:151)<br> at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:77)<br> at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:405)<br> at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:357)<br> at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)<br> at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:126)<br> at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:142)<br> at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:123)<br> at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:91)<br> at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:94)<br> at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:294)<br> at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)<br> at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)<br> at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)<br> at org.springframework.web.context.ContextLoaderServlet.init(ContextLoaderServlet.java:83)<br> at javax.servlet.GenericServlet.init(GenericServlet.java:258)<br> at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2354)<br> at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4795)<br> at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4889)<br> at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1015)<br> at com.evermind.server.http.HttpApplication.&lt;init&gt;(HttpApplication.java:549)<br> at com.evermind.server.Application.getHttpApplication(Application.java:890)<br> at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:707)<br> at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:625)<br> at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:278)<br> at com.evermind.server.http.HttpServer.setSites(HttpServer.java:278)<br> at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:179)<br> at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2394)<br> at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1551)<br> at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:92)<br> at java.lang.Thread.run(Thread.java:534)<br> 06/10/11 17:58:52 drlm: Error preloading servlet<br> javax.servlet.ServletException: Error initializing servlet<br> at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4846)<br> at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4889)<br> at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1015)<br> at com.evermind.server.http.HttpApplication.&lt;init&gt;(HttpApplication.java:549)<br> at com.evermind.server.Application.getHttpApplication(Application.java:890)<br> at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:707)<br> at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:625)<br> at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:278)<br> at com.evermind.server.http.HttpServer.setSites(HttpServer.java:278)<br> at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:179)<br> at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2394)<br> at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1551)<br> at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:92)<br> at java.lang.Thread.run(Thread.java:534)<br> 06/10/11 17:58:52 drlm: drlm: init<br> 06/10/11 17:58:52 drlm: Loading WebApplicationContext for Spring FrameworkServlet 'drlm'<br> 06/10/11 17:58:52 drlm: Error initializing servlet<br> org.springframework.beans.factory.BeanDefinitionStoreException: Line 8 in XML document from ServletContext resource [/WEB-INF/drlm-servlet.xml] is invalid; nested exception is oracle.xml.parser.schema.XSDException: Duplicated definition for: 'identifiedType'<br> Caused by: oracle.xml.parser.schema.XSDException: Duplicated definition for: 'identifiedType'<br> at oracle.xml.parser.v2.XMLError.flushErrorHandler(XMLError.java:444)<br> at oracle.xml.parser.v2.XMLError.flushErrors1(XMLError.java:303)<br> at oracle.xml.parser.v2.NonValidatingParser.parseDocument(NonValidatingParser.java:290)<br> at oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:196)<br> at oracle.xml.jaxp.JXDocumentBuilder.parse(JXDocumentBuilder.java:151)<br> at org.springframework.beans.factory.xml.DefaultDocumentLoader.loadDocument(DefaultDocumentLoader.java:77)<br> at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:405)<br> at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:357)<br> at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:334)<br> at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:126)<br> at org.springframework.beans.factory.support.AbstractBeanDefinitionReader.loadBeanDefinitions(AbstractBeanDefinitionReader.java:142)<br> at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:123)<br> at org.springframework.web.context.support.XmlWebApplicationContext.loadBeanDefinitions(XmlWebApplicationContext.java:91)<br> at org.springframework.context.support.AbstractRefreshableApplicationContext.refreshBeanFactory(AbstractRefreshableApplicationContext.java:94)<br> at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:294)<br> at org.springframework.web.context.support.AbstractRefreshableWebApplicationContext.refresh(AbstractRefreshableWebApplicationContext.java:156)<br> at org.springframework.web.context.ContextLoader.createWebApplicationContext(ContextLoader.java:246)<br> at org.springframework.web.context.ContextLoader.initWebApplicationContext(ContextLoader.java:184)<br> at org.springframework.web.context.ContextLoaderServlet.init(ContextLoaderServlet.java:83)<br> at javax.servlet.GenericServlet.init(GenericServlet.java:258)<br> at com.evermind.server.http.HttpApplication.loadServlet(HttpApplication.java:2354)<br> at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4795)<br> at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4889)<br> at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1015)<br> at com.evermind.server.http.HttpApplication.&lt;init&gt;(HttpApplication.java:549)<br> at com.evermind.server.Application.getHttpApplication(Application.java:890)<br> at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:707)<br> at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:625)<br> at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:278)<br> at com.evermind.server.http.HttpServer.setSites(HttpServer.java:278)<br> at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:179)<br> at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2394)<br> at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1551)<br> at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:92)<br> at java.lang.Thread.run(Thread.java:534)<br> 06/10/11 17:58:52 drlm: Error preloading servlet<br> javax.servlet.ServletException: Error initializing servlet<br> at com.evermind.server.http.HttpApplication.findServlet(HttpApplication.java:4846)<br> at com.evermind.server.http.HttpApplication.initPreloadServlets(HttpApplication.java:4889)<br> at com.evermind.server.http.HttpApplication.initDynamic(HttpApplication.java:1015)<br> at com.evermind.server.http.HttpApplication.&lt;init&gt;(HttpApplication.java:549)<br> at com.evermind.server.Application.getHttpApplication(Application.java:890)<br> at com.evermind.server.http.HttpServer.getHttpApplication(HttpServer.java:707)<br> at com.evermind.server.http.HttpSite.initApplications(HttpSite.java:625)<br> at com.evermind.server.http.HttpSite.setConfig(HttpSite.java:278)<br> at com.evermind.server.http.HttpServer.setSites(HttpServer.java:278)<br> at com.evermind.server.http.HttpServer.setConfig(HttpServer.java:179)<br> at com.evermind.server.ApplicationServer.initializeHttp(ApplicationServer.java:2394)<br> at com.evermind.server.ApplicationServer.setConfig(ApplicationServer.java:1551)<br> at com.evermind.server.ApplicationServerLauncher.run(ApplicationServerLauncher.java:92)<br> at java.lang.Thread.run(Thread.java:534)<br> 06/10/11 17:58:52 drlm: dwr-invoker: init<br> 06/10/11 17:58:53 drlm: Started</p> <p dir="auto">drlm-servlet.xml file:</p> <hr> <p dir="auto">&lt;?xml version="1.0" encoding="UTF-8"?&gt;</p> <p dir="auto">&lt;beans xmlns="<a href="http://www.springframework.org/schema/beans" rel="nofollow">http://www.springframework.org/schema/beans</a>"<br> xmlns:xsi="<a href="http://www.w3.org/2001/XMLSchema-instance" rel="nofollow">http://www.w3.org/2001/XMLSchema-instance</a>"<br> xmlns:flow="<a href="http://www.springframework.org/schema/webflow-config" rel="nofollow">http://www.springframework.org/schema/webflow-config</a>"<br> xsi:schemaLocation="<a href="http://www.springframework.org/schema/beans" rel="nofollow">http://www.springframework.org/schema/beans</a><br> <a href="http://www.springframework.org/schema/beans/spring-beans-2.0.xsd" rel="nofollow">http://www.springframework.org/schema/beans/spring-beans-2.0.xsd</a><br> <a href="http://www.springframework.org/schema/webflow-config" rel="nofollow">http://www.springframework.org/schema/webflow-config</a><br> <a href="http://www.springframework.org/schema/webflow-config/spring-webflow-config-1.0.xsd%22%3E" rel="nofollow">http://www.springframework.org/schema/webflow-config/spring-webflow-config-1.0.xsd"&gt;</a></p> <p dir="auto">&lt;!--</p> <ul dir="auto"> <li> <p dir="auto">DispatcherServlet application context for Device Registration and Listing Application web tier.<br> --&gt;</p> - Message source for this context, loaded from localized "messages_xx" files. <ul dir="auto"> <li>Could also reside in the root application context, as it is generic,</li> <li>but is currently just used within DRLM's web tier.<br> --&gt;</li> </ul> uk.ltd.getahead.dwr.DWRServlet dwr-invoker true flowController drlmMainMenuController <p dir="auto">&lt;flow:executor id="flowExecutor" registry-ref="flowRegistry" repository-type="continuation"/&gt;</p> <p dir="auto">&lt;flow:registry id="flowRegistry"&gt;<br> &lt;flow:location path="file:html/WEB-INF/flows/**/*-flow.xml"/&gt;<br> &lt;/flow:registry&gt;</p> </li> </ul> <p dir="auto">&lt;/beans&gt;</p> <hr> <p dir="auto"><strong>Affects:</strong> 2.0 final</p> <p dir="auto"><strong>Issue Links:</strong></p> <ul dir="auto"> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398068315" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/6979" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/6979/hovercard" href="https://github.com/spring-projects/spring-framework/issues/6979">#6979</a> oracle.xml.parser.schema.XSDException: Duplicated definition for: 'identifiedType' in spring-util.xsd. We are unable to start OC4j Server.</li> </ul> <p dir="auto">9 votes, 10 watchers</p>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=perfnorm" rel="nofollow">Jasper Rosenberg</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-2887?redirect=false" rel="nofollow">SPR-2887</a></strong> and commented</p> <p dir="auto">This is in regards to forum thread: <a href="http://forum.springframework.org/showthread.php?t=31932" rel="nofollow">http://forum.springframework.org/showthread.php?t=31932</a></p> <p dir="auto">Basically, I was looking for a way to factor out some common values of two lists. I was able to solve it ultimately by declaring the common list as a org.springframework.beans.factory.config.ListFactoryBean, and then having the shared lists declare the common list as a parent with the "sourceList" property of the child set to merge. This works but isn't very friendly for an operation that doesn't seem like it should be infrequent. One proposed solution in the forum thread was to add support for "abstract" and "parent" attributes to util:list. That would allow my current solution to at least be a bit terser.</p> <p dir="auto">Unfortunately, I don't think this really covers the general case very well, since what if someone wanted to merge in more than just one list? The bean inheritence model doesn't support multiple parents, so you would be back to square one...</p> <p dir="auto">org.springframework.beans.factory.config.PropertiesFactoryBean handles this pretty nicely with its support for the "propertiesArray" property.</p> <p dir="auto">I suppose whatever the solution ultimately is should also be applied to Maps and Sets if applicable.</p> <hr> <p dir="auto"><strong>Affects:</strong> 2.0.1</p> <p dir="auto"><strong>Attachments:</strong></p> <ul dir="auto"> <li><a href="https://jira.spring.io/secure/attachment/15701/AListAggregationFactoryBean.java" rel="nofollow">AListAggregationFactoryBean.java</a> (<em>1.02 kB</em>)</li> <li><a href="https://jira.spring.io/secure/attachment/15702/ClassListAggregationFactoryBean.java" rel="nofollow">ClassListAggregationFactoryBean.java</a> (<em>584 bytes</em>)</li> <li><a href="https://jira.spring.io/secure/attachment/14048/patch.txt" rel="nofollow">patch.txt</a> (<em>5.93 kB</em>)</li> </ul> <p dir="auto"><strong>Issue Links:</strong></p> <ul dir="auto"> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398100553" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/11189" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/11189/hovercard" href="https://github.com/spring-projects/spring-framework/issues/11189">#11189</a> Introduce 'merge' attribute for util namespace collection elements (<em><strong>"duplicates"</strong></em>)</li> </ul> <p dir="auto">16 votes, 18 watchers</p>
0
<p dir="auto">Running neo4j-admin gets stuck deterministically. We can see using strace there's no system call running doing IO. All threads are stuck on Mutexes.<br> I suspect a potential dead lock or a thread dying.</p> <p dir="auto"><strong>Neo4j Version:</strong> 4.1.2 (also reproduced on previous two versions)</p> <h3 dir="auto">Steps to reproduce</h3> <p dir="auto">neo4j-admin import <br> --database=$DBNAME <br> --delimiter="|" <br> --nodes=REDACTED=${NODE_DIR}/REDACTED.csv,${DATA_DIR}/REDACTED.csv \ # 44 more lines like this<br> --relationships=REDACTED=${EDGE_DIR}/REDACTED.csv,${DATA_DIR}/REDACTED.csv \ # 75 more lines like this<br> --skip-bad-relationships=REDACTED <br> --skip-duplicate-nodes=REDACTED <br> --trim-strings=true</p> <p dir="auto">Jstack attached:</p> <p dir="auto"><a href="https://github.com/neo4j/neo4j/files/5376298/jstack_4.1.2.txt">jstack_4.1.2.txt</a></p> <p dir="auto">Console output attached:</p> <p dir="auto"><a href="https://github.com/neo4j/neo4j/files/5376579/console.txt">console.txt</a></p> <p dir="auto">The backing store is NFS which we know is not recommended by the documentation but we disabled locking by NFS so the kernel manages them locally as if the application was running locally.</p>
<ul dir="auto"> <li>Neo4j version: 3.4.0</li> <li>Operating system: Windows 10 64 bit</li> <li>Neo4j Desktop: 1.1.2</li> </ul> <p dir="auto">Using the bulk csv import through neo4j desktop generated this error. As you may also see from the timings this importing had taken &gt;20 hours. I had upgraded from neo4j 3.3.4 to attempt to get away with the slow speeds. Not sure if this error is related to the slow importing, but the full details are on <a href="https://stackoverflow.com/questions/50552882/neo4j-bulk-import-doesnt-work-for-big-datasets" rel="nofollow">stackoverflow</a></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="C:\Users\D\.Neo4jDesktop\neo4jDatabases\database-d6438069-dd9b-435c-bbc1-83e313cdc77f\installation-3.4.0&gt;SET DATA=D:\Neo4jdb\data C:\Users\D\.Neo4jDesktop\neo4jDatabases\database-d6438069-dd9b-435c-bbc1-83e313cdc77f\installation-3.4.0&gt;.\bin\neo4j-admin import ^ More? --mode=csv ^ More? --database=association_graph.db ^ More? --ignore-duplicate-nodes true ^ More? --nodes %DATA%\nodes_assocs.csv ^ More? --nodes %DATA%\nodes_docs_fixed.csv ^ More? --nodes %DATA%\nodes_entities_dedup.csv ^ More? --nodes %DATA%\nodes_sents.csv ^ More? --relationships %DATA%\edges_IN_ASSOC.csv ^ More? --relationships %DATA%\edges_IN_DOC.csv ^ More? --relationships %DATA%\edges_IN_SENT.csv WARNING: This command does not appear to be running with administrative rights. Some commands may fail e.g. Start/Stop Neo4j version: 3.4.0 Importing the contents of these files into D:\Neo4jdb\databases\association_graph.db: Nodes: .\bin\neo4j-admin import ^ --mode=csv ^ --database=association_graph.db ^ --ignore-duplicate-nodes true ^ --nodes D:\Neo4jdb\data\nodes_assoc.csv ^ --nodes D:\Neo4jdb\data\nodes_article.csv ^ --nodes D:\Neo4jdb\data\nodes_term.csv ^ --nodes D:\Neo4jdb\data\nodes_chunk.csv ^ --relationships %DATA%\edges_IN_ASSOC.csv ^ --relationships %DATA%\edges_IN_ARTICLE.csv ^ --relationships %DATA%\edges_IN_CHUNK.csv Available resources: Total machine memory: 63.91 GB Free machine memory: 54.02 GB Max heap memory : 14.20 GB Processors: 12 Configured max memory: 44.74 GB High-IO: false Import starting 2018-05-28 18:28:00.474+0100 Estimated number of nodes: 653.00 M Estimated number of node properties: 1.01 G Estimated number of relationships: 641.45 M Estimated number of relationship properties: 0.00 Estimated disk space usage: 104.70 GB Estimated required memory usage: 9.02 GB InteractiveReporterInteractions command list (end with ENTER): c: Print more detailed information about current stage i: Print more detailed information (1/4) Node import 2018-05-28 18:28:00.642+0100 Estimated number of nodes: 653.00 M Estimated disk space usage: 84.39 GB Estimated required memory usage: 9.02 GB .......... .......... .......... .......... .......... 5% .......... .......... .......... .......... .......... 10% .......... .......... .......... .......... .......... 15% .......... .......... .......... .......... .......... 20% .......... .......... .......... .......... .......... 25% .......... .......... .......... .......... .......... 30% .......... .......... .......... .......... .......... 35% .......... .......... .......... .......... .......... 40% .......... .......... .......... .......... .......... 45% .......... .......... .......... .......... .......... 50% .......... .......... .......... .......... .......... 55% .......... .......... .......... .......... .......... 60% .......... .......... .......... .......... .......... 65% .......... .......... .......... .......... .......... 70% .......... .......... .......... .......... .......... 75% .......... .......... .......... .......... .......... 80% .......... .......... .......... .......... .......... 85% ..Exception in thread &quot;Thread-8&quot; java.lang.RuntimeException: java.lang.IllegalStateException: Cursor org.neo4j.io.pagecache.impl.muninn.MuninnWritePageCurso r@4b7148ec access out of bounds, page id 11, offset 0 at org.neo4j.unsafe.impl.batchimport.staging.AbstractStep.issuePanic(AbstractStep.java:150) at org.neo4j.unsafe.impl.batchimport.staging.AbstractStep.issuePanic(AbstractStep.java:142) at org.neo4j.unsafe.impl.batchimport.staging.LonelyProcessingStep.lambda$receive$0(LonelyProcessingStep.java:58) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.IllegalStateException: Cursor org.neo4j.io.pagecache.impl.muninn.MuninnWritePageCursor@4b7148ec access out of bounds, page id 11, offse t 0 at org.neo4j.unsafe.impl.batchimport.cache.PageCacheNumberArray.checkBounds(PageCacheNumberArray.java:185) at org.neo4j.unsafe.impl.batchimport.cache.PageCacheByteArray.setShort(PageCacheByteArray.java:292) at org.neo4j.unsafe.impl.batchimport.cache.DynamicByteArray.setShort(DynamicByteArray.java:136) at org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.StringCollisionValues.add(StringCollisionValues.java:69) at org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.EncodingIdMapper.buildCollisionInfo(EncodingIdMapper.java:508) at org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.EncodingIdMapper.prepare(EncodingIdMapper.java:237) at org.neo4j.unsafe.impl.batchimport.IdMapperPreparationStep.process(IdMapperPreparationStep.java:56) at org.neo4j.unsafe.impl.batchimport.staging.LonelyProcessingStep.lambda$receive$0(LonelyProcessingStep.java:53) ... 1 more ........ .......... .......... .......... .......... 90% .......... .......... .......... .......... .......... 95% .......... .......... .......... .......... .......... 100% IMPORT DONE in 21h 24m 620ms. Data statistics is not available. Peak memory usage: 5.91 GB Import error: Cursor org.neo4j.io.pagecache.impl.muninn.MuninnWritePageCursor@4b7148ec access out of bounds, page id 11, offset 0 Caused by:Cursor org.neo4j.io.pagecache.impl.muninn.MuninnWritePageCursor@4b7148ec access out of bounds, page id 11, offset 0 java.lang.IllegalStateException: Cursor org.neo4j.io.pagecache.impl.muninn.MuninnWritePageCursor@4b7148ec access out of bounds, page id 11, offset 0 at org.neo4j.unsafe.impl.batchimport.cache.PageCacheNumberArray.checkBounds(PageCacheNumberArray.java:185) at org.neo4j.unsafe.impl.batchimport.cache.PageCacheByteArray.setShort(PageCacheByteArray.java:292) at org.neo4j.unsafe.impl.batchimport.cache.DynamicByteArray.setShort(DynamicByteArray.java:136) at org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.StringCollisionValues.add(StringCollisionValues.java:69) at org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.EncodingIdMapper.buildCollisionInfo(EncodingIdMapper.java:508) at org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.EncodingIdMapper.prepare(EncodingIdMapper.java:237) at org.neo4j.unsafe.impl.batchimport.IdMapperPreparationStep.process(IdMapperPreparationStep.java:56) at org.neo4j.unsafe.impl.batchimport.staging.LonelyProcessingStep.lambda$receive$0(LonelyProcessingStep.java:53) at java.lang.Thread.run(Thread.java:748) WARNING Import failed. The store files in D:\Neo4jdb\databases\association_graph.db are left as they are, although they are likely in an unusable state. Sta rting a database on these store files will likely fail or observe inconsistent records so start at your own risk or delete the store manually java.lang.IllegalStateException: Cursor org.neo4j.io.pagecache.impl.muninn.MuninnWritePageCursor@4b7148ec access out of bounds, page id 11, offset 0 at org.neo4j.unsafe.impl.batchimport.cache.PageCacheNumberArray.checkBounds(PageCacheNumberArray.java:185) at org.neo4j.unsafe.impl.batchimport.cache.PageCacheByteArray.setShort(PageCacheByteArray.java:292) at org.neo4j.unsafe.impl.batchimport.cache.DynamicByteArray.setShort(DynamicByteArray.java:136) at org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.StringCollisionValues.add(StringCollisionValues.java:69) at org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.EncodingIdMapper.buildCollisionInfo(EncodingIdMapper.java:508) at org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.EncodingIdMapper.prepare(EncodingIdMapper.java:237) at org.neo4j.unsafe.impl.batchimport.IdMapperPreparationStep.process(IdMapperPreparationStep.java:56) at org.neo4j.unsafe.impl.batchimport.staging.LonelyProcessingStep.lambda$receive$0(LonelyProcessingStep.java:53) at java.lang.Thread.run(Thread.java:748) unexpected error: Cursor org.neo4j.io.pagecache.impl.muninn.MuninnWritePageCursor@4b7148ec access out of bounds, page id 11, offset 0"><pre class="notranslate"><code class="notranslate">C:\Users\D\.Neo4jDesktop\neo4jDatabases\database-d6438069-dd9b-435c-bbc1-83e313cdc77f\installation-3.4.0&gt;SET DATA=D:\Neo4jdb\data C:\Users\D\.Neo4jDesktop\neo4jDatabases\database-d6438069-dd9b-435c-bbc1-83e313cdc77f\installation-3.4.0&gt;.\bin\neo4j-admin import ^ More? --mode=csv ^ More? --database=association_graph.db ^ More? --ignore-duplicate-nodes true ^ More? --nodes %DATA%\nodes_assocs.csv ^ More? --nodes %DATA%\nodes_docs_fixed.csv ^ More? --nodes %DATA%\nodes_entities_dedup.csv ^ More? --nodes %DATA%\nodes_sents.csv ^ More? --relationships %DATA%\edges_IN_ASSOC.csv ^ More? --relationships %DATA%\edges_IN_DOC.csv ^ More? --relationships %DATA%\edges_IN_SENT.csv WARNING: This command does not appear to be running with administrative rights. Some commands may fail e.g. Start/Stop Neo4j version: 3.4.0 Importing the contents of these files into D:\Neo4jdb\databases\association_graph.db: Nodes: .\bin\neo4j-admin import ^ --mode=csv ^ --database=association_graph.db ^ --ignore-duplicate-nodes true ^ --nodes D:\Neo4jdb\data\nodes_assoc.csv ^ --nodes D:\Neo4jdb\data\nodes_article.csv ^ --nodes D:\Neo4jdb\data\nodes_term.csv ^ --nodes D:\Neo4jdb\data\nodes_chunk.csv ^ --relationships %DATA%\edges_IN_ASSOC.csv ^ --relationships %DATA%\edges_IN_ARTICLE.csv ^ --relationships %DATA%\edges_IN_CHUNK.csv Available resources: Total machine memory: 63.91 GB Free machine memory: 54.02 GB Max heap memory : 14.20 GB Processors: 12 Configured max memory: 44.74 GB High-IO: false Import starting 2018-05-28 18:28:00.474+0100 Estimated number of nodes: 653.00 M Estimated number of node properties: 1.01 G Estimated number of relationships: 641.45 M Estimated number of relationship properties: 0.00 Estimated disk space usage: 104.70 GB Estimated required memory usage: 9.02 GB InteractiveReporterInteractions command list (end with ENTER): c: Print more detailed information about current stage i: Print more detailed information (1/4) Node import 2018-05-28 18:28:00.642+0100 Estimated number of nodes: 653.00 M Estimated disk space usage: 84.39 GB Estimated required memory usage: 9.02 GB .......... .......... .......... .......... .......... 5% .......... .......... .......... .......... .......... 10% .......... .......... .......... .......... .......... 15% .......... .......... .......... .......... .......... 20% .......... .......... .......... .......... .......... 25% .......... .......... .......... .......... .......... 30% .......... .......... .......... .......... .......... 35% .......... .......... .......... .......... .......... 40% .......... .......... .......... .......... .......... 45% .......... .......... .......... .......... .......... 50% .......... .......... .......... .......... .......... 55% .......... .......... .......... .......... .......... 60% .......... .......... .......... .......... .......... 65% .......... .......... .......... .......... .......... 70% .......... .......... .......... .......... .......... 75% .......... .......... .......... .......... .......... 80% .......... .......... .......... .......... .......... 85% ..Exception in thread "Thread-8" java.lang.RuntimeException: java.lang.IllegalStateException: Cursor org.neo4j.io.pagecache.impl.muninn.MuninnWritePageCurso r@4b7148ec access out of bounds, page id 11, offset 0 at org.neo4j.unsafe.impl.batchimport.staging.AbstractStep.issuePanic(AbstractStep.java:150) at org.neo4j.unsafe.impl.batchimport.staging.AbstractStep.issuePanic(AbstractStep.java:142) at org.neo4j.unsafe.impl.batchimport.staging.LonelyProcessingStep.lambda$receive$0(LonelyProcessingStep.java:58) at java.lang.Thread.run(Thread.java:748) Caused by: java.lang.IllegalStateException: Cursor org.neo4j.io.pagecache.impl.muninn.MuninnWritePageCursor@4b7148ec access out of bounds, page id 11, offse t 0 at org.neo4j.unsafe.impl.batchimport.cache.PageCacheNumberArray.checkBounds(PageCacheNumberArray.java:185) at org.neo4j.unsafe.impl.batchimport.cache.PageCacheByteArray.setShort(PageCacheByteArray.java:292) at org.neo4j.unsafe.impl.batchimport.cache.DynamicByteArray.setShort(DynamicByteArray.java:136) at org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.StringCollisionValues.add(StringCollisionValues.java:69) at org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.EncodingIdMapper.buildCollisionInfo(EncodingIdMapper.java:508) at org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.EncodingIdMapper.prepare(EncodingIdMapper.java:237) at org.neo4j.unsafe.impl.batchimport.IdMapperPreparationStep.process(IdMapperPreparationStep.java:56) at org.neo4j.unsafe.impl.batchimport.staging.LonelyProcessingStep.lambda$receive$0(LonelyProcessingStep.java:53) ... 1 more ........ .......... .......... .......... .......... 90% .......... .......... .......... .......... .......... 95% .......... .......... .......... .......... .......... 100% IMPORT DONE in 21h 24m 620ms. Data statistics is not available. Peak memory usage: 5.91 GB Import error: Cursor org.neo4j.io.pagecache.impl.muninn.MuninnWritePageCursor@4b7148ec access out of bounds, page id 11, offset 0 Caused by:Cursor org.neo4j.io.pagecache.impl.muninn.MuninnWritePageCursor@4b7148ec access out of bounds, page id 11, offset 0 java.lang.IllegalStateException: Cursor org.neo4j.io.pagecache.impl.muninn.MuninnWritePageCursor@4b7148ec access out of bounds, page id 11, offset 0 at org.neo4j.unsafe.impl.batchimport.cache.PageCacheNumberArray.checkBounds(PageCacheNumberArray.java:185) at org.neo4j.unsafe.impl.batchimport.cache.PageCacheByteArray.setShort(PageCacheByteArray.java:292) at org.neo4j.unsafe.impl.batchimport.cache.DynamicByteArray.setShort(DynamicByteArray.java:136) at org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.StringCollisionValues.add(StringCollisionValues.java:69) at org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.EncodingIdMapper.buildCollisionInfo(EncodingIdMapper.java:508) at org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.EncodingIdMapper.prepare(EncodingIdMapper.java:237) at org.neo4j.unsafe.impl.batchimport.IdMapperPreparationStep.process(IdMapperPreparationStep.java:56) at org.neo4j.unsafe.impl.batchimport.staging.LonelyProcessingStep.lambda$receive$0(LonelyProcessingStep.java:53) at java.lang.Thread.run(Thread.java:748) WARNING Import failed. The store files in D:\Neo4jdb\databases\association_graph.db are left as they are, although they are likely in an unusable state. Sta rting a database on these store files will likely fail or observe inconsistent records so start at your own risk or delete the store manually java.lang.IllegalStateException: Cursor org.neo4j.io.pagecache.impl.muninn.MuninnWritePageCursor@4b7148ec access out of bounds, page id 11, offset 0 at org.neo4j.unsafe.impl.batchimport.cache.PageCacheNumberArray.checkBounds(PageCacheNumberArray.java:185) at org.neo4j.unsafe.impl.batchimport.cache.PageCacheByteArray.setShort(PageCacheByteArray.java:292) at org.neo4j.unsafe.impl.batchimport.cache.DynamicByteArray.setShort(DynamicByteArray.java:136) at org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.StringCollisionValues.add(StringCollisionValues.java:69) at org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.EncodingIdMapper.buildCollisionInfo(EncodingIdMapper.java:508) at org.neo4j.unsafe.impl.batchimport.cache.idmapping.string.EncodingIdMapper.prepare(EncodingIdMapper.java:237) at org.neo4j.unsafe.impl.batchimport.IdMapperPreparationStep.process(IdMapperPreparationStep.java:56) at org.neo4j.unsafe.impl.batchimport.staging.LonelyProcessingStep.lambda$receive$0(LonelyProcessingStep.java:53) at java.lang.Thread.run(Thread.java:748) unexpected error: Cursor org.neo4j.io.pagecache.impl.muninn.MuninnWritePageCursor@4b7148ec access out of bounds, page id 11, offset 0 </code></pre></div>
0
<p dir="auto"><strong>I loaded the local gif in the 3.7.0 version is normal, upgrade to version 4.0.0-RC1 local gif background turns green.Please help me find the problem</strong>:</p> <p dir="auto"><strong>Glide Version</strong>: 4.0.0-RC1</p> <p dir="auto"><strong>Glide load on onCreate()</strong>:</p> <p dir="auto"><strong>This is the java code in version 3.7.0</strong>:</p> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Glide.with(this) .load(R.drawable.pic_placeholder_3x) .asGif() .fitCenter() .dontAnimate() .skipMemoryCache(true) .diskCacheStrategy(DiskCacheStrategy.SOURCE) .into(imageView);"><pre class="notranslate"><span class="pl-smi">Glide</span>.<span class="pl-en">with</span>(<span class="pl-smi">this</span>) .<span class="pl-en">load</span>(<span class="pl-smi">R</span>.<span class="pl-s1">drawable</span>.<span class="pl-s1">pic_placeholder_3x</span>) .<span class="pl-en">asGif</span>() .<span class="pl-en">fitCenter</span>() .<span class="pl-en">dontAnimate</span>() .<span class="pl-en">skipMemoryCache</span>(<span class="pl-c1">true</span>) .<span class="pl-en">diskCacheStrategy</span>(<span class="pl-smi">DiskCacheStrategy</span>.<span class="pl-c1">SOURCE</span>) .<span class="pl-en">into</span>(<span class="pl-s1">imageView</span>);</pre></div> <p dir="auto"><strong>This is the java code in version 4.0.0-RC1</strong>:</p> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="GlideApp.with(this) .load(R.drawable.pic_placeholder_3x) .fitCenter() .skipMemoryCache(true) .diskCacheStrategy(DiskCacheStrategy.NONE) .into(placeholderImageView);"><pre class="notranslate"><span class="pl-smi">GlideApp</span>.<span class="pl-en">with</span>(<span class="pl-smi">this</span>) .<span class="pl-en">load</span>(<span class="pl-smi">R</span>.<span class="pl-s1">drawable</span>.<span class="pl-s1">pic_placeholder_3x</span>) .<span class="pl-en">fitCenter</span>() .<span class="pl-en">skipMemoryCache</span>(<span class="pl-c1">true</span>) .<span class="pl-en">diskCacheStrategy</span>(<span class="pl-smi">DiskCacheStrategy</span>.<span class="pl-c1">NONE</span>) .<span class="pl-en">into</span>(<span class="pl-s1">placeholderImageView</span>);</pre></div> <p dir="auto"><strong>Layout XML</strong>:</p> <div class="highlight highlight-text-xml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;FrameLayout android:layout_width=&quot;match_parent&quot; android:layout_height=&quot;match_parent&quot; android:background=&quot;#f6f6f6&quot;&gt; &lt;ImageView android:id=&quot;@+id/image&quot; android:layout_width=&quot;144dp&quot; android:layout_height=&quot;80dp&quot; android:layout_gravity=&quot;center&quot; android:scaleType=&quot;fitCenter&quot; /&gt; &lt;/FrameLayout&gt;"><pre class="notranslate">&lt;<span class="pl-ent">FrameLayout</span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_width</span>=<span class="pl-s"><span class="pl-pds">"</span>match_parent<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_height</span>=<span class="pl-s"><span class="pl-pds">"</span>match_parent<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">background</span>=<span class="pl-s"><span class="pl-pds">"</span>#f6f6f6<span class="pl-pds">"</span></span>&gt; &lt;<span class="pl-ent">ImageView</span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">id</span>=<span class="pl-s"><span class="pl-pds">"</span>@+id/image<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_width</span>=<span class="pl-s"><span class="pl-pds">"</span>144dp<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_height</span>=<span class="pl-s"><span class="pl-pds">"</span>80dp<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_gravity</span>=<span class="pl-s"><span class="pl-pds">"</span>center<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">scaleType</span>=<span class="pl-s"><span class="pl-pds">"</span>fitCenter<span class="pl-pds">"</span></span> /&gt; &lt;/<span class="pl-ent">FrameLayout</span>&gt;</pre></div>
<p dir="auto"><strong>Glide Version 4.1.1</strong>:</p> <p dir="auto">**not use integration library **:</p> <p dir="auto"><strong>Coolpad/7320 4.2.2</strong>:</p> <p dir="auto">** the default DecodeFormat is still DecodeFormat.PREFER_RGB_565, the gif turn to green, but in glide 3.7, when you config it to ARGB_8888 , the gif isn't trun to green**:</p> <p dir="auto"><strong>Glide load line / <code class="notranslate">GlideModule</code> (if any) / list Adapter code (if any)</strong>:</p> <div class="highlight highlight-source-java notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="@GlideModule public class MyAppGlideModule extends AppGlideModule { @Override public void applyOptions(Context context, GlideBuilder builder) { // nothing here } }"><pre class="notranslate"><span class="pl-c1">@</span><span class="pl-c1">GlideModule</span> <span class="pl-k">public</span> <span class="pl-k">class</span> <span class="pl-smi">MyAppGlideModule</span> <span class="pl-k">extends</span> <span class="pl-smi">AppGlideModule</span> { <span class="pl-c1">@</span><span class="pl-c1">Override</span> <span class="pl-k">public</span> <span class="pl-smi">void</span> <span class="pl-en">applyOptions</span>(<span class="pl-smi">Context</span> <span class="pl-s1">context</span>, <span class="pl-smi">GlideBuilder</span> <span class="pl-s1">builder</span>) { <span class="pl-c">// nothing here</span> } }</pre></div> <p dir="auto"><strong>Layout XML</strong>:</p> <div class="highlight highlight-text-xml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;LinearLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; android:layout_width=&quot;fill_parent&quot; android:layout_height=&quot;wrap_content&quot; android:orientation=&quot;vertical&quot; android:background=&quot;@color/list_background&quot; &gt; &lt;LinearLayout xmlns:android=&quot;http://schemas.android.com/apk/res/android&quot; android:layout_width=&quot;fill_parent&quot; android:layout_height=&quot;wrap_content&quot; android:orientation=&quot;vertical&quot; android:background=&quot;@drawable/list_item_shape&quot; android:layout_margin=&quot;5dp&quot; &gt; &lt;ImageView android:id=&quot;@+id/imageView1&quot; android:layout_width=&quot;wrap_content&quot; android:layout_height=&quot;wrap_content&quot; android:paddingLeft=&quot;16dp&quot; android:paddingRight=&quot;16dp&quot; android:layout_gravity=&quot;center&quot; android:scaleType=&quot;fitXY&quot; android:adjustViewBounds=&quot;true&quot;/&gt; &lt;/LinearLayout&gt; &lt;/LinearLayout&gt;"><pre class="notranslate">&lt;<span class="pl-ent">LinearLayout</span> <span class="pl-e">xmlns</span><span class="pl-e">:</span><span class="pl-e">android</span>=<span class="pl-s"><span class="pl-pds">"</span>http://schemas.android.com/apk/res/android<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_width</span>=<span class="pl-s"><span class="pl-pds">"</span>fill_parent<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_height</span>=<span class="pl-s"><span class="pl-pds">"</span>wrap_content<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">orientation</span>=<span class="pl-s"><span class="pl-pds">"</span>vertical<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">background</span>=<span class="pl-s"><span class="pl-pds">"</span>@color/list_background<span class="pl-pds">"</span></span> &gt; &lt;<span class="pl-ent">LinearLayout</span> <span class="pl-e">xmlns</span><span class="pl-e">:</span><span class="pl-e">android</span>=<span class="pl-s"><span class="pl-pds">"</span>http://schemas.android.com/apk/res/android<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_width</span>=<span class="pl-s"><span class="pl-pds">"</span>fill_parent<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_height</span>=<span class="pl-s"><span class="pl-pds">"</span>wrap_content<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">orientation</span>=<span class="pl-s"><span class="pl-pds">"</span>vertical<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">background</span>=<span class="pl-s"><span class="pl-pds">"</span>@drawable/list_item_shape<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_margin</span>=<span class="pl-s"><span class="pl-pds">"</span>5dp<span class="pl-pds">"</span></span> &gt; &lt;<span class="pl-ent">ImageView</span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">id</span>=<span class="pl-s"><span class="pl-pds">"</span>@+id/imageView1<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_width</span>=<span class="pl-s"><span class="pl-pds">"</span>wrap_content<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_height</span>=<span class="pl-s"><span class="pl-pds">"</span>wrap_content<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">paddingLeft</span>=<span class="pl-s"><span class="pl-pds">"</span>16dp<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">paddingRight</span>=<span class="pl-s"><span class="pl-pds">"</span>16dp<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">layout_gravity</span>=<span class="pl-s"><span class="pl-pds">"</span>center<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">scaleType</span>=<span class="pl-s"><span class="pl-pds">"</span>fitXY<span class="pl-pds">"</span></span> <span class="pl-e">android</span><span class="pl-e">:</span><span class="pl-e">adjustViewBounds</span>=<span class="pl-s"><span class="pl-pds">"</span>true<span class="pl-pds">"</span></span>/&gt; &lt;/<span class="pl-ent">LinearLayout</span>&gt; &lt;/<span class="pl-ent">LinearLayout</span>&gt;</pre></div> <p dir="auto"><strong>LogCat</strong>:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="this LogCat was show in glide 3.7.0 too, but everything is ok."><pre lang="E/Parcel:" class="notranslate"><code class="notranslate">this LogCat was show in glide 3.7.0 too, but everything is ok. </code></pre></div>
1
<pre class="notranslate">The Go core packages should never leak memory. container/list.Iter() leaks memory when the channel is not drained. 6g; hg id ec584ae2ad58 tip; GOOS=linux; GOARCH=amd64. package main import ( "fmt" "container/list" "runtime" ) func memleak() { l := list.New() for i := 0; i &lt; 1e3; i++ { l.PushBack(make([]byte, 1e6)) } for _ = range l.Iter() { break } l.Init() } func main() { for i := 0; i &lt; 10; i++ { memleak() runtime.GC() fmt.Println(i, runtime.MemStats.Alloc, runtime.MemStats.TotalAlloc) } } Output: 0 1073420608 1073434744 1 2146666592 2146680728 2 3219910416 3219924600 3 4293155776 4293170008 4 5366401136 5366415416 5 6439644960 6439659288 6 7512890320 7512904696 7 8586135680 8586150104 8 9659379504 9659393976 9 10732624864 10732639384 Problems with a memory-leaking tree structure - golang-nuts <a href="http://groups.google.com/group/golang-nuts/browse_thread/thread/371c577eb7a5cad6/72e40e8588341c3c" rel="nofollow">http://groups.google.com/group/golang-nuts/browse_thread/thread/371c577eb7a5cad6/72e40e8588341c3c</a></pre>
<p dir="auto">We need to document what the rules are.</p>
0
<table role="table"> <thead> <tr> <th>Q</th> <th>A</th> </tr> </thead> <tbody> <tr> <td>Bug report?</td> <td>yes</td> </tr> <tr> <td>Symfony version</td> <td>3.3.10</td> </tr> </tbody> </table> <p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="177768967" data-permission-text="Title is private" data-url="https://github.com/symfony/symfony/issues/19973" data-hovercard-type="pull_request" data-hovercard-url="/symfony/symfony/pull/19973/hovercard" href="https://github.com/symfony/symfony/pull/19973">#19973</a> added a default IDE file link web view, however the URL it uses is <a href="https://github.com/symfony/symfony/pull/19973/files#diff-887163fa008beee125295c3f16ef7489R56">hard-coded in <code class="notranslate">Resources/config/profiler.xml</code></a> rather than using the <a href="https://github.com/symfony/symfony/pull/19973/files#diff-5fc2fa4ee96c1246c01adcac692c1ae7R31">route at <code class="notranslate">Resources/config/routing/profiler.xml</code></a>.</p> <p dir="auto">This means that if you use a route prefix e.g.</p> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="_profiler: resource: &quot;@WebProfilerBundle/Resources/config/routing/profiler.xml&quot; prefix: /my-prefix/_profiler"><pre class="notranslate"><span class="pl-ent">_profiler</span>: <span class="pl-ent">resource</span>: <span class="pl-s"><span class="pl-pds">"</span>@WebProfilerBundle/Resources/config/routing/profiler.xml<span class="pl-pds">"</span></span> <span class="pl-ent">prefix</span>: <span class="pl-s">/my-prefix/_profiler</span></pre></div> <p dir="auto">the URL produced by <code class="notranslate">debug.file_link_formatter</code> is <code class="notranslate">/_profiler/open</code> instead of <code class="notranslate">/my-prefix/_profiler/open</code></p>
<table role="table"> <thead> <tr> <th>Q</th> <th>A</th> </tr> </thead> <tbody> <tr> <td>Bug report?</td> <td>yes</td> </tr> <tr> <td>Feature request?</td> <td>no</td> </tr> <tr> <td>BC Break report?</td> <td>no</td> </tr> <tr> <td>RFC?</td> <td>no</td> </tr> <tr> <td>Symfony version</td> <td>~3.2</td> </tr> </tbody> </table> <p dir="auto">When viewing the web-profiler event (<code class="notranslate">?panel=events</code>) panel the links against the class names appear to be fixed to a hard-coded route <code class="notranslate">_profile/open?file=xyz</code> instead of being resolved using the router. I believe this might be the case anywhere file links are rendered.</p> <p dir="auto">Because of this when I change my development route prefixes to be anything other than the default ones given in a standard Symfony installation these links will 404.</p> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="_profiler: resource: '@WebProfilerBundle/Resources/config/routing/profiler.xml' prefix: /~dev/profiler"><pre class="notranslate"><span class="pl-ent">_profiler</span>: <span class="pl-ent">resource</span>: <span class="pl-s"><span class="pl-pds">'</span>@WebProfilerBundle/Resources/config/routing/profiler.xml<span class="pl-pds">'</span></span> <span class="pl-ent">prefix</span>: <span class="pl-s">/~dev/profiler</span></pre></div> <p dir="auto">I looked at seeing whether I could implement a fix and noticed that this looks like it might be the issue, although I don't have the confidence to make this change.</p> <p dir="auto"></p><div class="Box Box--condensed my-2"> <div class="Box-header f6"> <p class="mb-0 text-bold"> <a href="https://github.com/symfony/symfony/blob/fedbc3fbcbb5f99eab635388491cec143b36392d/src/Symfony/Bundle/WebProfilerBundle/Resources/config/profiler.xml#L57">symfony/src/Symfony/Bundle/WebProfilerBundle/Resources/config/profiler.xml</a> </p> <p class="mb-0 color-fg-muted"> Line 57 in <a data-pjax="true" class="commit-tease-sha" href="/symfony/symfony/commit/fedbc3fbcbb5f99eab635388491cec143b36392d">fedbc3f</a> </p> </div> <div itemprop="text" class="Box-body p-0 blob-wrapper blob-wrapper-embedded data"> <table class="highlight tab-size mb-0 js-file-line-container" data-tab-size="8" data-paste-markdown-skip=""> <tbody><tr class="border-0"> <td id="L57" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="57"></td> <td id="LC57" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> &lt;<span class="pl-ent">argument</span>&gt;/_profiler/open?file=%%f<span class="pl-c1">&amp;amp;</span>line=%%l#line%%l&lt;/<span class="pl-ent">argument</span>&gt; </td> </tr> </tbody></table> </div> </div> <p></p> <div class="highlight highlight-text-xml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;service id=&quot;debug.file_link_formatter&quot; class=&quot;Symfony\Component\HttpKernel\Debug\FileLinkFormatter&quot; public=&quot;false&quot;&gt; &lt;argument&gt;%debug.file_link_format%&lt;/argument&gt; &lt;argument type=&quot;service&quot; id=&quot;request_stack&quot; on-invalid=&quot;ignore&quot; /&gt; &lt;argument&gt;null&lt;/argument&gt; &lt;argument&gt;/_profiler/open?file=%%f&amp;amp;line=%%l#line%%l&lt;/argument&gt; &lt;/service&gt;"><pre class="notranslate">&lt;<span class="pl-ent">service</span> <span class="pl-e">id</span>=<span class="pl-s"><span class="pl-pds">"</span>debug.file_link_formatter<span class="pl-pds">"</span></span> <span class="pl-e">class</span>=<span class="pl-s"><span class="pl-pds">"</span>Symfony\Component\HttpKernel\Debug\FileLinkFormatter<span class="pl-pds">"</span></span> <span class="pl-e">public</span>=<span class="pl-s"><span class="pl-pds">"</span>false<span class="pl-pds">"</span></span>&gt; &lt;<span class="pl-ent">argument</span>&gt;%debug.file_link_format%&lt;/<span class="pl-ent">argument</span>&gt; &lt;<span class="pl-ent">argument</span> <span class="pl-e">type</span>=<span class="pl-s"><span class="pl-pds">"</span>service<span class="pl-pds">"</span></span> <span class="pl-e">id</span>=<span class="pl-s"><span class="pl-pds">"</span>request_stack<span class="pl-pds">"</span></span> <span class="pl-e">on-invalid</span>=<span class="pl-s"><span class="pl-pds">"</span>ignore<span class="pl-pds">"</span></span> /&gt; &lt;<span class="pl-ent">argument</span>&gt;null&lt;/<span class="pl-ent">argument</span>&gt; &lt;<span class="pl-ent">argument</span>&gt;/_profiler/open?file=%%f<span class="pl-c1">&amp;amp;</span>line=%%l#line%%l&lt;/<span class="pl-ent">argument</span>&gt; &lt;/<span class="pl-ent">service</span>&gt;</pre></div> <p dir="auto">I personally am not affected by this as I would rather view the file in my IDE, however I thought I should report this anyway. Thanks.</p>
1
<h3 dir="auto">Bug summary</h3> <p dir="auto">I'm attempting to generate a figure with 9 panels. The top and bottom row are specified as subgridspecs so I could keep their dimensions separate from the constrained layout in the rest of the figure, and not have the positions influenced by axis labels in the middle axes.</p> <h3 dir="auto">Code for reproduction</h3> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import matplotlib.pyplot as plt %matplotlib inline # Working in a jupyter notebook fig = plt.figure( constrained_layout=True, facecolor='None', figsize=(6,6.5), ) gs = fig.add_gridspec(3, 3) gs_0 = gs[0, :].subgridspec(1, 3) ax_3d_0 = fig.add_subplot(gs_0[0]) ax_3d_1 = fig.add_subplot(gs_0[1], sharex=ax_3d_0, sharey=ax_3d_0) ax_3d_2 = fig.add_subplot(gs_0[2], sharex=ax_3d_0, sharey=ax_3d_0) for i, ax in enumerate([ax_3d_0, ax_3d_1, ax_3d_2]): ax.text(0.5, 0.5, f'gs_0[{i}]', size=10, ha='center', va='center') gs_lo = gs[2, :].subgridspec(1, 3) ax_leg_0 = fig.add_subplot(gs_lo[0]) ax_leg_1 = fig.add_subplot(gs_lo[1]) ax_leg_2 = fig.add_subplot(gs_lo[2]) for i, ax in enumerate([ax_leg_0, ax_leg_1, ax_leg_2]): ax.text(0.5, 0.5, f'gs_lo[{i}]', size=10, ha='center', va='center')"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">pyplot</span> <span class="pl-k">as</span> <span class="pl-s1">plt</span> <span class="pl-c1">%</span><span class="pl-s1">matplotlib</span> <span class="pl-s1">inline</span> <span class="pl-c"># Working in a jupyter notebook</span> <span class="pl-s1">fig</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">figure</span>( <span class="pl-s1">constrained_layout</span><span class="pl-c1">=</span><span class="pl-c1">True</span>, <span class="pl-s1">facecolor</span><span class="pl-c1">=</span><span class="pl-s">'None'</span>, <span class="pl-s1">figsize</span><span class="pl-c1">=</span>(<span class="pl-c1">6</span>,<span class="pl-c1">6.5</span>), ) <span class="pl-s1">gs</span> <span class="pl-c1">=</span> <span class="pl-s1">fig</span>.<span class="pl-en">add_gridspec</span>(<span class="pl-c1">3</span>, <span class="pl-c1">3</span>) <span class="pl-s1">gs_0</span> <span class="pl-c1">=</span> <span class="pl-s1">gs</span>[<span class="pl-c1">0</span>, :].<span class="pl-en">subgridspec</span>(<span class="pl-c1">1</span>, <span class="pl-c1">3</span>) <span class="pl-s1">ax_3d_0</span> <span class="pl-c1">=</span> <span class="pl-s1">fig</span>.<span class="pl-en">add_subplot</span>(<span class="pl-s1">gs_0</span>[<span class="pl-c1">0</span>]) <span class="pl-s1">ax_3d_1</span> <span class="pl-c1">=</span> <span class="pl-s1">fig</span>.<span class="pl-en">add_subplot</span>(<span class="pl-s1">gs_0</span>[<span class="pl-c1">1</span>], <span class="pl-s1">sharex</span><span class="pl-c1">=</span><span class="pl-s1">ax_3d_0</span>, <span class="pl-s1">sharey</span><span class="pl-c1">=</span><span class="pl-s1">ax_3d_0</span>) <span class="pl-s1">ax_3d_2</span> <span class="pl-c1">=</span> <span class="pl-s1">fig</span>.<span class="pl-en">add_subplot</span>(<span class="pl-s1">gs_0</span>[<span class="pl-c1">2</span>], <span class="pl-s1">sharex</span><span class="pl-c1">=</span><span class="pl-s1">ax_3d_0</span>, <span class="pl-s1">sharey</span><span class="pl-c1">=</span><span class="pl-s1">ax_3d_0</span>) <span class="pl-k">for</span> <span class="pl-s1">i</span>, <span class="pl-s1">ax</span> <span class="pl-c1">in</span> <span class="pl-en">enumerate</span>([<span class="pl-s1">ax_3d_0</span>, <span class="pl-s1">ax_3d_1</span>, <span class="pl-s1">ax_3d_2</span>]): <span class="pl-s1">ax</span>.<span class="pl-en">text</span>(<span class="pl-c1">0.5</span>, <span class="pl-c1">0.5</span>, <span class="pl-s">f'gs_0[<span class="pl-s1"><span class="pl-kos">{</span><span class="pl-s1">i</span><span class="pl-kos">}</span></span>]'</span>, <span class="pl-s1">size</span><span class="pl-c1">=</span><span class="pl-c1">10</span>, <span class="pl-s1">ha</span><span class="pl-c1">=</span><span class="pl-s">'center'</span>, <span class="pl-s1">va</span><span class="pl-c1">=</span><span class="pl-s">'center'</span>) <span class="pl-s1">gs_lo</span> <span class="pl-c1">=</span> <span class="pl-s1">gs</span>[<span class="pl-c1">2</span>, :].<span class="pl-en">subgridspec</span>(<span class="pl-c1">1</span>, <span class="pl-c1">3</span>) <span class="pl-s1">ax_leg_0</span> <span class="pl-c1">=</span> <span class="pl-s1">fig</span>.<span class="pl-en">add_subplot</span>(<span class="pl-s1">gs_lo</span>[<span class="pl-c1">0</span>]) <span class="pl-s1">ax_leg_1</span> <span class="pl-c1">=</span> <span class="pl-s1">fig</span>.<span class="pl-en">add_subplot</span>(<span class="pl-s1">gs_lo</span>[<span class="pl-c1">1</span>]) <span class="pl-s1">ax_leg_2</span> <span class="pl-c1">=</span> <span class="pl-s1">fig</span>.<span class="pl-en">add_subplot</span>(<span class="pl-s1">gs_lo</span>[<span class="pl-c1">2</span>]) <span class="pl-k">for</span> <span class="pl-s1">i</span>, <span class="pl-s1">ax</span> <span class="pl-c1">in</span> <span class="pl-en">enumerate</span>([<span class="pl-s1">ax_leg_0</span>, <span class="pl-s1">ax_leg_1</span>, <span class="pl-s1">ax_leg_2</span>]): <span class="pl-s1">ax</span>.<span class="pl-en">text</span>(<span class="pl-c1">0.5</span>, <span class="pl-c1">0.5</span>, <span class="pl-s">f'gs_lo[<span class="pl-s1"><span class="pl-kos">{</span><span class="pl-s1">i</span><span class="pl-kos">}</span></span>]'</span>, <span class="pl-s1">size</span><span class="pl-c1">=</span><span class="pl-c1">10</span>, <span class="pl-s1">ha</span><span class="pl-c1">=</span><span class="pl-s">'center'</span>, <span class="pl-s1">va</span><span class="pl-c1">=</span><span class="pl-s">'center'</span>)</pre></div> <h3 dir="auto">Actual outcome</h3> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/5534846/150771687-0ec47dbb-88e1-4a59-a097-19f5c17e9315.png"><img src="https://user-images.githubusercontent.com/5534846/150771687-0ec47dbb-88e1-4a59-a097-19f5c17e9315.png" alt="image" style="max-width: 100%;"></a></p> <h3 dir="auto">Expected outcome</h3> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/5534846/150787811-d7066875-7406-4e27-9057-08f8dc6fb3cd.png"><img src="https://user-images.githubusercontent.com/5534846/150787811-d7066875-7406-4e27-9057-08f8dc6fb3cd.png" alt="image" style="max-width: 100%;"></a></p> <h3 dir="auto">Additional information</h3> <p dir="auto">In a previous version (python 3.6.10, matplotlib 3.2.2), I had no issues.</p> <p dir="auto">In my current version (python 3.8. matplotlib 3.5.0) all the subgridspec axes end up on top of each other (see actual outcome)</p> <h3 dir="auto">Operating system</h3> <p dir="auto">osx</p> <h3 dir="auto">Matplotlib Version</h3> <p dir="auto">matplotlib 3.5.0</p> <h3 dir="auto">Matplotlib Backend</h3> <p dir="auto">module://matplotlib_inline.backend_inline</p> <h3 dir="auto">Python version</h3> <p dir="auto">3.8.12</p> <h3 dir="auto">Jupyter version</h3> <p dir="auto">3.2.5</p> <h3 dir="auto">Installation</h3> <p dir="auto">conda</p>
<h3 dir="auto">Bug summary</h3> <p dir="auto">When plotting a figure with <code class="notranslate">constrained_layout</code> and subgrids, rows with the same arguments are being plot on top of each other.</p> <h3 dir="auto">Code for reproduction</h3> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import matplotlib.pyplot as plt Fig = plt.figure(constrained_layout=True) GS = Fig.add_gridspec(3,1) GSRows = [ GS[0].subgridspec(1,5, width_ratios=(0.2, 1, 1, 1, 0.2)), GS[1].subgridspec(1,5, width_ratios=(0.2, 1, 0.2, 1, 1)), GS[2].subgridspec(1,5, width_ratios=(0.2, 1, 1, 1, 0.2)), # GS[2].subgridspec(1,5, width_ratios=(0.199999, 1, 1, 1, 0.2)), ] Axes = [ Fig.add_subplot(GSRows[0][1]), Fig.add_subplot(GSRows[0][2]), Fig.add_subplot(GSRows[0][3]), Fig.add_subplot(GSRows[1][1]), Fig.add_subplot(GSRows[1][3]), Fig.add_subplot(GSRows[1][4]), Fig.add_subplot(GSRows[2][1]), Fig.add_subplot(GSRows[2][2]), Fig.add_subplot(GSRows[2][3]), ] Fig.savefig('ActualOutcome.jpg') # Fig.savefig('ExpectedOutcome.jpg') plt.show()"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">matplotlib</span>.<span class="pl-s1">pyplot</span> <span class="pl-k">as</span> <span class="pl-s1">plt</span> <span class="pl-v">Fig</span> <span class="pl-c1">=</span> <span class="pl-s1">plt</span>.<span class="pl-en">figure</span>(<span class="pl-s1">constrained_layout</span><span class="pl-c1">=</span><span class="pl-c1">True</span>) <span class="pl-v">GS</span> <span class="pl-c1">=</span> <span class="pl-v">Fig</span>.<span class="pl-en">add_gridspec</span>(<span class="pl-c1">3</span>,<span class="pl-c1">1</span>) <span class="pl-v">GSRows</span> <span class="pl-c1">=</span> [ <span class="pl-v">GS</span>[<span class="pl-c1">0</span>].<span class="pl-en">subgridspec</span>(<span class="pl-c1">1</span>,<span class="pl-c1">5</span>, <span class="pl-s1">width_ratios</span><span class="pl-c1">=</span>(<span class="pl-c1">0.2</span>, <span class="pl-c1">1</span>, <span class="pl-c1">1</span>, <span class="pl-c1">1</span>, <span class="pl-c1">0.2</span>)), <span class="pl-v">GS</span>[<span class="pl-c1">1</span>].<span class="pl-en">subgridspec</span>(<span class="pl-c1">1</span>,<span class="pl-c1">5</span>, <span class="pl-s1">width_ratios</span><span class="pl-c1">=</span>(<span class="pl-c1">0.2</span>, <span class="pl-c1">1</span>, <span class="pl-c1">0.2</span>, <span class="pl-c1">1</span>, <span class="pl-c1">1</span>)), <span class="pl-v">GS</span>[<span class="pl-c1">2</span>].<span class="pl-en">subgridspec</span>(<span class="pl-c1">1</span>,<span class="pl-c1">5</span>, <span class="pl-s1">width_ratios</span><span class="pl-c1">=</span>(<span class="pl-c1">0.2</span>, <span class="pl-c1">1</span>, <span class="pl-c1">1</span>, <span class="pl-c1">1</span>, <span class="pl-c1">0.2</span>)), <span class="pl-c"># GS[2].subgridspec(1,5, width_ratios=(0.199999, 1, 1, 1, 0.2)),</span> ] <span class="pl-v">Axes</span> <span class="pl-c1">=</span> [ <span class="pl-v">Fig</span>.<span class="pl-en">add_subplot</span>(<span class="pl-v">GSRows</span>[<span class="pl-c1">0</span>][<span class="pl-c1">1</span>]), <span class="pl-v">Fig</span>.<span class="pl-en">add_subplot</span>(<span class="pl-v">GSRows</span>[<span class="pl-c1">0</span>][<span class="pl-c1">2</span>]), <span class="pl-v">Fig</span>.<span class="pl-en">add_subplot</span>(<span class="pl-v">GSRows</span>[<span class="pl-c1">0</span>][<span class="pl-c1">3</span>]), <span class="pl-v">Fig</span>.<span class="pl-en">add_subplot</span>(<span class="pl-v">GSRows</span>[<span class="pl-c1">1</span>][<span class="pl-c1">1</span>]), <span class="pl-v">Fig</span>.<span class="pl-en">add_subplot</span>(<span class="pl-v">GSRows</span>[<span class="pl-c1">1</span>][<span class="pl-c1">3</span>]), <span class="pl-v">Fig</span>.<span class="pl-en">add_subplot</span>(<span class="pl-v">GSRows</span>[<span class="pl-c1">1</span>][<span class="pl-c1">4</span>]), <span class="pl-v">Fig</span>.<span class="pl-en">add_subplot</span>(<span class="pl-v">GSRows</span>[<span class="pl-c1">2</span>][<span class="pl-c1">1</span>]), <span class="pl-v">Fig</span>.<span class="pl-en">add_subplot</span>(<span class="pl-v">GSRows</span>[<span class="pl-c1">2</span>][<span class="pl-c1">2</span>]), <span class="pl-v">Fig</span>.<span class="pl-en">add_subplot</span>(<span class="pl-v">GSRows</span>[<span class="pl-c1">2</span>][<span class="pl-c1">3</span>]), ] <span class="pl-v">Fig</span>.<span class="pl-en">savefig</span>(<span class="pl-s">'ActualOutcome.jpg'</span>) <span class="pl-c"># Fig.savefig('ExpectedOutcome.jpg')</span> <span class="pl-s1">plt</span>.<span class="pl-en">show</span>()</pre></div> <h3 dir="auto">Actual outcome</h3> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/3614913/148546484-06b15af6-7708-47f3-87db-bfab8db22ae4.jpg"><img src="https://user-images.githubusercontent.com/3614913/148546484-06b15af6-7708-47f3-87db-bfab8db22ae4.jpg" alt="ActualOutcome" style="max-width: 100%;"></a></p> <h3 dir="auto">Expected outcome</h3> <p dir="auto">(Changed the third row first column width ratio from 0.2 to 0.199999, see commented line)<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/3614913/148546867-1ec6a3bb-f031-4460-81ba-68beda49e069.jpg"><img src="https://user-images.githubusercontent.com/3614913/148546867-1ec6a3bb-f031-4460-81ba-68beda49e069.jpg" alt="ExpectedOutcome" style="max-width: 100%;"></a></p> <h3 dir="auto">Additional information</h3> <p dir="auto">In the example, the figure has 3 rows and 5 columns with different width ratios. Rows 1 and 3 have the same width ratios, while row 2 has a different width ratio. Note that rows 1 and 3 are merged (row 3 is drawn on top of row 1; Actual outcome image). Note also that if the subgrids are all different (see commented lines in code example changing the width ratio of row 3 from 0.2 to 0.199999) all three rows are drawn as expected.</p> <p dir="auto">This was not the case at least until <code class="notranslate">3.4.3</code>, where even if the rows are equal, they are drawn at their expected places.</p> <h3 dir="auto">Operating system</h3> <p dir="auto">Gentoo</p> <h3 dir="auto">Matplotlib Version</h3> <p dir="auto">3.5.1</p> <h3 dir="auto">Matplotlib Backend</h3> <p dir="auto">TkAgg</p> <h3 dir="auto">Python version</h3> <p dir="auto">Python 3.9.9</p> <h3 dir="auto">Jupyter version</h3> <p dir="auto">6.4.6</p> <h3 dir="auto">Installation</h3> <p dir="auto">Linux package manager</p>
1
<h2 dir="auto">ℹ Computer information</h2> <ul dir="auto"> <li>Windows build number:<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/24600875/89278858-7f736d00-d5fb-11ea-9572-92b4d42b916b.png"><img src="https://user-images.githubusercontent.com/24600875/89278858-7f736d00-d5fb-11ea-9572-92b4d42b916b.png" alt="image" style="max-width: 100%;"></a></li> <li>PowerToys version: V0.20.0</li> <li>PowerToy module: N/A</li> </ul> <h2 dir="auto">📝 Provide detailed reproduction steps (if any)</h2> <ol dir="auto"> <li>PowerToys process hung and terminated by itself (it disappeared when pointing mouse pointer over it's tray icon).</li> <li>Ran PowerToys from start menu</li> <li>Received error message and instructions to post on this Git.</li> </ol> <h3 dir="auto">✔️ Expected result</h3> <p dir="auto">_What is the expected result of the above steps? PowerToys to start normally.</p> <h3 dir="auto"><g-emoji class="g-emoji" alias="x" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/274c.png">❌</g-emoji> Actual result</h3> <p dir="auto">_What is the actual result of the above steps? Error message on run.</p> <h2 dir="auto">📷 Screenshots</h2> <p dir="auto">Exception Message:</p> <p dir="auto">Version: 1.0.0<br> OS Version: Microsoft Windows NT 10.0.20180.0<br> IntPtr Length: 8<br> x64: True<br> Date: 08/04/2020 02:36:24<br> Exception:<br> System.ObjectDisposedException: Cannot access a disposed object.<br> Object name: 'Timer'.<br> at System.Timers.Timer.set_Enabled(Boolean value)<br> at System.Timers.Timer.Start()<br> at PowerLauncher.MainWindow.OnVisibilityChanged(Object sender, DependencyPropertyChangedEventArgs e)<br> at System.Windows.UIElement.RaiseDependencyPropertyChanged(EventPrivateKey key, DependencyPropertyChangedEventArgs args)<br> at System.Windows.UIElement.OnIsVisibleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)<br> at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)<br> at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)<br> at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)<br> at System.Windows.UIElement.UpdateIsVisibleCache()<br> at System.Windows.PresentationSource.RootChanged(Visual oldRoot, Visual newRoot)<br> at System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value)<br> at System.Windows.Interop.HwndSource.set_RootVisual(Visual value)<br> at System.Windows.Window.SetRootVisual()<br> at System.Windows.Window.SetRootVisualAndUpdateSTC()<br> at System.Windows.Window.SetupInitialState(Double requestedTop, Double requestedLeft, Double requestedWidth, Double requestedHeight)<br> at System.Windows.Window.CreateSourceWindow(Boolean duringShow)<br> at System.Windows.Window.CreateSourceWindowDuringShow()<br> at System.Windows.Window.SafeCreateWindowDuringShow()<br> at System.Windows.Window.ShowHelper(Object booleanBox)<br> at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)<br> at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)<br> <a href="https://github.com/microsoft/PowerToys/files/5021354/2020-08-04.txt">2020-08-04.txt</a></p>
<p dir="auto">Popup tells me to give y'all this.</p> <p dir="auto"><a href="https://github.com/microsoft/PowerToys/files/5009460/2020-07-31.txt">2020-07-31.txt</a></p> <p dir="auto">Version: 1.0.0<br> OS Version: Microsoft Windows NT 10.0.19041.0<br> IntPtr Length: 8<br> x64: True<br> Date: 07/31/2020 17:29:59<br> Exception:<br> System.ObjectDisposedException: Cannot access a disposed object.<br> Object name: 'Timer'.<br> at System.Timers.Timer.set_Enabled(Boolean value)<br> at System.Timers.Timer.Start()<br> at PowerLauncher.MainWindow.OnVisibilityChanged(Object sender, DependencyPropertyChangedEventArgs e)<br> at System.Windows.UIElement.RaiseDependencyPropertyChanged(EventPrivateKey key, DependencyPropertyChangedEventArgs args)<br> at System.Windows.UIElement.OnIsVisibleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)<br> at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)<br> at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)<br> at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)<br> at System.Windows.UIElement.UpdateIsVisibleCache()<br> at System.Windows.PresentationSource.RootChanged(Visual oldRoot, Visual newRoot)<br> at System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value)<br> at System.Windows.Interop.HwndSource.set_RootVisual(Visual value)<br> at System.Windows.Window.SetRootVisual()<br> at System.Windows.Window.SetRootVisualAndUpdateSTC()<br> at System.Windows.Window.SetupInitialState(Double requestedTop, Double requestedLeft, Double requestedWidth, Double requestedHeight)<br> at System.Windows.Window.CreateSourceWindow(Boolean duringShow)<br> at System.Windows.Window.CreateSourceWindowDuringShow()<br> at System.Windows.Window.SafeCreateWindowDuringShow()<br> at System.Windows.Window.ShowHelper(Object booleanBox)<br> at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)<br> at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)</p>
1
<p dir="auto">Database: DB2<br> Symfony version 2.2:</p> <p dir="auto">It is failing in class aclProvider.php with undefined index ancestor_id. Dynamic SQL statement has "ANCESTOR_ID" , whereas in aclProvider.php, it is defined as "ancestor_id".</p> <p dir="auto">Srinivasa Varrey</p>
<p dir="auto">I'm trying to extend the DateType in order to create a widget with only Year/Month (it's for a credit card expiration date). I couldn't set the DateType options to show only those 2 fields, so I tried to extend it. But when I use my new type, it throws this error:</p> <p dir="auto">Expected argument of type "\DateTime", "array" given<br> 500 Internal Server Error - UnexpectedTypeException</p> <p dir="auto">This gist has the code used:<br> <a href="https://gist.github.com/990f5ea03c5f3f137861">https://gist.github.com/990f5ea03c5f3f137861</a></p>
0
<p dir="auto">I am building my backend server based on the <code class="notranslate">next.js/custome-express example</code>, however, when I load a page I always get this error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Refused to execute script from 'https://localhost:8081/_next/1511072683838/manifest.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled."><pre class="notranslate"><code class="notranslate">Refused to execute script from 'https://localhost:8081/_next/1511072683838/manifest.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled. </code></pre></div> <p dir="auto">I noticed in <code class="notranslate">dev</code> the <code class="notranslate">1511072683838</code> is like a random number, however, in the <code class="notranslate">production</code> environment, it is an <code class="notranslate">uuid</code>. I am curious how can I use this number in my <code class="notranslate">express</code> server route, and is it safe to discard the number? e.g, having a route like:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="app.use('/_next/:id/', constants.corsOptions, express.static(path.join(root, 'server', 'src', 'next', '.next')));"><pre class="notranslate"><code class="notranslate">app.use('/_next/:id/', constants.corsOptions, express.static(path.join(root, 'server', 'src', 'next', '.next'))); </code></pre></div> <p dir="auto">If I use this method and throw the <code class="notranslate">:id</code> parameter away will there be any issue (e.g security)? Or should I use this number as <code class="notranslate">nonce</code> in my <code class="notranslate">pages</code>, if that's the case how can I set the <code class="notranslate">nonce</code>.</p> <p dir="auto">Thanks!</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/zeit/next.js/issues">issues</a> of this repository and believe that this is not a duplicate.</li> </ul> <h2 dir="auto">Expected Behavior</h2> <p dir="auto">As above.</p> <h2 dir="auto">Current Behavior</h2> <p dir="auto">As above.</p> <h2 dir="auto">Context</h2> <p dir="auto">Not sure if this will have any security issue.</p> <h2 dir="auto">Your Environment</h2> <table role="table"> <thead> <tr> <th>Tech</th> <th>Version</th> </tr> </thead> <tbody> <tr> <td>next</td> <td>4.1.4</td> </tr> <tr> <td>node</td> <td>9.1</td> </tr> <tr> <td>OS</td> <td>Docker Linux Alpine</td> </tr> <tr> <td>browser</td> <td>Chrome V63</td> </tr> </tbody> </table>
<p dir="auto">I started a project based on <a href="https://github.com/zeit/next.js/tree/v3-beta/examples/with-firebase">https://github.com/zeit/next.js/tree/v3-beta/examples/with-firebase</a></p> <p dir="auto">The error I have when importing firebase in more than one component.</p> <p dir="auto">In this firebase start file:</p> <p dir="auto">`import firebase from 'firebase'</p> <p dir="auto">const firebaseConfig = {<br> apiKey: "fdsfsdfdsf",<br> authDomain: "fdsfdsfsdfdsf",<br> databaseURL: "sdfdsfdsf",<br> projectId: "dsfdsfdsf",<br> storageBucket: "dsfdsfdsf",<br> messagingSenderId: "dsfdsfsdfdsf"<br> }</p> <p dir="auto">const FbApp = firebase.initializeApp(firebaseConfig)</p> <p dir="auto">export default FbApp.auth()`</p> <p dir="auto">Then in the components:</p> <p dir="auto"><code class="notranslate">import firebase from '../lib/firebaseClient'</code></p> <p dir="auto">With a single component works well, but if I add a new component with <code class="notranslate">import firebase from '../lib/firebaseClient'</code> the application fail:</p> <p dir="auto">Firebase: Firebase App named '[DEFAULT]' already exists (app/duplicate-app).<br> FirebaseError: Firebase: Firebase App named '[DEFAULT]' already exists (app/duplicate-app).</p>
0
<p dir="auto">Consider using the method described here: <a href="http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/" rel="nofollow">http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/</a> to have fewer unintended side-effects.</p>
<p dir="auto">I found this helpful while working on migrating a large legacy site over to new markup and CSS best practises.</p> <p dir="auto"><a href="http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/" rel="nofollow">http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/</a></p> <p dir="auto">It allows us to toggle off box-sizing for large parts of the site we haven't migrated yet, and is a nice default approach to take.</p>
1
<p dir="auto">I think its really nice that you can put the terminal-tabs in your titlebar but I got an issue there.</p> <p dir="auto">You can't move the window around klicking on the blank space in the the-bar to move the window around (highlighted in the screenshot).</p> <p dir="auto">Since people are moving their terminal quite often it would be nice to offer this space, so you can drag your terminal around.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/34196171/57354083-ccebfa80-716a-11e9-91ac-55747463a95c.png"><img src="https://user-images.githubusercontent.com/34196171/57354083-ccebfa80-716a-11e9-91ac-55747463a95c.png" alt="grafik" style="max-width: 100%;"></a></p>
<ul dir="auto"> <li>Your Windows build number: (Type <code class="notranslate">ver</code> at a Windows Command Prompt)</li> </ul> <p dir="auto">18.0.18362.53</p> <ul dir="auto"> <li>What you're doing and what's happening: (Copy &amp; paste specific commands and their output, or include screen shots)</li> </ul> <ol dir="auto"> <li>start terminal</li> <li>hit ctrl+t to bring up tabs</li> <li>click in the space between second tab and "+" and attempt to drag window</li> <li>window won't drag, but now input is blocked</li> <li>right click in window area</li> <li>input is now unblocked.</li> </ol> <p dir="auto">This is unlikely to occur when the tabs are NOT inlined with the title bar. It is <em>very</em> likely to happen when tabs ARE inlined, as the free space seems like empty title bar area.</p> <ul dir="auto"> <li>What's wrong / what should be happening instead:</li> </ul> <p dir="auto">Either allow window dragging from tabs bar (when inlined), or don't allow window dragging but don't lock up input. Maybe a prompt or tooltip text might help guide the user if dragging is disabled from this area.</p>
1
<h2 dir="auto"><g-emoji class="g-emoji" alias="bug" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f41b.png">🐛</g-emoji> Bug</h2> <p dir="auto">I'm trying to build PyTorch 1.2.0 from source. The CMake phase passes successfully, but building fails.</p> <h2 dir="auto">To Reproduce</h2> <p dir="auto">Steps to reproduce the behavior:</p> <div class="highlight highlight-text-shell-session notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="$ python setup.py build In file included from nt/c/scratch/sciteam/stewart1/spack-stage/spack-stage-faGxK3/spack-src/c10/util/typeid.h:24:0^[[K, from nt/c/scratch/sciteam/stewart1/spack-stage/spack-stage-faGxK3/spack-src/c10/core/DefaultDtype.cpp:1^[[K: nt/c/scratch/sciteam/stewart1/spack-stage/spack-stage-faGxK3/spack-src/c10/util/Half.h:^[[K': nt/c/scratch/sciteam/stewart1/spack-stage/spack-stage-faGxK3/spack-src/c10/util/Half.h:106:56:^[[K' was not declared in this scope const uint32_t sign = w &amp; UINT32_C(0x80000000); ^[[K nt/c/scratch/sciteam/stewart1/spack-stage/spack-stage-faGxK3/spack-src/c10/util/Half.h:138:72:^[[K' was not declared in this scope ((int32_t)(nonsign + 0x04000000) &gt;&gt; 8) &amp; INT32_C(0x7F800000); ^[[K nt/c/scratch/sciteam/stewart1/spack-stage/spack-stage-faGxK3/spack-src/c10/util/Half.h:^[[K': nt/c/scratch/sciteam/stewart1/spack-stage/spack-stage-faGxK3/spack-src/c10/util/Half.h:197:56:^[[K' was not declared in this scope const uint32_t sign = w &amp; UINT32_C(0x80000000); ^[[K In file included from nt/c/scratch/sciteam/stewart1/spack-stage/spack-stage-faGxK3/spack-src/c10/util/typeid.h:24:0^[[K, from nt/c/scratch/sciteam/stewart1/spack-stage/spack-stage-faGxK3/spack-src/c10/core/DefaultDtype.cpp:1^[[K: nt/c/scratch/sciteam/stewart1/spack-stage/spack-stage-faGxK3/spack-src/c10/util/Half.h:_fp32_value(float)^[[K': nt/c/scratch/sciteam/stewart1/spack-stage/spack-stage-faGxK3/spack-src/c10/util/Half.h:308:56:^[[K' was not declared in this scope const uint32_t sign = w &amp; UINT32_C(0x80000000); ^[[K nt/c/scratch/sciteam/stewart1/spack-stage/spack-stage-faGxK3/spack-src/c10/util/Half.h:319:81:^[[K' was not declared in this scope return (sign &gt;&gt; 16) | (shl1_w &gt; UINT32_C(0xFF000000) ? UINT16_C(0x7E00) : nonsign); ^[[K [ 4%] Generating python/data_parallel_model.py gmake[2]: *** [c10/CMakeFiles/c10.dir/core/DefaultDtype.cpp.o] Error 1 gmake[1]: *** [c10/CMakeFiles/c10.dir/all] Error 2 gmake[1]: *** Waiting for unfinished jobs...."><pre class="notranslate">$ <span class="pl-s1">python setup.py build</span> <span class="pl-c1">In file included from nt/c/scratch/sciteam/stewart1/spack-stage/spack-stage-faGxK3/spack-src/c10/util/typeid.h:24:0^[[K,</span> <span class="pl-c1"> from nt/c/scratch/sciteam/stewart1/spack-stage/spack-stage-faGxK3/spack-src/c10/core/DefaultDtype.cpp:1^[[K:</span> <span class="pl-c1">nt/c/scratch/sciteam/stewart1/spack-stage/spack-stage-faGxK3/spack-src/c10/util/Half.h:^[[K':</span> <span class="pl-c1">nt/c/scratch/sciteam/stewart1/spack-stage/spack-stage-faGxK3/spack-src/c10/util/Half.h:106:56:^[[K' was not declared in this scope</span> <span class="pl-c1"> const uint32_t sign = w &amp; UINT32_C(0x80000000);</span> <span class="pl-c1">^[[K</span> <span class="pl-c1">nt/c/scratch/sciteam/stewart1/spack-stage/spack-stage-faGxK3/spack-src/c10/util/Half.h:138:72:^[[K' was not declared in this scope</span> <span class="pl-c1"> ((int32_t)(nonsign + 0x04000000) &gt;&gt; 8) &amp; INT32_C(0x7F800000);</span> <span class="pl-c1">^[[K</span> <span class="pl-c1">nt/c/scratch/sciteam/stewart1/spack-stage/spack-stage-faGxK3/spack-src/c10/util/Half.h:^[[K':</span> <span class="pl-c1">nt/c/scratch/sciteam/stewart1/spack-stage/spack-stage-faGxK3/spack-src/c10/util/Half.h:197:56:^[[K' was not declared in this scope</span> <span class="pl-c1"> const uint32_t sign = w &amp; UINT32_C(0x80000000);</span> <span class="pl-c1">^[[K</span> <span class="pl-c1">In file included from nt/c/scratch/sciteam/stewart1/spack-stage/spack-stage-faGxK3/spack-src/c10/util/typeid.h:24:0^[[K,</span> <span class="pl-c1"> from nt/c/scratch/sciteam/stewart1/spack-stage/spack-stage-faGxK3/spack-src/c10/core/DefaultDtype.cpp:1^[[K:</span> <span class="pl-c1">nt/c/scratch/sciteam/stewart1/spack-stage/spack-stage-faGxK3/spack-src/c10/util/Half.h:_fp32_value(float)^[[K':</span> <span class="pl-c1">nt/c/scratch/sciteam/stewart1/spack-stage/spack-stage-faGxK3/spack-src/c10/util/Half.h:308:56:^[[K' was not declared in this scope</span> <span class="pl-c1"> const uint32_t sign = w &amp; UINT32_C(0x80000000);</span> <span class="pl-c1">^[[K</span> <span class="pl-c1">nt/c/scratch/sciteam/stewart1/spack-stage/spack-stage-faGxK3/spack-src/c10/util/Half.h:319:81:^[[K' was not declared in this scope</span> <span class="pl-c1"> return (sign &gt;&gt; 16) | (shl1_w &gt; UINT32_C(0xFF000000) ? UINT16_C(0x7E00) : nonsign);</span> <span class="pl-c1">^[[K</span> <span class="pl-c1">[ 4%] Generating python/data_parallel_model.py</span> <span class="pl-c1">gmake[2]: *** [c10/CMakeFiles/c10.dir/core/DefaultDtype.cpp.o] Error 1</span> <span class="pl-c1">gmake[1]: *** [c10/CMakeFiles/c10.dir/all] Error 2</span> <span class="pl-c1">gmake[1]: *** Waiting for unfinished jobs....</span></pre></div> <h2 dir="auto">Expected behavior</h2> <p dir="auto">Should build fine.</p> <h2 dir="auto">Environment</h2> <ul dir="auto"> <li>PyTorch Version (e.g., 1.0): 1.2.0</li> <li>OS (e.g., Linux): Cray CNL5</li> <li>How you installed PyTorch (<code class="notranslate">conda</code>, <code class="notranslate">pip</code>, source): source</li> <li>Build command you used (if compiling from source): python setup.py build</li> <li>Python version: 3.7.4</li> <li>CUDA/cuDNN version: 9.1.85</li> </ul>
<h2 dir="auto">🐛 Bug</h2> <h2 dir="auto">To Reproduce</h2> <p dir="auto">Steps to reproduce the behavior:</p> <ol dir="auto"> <li>git clone the pytorch repo and all the submodules</li> <li>Build pytorch with:</li> </ol> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="export CMAKE_PREFIX_PATH=$LINUXBREWHOME:$LINUXBREWHOME/Cellar/cuda/10.1 export CUDA_HOME=$LINUXBREWHOME/Cellar/cuda/10.1 export BLAS=OpenBLAS export MAX_JOBS=16 export USE_CUDA=1 export USE_CUDNN=1 export USE_NUMPY=1 export TORCH_CUDA_ARCH_LIST=&quot;6.1;7.5&quot; export LIBRARY_PATH=$LINUXBREWHOME/lib:$LINUXBREWHOME/Cellar/cuda/10.1/lib export CC=$LINUXBREWHOME/bin/gcc-5 export CXX=$LINUXBREWHOME/bin/g++-5 python3 setup.py clean python3 setup.py bdist_wheel"><pre class="notranslate"><code class="notranslate">export CMAKE_PREFIX_PATH=$LINUXBREWHOME:$LINUXBREWHOME/Cellar/cuda/10.1 export CUDA_HOME=$LINUXBREWHOME/Cellar/cuda/10.1 export BLAS=OpenBLAS export MAX_JOBS=16 export USE_CUDA=1 export USE_CUDNN=1 export USE_NUMPY=1 export TORCH_CUDA_ARCH_LIST="6.1;7.5" export LIBRARY_PATH=$LINUXBREWHOME/lib:$LINUXBREWHOME/Cellar/cuda/10.1/lib export CC=$LINUXBREWHOME/bin/gcc-5 export CXX=$LINUXBREWHOME/bin/g++-5 python3 setup.py clean python3 setup.py bdist_wheel </code></pre></div> <p dir="auto">where I have all my compiler toolchain in $LINUXBREWHOME<br> 3. I got this error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/home/aznb/.linuxbrew/bin/g++-5 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DONNX_NAMESPACE=onnx_torch -DUSE_GCC_ATOMICS=1 -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I../aten/src -I. -I../ -I../third_party/protobuf/src -I../cmake/../third_party/benchmark/include -Icaffe2/contrib/aten -I../third_party/onnx -Ithird_party/onnx -I../third_party/foxi -Ithird_party/foxi -I../c10/.. -isystem third_party/gloo -isystem ../cmake/../third_party/gloo -isystem ../cmake/../third_party/googletest/googlemock/include -isystem ../cmake/../third_party/googletest/googletest/include -isystem ../third_party/gemmlowp -isystem ../third_party/neon2sse -isystem ../third_party -isystem /usr/include -isystem ../cmake/../third_party/eigen -isystem /home/aznb/.linuxbrew/Cellar/python/3.7.4/include/python3.7m -isystem /home/aznb/.linuxbrew/Cellar/python/3.7.4/lib/python3.7/site-packages/numpy/core/include -isystem ../cmake/../third_party/pybind11/include -isystem /home/aznb/.linuxbrew/Cellar/open-mpi/4.0.1_1/include -isystem ../third_party/ideep/mkl-dnn/include -isystem ../third_party/ideep/include -isystem ../third_party/ideep/mkl-dnn/external/mklml_lnx_2019.0.3.20190220/include -Wno-deprecated -fvisibility-inlines-hidden -fopenmp -DUSE_FBGEMM -O2 -fPIC -Wno-narrowing -Wall -Wextra -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -O3 -fPIC -DCAFFE2_USE_GLOO -DCUDA_HAS_FP16=1 -DHAVE_GCC_GET_CPUID -DUSE_AVX -DUSE_AVX2 -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -std=gnu++11 -MD -MT c10/CMakeFiles/c10.dir/core/CPUAllocator.cpp.o -MF c10/CMakeFiles/c10.dir/core/CPUAllocator.cpp.o.d -o c10/CMakeFiles/c10.dir/core/CPUAllocator.cpp.o -c ../c10/core/CPUAllocator.cpp In file included from ../c10/util/typeid.h:24:0, from ../c10/core/CPUAllocator.cpp:2: ../c10/util/Half.h: In function 'uint32_t c10::detail::fp16_ieee_to_fp32_bits(uint16_t)': ../c10/util/Half.h:107:56: error: 'UINT32_C' was not declared in this scope const uint32_t sign = w &amp; UINT32_C(0x80000000); ^ ../c10/util/Half.h:139:72: error: 'INT32_C' was not declared in this scope ((int32_t)(nonsign + 0x04000000) &gt;&gt; 8) &amp; INT32_C(0x7F800000); ^ ../c10/util/Half.h: In function 'float c10::detail::fp16_ieee_to_fp32_value(uint16_t)': ../c10/util/Half.h:198:56: error: 'UINT32_C' was not declared in this scope const uint32_t sign = w &amp; UINT32_C(0x80000000);"><pre class="notranslate"><code class="notranslate">/home/aznb/.linuxbrew/bin/g++-5 -DHAVE_MALLOC_USABLE_SIZE=1 -DHAVE_MMAP=1 -DHAVE_SHM_OPEN=1 -DHAVE_SHM_UNLINK=1 -DONNX_NAMESPACE=onnx_torch -DUSE_GCC_ATOMICS=1 -D_FILE_OFFSET_BITS=64 -Dc10_EXPORTS -I../aten/src -I. -I../ -I../third_party/protobuf/src -I../cmake/../third_party/benchmark/include -Icaffe2/contrib/aten -I../third_party/onnx -Ithird_party/onnx -I../third_party/foxi -Ithird_party/foxi -I../c10/.. -isystem third_party/gloo -isystem ../cmake/../third_party/gloo -isystem ../cmake/../third_party/googletest/googlemock/include -isystem ../cmake/../third_party/googletest/googletest/include -isystem ../third_party/gemmlowp -isystem ../third_party/neon2sse -isystem ../third_party -isystem /usr/include -isystem ../cmake/../third_party/eigen -isystem /home/aznb/.linuxbrew/Cellar/python/3.7.4/include/python3.7m -isystem /home/aznb/.linuxbrew/Cellar/python/3.7.4/lib/python3.7/site-packages/numpy/core/include -isystem ../cmake/../third_party/pybind11/include -isystem /home/aznb/.linuxbrew/Cellar/open-mpi/4.0.1_1/include -isystem ../third_party/ideep/mkl-dnn/include -isystem ../third_party/ideep/include -isystem ../third_party/ideep/mkl-dnn/external/mklml_lnx_2019.0.3.20190220/include -Wno-deprecated -fvisibility-inlines-hidden -fopenmp -DUSE_FBGEMM -O2 -fPIC -Wno-narrowing -Wall -Wextra -Wno-missing-field-initializers -Wno-type-limits -Wno-array-bounds -Wno-unknown-pragmas -Wno-sign-compare -Wno-unused-parameter -Wno-unused-variable -Wno-unused-function -Wno-unused-result -Wno-strict-overflow -Wno-strict-aliasing -Wno-error=deprecated-declarations -Wno-error=pedantic -Wno-error=redundant-decls -Wno-error=old-style-cast -Wno-unused-but-set-variable -Wno-maybe-uninitialized -fno-math-errno -fno-trapping-math -O3 -fPIC -DCAFFE2_USE_GLOO -DCUDA_HAS_FP16=1 -DHAVE_GCC_GET_CPUID -DUSE_AVX -DUSE_AVX2 -DTH_HAVE_THREAD -DC10_BUILD_MAIN_LIB -fvisibility=hidden -std=gnu++11 -MD -MT c10/CMakeFiles/c10.dir/core/CPUAllocator.cpp.o -MF c10/CMakeFiles/c10.dir/core/CPUAllocator.cpp.o.d -o c10/CMakeFiles/c10.dir/core/CPUAllocator.cpp.o -c ../c10/core/CPUAllocator.cpp In file included from ../c10/util/typeid.h:24:0, from ../c10/core/CPUAllocator.cpp:2: ../c10/util/Half.h: In function 'uint32_t c10::detail::fp16_ieee_to_fp32_bits(uint16_t)': ../c10/util/Half.h:107:56: error: 'UINT32_C' was not declared in this scope const uint32_t sign = w &amp; UINT32_C(0x80000000); ^ ../c10/util/Half.h:139:72: error: 'INT32_C' was not declared in this scope ((int32_t)(nonsign + 0x04000000) &gt;&gt; 8) &amp; INT32_C(0x7F800000); ^ ../c10/util/Half.h: In function 'float c10::detail::fp16_ieee_to_fp32_value(uint16_t)': ../c10/util/Half.h:198:56: error: 'UINT32_C' was not declared in this scope const uint32_t sign = w &amp; UINT32_C(0x80000000); </code></pre></div> <h2 dir="auto">Expected behavior</h2> <p dir="auto">pytorch build successfully</p> <h2 dir="auto">Environment</h2> <ul dir="auto"> <li>PyTorch Version (e.g., 1.0): 1.1.0</li> <li>OS (e.g., Linux): centos 6.9</li> <li>How you installed PyTorch (<code class="notranslate">conda</code>, <code class="notranslate">pip</code>, source): source</li> <li>Build command you used (if compiling from source): see above</li> <li>Python version: 3.7.4</li> <li>CUDA/cuDNN version: 10.1/7.6.2</li> <li>GPU models and configuration: GTX 1080</li> <li>Any other relevant information:</li> </ul> <h2 dir="auto">Additional context</h2> <p dir="auto">gcc has it's definition for INT32_C in stdint-gcc.h. If I add #include &lt;stdint-gcc.h&gt; to c10/util/Half.h then it compiles fine</p>
1
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=pcl" rel="nofollow">Patrick Linskey</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-9748?redirect=false" rel="nofollow">SPR-9748</a></strong> and commented</p> <p dir="auto">RequestMappingHandlerAdapter creates a new HandlerMethod for each request. HandlerMethods cache their MethodParameters to avoid costly reflection calls each time annotation stats are needed, but the per-request copy circumvents this cache. This patch explicitly copies the MethodParameter cache from a HandlerMethod and its request-scoped dependents.</p> <hr> <p dir="auto"><strong>Affects:</strong> 3.1.1, 3.1.2, 3.2 M2</p> <p dir="auto"><strong>Issue Links:</strong></p> <ul dir="auto"> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398118478" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13936" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13936/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13936">#13936</a> monitor contention at org.springframework.core.MethodParameter.getParameterAnnotations() (<em><strong>"is duplicated by"</strong></em>)</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398173917" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/17058" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/17058/hovercard" href="https://github.com/spring-projects/spring-framework/issues/17058">#17058</a> NPE in org.springframework.core.MethodParameter.getParameterName (possible race condition)</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398177812" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/17429" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/17429/hovercard" href="https://github.com/spring-projects/spring-framework/issues/17429">#17429</a> Thread contention in HandlerMethod due to unnecessary BeanFactory.getType call</li> </ul> <p dir="auto"><strong>Referenced from:</strong> commits <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/229537288a721ea1f73d7fee5ce9dd60ec46c23e/hovercard" href="https://github.com/spring-projects/spring-framework/commit/229537288a721ea1f73d7fee5ce9dd60ec46c23e"><tt>2295372</tt></a>, <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/spring-projects/spring-framework/commit/0a877afa061aacc67b238be6015bf82a3eecf0eb/hovercard" href="https://github.com/spring-projects/spring-framework/commit/0a877afa061aacc67b238be6015bf82a3eecf0eb"><tt>0a877af</tt></a></p> <p dir="auto">1 votes, 3 watchers</p>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=mck" rel="nofollow">mck</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-7949?redirect=false" rel="nofollow">SPR-7949</a></strong> and commented</p> <p dir="auto">Under high-concurrent load situation, in an application using many prototype beans, contention occurs in DefaultSingletonBeanRegistry.getSingletonNames(..)</p> <p dir="auto">This method has uses singletonObjects as a mutex for all map operations.<br> Using a ReadWriteLock this contention could be removed, as in our case 99% of the calls here are read-only.</p> <p dir="auto">We see hundreds of thread dumps like in a single jvm:</p> <p dir="auto">java.lang.Thread.State: BLOCKED (on object monitor)<br> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:180)</p> <ul dir="auto"> <li>waiting to lock &lt;0x00007fb8519b11b0&gt; (a java.util.concurrent.ConcurrentHashMap)<br> at org.springframework.beans.factory.support.AbstractBeanFactory.isTypeMatch(AbstractBeanFactory.java:452)<br> at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:317)<br> at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:296)<br> at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:250)<br> at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1083)</li> </ul> <p dir="auto">java.lang.Thread.State: BLOCKED (on object monitor)<br> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingletonNames(DefaultSingletonBeanRegistry.java:277)</p> <ul dir="auto"> <li>waiting to lock &lt;0x00007fb856ab64d8&gt; (a java.util.concurrent.ConcurrentHashMap)<br> at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:352)<br> at org.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors(BeanFactoryUtils.java:185)<br> at org.springframework.beans.factory.support.DefaultListableBeanFactory.findAutowireCandidates(DefaultListableBeanFactory.java:829)<br> at org.springframework.beans.factory.support.DefaultListableBeanFactory.doResolveDependency(DefaultListableBeanFactory.java:744)<br> at org.springframework.beans.factory.support.DefaultListableBeanFactory.resolveDependency(DefaultListableBeanFactory.java:703)<br> at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.resolvedCachedArgument(AutowiredAnnotationBeanPostProcessor.java:436)<br> at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.access$0(AutowiredAnnotationBeanPostProcessor.java:432)<br> at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor$AutowiredFieldElement.inject(AutowiredAnnotationBeanPostProcessor.java:469)<br> at org.springframework.beans.factory.annotation.InjectionMetadata.inject(InjectionMetadata.java:84)<br> at org.springframework.beans.factory.annotation.AutowiredAnnotationBeanPostProcessor.postProcessPropertyValues(AutowiredAnnotationBeanPostProcessor.java:283)<br> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:1074)<br> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireBean(AbstractAutowireCapableBeanFactory.java:295)</li> </ul> <p dir="auto">java.lang.Thread.State: BLOCKED (on object monitor)<br> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:180)</p> <ul dir="auto"> <li>waiting to lock &lt;0x00007fb8519b11b0&gt; (a java.util.concurrent.ConcurrentHashMap)<br> at org.springframework.beans.factory.support.AbstractBeanFactory.isTypeMatch(AbstractBeanFactory.java:452)<br> at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:317)<br> at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:296)<br> at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBean(DefaultListableBeanFactory.java:250)<br> at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1083)</li> </ul> <hr> <p dir="auto"><strong>Affects:</strong> 3.0.4, 3.0.5</p> <p dir="auto"><strong>Attachments:</strong></p> <ul dir="auto"> <li><a href="https://jira.spring.io/secure/attachment/17615/SPR-7949.patch" rel="nofollow">SPR-7949.patch</a> (<em>15.19 kB</em>)</li> </ul> <p dir="auto"><strong>Issue Links:</strong></p> <ul dir="auto"> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398103107" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/11536" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/11536/hovercard" href="https://github.com/spring-projects/spring-framework/issues/11536">#11536</a> Cache by-type lookups in DefaultListableBeanFactory (<em><strong>"duplicates"</strong></em>)</li> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398117731" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13828" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13828/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13828">#13828</a> Threads blocking on getSingleton method on DefaultSingletonBeanRegistry class (<em><strong>"is duplicated by"</strong></em>)</li> </ul> <p dir="auto">17 votes, 16 watchers</p>
0
<h5 dir="auto">System information (version)</h5> <h5 dir="auto">Detailed description</h5> <p dir="auto">While testing turing.py, cv.imshow led to assertion failure in cvShowImage</p> <p dir="auto">Assertion is</p> <p dir="auto">CV_Assert(dst.data == (uchar*)dst_ptr);</p> <p dir="auto">It seems the code is assuming that dst.data points to the window-&gt;image bits. Although dst.data equals dst_ptr and the window-&gt;image buffer, cv::cvtColor, can trigger a reallocation of the dst.data array.</p> <p dir="auto">It looks like it works in cases where the size of the elements of the arrays don't change, but turing.py is converting from a gray scale float32 and cvtColor is converting it to RGB with a float for each value. The orginal buffer from</p> <p dir="auto">window-&gt;image = SelectObject( window-&gt;dc, CreateDIBSection(window-&gt;dc, binfo,<br> DIB_RGB_COLORS, &amp;dst_ptr, 0, 0));<br> contains RGB with * bits per color.</p> <p dir="auto">It might be a problem in cvtColor, since in the end windows probably needs a 8bit RGB value.</p> <p dir="auto">This is my first day looking at opencv code, so I'm hoping someone more familiar with the code, has a better idea.</p> <h5 dir="auto">Steps to reproduce</h5> <p dir="auto">run python sample turing.py</p>
<p dir="auto">Open CV 3.1<br> Windows 10<br> Visual Studio 2015</p> <p dir="auto">This bug is in cv::ml:: RTrees.</p> <p dir="auto">I am writing a trained RTrees out using FileStorage, which appears to work correctly. Doing a read() to deserialize causes a crash in In rtrees.cpp, line 335, in the read() method of DTreesImplForRTrees:<br> <code class="notranslate">oobError = (double)fn["oob_error"];</code></p> <p dir="auto">This happens regardless of whether I am serializing using a MEMORY- or file-based FileStorage object. The FileNode produced by getFirstTopLevelNode() does not appear to contain the expected nodes in it.</p> <p dir="auto">Here is code which produces the issue for memory FileStorage:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="cv::FileStorage fsWrite(&quot;my_tree&quot;, cv::FileStorage::WRITE + cv::FileStorage::MEMORY + FileStorage::FORMAT_XML); Ptr&lt;cv::ml::Rtrees&gt; model; [code to train model] model-&gt;write(fsWrite); std::string modelString = fsWrite.releaseAndGetString(); // produces proper-looking string with xml in it Ptr&lt;cv::ml::RTrees&gt; resultModel = Algorithm::read&lt;ml::RTrees&gt;(fsWrite.getFirstTopLevelNode());"><pre class="notranslate"><code class="notranslate">cv::FileStorage fsWrite("my_tree", cv::FileStorage::WRITE + cv::FileStorage::MEMORY + FileStorage::FORMAT_XML); Ptr&lt;cv::ml::Rtrees&gt; model; [code to train model] model-&gt;write(fsWrite); std::string modelString = fsWrite.releaseAndGetString(); // produces proper-looking string with xml in it Ptr&lt;cv::ml::RTrees&gt; resultModel = Algorithm::read&lt;ml::RTrees&gt;(fsWrite.getFirstTopLevelNode()); </code></pre></div> <p dir="auto">And here for file-based:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="cv::FileStorage fsWrite(&quot;D:\\test.xml&quot;, cv::FileStorage::WRITE + FileStorage::FORMAT_XML); m_ptrModel-&gt;write(fsWrite); cv::FileStorage fsRead(&quot;D:\\test.xml&quot;, FileStorage::READ + FileStorage::FORMAT_XML); m_ptrModel = cv::Algorithm::read&lt;ml::RTrees&gt;(fsRead.getFirstTopLevelNode());"><pre class="notranslate"><code class="notranslate">cv::FileStorage fsWrite("D:\\test.xml", cv::FileStorage::WRITE + FileStorage::FORMAT_XML); m_ptrModel-&gt;write(fsWrite); cv::FileStorage fsRead("D:\\test.xml", FileStorage::READ + FileStorage::FORMAT_XML); m_ptrModel = cv::Algorithm::read&lt;ml::RTrees&gt;(fsRead.getFirstTopLevelNode()); </code></pre></div> <p dir="auto">Here is what the modelString and file that are produced by the write() look like:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;?xml version=&quot;1.0&quot;?&gt; &lt;opencv_storage&gt; &lt;is_classifier&gt;0&lt;/is_classifier&gt; &lt;var_all&gt;13&lt;/var_all&gt; &lt;var_count&gt;12&lt;/var_count&gt; &lt;ord_var_count&gt;13&lt;/ord_var_count&gt; &lt;cat_var_count&gt;0&lt;/cat_var_count&gt; &lt;training_params&gt; &lt;use_surrogates&gt;0&lt;/use_surrogates&gt; &lt;max_categories&gt;10&lt;/max_categories&gt; &lt;regression_accuracy&gt;9.9999997764825821e-03&lt;/regression_accuracy&gt; &lt;max_depth&gt;25&lt;/max_depth&gt; &lt;min_sample_count&gt;10&lt;/min_sample_count&gt; &lt;cross_validation_folds&gt;0&lt;/cross_validation_folds&gt; &lt;nactive_vars&gt;4&lt;/nactive_vars&gt;&lt;/training_params&gt; &lt;global_var_idx&gt;1&lt;/global_var_idx&gt; &lt;var_idx&gt; 0 1 2 3 4 5 6 7 8 9 10 11&lt;/var_idx&gt; &lt;var_type&gt; 0 0 0 0 0 0 0 0 0 0 0 0 0&lt;/var_type&gt; &lt;cat_ofs&gt; 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0&lt;/cat_ofs&gt; &lt;missing_subst&gt; 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0.&lt;/missing_subst&gt; &lt;oob_error&gt;0.&lt;/oob_error&gt; &lt;ntrees&gt;1&lt;/ntrees&gt; &lt;trees&gt; &lt;_&gt; &lt;nodes&gt; &lt;_&gt; &lt;depth&gt;0&lt;/depth&gt; &lt;value&gt;2.7725000000000000e+00&lt;/value&gt; &lt;splits&gt; &lt;_&gt;&lt;var&gt;7&lt;/var&gt; &lt;quality&gt;1.2565179687500000e+04&lt;/quality&gt; &lt;le&gt;5.8210000991821289e+00&lt;/le&gt;&lt;/_&gt;&lt;/splits&gt;&lt;/_&gt; &lt;_&gt; &lt;depth&gt;1&lt;/depth&gt; &lt;value&gt;2.9880095923261392e+00&lt;/value&gt; &lt;splits&gt; &lt;_&gt;&lt;var&gt;7&lt;/var&gt; &lt;quality&gt;1.1172947265625000e+04&lt;/quality&gt; &lt;le&gt;1.2557047605514526e+00&lt;/le&gt;&lt;/_&gt;&lt;/splits&gt;&lt;/_&gt; &lt;_&gt; &lt;depth&gt;2&lt;/depth&gt; &lt;value&gt;3.&lt;/value&gt;&lt;/_&gt; &lt;_&gt; &lt;depth&gt;2&lt;/depth&gt; &lt;value&gt;2.7368421052631580e+00&lt;/value&gt; &lt;splits&gt; &lt;_&gt;&lt;var&gt;3&lt;/var&gt; &lt;quality&gt;438.&lt;/quality&gt; &lt;le&gt;-1.2632201194763184e+01&lt;/le&gt;&lt;/_&gt;&lt;/splits&gt;&lt;/_&gt; &lt;_&gt; &lt;depth&gt;3&lt;/depth&gt; &lt;value&gt;3.&lt;/value&gt;&lt;/_&gt; &lt;_&gt; &lt;depth&gt;3&lt;/depth&gt; &lt;value&gt;2.&lt;/value&gt;&lt;/_&gt; &lt;_&gt; &lt;depth&gt;1&lt;/depth&gt; &lt;value&gt;2.&lt;/value&gt;&lt;/_&gt;&lt;/nodes&gt;&lt;/_&gt;&lt;/trees&gt; &lt;/opencv_storage&gt;"><pre class="notranslate"><code class="notranslate">&lt;?xml version="1.0"?&gt; &lt;opencv_storage&gt; &lt;is_classifier&gt;0&lt;/is_classifier&gt; &lt;var_all&gt;13&lt;/var_all&gt; &lt;var_count&gt;12&lt;/var_count&gt; &lt;ord_var_count&gt;13&lt;/ord_var_count&gt; &lt;cat_var_count&gt;0&lt;/cat_var_count&gt; &lt;training_params&gt; &lt;use_surrogates&gt;0&lt;/use_surrogates&gt; &lt;max_categories&gt;10&lt;/max_categories&gt; &lt;regression_accuracy&gt;9.9999997764825821e-03&lt;/regression_accuracy&gt; &lt;max_depth&gt;25&lt;/max_depth&gt; &lt;min_sample_count&gt;10&lt;/min_sample_count&gt; &lt;cross_validation_folds&gt;0&lt;/cross_validation_folds&gt; &lt;nactive_vars&gt;4&lt;/nactive_vars&gt;&lt;/training_params&gt; &lt;global_var_idx&gt;1&lt;/global_var_idx&gt; &lt;var_idx&gt; 0 1 2 3 4 5 6 7 8 9 10 11&lt;/var_idx&gt; &lt;var_type&gt; 0 0 0 0 0 0 0 0 0 0 0 0 0&lt;/var_type&gt; &lt;cat_ofs&gt; 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0&lt;/cat_ofs&gt; &lt;missing_subst&gt; 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0. 0.&lt;/missing_subst&gt; &lt;oob_error&gt;0.&lt;/oob_error&gt; &lt;ntrees&gt;1&lt;/ntrees&gt; &lt;trees&gt; &lt;_&gt; &lt;nodes&gt; &lt;_&gt; &lt;depth&gt;0&lt;/depth&gt; &lt;value&gt;2.7725000000000000e+00&lt;/value&gt; &lt;splits&gt; &lt;_&gt;&lt;var&gt;7&lt;/var&gt; &lt;quality&gt;1.2565179687500000e+04&lt;/quality&gt; &lt;le&gt;5.8210000991821289e+00&lt;/le&gt;&lt;/_&gt;&lt;/splits&gt;&lt;/_&gt; &lt;_&gt; &lt;depth&gt;1&lt;/depth&gt; &lt;value&gt;2.9880095923261392e+00&lt;/value&gt; &lt;splits&gt; &lt;_&gt;&lt;var&gt;7&lt;/var&gt; &lt;quality&gt;1.1172947265625000e+04&lt;/quality&gt; &lt;le&gt;1.2557047605514526e+00&lt;/le&gt;&lt;/_&gt;&lt;/splits&gt;&lt;/_&gt; &lt;_&gt; &lt;depth&gt;2&lt;/depth&gt; &lt;value&gt;3.&lt;/value&gt;&lt;/_&gt; &lt;_&gt; &lt;depth&gt;2&lt;/depth&gt; &lt;value&gt;2.7368421052631580e+00&lt;/value&gt; &lt;splits&gt; &lt;_&gt;&lt;var&gt;3&lt;/var&gt; &lt;quality&gt;438.&lt;/quality&gt; &lt;le&gt;-1.2632201194763184e+01&lt;/le&gt;&lt;/_&gt;&lt;/splits&gt;&lt;/_&gt; &lt;_&gt; &lt;depth&gt;3&lt;/depth&gt; &lt;value&gt;3.&lt;/value&gt;&lt;/_&gt; &lt;_&gt; &lt;depth&gt;3&lt;/depth&gt; &lt;value&gt;2.&lt;/value&gt;&lt;/_&gt; &lt;_&gt; &lt;depth&gt;1&lt;/depth&gt; &lt;value&gt;2.&lt;/value&gt;&lt;/_&gt;&lt;/nodes&gt;&lt;/_&gt;&lt;/trees&gt; &lt;/opencv_storage&gt; </code></pre></div> <p dir="auto">You should be able to duplicate the problem by taking the model string here, sticking it in a file, and simply doing a read() on it, something like:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="#include &quot;opencv2\core\core.hpp&quot; #include &quot;opencv2\ml\ml.hpp&quot; cv::FileStorage fsRead(&quot;D:\\test.xml&quot;, FileStorage::READ + FileStorage::FORMAT_XML); Ptr&lt;cv::ml::RTrees&gt; resultModel = Algorithm::read&lt;ml::RTrees&gt;(fsWrite.getFirstTopLevelNode());"><pre class="notranslate"><code class="notranslate">#include "opencv2\core\core.hpp" #include "opencv2\ml\ml.hpp" cv::FileStorage fsRead("D:\\test.xml", FileStorage::READ + FileStorage::FORMAT_XML); Ptr&lt;cv::ml::RTrees&gt; resultModel = Algorithm::read&lt;ml::RTrees&gt;(fsWrite.getFirstTopLevelNode()); </code></pre></div>
0
<p dir="auto">Eventlisteners for doctrine LifecycleEvents are not registered on the default event manager that is available as service in the controller.</p> <p dir="auto">Reproduce:</p> <ol dir="auto"> <li>write an event listener</li> </ol> <div class="highlight highlight-text-html-php notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class L{ protected $os; public function __construct(MyOtherService $os){ $this-&gt;os = $os; } public function postPersist(LifecycleEventArgs $args){ $this-&gt;isFatal(); } }"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-v">L</span>{ <span class="pl-k">protected</span> <span class="pl-c1"><span class="pl-c1">$</span>os</span>; <span class="pl-k">public</span> <span class="pl-k">function</span> <span class="pl-en">__construct</span>(<span class="pl-smi"><span class="pl-smi">MyOtherService</span></span> <span class="pl-s1"><span class="pl-c1">$</span>os</span>){ <span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-&gt;<span class="pl-c1">os</span> = <span class="pl-s1"><span class="pl-c1">$</span>os</span>; } <span class="pl-k">public</span> <span class="pl-k">function</span> <span class="pl-en">postPersist</span>(<span class="pl-smi"><span class="pl-smi">LifecycleEventArgs</span></span> <span class="pl-s1"><span class="pl-c1">$</span>args</span>){ <span class="pl-s1"><span class="pl-c1">$</span><span class="pl-smi">this</span></span>-&gt;<span class="pl-en">isFatal</span>(); } }</pre></div> <ol start="2" dir="auto"> <li>register as service</li> </ol> <div class="highlight highlight-source-yaml notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="service: my_listener: class: \yadda\yadda\L arguments: - @my.other.service tags: - { name: doctrine.event_listener, event: postPersist }"><pre class="notranslate"><span class="pl-ent">service</span>: <span class="pl-ent">my_listener</span>: <span class="pl-ent">class</span>: <span class="pl-s">\yadda\yadda\L</span> <span class="pl-ent">arguments</span>: <span class="pl-s">- @my.other.service</span> <span class="pl-ent">tags</span>: - <span class="pl-s">{ name: doctrine.event_listener, event: postPersist }</span></pre></div> <p dir="auto">Debuging in the controller shows no listeners are attached to the event manager on the ntity manager.</p>
<p dir="auto">I have 3 Entity classes, 2 of them are almost identical and have a foreign key constraint to the third class, in one of the classes it is possible to create the schema in the other it isn't though the constraints are the same.</p> <p dir="auto">Referenced entity class:<br> <a href="https://github.com/ipv6Watch/ipv6watch/blob/master/webfrontend/src/HSP/PageBundle/Entity/IPV6Router.php">https://github.com/ipv6Watch/ipv6watch/blob/master/webfrontend/src/HSP/PageBundle/Entity/IPV6Router.php</a></p> <p dir="auto">Working entity class:<br> <a href="https://github.com/ipv6Watch/ipv6watch/blob/master/webfrontend/src/HSP/PageBundle/Entity/IPV6v4Address.php">https://github.com/ipv6Watch/ipv6watch/blob/master/webfrontend/src/HSP/PageBundle/Entity/IPV6v4Address.php</a></p> <p dir="auto">Defective entity class:<br> <a href="https://github.com/ipv6Watch/ipv6watch/blob/master/webfrontend/src/HSP/PageBundle/Entity/IPV6v6Address.php">https://github.com/ipv6Watch/ipv6watch/blob/master/webfrontend/src/HSP/PageBundle/Entity/IPV6v6Address.php</a></p> <p dir="auto">The problematic field is $RouterId.</p>
0
<p dir="auto"><strong>TypeScript Version:</strong></p> <p dir="auto">nightly (1.9.0-dev.20160429)</p> <p dir="auto"><strong>Code</strong></p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="interface Foo { readonly foo: string; } const foo = { get foo(this: Foo): string { // &lt;- A 'get' accessor cannot have parameters. return 'foo'; } };"><pre class="notranslate"><span class="pl-k">interface</span> <span class="pl-smi">Foo</span> <span class="pl-kos">{</span> <span class="pl-k">readonly</span> <span class="pl-c1">foo</span>: <span class="pl-smi">string</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">const</span> <span class="pl-s1">foo</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span> <span class="pl-k">get</span> <span class="pl-en">foo</span><span class="pl-kos">(</span><span class="pl-smi">this</span>: <span class="pl-smi">Foo</span><span class="pl-kos">)</span>: <span class="pl-smi">string</span> <span class="pl-kos">{</span> <span class="pl-c">// &lt;- A 'get' accessor cannot have parameters.</span> <span class="pl-k">return</span> <span class="pl-s">'foo'</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">;</span></pre></div> <p dir="auto"><strong>Expected behavior:</strong></p> <p dir="auto">Ability to type <code class="notranslate">this</code> without errors.</p> <p dir="auto"><strong>Actual behavior:</strong></p> <p dir="auto">Errors given when trying to type <code class="notranslate">this</code> in a <code class="notranslate">get</code> accessor.</p> <p dir="auto">While this example is non-sensical, <code class="notranslate">this</code> typing on other <code class="notranslate">get</code> accessors would be a useful feature and since they are erasable, it isn't like the accessor has an actual parameter.</p>
<p dir="auto"><strong>TypeScript Version:</strong></p> <p dir="auto">Version 1.9.0-dev.20160417</p> <p dir="auto"><strong>Code</strong></p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// A self-contained demonstration of the problem follows... let name: string = &quot;hallo&quot;;"><pre class="notranslate"><span class="pl-c">// A self-contained demonstration of the problem follows...</span> <span class="pl-k">let</span> <span class="pl-s1">name</span>: <span class="pl-smi">string</span> <span class="pl-c1">=</span> <span class="pl-s">"hallo"</span><span class="pl-kos">;</span></pre></div> <p dir="auto"><strong>Expected behavior:</strong><br> compile</p> <p dir="auto"><strong>Actual behavior:</strong><br> error TS2451: Cannot redeclare block-scoped variable 'name'.</p>
0
<p dir="auto"><strong>Migrated issue, originally created by Tiemo Kieft (<a href="https://github.com/tkieft">@tkieft</a>)</strong></p> <p dir="auto">I have a schema that defines some Enum's, running create_all() works fine on Postgres, but on SQLite it locks up.</p> <p dir="auto">The code below demonstrates the problem:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from sqlalchemy import create_engine, Enum from sqlalchemy.orm import sessionmaker from sqlalchemy.ext.declarative import declarative_base Base = declarative_base() e = Enum('foo', 'bar', metadata=Base.metadata) engine = create_engine('sqlite:///:memory:', echo=True) Base.metadata.create_all(bind=engine)"><pre class="notranslate"><code class="notranslate">from sqlalchemy import create_engine, Enum from sqlalchemy.orm import sessionmaker from sqlalchemy.ext.declarative import declarative_base Base = declarative_base() e = Enum('foo', 'bar', metadata=Base.metadata) engine = create_engine('sqlite:///:memory:', echo=True) Base.metadata.create_all(bind=engine) </code></pre></div> <p dir="auto">Remove the explicit <code class="notranslate">metadata</code> kwarg from the Enum constructor solves the problem. I tried running the above code with echo=True, but it doesn't report anything.</p>
<p dir="auto"><strong>Migrated issue, originally created by eevee (<a href="https://github.com/eevee">@eevee</a>)</strong></p> <p dir="auto">Reported here, but seen someone else experience it too: <a href="http://stackoverflow.com/q/24720380/17875" rel="nofollow">http://stackoverflow.com/q/24720380/17875</a></p> <p dir="auto">My diagnosis from figuring it out with the someone else on IRC:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="18:43 &lt;!eevee&gt; somehow calling self._on_metadata_create within the metadata's create event is adding itself as an event listener again 18:44 &lt;!eevee&gt; because, i think, it re-creates a dialect-specific enum with the same args... 18:44 &lt;!eevee&gt; looks pretty clearly like a bug wow 18:44 &lt;@Zhorken&gt; it specifically hangs with SQLite 18:44 &lt;@Zhorken&gt; or at least, not with Postgres 18:45 &lt;!eevee&gt; ah, postgres has a real enum type; sqlite doesn't so it gets a fallback"><pre class="notranslate"><code class="notranslate">18:43 &lt;!eevee&gt; somehow calling self._on_metadata_create within the metadata's create event is adding itself as an event listener again 18:44 &lt;!eevee&gt; because, i think, it re-creates a dialect-specific enum with the same args... 18:44 &lt;!eevee&gt; looks pretty clearly like a bug wow 18:44 &lt;@Zhorken&gt; it specifically hangs with SQLite 18:44 &lt;@Zhorken&gt; or at least, not with Postgres 18:45 &lt;!eevee&gt; ah, postgres has a real enum type; sqlite doesn't so it gets a fallback </code></pre></div>
1
<p dir="auto">Hi everybody. I use so much bootstrap that I have few problems at few moments.</p> <p dir="auto">In this moment, I work on a dashboard for my client. I use all of my screen because I have many informations to show. So, I use col-xs, col-sm, col-md and col-lg for a responsive design. It's awesome except that my dashboard own few items which are too fat when my screen is superior at 1500/1600px.</p> <p dir="auto">I would can develop a new custom col-xlg class for my app but I don't know if other people have this problem.</p> <p dir="auto">In the future, our displays will be most large and I ask me if that it's necessary to develope a feature like this.</p> <p dir="auto">Thanks for your response.</p>
<p dir="auto">Hi,<br> As you know, in Bootstrap 3 RC 1 maximum container width is ~1200px. But what if someone has FullHD screen width crushing width of 1920px? He sees empty space on both sides.</p>
1
<p dir="auto">When I run pwd|xclip and paste in wls, it changs line automaticly. How can I disable the effect?</p> <h1 dir="auto">Environment</h1> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: [run `[Environment]::OSVersion` for powershell, or `ver` for cmd] Windows Terminal version (if applicable): Any other software?"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: [run `[Environment]::OSVersion` for powershell, or `ver` for cmd] Windows Terminal version (if applicable): Any other software? </code></pre></div> <h1 dir="auto">Steps to reproduce</h1> <h1 dir="auto">Expected behavior</h1> <h1 dir="auto">Actual behavior</h1>
<p dir="auto">Windows Terminal sometimes crashes when I run commands. <a href="https://aka.ms/AA604mm" rel="nofollow">Feedback Hub Report here</a>.</p> <h1 dir="auto">Environment</h1> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: 10.0.18362.0 Windows Terminal version (if applicable): 0.4.2382.0 PowerShell 7.0.0-preview.3"><pre lang="none" class="notranslate"><code class="notranslate">Windows build number: 10.0.18362.0 Windows Terminal version (if applicable): 0.4.2382.0 PowerShell 7.0.0-preview.3 </code></pre></div> <h1 dir="auto">Steps to reproduce</h1> <p dir="auto">No exact steps to reproduce. I'm using Windows Terminal (Preview) for a while, and after running a command it will crash.</p> <p dir="auto">For example, the last crash occurred when I ran the following subversion command:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="svn cat ^/users/doug/Operations/Operations/Context.cs"><pre class="notranslate"><code class="notranslate">svn cat ^/users/doug/Operations/Operations/Context.cs </code></pre></div> <p dir="auto">However, I ran that command after the crash several times in a row with no issue.</p> <h1 dir="auto">Expected behavior</h1> <p dir="auto">My command should run without crashing Windows Terminal (Preview).</p> <h1 dir="auto">Actual behavior</h1> <p dir="auto">Windows Terminal (Preview) crashes.</p> <h1 dir="auto">More Info</h1> <p dir="auto">Anecdotally, the crashes seem to occur when I run commands that list files contents or spit out a lot of output (e.g., <code class="notranslate">gci -Recurse .</code>).</p>
0
<p dir="auto">I've been using the Estimator API with the model_fn and input_fn as shown in the official examples (<a href="https://github.com/tensorflow/models/blob/master/official/resnet/cifar10_main.py">https://github.com/tensorflow/models/blob/master/official/resnet/cifar10_main.py</a> for instance).</p> <p dir="auto">This all looks great and wonderful. However, I'm now facing an issue for going further with it. I'd like to use a model trained on a dataset and transfer it to another dataset. In practice, I would like to take the weights from the trained model up to the softmax layer and only initialize randomly this final layer. Then, I can do fine-tuning on the new dataset, which has different labels for instance.</p> <p dir="auto">I haven't found a way to do what I want. Is it something missing in the interface? Can we have something like a variable list to restore from a checkpoint and some other not? Ideally, it would be also good to specify variables to be frozen. Does that all make sense?</p>
<p dir="auto">The Raspberry Pi is an excellent platform for robotics and automation. The native camera also makes a great combo for portable / embedded / robotics computer vision. Having TensorFlow available on this platform would really open up a lot of options in this context.</p> <h3 dir="auto">What related GitHub issues or StackOverflow threads have you found by searching the web for your problem?</h3> <p dir="auto">none</p> <h3 dir="auto">Environment info</h3> <p dir="auto">Operating System:</p> <p dir="auto">Raspbian Jessie on Raspberry Pi 3</p> <h3 dir="auto">What other attempted solutions have you tried?</h3> <p dir="auto"><a href="https://github.com/samjabrahams/tensorflow-on-raspberry-pi">https://github.com/samjabrahams/tensorflow-on-raspberry-pi</a></p> <p dir="auto">It only provides a binary for TensorFlow 0.10. I've had lots of issues with it running DNNs trained on 0.11. I need to train on 0.11 because the only fast GPU I have is an Nvidia Pascal chip, and 0.10 doesn't work well on Pascal (due to CUDA version issues).</p> <p dir="auto">I've tried to compile 0.11 following the guide there, but there were a lot of errors.</p>
0
<h5 dir="auto">System information (version)</h5> <ul dir="auto"> <li>OpenCV =&gt; 4.0.0-pre</li> <li>Operating System / Platform =&gt; Ubuntu 16.04.5 LTS 64 Bit</li> <li>Compiler =&gt; c++</li> </ul> <h5 dir="auto">Steps to reproduce</h5> <p dir="auto">Compiling opencv with "cmake -D WITH_QT=ON" will fail at FilterWidget.cpp</p> <h5 dir="auto">Detailed description</h5> <p dir="auto">diffFilterWidget.cpp</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" #include &lt;opencv2/imgproc.hpp&gt; #include &lt;opencv2/imgproc/types_c.h&gt; #include &lt;unordered_map&gt; #include &lt;QComboBox&gt; #include &lt;QLabel&gt; #include &lt;QString&gt; #include &lt;QVBoxLayout&gt; #include &quot;../../util/util.hpp&quot; #include &quot;diffFilterWidget.hpp&quot; namespace cvv { namespace qtutil {"><pre lang="#include" class="notranslate"><code class="notranslate"> #include &lt;opencv2/imgproc.hpp&gt; #include &lt;opencv2/imgproc/types_c.h&gt; #include &lt;unordered_map&gt; #include &lt;QComboBox&gt; #include &lt;QLabel&gt; #include &lt;QString&gt; #include &lt;QVBoxLayout&gt; #include "../../util/util.hpp" #include "diffFilterWidget.hpp" namespace cvv { namespace qtutil { </code></pre></div> <h5 dir="auto">Solution</h5> <p dir="auto">Adding <code class="notranslate">using namespace cv;</code> after <code class="notranslate">#include "diffFilterWidget.hpp"</code> solved the scope issue</p>
<h5 dir="auto">System information (version)</h5> <ul dir="auto"> <li>OpenCV =&gt; 4.0.0rc</li> <li>Operating System / Platform =&gt; Ubuntu 18.04, 4.15.0-38-generic <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="38892637" data-permission-text="Title is private" data-url="https://github.com/opencv/opencv_contrib/issues/41" data-hovercard-type="pull_request" data-hovercard-url="/opencv/opencv_contrib/pull/41/hovercard" href="https://github.com/opencv/opencv_contrib/pull/41">#41</a>-Ubuntu SMP Wed Oct 10 10:59:38 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux</li> <li>Compiler =&gt; gcc (Ubuntu 7.3.0-27ubuntu1~18.04) 7.3.0</li> <li>Nvidia Driver 410.73</li> <li>Cuda 10.0</li> </ul> <h5 dir="auto">Detailed description</h5> <p dir="auto">When compiling with the command line make -VERBOSE=1 -j12 the compile fails at<br> /devel/software/opencv_contrib-4.0.0/modules/cvv/src/qtutil/filter/diffFilterWidget.cpp: In member function ‘virtual void cvv::qtutil::DiffFilterFunction::applyFilter(cvv::qtutil::DiffFilterFunction::InputArray, cvv::qtutil::DiffFilterFunction::OutputArray) const’:<br> /devel/software/opencv_contrib-4.0.0/modules/cvv/src/qtutil/filter/diffFilterWidget.cpp:72:44: error: ‘COLOR_BGR2HSV’ was not declared in this scope<br> cv::cvtColor(in.at(0).get(), originalHSV, COLOR_BGR2HSV);</p> <h5 dir="auto">Steps to reproduce</h5> <p dir="auto">cmake -D CMAKE_BUILD_TYPE=Release <br> -D CMAKE_INSTALL_PREFIX=$cwd/installation/OpenCV-"$cvVersion" <br> -D INSTALL_C_EXAMPLES=OFF <br> -D INSTALL_PYTHON_EXAMPLES=ON <br> -D WITH_TBB=ON <br> -D WITH_V4L=OFF <br> -D WITH_QT=ON <br> -D WITH_OPENGL=ON <br> -D OPENCV_EXTRA_MODULES_PATH=/devel/software/opencv_contrib-"$cvVersion"/modules <br> -D BUILD_EXAMPLES=ON ..</p> <p dir="auto">make -VERBOSE=1 -j12<br> <a href="https://github.com/opencv/opencv/files/2581908/CMakeOutput.log">CMakeOutput.log</a><br> <a href="https://github.com/opencv/opencv/files/2581910/CMakeError.log">CMakeError.log</a></p> <p dir="auto"><a href="https://github.com/opencv/opencv/files/2581914/make_out.txt">make_out.txt</a></p>
1
<p dir="auto">When creating an array of tuples that contain another array inside of the field the printing returns an error:</p> <div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="m = (a=10, b=[1,2]) m2 = (a=10, b2=1) [m,m2] type UnionAll has no field name Stacktrace: [1] getproperty at ./sysimg.jl:15 [inlined] [2] typeinfo_prefix(::IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}, ::Array{Int64,1}) at ./arrayshow.jl:477 [3] show_vector(::IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}, ::Array{Int64,1}, ::Char, ::Char) at ./arrayshow.jl:431 (repeats 2 times) [4] show at ./arrayshow.jl:417 [inlined] [5] show(::IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}, ::NamedTuple{(:a, :b),Tuple{Int64,Array{Int64,1}}}) at ./namedtuple.jl:142 [6] #sprint#330(::IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}, ::Int64, ::Function, ::Function, ::NamedTuple{(:a, :b),Tuple{Int64,Array{Int64,1}}}) at ./strings/io.jl:97 [7] #sprint at ./none:0 [inlined] [8] alignment(::IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}, ::NamedTuple{(:a, :b),Tuple{Int64,Array{Int64,1}}}) at ./show.jl:1719 [9] alignment(::IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}, ::Array{NamedTuple,1}, ::Base.OneTo{Int64}, ::Base.OneTo{Int64}, ::Int64, ::Int64, ::Int64) at ./arrayshow.jl:68 [10] print_matrix(::IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}, ::Array{NamedTuple,1}, ::String, ::String, ::String, ::String, ::String, ::String, ::Int64, ::Int64) at ./arrayshow.jl:186 [11] print_matrix at ./arrayshow.jl:159 [inlined] [12] print_array at ./arrayshow.jl:308 [inlined] [13] show(::IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}, ::MIME{Symbol(&quot;text/plain&quot;)}, ::Array{NamedTuple,1}) at ./arrayshow.jl:344 [14] limitstringmime(::MIME{Symbol(&quot;text/plain&quot;)}, ::Array{NamedTuple,1}) at /Users/jdlara/.julia/packages/IJulia/Nnq2/src/inline.jl:24 [15] display_dict(::Array{NamedTuple,1}) at /Users/jdlara/.julia/packages/IJulia/Nnq2/src/execute_request.jl:28 [16] #invokelatest#1 at ./essentials.jl:670 [inlined] [17] invokelatest at ./essentials.jl:669 [inlined] [18] execute_request(::ZMQ.Socket, ::IJulia.Msg) at /Users/jdlara/.julia/packages/IJulia/Nnq2/src/execute_request.jl:208 [19] #invokelatest#1 at ./essentials.jl:670 [inlined] [20] invokelatest at ./essentials.jl:669 [inlined] [21] eventloop(::ZMQ.Socket) at /Users/jdlara/.julia/packages/IJulia/Nnq2/src/eventloop.jl:8 [22] (::getfield(IJulia, Symbol(&quot;##15#18&quot;)))() at ./task.jl:257"><pre class="notranslate">m <span class="pl-k">=</span> (a<span class="pl-k">=</span><span class="pl-c1">10</span>, b<span class="pl-k">=</span>[<span class="pl-c1">1</span>,<span class="pl-c1">2</span>]) m2 <span class="pl-k">=</span> (a<span class="pl-k">=</span><span class="pl-c1">10</span>, b2<span class="pl-k">=</span><span class="pl-c1">1</span>) [m,m2] type UnionAll has no field name Stacktrace<span class="pl-k">:</span> [<span class="pl-c1">1</span>] getproperty at <span class="pl-k">./</span>sysimg<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">15</span> [inlined] [<span class="pl-c1">2</span>] <span class="pl-c1">typeinfo_prefix</span>(<span class="pl-k">::</span><span class="pl-c1">IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}</span>, <span class="pl-k">::</span><span class="pl-c1">Array{Int64,1}</span>) at <span class="pl-k">./</span>arrayshow<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">477</span> [<span class="pl-c1">3</span>] <span class="pl-c1">show_vector</span>(<span class="pl-k">::</span><span class="pl-c1">IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}</span>, <span class="pl-k">::</span><span class="pl-c1">Array{Int64,1}</span>, <span class="pl-k">::</span><span class="pl-c1">Char</span>, <span class="pl-k">::</span><span class="pl-c1">Char</span>) at <span class="pl-k">./</span>arrayshow<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">431</span> (repeats <span class="pl-c1">2</span> times) [<span class="pl-c1">4</span>] show at <span class="pl-k">./</span>arrayshow<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">417</span> [inlined] [<span class="pl-c1">5</span>] <span class="pl-c1">show</span>(<span class="pl-k">::</span><span class="pl-c1">IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}</span>, <span class="pl-k">::</span><span class="pl-c1">NamedTuple{(:a, :b),Tuple{Int64,Array{Int64,1}}}</span>) at <span class="pl-k">./</span>namedtuple<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">142</span> [<span class="pl-c1">6</span>] <span class="pl-c"><span class="pl-c">#</span>sprint#330(::IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}, ::Int64, ::Function, ::Function, ::NamedTuple{(:a, :b),Tuple{Int64,Array{Int64,1}}}) at ./strings/io.jl:97</span> [<span class="pl-c1">7</span>] <span class="pl-c"><span class="pl-c">#</span>sprint at ./none:0 [inlined]</span> [<span class="pl-c1">8</span>] <span class="pl-c1">alignment</span>(<span class="pl-k">::</span><span class="pl-c1">IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}</span>, <span class="pl-k">::</span><span class="pl-c1">NamedTuple{(:a, :b),Tuple{Int64,Array{Int64,1}}}</span>) at <span class="pl-k">./</span>show<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">1719</span> [<span class="pl-c1">9</span>] <span class="pl-c1">alignment</span>(<span class="pl-k">::</span><span class="pl-c1">IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}</span>, <span class="pl-k">::</span><span class="pl-c1">Array{NamedTuple,1}</span>, <span class="pl-k">::</span><span class="pl-c1">Base.OneTo{Int64}</span>, <span class="pl-k">::</span><span class="pl-c1">Base.OneTo{Int64}</span>, <span class="pl-k">::</span><span class="pl-c1">Int64</span>, <span class="pl-k">::</span><span class="pl-c1">Int64</span>, <span class="pl-k">::</span><span class="pl-c1">Int64</span>) at <span class="pl-k">./</span>arrayshow<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">68</span> [<span class="pl-c1">10</span>] <span class="pl-c1">print_matrix</span>(<span class="pl-k">::</span><span class="pl-c1">IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}</span>, <span class="pl-k">::</span><span class="pl-c1">Array{NamedTuple,1}</span>, <span class="pl-k">::</span><span class="pl-c1">String</span>, <span class="pl-k">::</span><span class="pl-c1">String</span>, <span class="pl-k">::</span><span class="pl-c1">String</span>, <span class="pl-k">::</span><span class="pl-c1">String</span>, <span class="pl-k">::</span><span class="pl-c1">String</span>, <span class="pl-k">::</span><span class="pl-c1">String</span>, <span class="pl-k">::</span><span class="pl-c1">Int64</span>, <span class="pl-k">::</span><span class="pl-c1">Int64</span>) at <span class="pl-k">./</span>arrayshow<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">186</span> [<span class="pl-c1">11</span>] print_matrix at <span class="pl-k">./</span>arrayshow<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">159</span> [inlined] [<span class="pl-c1">12</span>] print_array at <span class="pl-k">./</span>arrayshow<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">308</span> [inlined] [<span class="pl-c1">13</span>] <span class="pl-c1">show</span>(<span class="pl-k">::</span><span class="pl-c1">IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}</span>, <span class="pl-k">::</span><span class="pl-c1">MIME{Symbol("text/plain")}</span>, <span class="pl-k">::</span><span class="pl-c1">Array{NamedTuple,1}</span>) at <span class="pl-k">./</span>arrayshow<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">344</span> [<span class="pl-c1">14</span>] <span class="pl-c1">limitstringmime</span>(<span class="pl-k">::</span><span class="pl-c1">MIME{Symbol("text/plain")}</span>, <span class="pl-k">::</span><span class="pl-c1">Array{NamedTuple,1}</span>) at <span class="pl-k">/</span>Users<span class="pl-k">/</span>jdlara<span class="pl-k">/</span><span class="pl-k">.</span>julia<span class="pl-k">/</span>packages<span class="pl-k">/</span>IJulia<span class="pl-k">/</span>Nnq2<span class="pl-k">/</span>src<span class="pl-k">/</span>inline<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">24</span> [<span class="pl-c1">15</span>] <span class="pl-c1">display_dict</span>(<span class="pl-k">::</span><span class="pl-c1">Array{NamedTuple,1}</span>) at <span class="pl-k">/</span>Users<span class="pl-k">/</span>jdlara<span class="pl-k">/</span><span class="pl-k">.</span>julia<span class="pl-k">/</span>packages<span class="pl-k">/</span>IJulia<span class="pl-k">/</span>Nnq2<span class="pl-k">/</span>src<span class="pl-k">/</span>execute_request<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">28</span> [<span class="pl-c1">16</span>] <span class="pl-c"><span class="pl-c">#</span>invokelatest#1 at ./essentials.jl:670 [inlined]</span> [<span class="pl-c1">17</span>] invokelatest at <span class="pl-k">./</span>essentials<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">669</span> [inlined] [<span class="pl-c1">18</span>] <span class="pl-c1">execute_request</span>(<span class="pl-k">::</span><span class="pl-c1">ZMQ.Socket</span>, <span class="pl-k">::</span><span class="pl-c1">IJulia.Msg</span>) at <span class="pl-k">/</span>Users<span class="pl-k">/</span>jdlara<span class="pl-k">/</span><span class="pl-k">.</span>julia<span class="pl-k">/</span>packages<span class="pl-k">/</span>IJulia<span class="pl-k">/</span>Nnq2<span class="pl-k">/</span>src<span class="pl-k">/</span>execute_request<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">208</span> [<span class="pl-c1">19</span>] <span class="pl-c"><span class="pl-c">#</span>invokelatest#1 at ./essentials.jl:670 [inlined]</span> [<span class="pl-c1">20</span>] invokelatest at <span class="pl-k">./</span>essentials<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">669</span> [inlined] [<span class="pl-c1">21</span>] <span class="pl-c1">eventloop</span>(<span class="pl-k">::</span><span class="pl-c1">ZMQ.Socket</span>) at <span class="pl-k">/</span>Users<span class="pl-k">/</span>jdlara<span class="pl-k">/</span><span class="pl-k">.</span>julia<span class="pl-k">/</span>packages<span class="pl-k">/</span>IJulia<span class="pl-k">/</span>Nnq2<span class="pl-k">/</span>src<span class="pl-k">/</span>eventloop<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">8</span> [<span class="pl-c1">22</span>] (<span class="pl-k">::</span><span class="pl-c1">getfield</span>(IJulia, <span class="pl-c1">Symbol</span>(<span class="pl-s"><span class="pl-pds">"</span>##15#18<span class="pl-pds">"</span></span>)))() at <span class="pl-k">./</span>task<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">257</span></pre></div> <p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/tshort/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tshort">@tshort</a> Added this other example with more detail in the discussion</p> <div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia&gt; c = [m,m2]; julia&gt; c[1] (a = 10, b = [1, 2]) julia&gt; c[2] (a = 10, b2 = 1) julia&gt; c[[2]] 1-element Array{NamedTuple,1}: (a = 10, b2 = 1) julia&gt; c[[1]] 1-element Array{NamedTuple,1}: Error showing value of type Array{NamedTuple,1}: ERROR: AssertionError: Array{Int64,1} is not a subtype of NamedTuple Stacktrace: [1] typeinfo_prefix(::IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}, ::Array{Int64,1}) at .\arrayshow.jl:480 [2] show_vector(::IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}, ::Array{Int64,1}, ::Char, ::Char) at .\arrayshow.jl:433 (repeats 2 times) [3] show(::IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}, ::Array{Int64,1}) at .\arrayshow.jl:447 [4] show(::IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}, ::NamedTuple{(:a, :b),Tuple{Int64,Array{Int64,1}}}) at .\namedtuple.jl:82 [5] #sprint#312(::IOContext{Base.Terminals.TTYTerminal}, ::Int64, ::Function, ::Function, ::NamedTuple{(:a, :b),Tuple{Int64,Array{Int64,1}}}, ::Vararg{NamedTuple{(:a, :b),Tuple{Int64,Array{Int64,1}}},N} where N) at .\strings\io.jl:89 [6] #sprint at .\&lt;missing&gt;:0 [inlined] [7] alignment(::IOContext{Base.Terminals.TTYTerminal}, ::NamedTuple{(:a, :b),Tuple{Int64,Array{Int64,1}}}) at .\show.jl:1680 [8] alignment(::IOContext{Base.Terminals.TTYTerminal}, ::Array{NamedTuple,1}, ::Base.OneTo{Int64}, ::Base.OneTo{Int64}, ::Int64, ::Int64, ::Int64) at .\arrayshow.jl:68 [9] print_matrix(::IOContext{Base.Terminals.TTYTerminal}, ::Array{NamedTuple,1}, ::String, ::String, ::String, ::String, ::String, ::String, ::Int64, ::Int64) at .\arrayshow.jl:187 [10] print_matrix at .\arrayshow.jl:160 [inlined] [11] print_array at .\arrayshow.jl:309 [inlined] [12] _display(::IOContext{Base.Terminals.TTYTerminal}, ::Array{NamedTuple,1}) at .\arrayshow.jl:345 [13] show(::IOContext{Base.Terminals.TTYTerminal}, ::MIME{Symbol(&quot;text/plain&quot;)}, ::Array{NamedTuple,1}) at .\replutil.jl:139 [14] display(::Base.REPL.REPLDisplay{Base.REPL.LineEditREPL}, ::MIME{Symbol(&quot;text/plain&quot;)}, ::Array{NamedTuple,1}) at .\repl\REPL.jl:126 [15] display(::Base.REPL.REPLDisplay{Base.REPL.LineEditREPL}, ::Array{NamedTuple,1}) at .\repl\REPL.jl:129 [16] display(::Array{NamedTuple,1}) at .\multimedia.jl:291 [17] (::getfield(Base, Symbol(&quot;#inner#4&quot;)){Base.Iterators.IndexValue{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}},typeof(display),Tuple{Array{NamedTuple,1}}})() at .\essentials.jl:666 [18] #invokelatest#3 at .\essentials.jl:667 [inlined] [19] invokelatest at .\essentials.jl:666 [inlined] [20] print_response(::Base.Terminals.TTYTerminal, ::Any, ::Nothing, ::Bool, ::Bool, ::Nothing) at .\repl\REPL.jl:147 [21] print_response(::Base.REPL.LineEditREPL, ::Any, ::Nothing, ::Bool, ::Bool) at .\repl\REPL.jl:133 [22] (::getfield(Base.REPL, Symbol(&quot;#do_respond#15&quot;)){Bool,getfield(Base.REPL, Symbol(&quot;##25#35&quot;)){Base.REPL.LineEditREPL,Base.REPL.REPLHistoryProvider},Base.REPL.LineEditREPL,Base.LineEdit.Prompt})(::Base.LineEdit.MIState, ::Base.GenericIOBuffer{Array{UInt8,1}}, ::Bool) at .\repl\REPL.jl:707 [23] top-level scope"><pre class="notranslate">julia<span class="pl-k">&gt;</span> c <span class="pl-k">=</span> [m,m2]; julia<span class="pl-k">&gt;</span> c[<span class="pl-c1">1</span>] (a <span class="pl-k">=</span> <span class="pl-c1">10</span>, b <span class="pl-k">=</span> [<span class="pl-c1">1</span>, <span class="pl-c1">2</span>]) julia<span class="pl-k">&gt;</span> c[<span class="pl-c1">2</span>] (a <span class="pl-k">=</span> <span class="pl-c1">10</span>, b2 <span class="pl-k">=</span> <span class="pl-c1">1</span>) julia<span class="pl-k">&gt;</span> c[[<span class="pl-c1">2</span>]] <span class="pl-c1">1</span><span class="pl-k">-</span>element Array{NamedTuple,<span class="pl-c1">1</span>}<span class="pl-k">:</span> (a <span class="pl-k">=</span> <span class="pl-c1">10</span>, b2 <span class="pl-k">=</span> <span class="pl-c1">1</span>) julia<span class="pl-k">&gt;</span> c[[<span class="pl-c1">1</span>]] <span class="pl-c1">1</span><span class="pl-k">-</span>element Array{NamedTuple,<span class="pl-c1">1</span>}<span class="pl-k">:</span> Error showing value of type Array{NamedTuple,<span class="pl-c1">1</span>}<span class="pl-k">:</span> ERROR<span class="pl-k">:</span> AssertionError<span class="pl-k">:</span> Array{Int64,<span class="pl-c1">1</span>} is not a subtype of NamedTuple Stacktrace<span class="pl-k">:</span> [<span class="pl-c1">1</span>] <span class="pl-c1">typeinfo_prefix</span>(<span class="pl-k">::</span><span class="pl-c1">IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}</span>, <span class="pl-k">::</span><span class="pl-c1">Array{Int64,1}</span>) at <span class="pl-k">.\</span>arrayshow<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">480</span> [<span class="pl-c1">2</span>] <span class="pl-c1">show_vector</span>(<span class="pl-k">::</span><span class="pl-c1">IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}</span>, <span class="pl-k">::</span><span class="pl-c1">Array{Int64,1}</span>, <span class="pl-k">::</span><span class="pl-c1">Char</span>, <span class="pl-k">::</span><span class="pl-c1">Char</span>) at <span class="pl-k">.\</span>arrayshow<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">433</span> (repeats <span class="pl-c1">2</span> times) [<span class="pl-c1">3</span>] <span class="pl-c1">show</span>(<span class="pl-k">::</span><span class="pl-c1">IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}</span>, <span class="pl-k">::</span><span class="pl-c1">Array{Int64,1}</span>) at <span class="pl-k">.\</span>arrayshow<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">447</span> [<span class="pl-c1">4</span>] <span class="pl-c1">show</span>(<span class="pl-k">::</span><span class="pl-c1">IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}</span>, <span class="pl-k">::</span><span class="pl-c1">NamedTuple{(:a, :b),Tuple{Int64,Array{Int64,1}}}</span>) at <span class="pl-k">.\</span>namedtuple<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">82</span> [<span class="pl-c1">5</span>] <span class="pl-c"><span class="pl-c">#</span>sprint#312(::IOContext{Base.Terminals.TTYTerminal}, ::Int64, ::Function, ::Function, ::NamedTuple{(:a, :b),Tuple{Int64,Array{Int64,1}}}, ::Vararg{NamedTuple{(:a, :b),Tuple{Int64,Array{Int64,1}}},N} where N) at .\strings\io.jl:89</span> [<span class="pl-c1">6</span>] <span class="pl-c"><span class="pl-c">#</span>sprint at .\&lt;missing&gt;:0 [inlined]</span> [<span class="pl-c1">7</span>] <span class="pl-c1">alignment</span>(<span class="pl-k">::</span><span class="pl-c1">IOContext{Base.Terminals.TTYTerminal}</span>, <span class="pl-k">::</span><span class="pl-c1">NamedTuple{(:a, :b),Tuple{Int64,Array{Int64,1}}}</span>) at <span class="pl-k">.\</span>show<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">1680</span> [<span class="pl-c1">8</span>] <span class="pl-c1">alignment</span>(<span class="pl-k">::</span><span class="pl-c1">IOContext{Base.Terminals.TTYTerminal}</span>, <span class="pl-k">::</span><span class="pl-c1">Array{NamedTuple,1}</span>, <span class="pl-k">::</span><span class="pl-c1">Base.OneTo{Int64}</span>, <span class="pl-k">::</span><span class="pl-c1">Base.OneTo{Int64}</span>, <span class="pl-k">::</span><span class="pl-c1">Int64</span>, <span class="pl-k">::</span><span class="pl-c1">Int64</span>, <span class="pl-k">::</span><span class="pl-c1">Int64</span>) at <span class="pl-k">.\</span>arrayshow<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">68</span> [<span class="pl-c1">9</span>] <span class="pl-c1">print_matrix</span>(<span class="pl-k">::</span><span class="pl-c1">IOContext{Base.Terminals.TTYTerminal}</span>, <span class="pl-k">::</span><span class="pl-c1">Array{NamedTuple,1}</span>, <span class="pl-k">::</span><span class="pl-c1">String</span>, <span class="pl-k">::</span><span class="pl-c1">String</span>, <span class="pl-k">::</span><span class="pl-c1">String</span>, <span class="pl-k">::</span><span class="pl-c1">String</span>, <span class="pl-k">::</span><span class="pl-c1">String</span>, <span class="pl-k">::</span><span class="pl-c1">String</span>, <span class="pl-k">::</span><span class="pl-c1">Int64</span>, <span class="pl-k">::</span><span class="pl-c1">Int64</span>) at <span class="pl-k">.\</span>arrayshow<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">187</span> [<span class="pl-c1">10</span>] print_matrix at <span class="pl-k">.\</span>arrayshow<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">160</span> [inlined] [<span class="pl-c1">11</span>] print_array at <span class="pl-k">.\</span>arrayshow<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">309</span> [inlined] [<span class="pl-c1">12</span>] <span class="pl-c1">_display</span>(<span class="pl-k">::</span><span class="pl-c1">IOContext{Base.Terminals.TTYTerminal}</span>, <span class="pl-k">::</span><span class="pl-c1">Array{NamedTuple,1}</span>) at <span class="pl-k">.\</span>arrayshow<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">345</span> [<span class="pl-c1">13</span>] <span class="pl-c1">show</span>(<span class="pl-k">::</span><span class="pl-c1">IOContext{Base.Terminals.TTYTerminal}</span>, <span class="pl-k">::</span><span class="pl-c1">MIME{Symbol("text/plain")}</span>, <span class="pl-k">::</span><span class="pl-c1">Array{NamedTuple,1}</span>) at <span class="pl-k">.\</span>replutil<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">139</span> [<span class="pl-c1">14</span>] <span class="pl-c1">display</span>(<span class="pl-k">::</span><span class="pl-c1">Base.REPL.REPLDisplay{Base.REPL.LineEditREPL}</span>, <span class="pl-k">::</span><span class="pl-c1">MIME{Symbol("text/plain")}</span>, <span class="pl-k">::</span><span class="pl-c1">Array{NamedTuple,1}</span>) at <span class="pl-k">.\</span>repl<span class="pl-k">\</span>REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">126</span> [<span class="pl-c1">15</span>] <span class="pl-c1">display</span>(<span class="pl-k">::</span><span class="pl-c1">Base.REPL.REPLDisplay{Base.REPL.LineEditREPL}</span>, <span class="pl-k">::</span><span class="pl-c1">Array{NamedTuple,1}</span>) at <span class="pl-k">.\</span>repl<span class="pl-k">\</span>REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">129</span> [<span class="pl-c1">16</span>] <span class="pl-c1">display</span>(<span class="pl-k">::</span><span class="pl-c1">Array{NamedTuple,1}</span>) at <span class="pl-k">.\</span>multimedia<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">291</span> [<span class="pl-c1">17</span>] (<span class="pl-k">::</span><span class="pl-c1">getfield</span>(Base, <span class="pl-c1">Symbol</span>(<span class="pl-s"><span class="pl-pds">"</span>#inner#4<span class="pl-pds">"</span></span>)){Base<span class="pl-k">.</span>Iterators<span class="pl-k">.</span>IndexValue{Union{},Union{},Tuple{},NamedTuple{(),Tuple{}}},<span class="pl-c1">typeof</span>(display),Tuple{Array{NamedTuple,<span class="pl-c1">1</span>}}})() at <span class="pl-k">.\</span>essentials<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">666</span> [<span class="pl-c1">18</span>] <span class="pl-c"><span class="pl-c">#</span>invokelatest#3 at .\essentials.jl:667 [inlined]</span> [<span class="pl-c1">19</span>] invokelatest at <span class="pl-k">.\</span>essentials<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">666</span> [inlined] [<span class="pl-c1">20</span>] <span class="pl-c1">print_response</span>(<span class="pl-k">::</span><span class="pl-c1">Base.Terminals.TTYTerminal</span>, <span class="pl-k">::</span><span class="pl-c1">Any</span>, <span class="pl-k">::</span><span class="pl-c1">Nothing</span>, <span class="pl-k">::</span><span class="pl-c1">Bool</span>, <span class="pl-k">::</span><span class="pl-c1">Bool</span>, <span class="pl-k">::</span><span class="pl-c1">Nothing</span>) at <span class="pl-k">.\</span>repl<span class="pl-k">\</span>REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">147</span> [<span class="pl-c1">21</span>] <span class="pl-c1">print_response</span>(<span class="pl-k">::</span><span class="pl-c1">Base.REPL.LineEditREPL</span>, <span class="pl-k">::</span><span class="pl-c1">Any</span>, <span class="pl-k">::</span><span class="pl-c1">Nothing</span>, <span class="pl-k">::</span><span class="pl-c1">Bool</span>, <span class="pl-k">::</span><span class="pl-c1">Bool</span>) at <span class="pl-k">.\</span>repl<span class="pl-k">\</span>REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">133</span> [<span class="pl-c1">22</span>] (<span class="pl-k">::</span><span class="pl-c1">getfield</span>(Base<span class="pl-k">.</span>REPL, <span class="pl-c1">Symbol</span>(<span class="pl-s"><span class="pl-pds">"</span>#do_respond#15<span class="pl-pds">"</span></span>)){Bool,<span class="pl-c1">getfield</span>(Base<span class="pl-k">.</span>REPL, <span class="pl-c1">Symbol</span>(<span class="pl-s"><span class="pl-pds">"</span>##25#35<span class="pl-pds">"</span></span>)){Base<span class="pl-k">.</span>REPL<span class="pl-k">.</span>LineEditREPL,Base<span class="pl-k">.</span>REPL<span class="pl-k">.</span>REPLHistoryProvider},Base<span class="pl-k">.</span>REPL<span class="pl-k">.</span>LineEditREPL,Base<span class="pl-k">.</span>LineEdit<span class="pl-k">.</span>Prompt})(<span class="pl-k">::</span><span class="pl-c1">Base.LineEdit.MIState</span>, <span class="pl-k">::</span><span class="pl-c1">Base.GenericIOBuffer{Array{UInt8,1}}</span>, <span class="pl-k">::</span><span class="pl-c1">Bool</span>) at <span class="pl-k">.\</span>repl<span class="pl-k">\</span>REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">707</span> [<span class="pl-c1">23</span>] top<span class="pl-k">-</span>level scope</pre></div>
<p dir="auto">Hello, this happens in REPL on <code class="notranslate">julia 0.7.0-beta2</code>:</p> <div class="highlight highlight-source-julia notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="julia&gt; A = [(a=1, b=2), (a=3,c=4)] 2-element Array{NamedTuple{names,Tuple{Int64,Int64}} where names,1}: Error showing value of type Array{NamedTuple{names,Tuple{Int64,Int64}} where names,1}: ERROR: BoundsError: attempt to access NamedTuple{names,Tuple{Int64,Int64}} at index [1] Stacktrace: [1] show(::IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}, ::NamedTuple{(:a, :b),Tuple{Int64,Int64}}) at ./namedtuple.jl:144 [2] #sprint#335(::IOContext{REPL.Terminals.TTYTerminal}, ::Int64, ::Function, ::Function, ::NamedTuple{(:a, :b),Tuple{Int64,Int64}}) at ./strings/io.jl:99 [3] #sprint at ./none:0 [inlined] [4] alignment(::IOContext{REPL.Terminals.TTYTerminal}, ::NamedTuple{(:a, :b),Tuple{Int64,Int64}}) at ./show.jl:1732 [5] alignment(::IOContext{REPL.Terminals.TTYTerminal}, ::Array{NamedTuple{names,Tuple{Int64,Int64}} where names,1}, ::UnitRange{Int64}, ::UnitRange{Int64}, ::Int64, ::Int64, ::Int64) at ./arrayshow.jl:68 [6] print_matrix(::IOContext{REPL.Terminals.TTYTerminal}, ::Array{NamedTuple{names,Tuple{Int64,Int64}} where names,1}, ::String, ::String, ::String, ::String, ::String, ::String, ::Int64, ::Int64) at ./arrayshow.jl:186 [7] print_matrix at ./arrayshow.jl:159 [inlined] [8] print_array at ./arrayshow.jl:308 [inlined] [9] show(::IOContext{REPL.Terminals.TTYTerminal}, ::MIME{Symbol(&quot;text/plain&quot;)}, ::Array{NamedTuple{names,Tuple{Int64,Int64}} where names,1}) at ./arrayshow.jl:344 [10] display(::REPL.REPLDisplay{REPL.LineEditREPL}, ::MIME{Symbol(&quot;text/plain&quot;)}, ::Array{NamedTuple{names,Tuple{Int64,Int64}} where names,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/REPL/src/REPL.jl:130 [11] display(::REPL.REPLDisplay{REPL.LineEditREPL}, ::Array{NamedTuple{names,Tuple{Int64,Int64}} where names,1}) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/REPL/src/REPL.jl:133 [12] display(::Array{NamedTuple{names,Tuple{Int64,Int64}} where names,1}) at ./multimedia.jl:287 [13] #invokelatest#1 at ./essentials.jl:660 [inlined] [14] invokelatest at ./essentials.jl:659 [inlined] [15] print_response(::REPL.Terminals.TTYTerminal, ::Any, ::Nothing, ::Bool, ::Bool, ::Nothing) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/REPL/src/REPL.jl:151 [16] print_response(::REPL.LineEditREPL, ::Any, ::Nothing, ::Bool, ::Bool) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/REPL/src/REPL.jl:137 [17] (::getfield(REPL, Symbol(&quot;#do_respond#42&quot;)){Bool,getfield(REPL, Symbol(&quot;##52#61&quot;)){REPL.LineEditREPL,REPL.REPLHistoryProvider},REPL.LineEditREPL,REPL.LineEdit.Prompt})(::REPL.LineEdit.MIState, ::Base.GenericIOBuffer{Array{UInt8,1}}, ::Bool) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/REPL/src/REPL.jl:706 [18] (::getfield(REPL, Symbol(&quot;##57#66&quot;)))(::REPL.LineEdit.MIState, ::REPL.LineEditREPL, ::Vararg{Any,N} where N) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/REPL/src/REPL.jl:969 [19] #invokelatest#1 at ./essentials.jl:660 [inlined] [20] invokelatest at ./essentials.jl:659 [inlined] [21] (::getfield(REPL.LineEdit, Symbol(&quot;##27#28&quot;)){getfield(REPL, Symbol(&quot;##57#66&quot;)),String})(::REPL.LineEdit.MIState, ::REPL.LineEditREPL) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/REPL/src/LineEdit.jl:1302 [22] prompt!(::REPL.Terminals.TTYTerminal, ::REPL.LineEdit.ModalInterface, ::REPL.LineEdit.MIState) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/REPL/src/LineEdit.jl:2311 [23] run_interface(::REPL.Terminals.TTYTerminal, ::REPL.LineEdit.ModalInterface, ::REPL.LineEdit.MIState) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/REPL/src/LineEdit.jl:2212 [24] run_frontend(::REPL.LineEditREPL, ::REPL.REPLBackendRef) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/REPL/src/REPL.jl:1026 [25] run_repl(::REPL.LineEditREPL, ::getfield(Base, Symbol(&quot;##824#826&quot;))) at /buildworker/worker/package_linux64/build/usr/share/julia/stdlib/v0.7/REPL/src/REPL.jl:187 [26] macro expansion at ./logging.jl:299 [inlined] [27] (::getfield(Base, Symbol(&quot;##823#825&quot;)){Bool,Bool,Bool,Bool})(::Module) at ./client.jl:347 [28] #invokelatest#1 at ./essentials.jl:660 [inlined] [29] invokelatest at ./essentials.jl:659 [inlined] [30] macro expansion at ./logging.jl:296 [inlined] [31] run_main_repl(::Bool, ::Bool, ::Bool, ::Bool, ::Bool) at ./client.jl:335 [32] exec_options(::Base.JLOptions) at ./client.jl:247 [33] _start() at ./client.jl:427"><pre class="notranslate">julia<span class="pl-k">&gt;</span> A <span class="pl-k">=</span> [(a<span class="pl-k">=</span><span class="pl-c1">1</span>, b<span class="pl-k">=</span><span class="pl-c1">2</span>), (a<span class="pl-k">=</span><span class="pl-c1">3</span>,c<span class="pl-k">=</span><span class="pl-c1">4</span>)] <span class="pl-c1">2</span><span class="pl-k">-</span>element Array{NamedTuple{names,Tuple{Int64,Int64}} <span class="pl-k">where</span> names,<span class="pl-c1">1</span>}<span class="pl-k">:</span> Error showing value of type Array{NamedTuple{names,Tuple{Int64,Int64}} <span class="pl-k">where</span> names,<span class="pl-c1">1</span>}<span class="pl-k">:</span> ERROR<span class="pl-k">:</span> BoundsError<span class="pl-k">:</span> attempt to access NamedTuple{names,Tuple{Int64,Int64}} at index [<span class="pl-c1">1</span>] Stacktrace<span class="pl-k">:</span> [<span class="pl-c1">1</span>] <span class="pl-c1">show</span>(<span class="pl-k">::</span><span class="pl-c1">IOContext{Base.GenericIOBuffer{Array{UInt8,1}}}</span>, <span class="pl-k">::</span><span class="pl-c1">NamedTuple{(:a, :b),Tuple{Int64,Int64}}</span>) at <span class="pl-k">./</span>namedtuple<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">144</span> [<span class="pl-c1">2</span>] <span class="pl-c"><span class="pl-c">#</span>sprint#335(::IOContext{REPL.Terminals.TTYTerminal}, ::Int64, ::Function, ::Function, ::NamedTuple{(:a, :b),Tuple{Int64,Int64}}) at ./strings/io.jl:99</span> [<span class="pl-c1">3</span>] <span class="pl-c"><span class="pl-c">#</span>sprint at ./none:0 [inlined]</span> [<span class="pl-c1">4</span>] <span class="pl-c1">alignment</span>(<span class="pl-k">::</span><span class="pl-c1">IOContext{REPL.Terminals.TTYTerminal}</span>, <span class="pl-k">::</span><span class="pl-c1">NamedTuple{(:a, :b),Tuple{Int64,Int64}}</span>) at <span class="pl-k">./</span>show<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">1732</span> [<span class="pl-c1">5</span>] <span class="pl-c1">alignment</span>(<span class="pl-k">::</span><span class="pl-c1">IOContext{REPL.Terminals.TTYTerminal}</span>, <span class="pl-k">::</span><span class="pl-c1">Array{NamedTuple{names,Tuple{Int64,Int64}} where names,1}</span>, <span class="pl-k">::</span><span class="pl-c1">UnitRange{Int64}</span>, <span class="pl-k">::</span><span class="pl-c1">UnitRange{Int64}</span>, <span class="pl-k">::</span><span class="pl-c1">Int64</span>, <span class="pl-k">::</span><span class="pl-c1">Int64</span>, <span class="pl-k">::</span><span class="pl-c1">Int64</span>) at <span class="pl-k">./</span>arrayshow<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">68</span> [<span class="pl-c1">6</span>] <span class="pl-c1">print_matrix</span>(<span class="pl-k">::</span><span class="pl-c1">IOContext{REPL.Terminals.TTYTerminal}</span>, <span class="pl-k">::</span><span class="pl-c1">Array{NamedTuple{names,Tuple{Int64,Int64}} where names,1}</span>, <span class="pl-k">::</span><span class="pl-c1">String</span>, <span class="pl-k">::</span><span class="pl-c1">String</span>, <span class="pl-k">::</span><span class="pl-c1">String</span>, <span class="pl-k">::</span><span class="pl-c1">String</span>, <span class="pl-k">::</span><span class="pl-c1">String</span>, <span class="pl-k">::</span><span class="pl-c1">String</span>, <span class="pl-k">::</span><span class="pl-c1">Int64</span>, <span class="pl-k">::</span><span class="pl-c1">Int64</span>) at <span class="pl-k">./</span>arrayshow<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">186</span> [<span class="pl-c1">7</span>] print_matrix at <span class="pl-k">./</span>arrayshow<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">159</span> [inlined] [<span class="pl-c1">8</span>] print_array at <span class="pl-k">./</span>arrayshow<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">308</span> [inlined] [<span class="pl-c1">9</span>] <span class="pl-c1">show</span>(<span class="pl-k">::</span><span class="pl-c1">IOContext{REPL.Terminals.TTYTerminal}</span>, <span class="pl-k">::</span><span class="pl-c1">MIME{Symbol("text/plain")}</span>, <span class="pl-k">::</span><span class="pl-c1">Array{NamedTuple{names,Tuple{Int64,Int64}} where names,1}</span>) at <span class="pl-k">./</span>arrayshow<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">344</span> [<span class="pl-c1">10</span>] <span class="pl-c1">display</span>(<span class="pl-k">::</span><span class="pl-c1">REPL.REPLDisplay{REPL.LineEditREPL}</span>, <span class="pl-k">::</span><span class="pl-c1">MIME{Symbol("text/plain")}</span>, <span class="pl-k">::</span><span class="pl-c1">Array{NamedTuple{names,Tuple{Int64,Int64}} where names,1}</span>) at <span class="pl-k">/</span>buildworker<span class="pl-k">/</span>worker<span class="pl-k">/</span>package_linux64<span class="pl-k">/</span>build<span class="pl-k">/</span>usr<span class="pl-k">/</span>share<span class="pl-k">/</span>julia<span class="pl-k">/</span>stdlib<span class="pl-k">/</span>v0.<span class="pl-c1">7</span><span class="pl-k">/</span>REPL<span class="pl-k">/</span>src<span class="pl-k">/</span>REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">130</span> [<span class="pl-c1">11</span>] <span class="pl-c1">display</span>(<span class="pl-k">::</span><span class="pl-c1">REPL.REPLDisplay{REPL.LineEditREPL}</span>, <span class="pl-k">::</span><span class="pl-c1">Array{NamedTuple{names,Tuple{Int64,Int64}} where names,1}</span>) at <span class="pl-k">/</span>buildworker<span class="pl-k">/</span>worker<span class="pl-k">/</span>package_linux64<span class="pl-k">/</span>build<span class="pl-k">/</span>usr<span class="pl-k">/</span>share<span class="pl-k">/</span>julia<span class="pl-k">/</span>stdlib<span class="pl-k">/</span>v0.<span class="pl-c1">7</span><span class="pl-k">/</span>REPL<span class="pl-k">/</span>src<span class="pl-k">/</span>REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">133</span> [<span class="pl-c1">12</span>] <span class="pl-c1">display</span>(<span class="pl-k">::</span><span class="pl-c1">Array{NamedTuple{names,Tuple{Int64,Int64}} where names,1}</span>) at <span class="pl-k">./</span>multimedia<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">287</span> [<span class="pl-c1">13</span>] <span class="pl-c"><span class="pl-c">#</span>invokelatest#1 at ./essentials.jl:660 [inlined]</span> [<span class="pl-c1">14</span>] invokelatest at <span class="pl-k">./</span>essentials<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">659</span> [inlined] [<span class="pl-c1">15</span>] <span class="pl-c1">print_response</span>(<span class="pl-k">::</span><span class="pl-c1">REPL.Terminals.TTYTerminal</span>, <span class="pl-k">::</span><span class="pl-c1">Any</span>, <span class="pl-k">::</span><span class="pl-c1">Nothing</span>, <span class="pl-k">::</span><span class="pl-c1">Bool</span>, <span class="pl-k">::</span><span class="pl-c1">Bool</span>, <span class="pl-k">::</span><span class="pl-c1">Nothing</span>) at <span class="pl-k">/</span>buildworker<span class="pl-k">/</span>worker<span class="pl-k">/</span>package_linux64<span class="pl-k">/</span>build<span class="pl-k">/</span>usr<span class="pl-k">/</span>share<span class="pl-k">/</span>julia<span class="pl-k">/</span>stdlib<span class="pl-k">/</span>v0.<span class="pl-c1">7</span><span class="pl-k">/</span>REPL<span class="pl-k">/</span>src<span class="pl-k">/</span>REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">151</span> [<span class="pl-c1">16</span>] <span class="pl-c1">print_response</span>(<span class="pl-k">::</span><span class="pl-c1">REPL.LineEditREPL</span>, <span class="pl-k">::</span><span class="pl-c1">Any</span>, <span class="pl-k">::</span><span class="pl-c1">Nothing</span>, <span class="pl-k">::</span><span class="pl-c1">Bool</span>, <span class="pl-k">::</span><span class="pl-c1">Bool</span>) at <span class="pl-k">/</span>buildworker<span class="pl-k">/</span>worker<span class="pl-k">/</span>package_linux64<span class="pl-k">/</span>build<span class="pl-k">/</span>usr<span class="pl-k">/</span>share<span class="pl-k">/</span>julia<span class="pl-k">/</span>stdlib<span class="pl-k">/</span>v0.<span class="pl-c1">7</span><span class="pl-k">/</span>REPL<span class="pl-k">/</span>src<span class="pl-k">/</span>REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">137</span> [<span class="pl-c1">17</span>] (<span class="pl-k">::</span><span class="pl-c1">getfield</span>(REPL, <span class="pl-c1">Symbol</span>(<span class="pl-s"><span class="pl-pds">"</span>#do_respond#42<span class="pl-pds">"</span></span>)){Bool,<span class="pl-c1">getfield</span>(REPL, <span class="pl-c1">Symbol</span>(<span class="pl-s"><span class="pl-pds">"</span>##52#61<span class="pl-pds">"</span></span>)){REPL<span class="pl-k">.</span>LineEditREPL,REPL<span class="pl-k">.</span>REPLHistoryProvider},REPL<span class="pl-k">.</span>LineEditREPL,REPL<span class="pl-k">.</span>LineEdit<span class="pl-k">.</span>Prompt})(<span class="pl-k">::</span><span class="pl-c1">REPL.LineEdit.MIState</span>, <span class="pl-k">::</span><span class="pl-c1">Base.GenericIOBuffer{Array{UInt8,1}}</span>, <span class="pl-k">::</span><span class="pl-c1">Bool</span>) at <span class="pl-k">/</span>buildworker<span class="pl-k">/</span>worker<span class="pl-k">/</span>package_linux64<span class="pl-k">/</span>build<span class="pl-k">/</span>usr<span class="pl-k">/</span>share<span class="pl-k">/</span>julia<span class="pl-k">/</span>stdlib<span class="pl-k">/</span>v0.<span class="pl-c1">7</span><span class="pl-k">/</span>REPL<span class="pl-k">/</span>src<span class="pl-k">/</span>REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">706</span> [<span class="pl-c1">18</span>] (<span class="pl-k">::</span><span class="pl-c1">getfield</span>(REPL, <span class="pl-c1">Symbol</span>(<span class="pl-s"><span class="pl-pds">"</span>##57#66<span class="pl-pds">"</span></span>)))(<span class="pl-k">::</span><span class="pl-c1">REPL.LineEdit.MIState</span>, <span class="pl-k">::</span><span class="pl-c1">REPL.LineEditREPL</span>, <span class="pl-k">::</span><span class="pl-c1">Vararg{Any,N}</span> <span class="pl-k">where</span> N) at <span class="pl-k">/</span>buildworker<span class="pl-k">/</span>worker<span class="pl-k">/</span>package_linux64<span class="pl-k">/</span>build<span class="pl-k">/</span>usr<span class="pl-k">/</span>share<span class="pl-k">/</span>julia<span class="pl-k">/</span>stdlib<span class="pl-k">/</span>v0.<span class="pl-c1">7</span><span class="pl-k">/</span>REPL<span class="pl-k">/</span>src<span class="pl-k">/</span>REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">969</span> [<span class="pl-c1">19</span>] <span class="pl-c"><span class="pl-c">#</span>invokelatest#1 at ./essentials.jl:660 [inlined]</span> [<span class="pl-c1">20</span>] invokelatest at <span class="pl-k">./</span>essentials<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">659</span> [inlined] [<span class="pl-c1">21</span>] (<span class="pl-k">::</span><span class="pl-c1">getfield</span>(REPL<span class="pl-k">.</span>LineEdit, <span class="pl-c1">Symbol</span>(<span class="pl-s"><span class="pl-pds">"</span>##27#28<span class="pl-pds">"</span></span>)){<span class="pl-c1">getfield</span>(REPL, <span class="pl-c1">Symbol</span>(<span class="pl-s"><span class="pl-pds">"</span>##57#66<span class="pl-pds">"</span></span>)),String})(<span class="pl-k">::</span><span class="pl-c1">REPL.LineEdit.MIState</span>, <span class="pl-k">::</span><span class="pl-c1">REPL.LineEditREPL</span>) at <span class="pl-k">/</span>buildworker<span class="pl-k">/</span>worker<span class="pl-k">/</span>package_linux64<span class="pl-k">/</span>build<span class="pl-k">/</span>usr<span class="pl-k">/</span>share<span class="pl-k">/</span>julia<span class="pl-k">/</span>stdlib<span class="pl-k">/</span>v0.<span class="pl-c1">7</span><span class="pl-k">/</span>REPL<span class="pl-k">/</span>src<span class="pl-k">/</span>LineEdit<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">1302</span> [<span class="pl-c1">22</span>] <span class="pl-c1">prompt!</span>(<span class="pl-k">::</span><span class="pl-c1">REPL.Terminals.TTYTerminal</span>, <span class="pl-k">::</span><span class="pl-c1">REPL.LineEdit.ModalInterface</span>, <span class="pl-k">::</span><span class="pl-c1">REPL.LineEdit.MIState</span>) at <span class="pl-k">/</span>buildworker<span class="pl-k">/</span>worker<span class="pl-k">/</span>package_linux64<span class="pl-k">/</span>build<span class="pl-k">/</span>usr<span class="pl-k">/</span>share<span class="pl-k">/</span>julia<span class="pl-k">/</span>stdlib<span class="pl-k">/</span>v0.<span class="pl-c1">7</span><span class="pl-k">/</span>REPL<span class="pl-k">/</span>src<span class="pl-k">/</span>LineEdit<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">2311</span> [<span class="pl-c1">23</span>] <span class="pl-c1">run_interface</span>(<span class="pl-k">::</span><span class="pl-c1">REPL.Terminals.TTYTerminal</span>, <span class="pl-k">::</span><span class="pl-c1">REPL.LineEdit.ModalInterface</span>, <span class="pl-k">::</span><span class="pl-c1">REPL.LineEdit.MIState</span>) at <span class="pl-k">/</span>buildworker<span class="pl-k">/</span>worker<span class="pl-k">/</span>package_linux64<span class="pl-k">/</span>build<span class="pl-k">/</span>usr<span class="pl-k">/</span>share<span class="pl-k">/</span>julia<span class="pl-k">/</span>stdlib<span class="pl-k">/</span>v0.<span class="pl-c1">7</span><span class="pl-k">/</span>REPL<span class="pl-k">/</span>src<span class="pl-k">/</span>LineEdit<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">2212</span> [<span class="pl-c1">24</span>] <span class="pl-c1">run_frontend</span>(<span class="pl-k">::</span><span class="pl-c1">REPL.LineEditREPL</span>, <span class="pl-k">::</span><span class="pl-c1">REPL.REPLBackendRef</span>) at <span class="pl-k">/</span>buildworker<span class="pl-k">/</span>worker<span class="pl-k">/</span>package_linux64<span class="pl-k">/</span>build<span class="pl-k">/</span>usr<span class="pl-k">/</span>share<span class="pl-k">/</span>julia<span class="pl-k">/</span>stdlib<span class="pl-k">/</span>v0.<span class="pl-c1">7</span><span class="pl-k">/</span>REPL<span class="pl-k">/</span>src<span class="pl-k">/</span>REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">1026</span> [<span class="pl-c1">25</span>] <span class="pl-c1">run_repl</span>(<span class="pl-k">::</span><span class="pl-c1">REPL.LineEditREPL</span>, <span class="pl-k">::</span><span class="pl-c1">getfield</span>(Base, <span class="pl-c1">Symbol</span>(<span class="pl-s"><span class="pl-pds">"</span>##824#826<span class="pl-pds">"</span></span>))) at <span class="pl-k">/</span>buildworker<span class="pl-k">/</span>worker<span class="pl-k">/</span>package_linux64<span class="pl-k">/</span>build<span class="pl-k">/</span>usr<span class="pl-k">/</span>share<span class="pl-k">/</span>julia<span class="pl-k">/</span>stdlib<span class="pl-k">/</span>v0.<span class="pl-c1">7</span><span class="pl-k">/</span>REPL<span class="pl-k">/</span>src<span class="pl-k">/</span>REPL<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">187</span> [<span class="pl-c1">26</span>] <span class="pl-k">macro</span> expansion at <span class="pl-k">./</span>logging<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">299</span> [inlined] [<span class="pl-c1">27</span>] (<span class="pl-k">::</span><span class="pl-c1">getfield</span>(Base, <span class="pl-c1">Symbol</span>(<span class="pl-s"><span class="pl-pds">"</span>##823#825<span class="pl-pds">"</span></span>)){Bool,Bool,Bool,Bool})(<span class="pl-k">::</span><span class="pl-c1">Module</span>) at <span class="pl-k">./</span>client<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">347</span> [<span class="pl-c1">28</span>] <span class="pl-c"><span class="pl-c">#</span>invokelatest#1 at ./essentials.jl:660 [inlined]</span> [<span class="pl-c1">29</span>] invokelatest at <span class="pl-k">./</span>essentials<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">659</span> [inlined] [<span class="pl-c1">30</span>] <span class="pl-k">macro</span> expansion at <span class="pl-k">./</span>logging<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">296</span> [inlined] [<span class="pl-c1">31</span>] <span class="pl-c1">run_main_repl</span>(<span class="pl-k">::</span><span class="pl-c1">Bool</span>, <span class="pl-k">::</span><span class="pl-c1">Bool</span>, <span class="pl-k">::</span><span class="pl-c1">Bool</span>, <span class="pl-k">::</span><span class="pl-c1">Bool</span>, <span class="pl-k">::</span><span class="pl-c1">Bool</span>) at <span class="pl-k">./</span>client<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">335</span> [<span class="pl-c1">32</span>] <span class="pl-c1">exec_options</span>(<span class="pl-k">::</span><span class="pl-c1">Base.JLOptions</span>) at <span class="pl-k">./</span>client<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">247</span> [<span class="pl-c1">33</span>] <span class="pl-c1">_start</span>() at <span class="pl-k">./</span>client<span class="pl-k">.</span>jl<span class="pl-k">:</span><span class="pl-c1">427</span></pre></div> <p dir="auto">I don't think, it is a huge bug, but still kind of important in every-day usage. Because this happens already at definition (after hitting <code class="notranslate">Enter</code>).</p>
1
<p dir="auto">This isn't a critical problem :-).</p> <p dir="auto">If you accidentally launch a flutter app with <code class="notranslate">flutter run</code> and lib/main.dart is empty the reported error is not "you have an empty lib/main.dart file" but: "Could not prepare to run the isolate." etc.</p> <p dir="auto">I can say from personal experience that this is a little confusing.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Launching lib/main.dart on Nexus 5 in debug mode... Initializing gradle... 0.8s Resolving dependencies... 1.1s Running 'gradlew assembleDebug'... 9.8s Built build/app/outputs/apk/debug/app-debug.apk. Installing build/app/outputs/apk/app.apk... 12.1s E/flutter ( 5140): [ERROR:flutter/shell/common/engine.cc(158)] Could not prepare to run the isolate. E/flutter ( 5140): [ERROR:flutter/shell/common/engine.cc(117)] Engine not prepare and launch isolate. E/flutter ( 5140): [ERROR:flutter/shell/platform/android/android_shell_holder.cc(166)] Could not launch engine in configuration."><pre class="notranslate"><code class="notranslate">Launching lib/main.dart on Nexus 5 in debug mode... Initializing gradle... 0.8s Resolving dependencies... 1.1s Running 'gradlew assembleDebug'... 9.8s Built build/app/outputs/apk/debug/app-debug.apk. Installing build/app/outputs/apk/app.apk... 12.1s E/flutter ( 5140): [ERROR:flutter/shell/common/engine.cc(158)] Could not prepare to run the isolate. E/flutter ( 5140): [ERROR:flutter/shell/common/engine.cc(117)] Engine not prepare and launch isolate. E/flutter ( 5140): [ERROR:flutter/shell/platform/android/android_shell_holder.cc(166)] Could not launch engine in configuration. </code></pre></div>
<h2 dir="auto">Description</h2> <p dir="auto">A Scaffold assumes that it is always the height of the device, so when calculating the <code class="notranslate">contentBottom</code> in order to avoid the keyboard, it doesn't include its own offset from the bottom of the screen, resulting in blank space between the keyboard and the <code class="notranslate">body</code>.</p> <p dir="auto">This behavior occurred for me when attempting to nest scaffolds and create an ios-style BottomNavigationBar layout. The BottomNavigationBar is hosted via Scaffold, and within each tab, I'd like to use a scaffold for the appBar and keyboard avoidance logic.</p> <h2 dir="auto">Example</h2> <div dir="auto"> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1535001/49064602-c160e300-f25e-11e8-8136-e9f6485fe958.png"><img width="48%" alt="screen shot 2018-11-27 at 4 06 36 pm" src="https://user-images.githubusercontent.com/1535001/49064602-c160e300-f25e-11e8-8136-e9f6485fe958.png" style="max-width: 100%;"></a> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/1535001/49064604-c160e300-f25e-11e8-9693-076b1ca3ca65.png"><img width="48%" alt="screen shot 2018-11-27 at 4 07 55 pm" src="https://user-images.githubusercontent.com/1535001/49064604-c160e300-f25e-11e8-9693-076b1ca3ca65.png" style="max-width: 100%;"></a> </div> <h2 dir="auto">Proposed Solution</h2> <p dir="auto">On line <a href="https://github.com/flutter/flutter/blob/master/packages/flutter/lib/src/material/scaffold.dart#L332">332 in scaffold.dart</a>, we calculate the <code class="notranslate">contentBottom</code> using the <code class="notranslate">viewInsets.bottom</code> of the screen, but without subtracting the widget's own offset from the bottom of the screen. In my screenshots, there's a BottomNavigationBar of height <code class="notranslate">57 + viewInsets.bottom</code> behind the keyboard, so the extra space is equal to <code class="notranslate">57 + viewInsets.bottom</code> points.</p> <p dir="auto">I'm not quite sure where we'd be able to grab the screen height, but if we could get the screen height, the correct minInsets.bottom calculation would be be <code class="notranslate">viewInsets.bottom - (screenHeight - widgetHeight)</code>.</p> <h2 dir="auto">Work Around</h2> <p dir="auto">My workaround at the moment is to make sure that all scaffolds are indeed full screen by putting them in a stack and giving them an empty <code class="notranslate">bottomNavigationBar</code> container.</p> <p dir="auto">(for context, <code class="notranslate">SwitchStack</code> is just a Stack with Offstage/TickerMode children, and <code class="notranslate">BetterNavigationBar</code> is a simple <code class="notranslate">Row</code> of <code class="notranslate">IconButton</code>s)</p> <div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" Widget build(BuildContext context) { return Material( child: Stack( children: &lt;Widget&gt;[ SwitchStack( children: paths .map((p) =&gt; FocusScope(node: nodes[p], child: routes[p])) .toList(), index: currentIndex, ), Align( alignment: Alignment.bottomCenter, child: BetterNavigationBar( currentIndex: currentIndex, onTap: _handleItemSelected, items: [ _buildTabItem(Icons.crop_square, &quot;Spaces&quot;), _buildTabItem(Icons.donut_large, &quot;Circles&quot;), _buildTabItem(Icons.add, &quot;Action&quot;), _buildTabItem(Icons.format_align_justify, &quot;Lines&quot;), _buildTabItem(Icons.account_circle, &quot;Dot&quot;), ], ), ), ], ), ); }"><pre class="notranslate"> <span class="pl-c1">Widget</span> <span class="pl-en">build</span>(<span class="pl-c1">BuildContext</span> context) { <span class="pl-k">return</span> <span class="pl-c1">Material</span>( child<span class="pl-k">:</span> <span class="pl-c1">Stack</span>( children<span class="pl-k">:</span> <span class="pl-k">&lt;</span><span class="pl-c1">Widget</span><span class="pl-k">&gt;</span>[ <span class="pl-c1">SwitchStack</span>( children<span class="pl-k">:</span> paths .<span class="pl-en">map</span>((p) <span class="pl-k">=&gt;</span> <span class="pl-c1">FocusScope</span>(node<span class="pl-k">:</span> nodes[p], child<span class="pl-k">:</span> routes[p])) .<span class="pl-en">toList</span>(), index<span class="pl-k">:</span> currentIndex, ), <span class="pl-c1">Align</span>( alignment<span class="pl-k">:</span> <span class="pl-c1">Alignment</span>.bottomCenter, child<span class="pl-k">:</span> <span class="pl-c1">BetterNavigationBar</span>( currentIndex<span class="pl-k">:</span> currentIndex, onTap<span class="pl-k">:</span> _handleItemSelected, items<span class="pl-k">:</span> [ <span class="pl-en">_buildTabItem</span>(<span class="pl-c1">Icons</span>.crop_square, <span class="pl-s">"Spaces"</span>), <span class="pl-en">_buildTabItem</span>(<span class="pl-c1">Icons</span>.donut_large, <span class="pl-s">"Circles"</span>), <span class="pl-en">_buildTabItem</span>(<span class="pl-c1">Icons</span>.add, <span class="pl-s">"Action"</span>), <span class="pl-en">_buildTabItem</span>(<span class="pl-c1">Icons</span>.format_align_justify, <span class="pl-s">"Lines"</span>), <span class="pl-en">_buildTabItem</span>(<span class="pl-c1">Icons</span>.account_circle, <span class="pl-s">"Dot"</span>), ], ), ), ], ), ); }</pre></div> <p dir="auto">and each one of those routes renders something like</p> <div class="highlight highlight-source-dart notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" @override Widget build(BuildContext context) { return Scaffold( appBar: appBar, body: body, bottomNavigationBar: Container( height: kBottomNavigationBarHeight + MediaQuery.of(context).padding.bottom, color: Colors.transparent, ), ); }"><pre class="notranslate"> <span class="pl-k">@override</span> <span class="pl-c1">Widget</span> <span class="pl-en">build</span>(<span class="pl-c1">BuildContext</span> context) { <span class="pl-k">return</span> <span class="pl-c1">Scaffold</span>( appBar<span class="pl-k">:</span> appBar, body<span class="pl-k">:</span> body, bottomNavigationBar<span class="pl-k">:</span> <span class="pl-c1">Container</span>( height<span class="pl-k">:</span> kBottomNavigationBarHeight <span class="pl-k">+</span> <span class="pl-c1">MediaQuery</span>.<span class="pl-en">of</span>(context).padding.bottom, color<span class="pl-k">:</span> <span class="pl-c1">Colors</span>.transparent, ), ); }</pre></div> <h2 dir="auto"><code class="notranslate">flutter doctor -v</code></h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[✓] Flutter (Channel beta, v0.11.3, on Mac OS X 10.13.6 17G65, locale en-US) • Flutter version 0.11.3 at /Users/matt/.flutter-sdk • Framework revision 72bf075e8d (2 weeks ago), 2018-11-09 20:36:17 -0800 • Engine revision 5646e86a6f • Dart version 2.1.0 (build 2.1.0-dev.9.3 9c07fb64c4) [✓] Android toolchain - develop for Android devices (Android SDK 28.0.3) • Android SDK at /Users/matt/Library/Android/sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-28, build-tools 28.0.3 • ANDROID_HOME = /Users/matt/Library/Android/sdk • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06) • All Android licenses accepted. [✓] iOS toolchain - develop for iOS devices (Xcode 10.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 10.1, Build version 10B61 • ios-deploy 2.0.0 • CocoaPods version 1.5.3 [✓] Android Studio (version 3.2) • Android Studio at /Applications/Android Studio.app/Contents ✗ Flutter plugin not installed; this adds Flutter specific functionality. ✗ Dart plugin not installed; this adds Dart specific functionality. • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06) [✓] VS Code (version 1.29.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 2.20.0 [✓] Connected device (1 available) • Rose iPhone • 1af0c70e23fe6c60e7f570442a106b3ea6e33db0 • ios • iOS 12.1 • No issues found!"><pre class="notranslate"><code class="notranslate">[✓] Flutter (Channel beta, v0.11.3, on Mac OS X 10.13.6 17G65, locale en-US) • Flutter version 0.11.3 at /Users/matt/.flutter-sdk • Framework revision 72bf075e8d (2 weeks ago), 2018-11-09 20:36:17 -0800 • Engine revision 5646e86a6f • Dart version 2.1.0 (build 2.1.0-dev.9.3 9c07fb64c4) [✓] Android toolchain - develop for Android devices (Android SDK 28.0.3) • Android SDK at /Users/matt/Library/Android/sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-28, build-tools 28.0.3 • ANDROID_HOME = /Users/matt/Library/Android/sdk • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06) • All Android licenses accepted. [✓] iOS toolchain - develop for iOS devices (Xcode 10.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 10.1, Build version 10B61 • ios-deploy 2.0.0 • CocoaPods version 1.5.3 [✓] Android Studio (version 3.2) • Android Studio at /Applications/Android Studio.app/Contents ✗ Flutter plugin not installed; this adds Flutter specific functionality. ✗ Dart plugin not installed; this adds Dart specific functionality. • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b06) [✓] VS Code (version 1.29.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Flutter extension version 2.20.0 [✓] Connected device (1 available) • Rose iPhone • 1af0c70e23fe6c60e7f570442a106b3ea6e33db0 • ios • iOS 12.1 • No issues found! </code></pre></div>
0
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/mui-org/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li> </ul> <h2 dir="auto">Expected Behavior</h2> <p dir="auto">Due to the somewhat slow behaviour when using controlled textfields, I'm currently trying to use uncontrolled textfields. My first idea was to simply use <code class="notranslate">setState</code> in the onChange event handler to update the state.</p> <p dir="auto">Basically, the code looks like this:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;TextField placeholder=&quot;Text here&quot; onChange={this.handleAnswer(&quot;foo&quot;).bind(this)} /&gt;"><pre class="notranslate"><code class="notranslate">&lt;TextField placeholder="Text here" onChange={this.handleAnswer("foo").bind(this)} /&gt; </code></pre></div> <p dir="auto">The event handler currently looks like this to make sure it's <code class="notranslate">setState()</code> which causes the problem:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="handleAnswer = id =&gt; event =&gt; { this.setState({ test: event.target.value }); }"><pre class="notranslate"><code class="notranslate">handleAnswer = id =&gt; event =&gt; { this.setState({ test: event.target.value }); } </code></pre></div> <p dir="auto">What I expect to see is that the state property "test" is set to the value of the textfield.</p> <h2 dir="auto">Current Behavior</h2> <p dir="auto">The event handler gets called once, which sets the state to the key pressed. However, said character does not appear in the textfield and the field immediately loses focus afterwards.</p> <p dir="auto">What gets me is that the same code works just fine for a RadioButton.</p> <h2 dir="auto">Steps to Reproduce (for bugs)</h2> <p dir="auto">The non-working code is provided above.</p> <h2 dir="auto">Context</h2> <p dir="auto">Currently, controlled textfields are very slow. I'll have to make do with <code class="notranslate">ref</code>s then.</p> <h2 dir="auto">Your Environment</h2> <table role="table"> <thead> <tr> <th>Tech</th> <th>Version</th> </tr> </thead> <tbody> <tr> <td>Material-UI</td> <td>1.0.0-beta.30</td> </tr> <tr> <td>React</td> <td>16.2.0</td> </tr> <tr> <td>browser</td> <td>Edge, Firefox, Chrome, Safari</td> </tr> </tbody> </table>
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/mui-org/material-ui/issues">issues</a> of this repository and believe that this is not a duplicate.</li> </ul> <h2 dir="auto">Expected Behavior</h2> <p dir="auto">Popover renders within the context of the anchorEl document.</p> <h2 dir="auto">Current Behavior</h2> <p dir="auto">Popover will render in the global document unless an explicit container prop is passed to the popover</p> <h2 dir="auto">Steps to Reproduce (for bugs)</h2> <p dir="auto">See <a href="https://codesandbox.io/s/6lqo45vzvk" rel="nofollow">https://codesandbox.io/s/6lqo45vzvk</a> which is a demo I setup for <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="291716591" data-permission-text="Title is private" data-url="https://github.com/mui/material-ui/issues/10037" data-hovercard-type="issue" data-hovercard-url="/mui/material-ui/issues/10037/hovercard" href="https://github.com/mui/material-ui/issues/10037">#10037</a>, which includes an explicit container prop (which is clunky).</p> <h2 dir="auto">Context</h2> <p dir="auto">The changes made in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="284463354" data-permission-text="Title is private" data-url="https://github.com/mui/material-ui/issues/9613" data-hovercard-type="pull_request" data-hovercard-url="/mui/material-ui/pull/9613/hovercard" href="https://github.com/mui/material-ui/pull/9613">#9613</a> have been a great step forward in the right direction, and have largely fixed the issues I was having with rendering MUI components in a separate window (many thanks!!! 🎉). However any component that relies on Popover still has issues, as the container used when creating the Portal defaults to the global <code class="notranslate">document.body</code> object, instead of respecting the <code class="notranslate">document.body</code> containing the <code class="notranslate">anchorEl</code> prop.</p> <h2 dir="auto">Your Environment</h2> <table role="table"> <thead> <tr> <th>Tech</th> <th>Version</th> </tr> </thead> <tbody> <tr> <td>Material-UI</td> <td>1.0.0-beta.30</td> </tr> <tr> <td>React</td> <td>16</td> </tr> <tr> <td>browser</td> <td>all</td> </tr> <tr> <td>etc</td> <td></td> </tr> </tbody> </table>
0
<p dir="auto">Completion shouldn't appear after "type" when typing a type alias.</p>
<div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="type lol/*$*/"><pre class="notranslate"><span class="pl-k">type</span> <span class="pl-s1">lol</span><span class="pl-c">/*$*/</span></pre></div> <p dir="auto">now press space, and get <code class="notranslate">HTMLOListElement</code>.</p>
1
<ul dir="auto"> <li>Electron version: v1.3.3</li> <li>Operating system :win 10 x64</li> <li>Node version: v4.4.5</li> <li>npm version: v2.15.5</li> </ul> <p dir="auto">I tried to debug my main process.</p> <p dir="auto">Just follow the <a href="http://electron.atom.io/docs/tutorial/quick-start/#quick-start" rel="nofollow">Quick Start</a>, and <a href="http://electron.atom.io/docs/tutorial/debugging-main-process/#command-line-switches" rel="nofollow">Debugging Doc</a></p> <p dir="auto">My command line:<br> <code class="notranslate">"node_modules/.bin/electron" --debug-brk=5858 .</code><br> It then just run app while no debug-things happening.It seems the --debug-brk options didn't work.</p> <p dir="auto">I then try to <a href="http://electron.atom.io/docs/tutorial/debugging-main-process/#use-node-inspector-for-debugging" rel="nofollow">compile node-inspector</a> and another problem came up:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="D:\elec-debug&gt;&quot;node_modules/.bin/node-pre-gyp&quot; --target=1.3.3 --runtime=electron --fallback-to-build --directory node_modules/node-inspector/node_modules/v8-debug/ --dist-url=https://atom.io/download/atom-shell reinstall node-pre-gyp info it worked if it ends with ok node-pre-gyp info using [email protected] node-pre-gyp info using [email protected] | win32 | x64 node-pre-gyp info chdir node_modules/node-inspector/node_modules/v8-debug/ node-pre-gyp info check checked for &quot;D:\elec-debug\node_modules\node-inspector\node_modules\v8-debug\build\debug\v0.7.7\electron-v1.3-win32-x64\debug.node&quot; (not found) node-pre-gyp http GET https://node-inspector.s3.amazonaws.com/debug/v0.7.7/electron-v1.3-win32-x64.tar.gz node-pre-gyp http 404 https://node-inspector.s3.amazonaws.com/debug/v0.7.7/electron-v1.3-win32-x64.tar.gz node-pre-gyp ERR! Tried to download: https://node-inspector.s3.amazonaws.com/debug/v0.7.7/electron-v1.3-win32-x64.tar.gz node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (electron-v1.3 ABI) (falling back to source compile with node-gyp) node-pre-gyp http Pre-built binary not available for your system, looked for https://node-inspector.s3.amazonaws.com/debug/v0.7.7/electron-v1.3-win32-x64.tar.gz node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute 'node-gyp.cmd clean' (Error: spawn node-gyp.cmd ENOENT) node-pre-gyp ERR! stack at ChildProcess.&lt;anonymous&gt; (D:\elec-debug\node_modules\node-pre-gyp\lib\util\compile.js:77:29) node-pre-gyp ERR! stack at emitOne (events.js:77:13) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:169:7) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12) node-pre-gyp ERR! stack at onErrorNT (internal/child_process.js:344:16) node-pre-gyp ERR! stack at nextTickCallbackWith2Args (node.js:442:9) node-pre-gyp ERR! stack at process._tickCallback (node.js:356:17) node-pre-gyp ERR! System Windows_NT 10.0.10586 node-pre-gyp ERR! command &quot;C:\\Program Files\\nodejs\\node.exe&quot; &quot;D:\\elec-debug\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp&quot; &quot;--target=1.3.3&quot; &quot;--runtime=electron&quot; &quot;--fallback-to-build&quot; &quot;--directory&quot; &quot;node_modules/node-inspector/node_modules/v8-debug/&quot; &quot;--dist-url=https://atom.io/download/atom-shell&quot; &quot;reinstall&quot; node-pre-gyp ERR! cwd D:\elec-debug\node_modules\node-inspector\node_modules\v8-debug node-pre-gyp ERR! node -v v4.4.5 node-pre-gyp ERR! node-pre-gyp -v v0.6.29 node-pre-gyp ERR! not ok Failed to execute 'node-gyp.cmd clean' (Error: spawn node-gyp.cmd ENOENT)"><pre class="notranslate"><code class="notranslate">D:\elec-debug&gt;"node_modules/.bin/node-pre-gyp" --target=1.3.3 --runtime=electron --fallback-to-build --directory node_modules/node-inspector/node_modules/v8-debug/ --dist-url=https://atom.io/download/atom-shell reinstall node-pre-gyp info it worked if it ends with ok node-pre-gyp info using [email protected] node-pre-gyp info using [email protected] | win32 | x64 node-pre-gyp info chdir node_modules/node-inspector/node_modules/v8-debug/ node-pre-gyp info check checked for "D:\elec-debug\node_modules\node-inspector\node_modules\v8-debug\build\debug\v0.7.7\electron-v1.3-win32-x64\debug.node" (not found) node-pre-gyp http GET https://node-inspector.s3.amazonaws.com/debug/v0.7.7/electron-v1.3-win32-x64.tar.gz node-pre-gyp http 404 https://node-inspector.s3.amazonaws.com/debug/v0.7.7/electron-v1.3-win32-x64.tar.gz node-pre-gyp ERR! Tried to download: https://node-inspector.s3.amazonaws.com/debug/v0.7.7/electron-v1.3-win32-x64.tar.gz node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (electron-v1.3 ABI) (falling back to source compile with node-gyp) node-pre-gyp http Pre-built binary not available for your system, looked for https://node-inspector.s3.amazonaws.com/debug/v0.7.7/electron-v1.3-win32-x64.tar.gz node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute 'node-gyp.cmd clean' (Error: spawn node-gyp.cmd ENOENT) node-pre-gyp ERR! stack at ChildProcess.&lt;anonymous&gt; (D:\elec-debug\node_modules\node-pre-gyp\lib\util\compile.js:77:29) node-pre-gyp ERR! stack at emitOne (events.js:77:13) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:169:7) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:198:12) node-pre-gyp ERR! stack at onErrorNT (internal/child_process.js:344:16) node-pre-gyp ERR! stack at nextTickCallbackWith2Args (node.js:442:9) node-pre-gyp ERR! stack at process._tickCallback (node.js:356:17) node-pre-gyp ERR! System Windows_NT 10.0.10586 node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "D:\\elec-debug\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "--target=1.3.3" "--runtime=electron" "--fallback-to-build" "--directory" "node_modules/node-inspector/node_modules/v8-debug/" "--dist-url=https://atom.io/download/atom-shell" "reinstall" node-pre-gyp ERR! cwd D:\elec-debug\node_modules\node-inspector\node_modules\v8-debug node-pre-gyp ERR! node -v v4.4.5 node-pre-gyp ERR! node-pre-gyp -v v0.6.29 node-pre-gyp ERR! not ok Failed to execute 'node-gyp.cmd clean' (Error: spawn node-gyp.cmd ENOENT) </code></pre></div> <p dir="auto">After that I tried to download <em>electron-v1.3-win32-x64.tar.gz</em> manually from chrome and it failed with a message:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;Error&gt; &lt;Code&gt;NoSuchKey&lt;/Code&gt; &lt;Message&gt;The specified key does not exist.&lt;/Message&gt; &lt;Key&gt;debug/v0.7.7/electron-v1.3-win32-x64.tar.gz&lt;/Key&gt; &lt;RequestId&gt;38C59D12A7CA4B80&lt;/RequestId&gt; &lt;HostId&gt; XoNYuGC1Cacwa9wVT6d/lW4Oyj99RQQJWPzRqBSdnva6o7qHs3c94at0NiOjiBDq206ZfyDfad4= &lt;/HostId&gt; &lt;/Error&gt;"><pre class="notranslate"><code class="notranslate">&lt;Error&gt; &lt;Code&gt;NoSuchKey&lt;/Code&gt; &lt;Message&gt;The specified key does not exist.&lt;/Message&gt; &lt;Key&gt;debug/v0.7.7/electron-v1.3-win32-x64.tar.gz&lt;/Key&gt; &lt;RequestId&gt;38C59D12A7CA4B80&lt;/RequestId&gt; &lt;HostId&gt; XoNYuGC1Cacwa9wVT6d/lW4Oyj99RQQJWPzRqBSdnva6o7qHs3c94at0NiOjiBDq206ZfyDfad4= &lt;/HostId&gt; &lt;/Error&gt; </code></pre></div> <p dir="auto">First question, is <em>node-inspector</em> necessary to debug electron?<br> And how can I debug electron main process now?</p>
<ul dir="auto"> <li>Electron version: 1.3.0</li> <li>Operating system: OS X 10.11.6</li> </ul> <p dir="auto">I'm trying to use VSCode to debug Electron's main process.</p> <p dir="auto">So I cloned <a href="https://github.com/electron/electron-quick-start">https://github.com/electron/electron-quick-start</a><br> Setup VSCode debugging in <code class="notranslate">.vscode/launch.json</code>.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{ &quot;version&quot;: &quot;0.2.0&quot;, &quot;configurations&quot;: [ { &quot;name&quot;: &quot;Attach&quot;, &quot;type&quot;: &quot;node&quot;, &quot;request&quot;: &quot;attach&quot;, &quot;port&quot;: 5858, &quot;sourceMaps&quot;: false } ]"><pre class="notranslate"><code class="notranslate">{ "version": "0.2.0", "configurations": [ { "name": "Attach", "type": "node", "request": "attach", "port": 5858, "sourceMaps": false } ] </code></pre></div> <p dir="auto">Now I run <code class="notranslate">./node_modules/.bin/electron --debug-brk=5858 main.js</code>, then using VSCode to attach to the process.</p> <h3 dir="auto">main.js (simplified from <code class="notranslate">electron/electron-quick-start</code>):</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="const electron = require('electron') const app = electron.app const BrowserWindow = electron.BrowserWindow // BREAKPOINT let mainWindow function createWindow () { mainWindow = new BrowserWindow({width: 800, height: 600}) // BREAKPOINT mainWindow.loadURL(`file://${__dirname}/index.html`) mainWindow.on('closed', function () { mainWindow = null }) } app.on('ready', createWindow) app.on('window-all-closed', function () { if (process.platform !== 'darwin') { app.quit() } }) app.on('activate', function () { if (mainWindow === null) { createWindow() } })"><pre class="notranslate"><code class="notranslate">const electron = require('electron') const app = electron.app const BrowserWindow = electron.BrowserWindow // BREAKPOINT let mainWindow function createWindow () { mainWindow = new BrowserWindow({width: 800, height: 600}) // BREAKPOINT mainWindow.loadURL(`file://${__dirname}/index.html`) mainWindow.on('closed', function () { mainWindow = null }) } app.on('ready', createWindow) app.on('window-all-closed', function () { if (process.platform !== 'darwin') { app.quit() } }) app.on('activate', function () { if (mainWindow === null) { createWindow() } }) </code></pre></div> <p dir="auto">VSCode attaches correctly, but it misses the two breakpoints in the initial run.<br> However, if I then close the Renderer window, and click the dock icon again, I'm able to hit the breakpoint in <code class="notranslate">createWindow</code>.</p> <p dir="auto">I'm expecting with <code class="notranslate">--debug-brk=5858</code>, it should break on this line:<br> <code class="notranslate">const electron = require('electron')</code><br> And then after attaching the process, I should be able to step through from there.<br> But Electron just goes on to create the Renderer window.<br> Any idea how I can get it to stop at the first line of script, as the documentation says?</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/4033249/17127918/f3a13696-52bd-11e6-8e99-029cd23dae5b.png"><img width="851" alt="screen shot 2016-07-25 at 11 17 09 pm" src="https://cloud.githubusercontent.com/assets/4033249/17127918/f3a13696-52bd-11e6-8e99-029cd23dae5b.png" style="max-width: 100%;"></a></p>
1
<p dir="auto">I use Atom 0.192 and i write vietnamese text (markdown) with UTF-8, when i put my cursor to the text line, It not true,It deviated from a word which i want</p>
<p dir="auto">Halp ticket:</p> <ul dir="auto"> <li>support/e61e5074bc3011e396a434cf997499c3</li> </ul> <blockquote> <p dir="auto">Support for Unicode is incomplete. Unicode characters are shown, but the cursor get stuck, and the navigation with the keyboard arrows stop working.</p> </blockquote> <p dir="auto">The user was using this string as an example <code class="notranslate">ג׳ג׳ג׳dwdwdww</code></p> <p dir="auto">Here's a GIF of me pressing just the right arrow key to get from the beginning of the string to the end:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/38924/2644705/38820a02-bf2b-11e3-8c5c-917400a391d1.gif"><img src="https://cloud.githubusercontent.com/assets/38924/2644705/38820a02-bf2b-11e3-8c5c-917400a391d1.gif" alt="test1006" data-animated-image="" style="max-width: 100%;"></a></p>
1
<p dir="auto">I'm on Ubuntu 15.04 and Atom 0.200.0. Whenever I try to open a file via File -&gt; Open File, I am given a file chooser in my "recent files" directory. What I really want is to open another file from the current directory.</p> <p dir="auto">Has anyone else seen this?</p>
<p dir="auto">This is exactly the same issue as <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="43756995" data-permission-text="Title is private" data-url="https://github.com/atom/atom/issues/3618" data-hovercard-type="issue" data-hovercard-url="/atom/atom/issues/3618/hovercard" href="https://github.com/atom/atom/issues/3618">#3618</a> . I'm re-submitting an issue because the old fix does not work anymore as a result of AtomWindow.projectPath no longer existing (assumed to be the result of <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="18744196" data-permission-text="Title is private" data-url="https://github.com/atom/atom/issues/770" data-hovercard-type="issue" data-hovercard-url="/atom/atom/issues/770/hovercard" href="https://github.com/atom/atom/issues/770">#770</a> where multiple project paths are now supported.</p> <p dir="auto">I was unable to figure out how to get console.log statements or errors reported to the dev console. If someone can shed some light on how to get that working, then I can submit a PR.</p>
1
<p dir="auto">React batches all component updates if they become dirty during an event-callback (events are also batched). However, this is not exposed for use with external events, such as <code class="notranslate">setTimeout</code>, <code class="notranslate">addEventHandler</code>, AJAX-replies, non-React DOM events or any other events, and it seems only natural that it should extend to those too.</p> <p dir="auto">I see two obvious solutions:</p> <p dir="auto"><strong>Export <code class="notranslate">React.batchedUpdates(callback, param)</code></strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="setTimeout(function() { React.batchedUpdates(function() { ... }.bind(this)); }); setTimeout(React.batchedUpdates.bind(null, function() { ... }.bind(this));"><pre class="notranslate"><code class="notranslate">setTimeout(function() { React.batchedUpdates(function() { ... }.bind(this)); }); setTimeout(React.batchedUpdates.bind(null, function() { ... }.bind(this)); </code></pre></div> <p dir="auto"><strong>Export a callback factory <code class="notranslate">React.batchedCallback(callback, args...)</code></strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="setTimeout(React.batchedCallback(function() { ... }.bind(this));"><pre class="notranslate"><code class="notranslate">setTimeout(React.batchedCallback(function() { ... }.bind(this)); </code></pre></div> <p dir="auto">Thoughts?</p> <p dir="auto">I'm guessing this belongs with <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="19153062" data-permission-text="Title is private" data-url="https://github.com/facebook/react/issues/326" data-hovercard-type="issue" data-hovercard-url="/facebook/react/issues/326/hovercard" href="https://github.com/facebook/react/issues/326">#326</a></p>
<p dir="auto">Ember has a similar Ember.run -- perhaps we should do something to mirror it? They also have helpers like Ember.run.later which is a replacement for setTimeout with better batching:</p> <p dir="auto"><a href="http://emberjs.com/api/classes/Ember.run.html" rel="nofollow">http://emberjs.com/api/classes/Ember.run.html</a></p>
1
<p dir="auto"><a href="https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/pr-logs/pull/30577/kubernetes-pull-build-test-e2e-gce/54998/" rel="nofollow">https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/pr-logs/pull/30577/kubernetes-pull-build-test-e2e-gce/54998/</a></p> <p dir="auto">Failed: [k8s.io] Job should scale a job down {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:127 Aug 20 16:09:43.973: Couldn't delete ns &quot;e2e-tests-job-x4mg0&quot;: namespace e2e-tests-job-x4mg0 was not deleted within limit: timed out waiting for the condition, pods remaining: [] /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:265"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:127 Aug 20 16:09:43.973: Couldn't delete ns "e2e-tests-job-x4mg0": namespace e2e-tests-job-x4mg0 was not deleted within limit: timed out waiting for the condition, pods remaining: [] /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:265 </code></pre></div> <p dir="auto">Happened on a presubmit run in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="171031129" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/30577" data-hovercard-type="pull_request" data-hovercard-url="/kubernetes/kubernetes/pull/30577/hovercard" href="https://github.com/kubernetes/kubernetes/pull/30577">#30577</a>.</p> <p dir="auto">Previous issues for this test: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="165953647" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/29066" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/29066/hovercard" href="https://github.com/kubernetes/kubernetes/issues/29066">#29066</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="171067548" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/30592" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/30592/hovercard" href="https://github.com/kubernetes/kubernetes/issues/30592">#30592</a></p>
<p dir="auto"><a href="https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gce/21728/" rel="nofollow">https://k8s-gubernator.appspot.com/build/kubernetes-jenkins/logs/kubernetes-e2e-gce/21728/</a></p> <p dir="auto">Failed: [k8s.io] V1Job should scale a job up {Kubernetes e2e suite}</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:127 Aug 16 08:11:16.645: Couldn't delete ns &quot;e2e-tests-v1job-gmj3l&quot;: namespace e2e-tests-v1job-gmj3l was not deleted within limit: timed out waiting for the condition, pods remaining: [] /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:265"><pre class="notranslate"><code class="notranslate">/go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:127 Aug 16 08:11:16.645: Couldn't delete ns "e2e-tests-v1job-gmj3l": namespace e2e-tests-v1job-gmj3l was not deleted within limit: timed out waiting for the condition, pods remaining: [] /go/src/k8s.io/kubernetes/_output/dockerized/go/src/k8s.io/kubernetes/test/e2e/framework/framework.go:265 </code></pre></div> <p dir="auto">Previous issues for this test: <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="169069185" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/29976" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/29976/hovercard" href="https://github.com/kubernetes/kubernetes/issues/29976">#29976</a> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="170717834" data-permission-text="Title is private" data-url="https://github.com/kubernetes/kubernetes/issues/30464" data-hovercard-type="issue" data-hovercard-url="/kubernetes/kubernetes/issues/30464/hovercard" href="https://github.com/kubernetes/kubernetes/issues/30464">#30464</a></p>
1
<p dir="auto"><strong>I'm submitting a ...</strong> (check one with "x")</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[x] bug report =&gt; search github for a similar issue or PR before submitting [ ] feature request [ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question"><pre class="notranslate"><code class="notranslate">[x] bug report =&gt; search github for a similar issue or PR before submitting [ ] feature request [ ] support request =&gt; Please do not submit support request here, instead see https://github.com/angular/angular/blob/master/CONTRIBUTING.md#question </code></pre></div> <p dir="auto"><strong>Current behavior</strong></p> <p dir="auto">Currently when I have and SVG in the HTML of an Angular 2 page it does not render responsively (Width of container and resize with container).</p> <p dir="auto"><strong>Expected behavior</strong></p> <p dir="auto">When I add an SVG to the HTML using ngOnInit it behaves correctly. The SVG is full width and resizes with the window.</p> <p dir="auto"><strong>Reproduction of the problem</strong><br> I created the following plunkr that displays the non responsive SVG as well as the dynamically added SVG that is responsive.<br> <a href="https://plnkr.co/edit/yvcO7C6O3nRGNowQPmAA?p=preview" rel="nofollow">https://plnkr.co/edit/yvcO7C6O3nRGNowQPmAA?p=preview</a></p> <p dir="auto"><strong>What is the motivation / use case for changing the behavior?</strong><br> I would like to be able to have the SVG in the HTML so I can have a declarative way for binding information in the SVG to the Angular Module. This was possible in Angular 1.</p> <p dir="auto"><strong>Please tell us about your environment:</strong><br> I first experienced this issue in an Ionic 2 application but have been able to duplicate it in a plnkr.</p> <ul dir="auto"> <li><strong>Angular version:</strong> 2.0.0-beta.17</li> <li><strong>Browser:</strong><br> Chrome Version 52.0.2743.116 (64-bit), 53.0.2785.101 (64-bit) | Firefox 36.0.1, 47.0, 48.0.2 | Safari Version 9.1.3 (11601.7.8) |</li> <li><strong>Language:</strong><br> TypeScript</li> </ul>
<p dir="auto">Most developer workflows are based around CJS (Browserify or WebPack) and not System.js. Since System.js can consume cjs bundles, I suggest we replace our System.register bundle with a CJS bundle. In this case, developers that use Browserify or WebPack will be able to use it, and it should still work with System.</p> <p dir="auto">Notes:</p> <ul dir="auto"> <li>System.register has a lot of overhead comparing to CJS. My naive measurements showed the difference is about 18%.</li> <li>When using a CJS bundle, you cannot important submodudles, only "angular2/angular2". I think this is an advantage cause it prevents users from depending on private API.</li> </ul> <p dir="auto">Finally, once we produce a CJS bundle, I think we should change our Getting Started guide to use WebPack instead of System.js. The reason is WebPack provides a lot better experience out of the box (including TypeScript and Babel).</p> <p dir="auto">The WebPack config for an Angular 2 project written with TypeScript is about 10 lines long:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="module.exports = { resolve: { root: __dirname, extensions: ['.ts', '.js'] }, entry: [&quot;webpackapp&quot;], output: {filename: &quot;webappapp_bundle.js&quot;}, externals: {'angular2/angular2': &quot;angular2&quot;}, devtool: 'source-map', module: { loaders: [ { test: /\.ts$/, loader: 'ts-loader' } ] } }"><pre class="notranslate"><code class="notranslate">module.exports = { resolve: { root: __dirname, extensions: ['.ts', '.js'] }, entry: ["webpackapp"], output: {filename: "webappapp_bundle.js"}, externals: {'angular2/angular2': "angular2"}, devtool: 'source-map', module: { loaders: [ { test: /\.ts$/, loader: 'ts-loader' } ] } } </code></pre></div> <p dir="auto">You get source maps, dev server with live reload, production/dev modes -- a very good first impression and a clear path to production setting.</p> <p dir="auto">/cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/IgorMinar/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/IgorMinar">@IgorMinar</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mhevery/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mhevery">@mhevery</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/rkirov/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/rkirov">@rkirov</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/jeffbcross/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/jeffbcross">@jeffbcross</a></p>
0
<p dir="auto"><strong>Atom 0.209.0 on OS X Yosemite and El Capitan Beta</strong><br> As the title indicates, the Packages list in Atom Settings always show a package named ".bin". No Atom feature is negatively affected by this bug.</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/8125011/8151361/a2dc64c6-12d9-11e5-9feb-363a2e9a00c0.png"><img src="https://cloud.githubusercontent.com/assets/8125011/8151361/a2dc64c6-12d9-11e5-9feb-363a2e9a00c0.png" alt="image" style="max-width: 100%;"></a></p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/8125011/8151333/cbeaaebe-12d8-11e5-9bec-8e9d5f05fa0b.png"><img src="https://cloud.githubusercontent.com/assets/8125011/8151333/cbeaaebe-12d8-11e5-9bec-8e9d5f05fa0b.png" alt="image" style="max-width: 100%;"></a></p> <h4 dir="auto"><code class="notranslate">atbuild</code> file content</h4> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="#! /usr/bin/env node require('./atbuild.js');"><pre class="notranslate">#! /usr/bin/env node <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'./atbuild.js'</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">If you need any information that I can provide, please let me know.</p>
<p dir="auto">Soon after the new settings view was included, I noticed this odd item:</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/835148/5810676/3dce3714-a018-11e4-980e-30126bab9d21.png"><img src="https://cloud.githubusercontent.com/assets/835148/5810676/3dce3714-a018-11e4-980e-30126bab9d21.png" alt="screen shot 2015-01-19 at 2 40 11 pm" style="max-width: 100%;"></a></p> <p dir="auto">Which seems to be related to autoprefixer package. See also <a href="https://discuss.atom.io/t/whats-this-bin-package/14355/7" rel="nofollow">https://discuss.atom.io/t/whats-this-bin-package/14355/7</a> for the initial thread.</p>
1
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-comment-your-javascript-code" rel="nofollow">http://www.freecodecamp.com/challenges/waypoint-comment-your-javascript-code</a> has an issue. Please describe how to reproduce it, and include links to screenshots if possible.</p> <p dir="auto">It shows the following...<br> "undefined</p> <p dir="auto">assert(editor.getValue().match(/(//)...../g), 'Create a // style comment that contains at least five letters');Create a // style comment that contains at least five letters<br> assert(editor.getValue().match(/(/<em>)...../g), 'Create a /</em> */ style comment that contains at least five letters.');Create a /* _/ style comment that contains at least five letters.<br> assert(editor.getValue().match(/(_/)/g), 'Make sure that you close the comment with a */');Make sure that you close the comment with a */"<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/13310037/9453664/b7e51d94-4a70-11e5-9032-4da977983252.png"><img width="419" alt="screen shot 2015-08-24 at 2 59 03 pm" src="https://cloud.githubusercontent.com/assets/13310037/9453664/b7e51d94-4a70-11e5-9032-4da977983252.png" style="max-width: 100%;"></a></p>
<p dir="auto">Challenge <a href="http://www.freecodecamp.com/challenges/waypoint-comment-your-javascript-code" rel="nofollow">http://www.freecodecamp.com/challenges/waypoint-comment-your-javascript-code</a> has an issue. Please describe how to reproduce it, and include links to screenshots if possible.</p> <p dir="auto">Left side error checking seems wrong</p> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/6602253/9322092/8ff4273c-4523-11e5-8b61-72997748f789.png"><img src="https://cloud.githubusercontent.com/assets/6602253/9322092/8ff4273c-4523-11e5-8b61-72997748f789.png" alt="comment your javascript code" style="max-width: 100%;"></a></p>
1
<p dir="auto">Hey, Three team. I'm reporting a bug happening on Chromium-based browsers preventing Custom Fonts(TTF converted to JSON with <a href="https://gero3.github.io/facetype.js/" rel="nofollow">https://gero3.github.io/facetype.js/</a>) to be displayed and throwing the following error:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="THREE.Object3D.add: object not an instance of THREE.Object3D"><pre class="notranslate"><code class="notranslate">THREE.Object3D.add: object not an instance of THREE.Object3D </code></pre></div> <p dir="auto">This does not occur on Firefox. I have not yet found anything about this one in the issues, so I'm reporting(apologies if duplicate).</p> <p dir="auto">A clear and concise description of what the bug is. Before submitting, please remove unnecessary sections.</p> <p dir="auto"><strong>To Reproduce</strong></p> <p dir="auto">Steps to reproduce the behavior:</p> <ol dir="auto"> <li>Download any TTF online and convert it using <a href="https://gero3.github.io/facetype.js/" rel="nofollow">this tool</a></li> <li>Load it using the code below</li> <li>See error on console</li> </ol> <p dir="auto"><em><strong>Code</strong></em></p> <p dir="auto">The code I am using is the following:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const loader = new THREE.FontLoader() loader.load('../assets/fonts/Style Script_Regular.json', function (font) { // About Me Descr Text 2 let buildAboutMeDescrTextWall2; (buildAboutMeDescrTextWall2 = function (){ const mainColor = 0xF3B3A6; const matDark = new THREE.LineBasicMaterial( { color: mainColor, side: THREE.DoubleSide, } ); const mainMessage = &quot;text&quot; const mainTextgeometry = new THREE.TextGeometry(mainMessage, { font: font, size: 30, height: 5, }); mainTextgeometry.computeBoundingBox(); const xMid = - 0.5 * ( mainTextgeometry.boundingBox.max.x - mainTextgeometry.boundingBox.min.x ); mainTextgeometry.translate( xMid, 0, 10 ); window.aboutMeDescrTextWall2 = new THREE.Mesh( mainTextgeometry, matDark ); aboutMeDescrTextWall2.position.set(-830, 1450, 1880); aboutMeDescrTextWall2.rotation.y = Math.PI/2 +1; aboutMeDescrTextWall2.rotation.x = 0; aboutMeDescrTextWall2.rotation.z = 0; })(); }) // some code scene.add(window.aboutMeDescrTextWall2) "><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-s1">loader</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-c1">THREE</span><span class="pl-kos">.</span><span class="pl-c1">FontLoader</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-s1">loader</span><span class="pl-kos">.</span><span class="pl-en">load</span><span class="pl-kos">(</span><span class="pl-s">'../assets/fonts/Style Script_Regular.json'</span><span class="pl-kos">,</span> <span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-s1">font</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-c">// About Me Descr Text 2</span> <span class="pl-k">let</span> <span class="pl-s1">buildAboutMeDescrTextWall2</span><span class="pl-kos">;</span> <span class="pl-kos">(</span><span class="pl-s1">buildAboutMeDescrTextWall2</span> <span class="pl-c1">=</span> <span class="pl-k">function</span> <span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">{</span> <span class="pl-k">const</span> <span class="pl-s1">mainColor</span> <span class="pl-c1">=</span> <span class="pl-c1">0xF3B3A6</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-s1">matDark</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-c1">THREE</span><span class="pl-kos">.</span><span class="pl-c1">LineBasicMaterial</span><span class="pl-kos">(</span> <span class="pl-kos">{</span> <span class="pl-c1">color</span>: <span class="pl-s1">mainColor</span><span class="pl-kos">,</span> <span class="pl-c1">side</span>: <span class="pl-c1">THREE</span><span class="pl-kos">.</span><span class="pl-c1">DoubleSide</span><span class="pl-kos">,</span> <span class="pl-kos">}</span> <span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-s1">mainMessage</span> <span class="pl-c1">=</span> <span class="pl-s">"text"</span> <span class="pl-k">const</span> <span class="pl-s1">mainTextgeometry</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-c1">THREE</span><span class="pl-kos">.</span><span class="pl-c1">TextGeometry</span><span class="pl-kos">(</span><span class="pl-s1">mainMessage</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">font</span>: <span class="pl-s1">font</span><span class="pl-kos">,</span> <span class="pl-c1">size</span>: <span class="pl-c1">30</span><span class="pl-kos">,</span> <span class="pl-c1">height</span>: <span class="pl-c1">5</span><span class="pl-kos">,</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">mainTextgeometry</span><span class="pl-kos">.</span><span class="pl-en">computeBoundingBox</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-s1">xMid</span> <span class="pl-c1">=</span> <span class="pl-c1">-</span> <span class="pl-c1">0.5</span> <span class="pl-c1">*</span> <span class="pl-kos">(</span> <span class="pl-s1">mainTextgeometry</span><span class="pl-kos">.</span><span class="pl-c1">boundingBox</span><span class="pl-kos">.</span><span class="pl-c1">max</span><span class="pl-kos">.</span><span class="pl-c1">x</span> <span class="pl-c1">-</span> <span class="pl-s1">mainTextgeometry</span><span class="pl-kos">.</span><span class="pl-c1">boundingBox</span><span class="pl-kos">.</span><span class="pl-c1">min</span><span class="pl-kos">.</span><span class="pl-c1">x</span> <span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">mainTextgeometry</span><span class="pl-kos">.</span><span class="pl-en">translate</span><span class="pl-kos">(</span> <span class="pl-s1">xMid</span><span class="pl-kos">,</span> <span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-c1">10</span> <span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-smi">window</span><span class="pl-kos">.</span><span class="pl-c1">aboutMeDescrTextWall2</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-c1">THREE</span><span class="pl-kos">.</span><span class="pl-c1">Mesh</span><span class="pl-kos">(</span> <span class="pl-s1">mainTextgeometry</span><span class="pl-kos">,</span> <span class="pl-s1">matDark</span> <span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">aboutMeDescrTextWall2</span><span class="pl-kos">.</span><span class="pl-c1">position</span><span class="pl-kos">.</span><span class="pl-en">set</span><span class="pl-kos">(</span><span class="pl-c1">-</span><span class="pl-c1">830</span><span class="pl-kos">,</span> <span class="pl-c1">1450</span><span class="pl-kos">,</span> <span class="pl-c1">1880</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">aboutMeDescrTextWall2</span><span class="pl-kos">.</span><span class="pl-c1">rotation</span><span class="pl-kos">.</span><span class="pl-c1">y</span> <span class="pl-c1">=</span> <span class="pl-v">Math</span><span class="pl-kos">.</span><span class="pl-c1">PI</span><span class="pl-c1">/</span><span class="pl-c1">2</span> <span class="pl-c1">+</span><span class="pl-c1">1</span><span class="pl-kos">;</span> <span class="pl-s1">aboutMeDescrTextWall2</span><span class="pl-kos">.</span><span class="pl-c1">rotation</span><span class="pl-kos">.</span><span class="pl-c1">x</span> <span class="pl-c1">=</span> <span class="pl-c1">0</span><span class="pl-kos">;</span> <span class="pl-s1">aboutMeDescrTextWall2</span><span class="pl-kos">.</span><span class="pl-c1">rotation</span><span class="pl-kos">.</span><span class="pl-c1">z</span> <span class="pl-c1">=</span> <span class="pl-c1">0</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-c">// some code</span> <span class="pl-s1">scene</span><span class="pl-kos">.</span><span class="pl-en">add</span><span class="pl-kos">(</span><span class="pl-smi">window</span><span class="pl-kos">.</span><span class="pl-c1">aboutMeDescrTextWall2</span><span class="pl-kos">)</span></pre></div> <p dir="auto"><strong>Expected behavior</strong></p> <p dir="auto">The text should show as happens on Firefox</p> <p dir="auto"><strong>Platform:</strong></p> <p dir="auto">The issue occurs on both Ubuntu-based latest popOS and on macOS High Sierra. The browsers with this issue are Safari, Chrome and Brave</p>
<p dir="auto">This is related to my <a href="https://github.com/SuberFu/THREE.MeshLineAlt">MeshLineAlt</a> (note, by sheer accident/oversight, it was named exactly the same as <a href="https://github.com/spite/THREE.MeshLine">Spite's</a>, which was pointed out to me before).</p> <p dir="auto">In my implementation, I pre-set the _bufferGeometry with a custom BufferGeometry, depending on the THREE.WebGLGeometries get() function behavior of constructing checking for a _bufferGeometry on a THREE.Geometry before constructing a default one to be used.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" if ( geometry._bufferGeometry === undefined ) { geometry._bufferGeometry = new THREE.BufferGeometry().setFromObject( object ); } buffergeometry = geometry._bufferGeometry;"><pre class="notranslate"><code class="notranslate"> if ( geometry._bufferGeometry === undefined ) { geometry._bufferGeometry = new THREE.BufferGeometry().setFromObject( object ); } buffergeometry = geometry._bufferGeometry; </code></pre></div> <p dir="auto">However, I think it may be pretty fragile, considering that I'm depending on something that's not part of the API.<br> Therefore, I want to ask if it's logical/possible to either.</p> <ol dir="auto"> <li>Have THREE.Geometry contain a method like "getBufferGeometry" that returns a THREE.BufferGeometry (or objects derived from it). So the call becomes like...</li> </ol> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="geometry._bufferGeometry = geometry.getBufferGeometry().setFromObject( object );"><pre class="notranslate"><code class="notranslate">geometry._bufferGeometry = geometry.getBufferGeometry().setFromObject( object ); </code></pre></div> <ol dir="auto"> <li>Have objects (THREE.Mesh related, not THREE.Object3D) contains a method to return the getBufferGeometry. So the call becomes...</li> </ol> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="geometry._bufferGeometry = object.getBufferGeometry().setFromObject( object );"><pre class="notranslate"><code class="notranslate">geometry._bufferGeometry = object.getBufferGeometry().setFromObject( object ); </code></pre></div> <p dir="auto">Personally, I think the second one is potentially more flexible, as it make more logically sense as geometry itself should not care how the end result is achieved, but the object itself will have the ability, by return a derived THREE.BufferGeometry, to retransform the THREE.Geometry object into ones it can use.</p>
0
<p dir="auto"><strong>Describe the bug</strong><br> When executing a query using mssql+pyodbc driver, the following error occurs if using SQLAlchemy version 1.4.16 or newer with pyodbc 4.0.31:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="sqlalchemy.exc.InterfaceError: (pyodbc.InterfaceError) ('IM002', '[IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified (0) (SQLDriverConnect)')"><pre class="notranslate"><code class="notranslate">sqlalchemy.exc.InterfaceError: (pyodbc.InterfaceError) ('IM002', '[IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified (0) (SQLDriverConnect)') </code></pre></div> <p dir="auto"><strong>To Reproduce</strong></p> <p dir="auto">Install dependencies pyodbc (tested on latest, 4.0.31) and SQLAlchemy 1.4.16 or newer.</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="from sqlalchemy import create_engine connection_string = &quot;mssql+pyodbc://localhost/master?driver=ODBC+Driver+17+for+SQL+Server?Trusted_Connection=yes&quot; engine = create_engine(connection_string) engine.execute(&quot;select 1 as result&quot;)"><pre class="notranslate"><span class="pl-k">from</span> <span class="pl-s1">sqlalchemy</span> <span class="pl-k">import</span> <span class="pl-s1">create_engine</span> <span class="pl-s1">connection_string</span> <span class="pl-c1">=</span> <span class="pl-s">"mssql+pyodbc://localhost/master?driver=ODBC+Driver+17+for+SQL+Server?Trusted_Connection=yes"</span> <span class="pl-s1">engine</span> <span class="pl-c1">=</span> <span class="pl-en">create_engine</span>(<span class="pl-s1">connection_string</span>) <span class="pl-s1">engine</span>.<span class="pl-en">execute</span>(<span class="pl-s">"select 1 as result"</span>)</pre></div> <p dir="auto"><strong>Error</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Traceback (most recent call last): File &quot;...\sqlalchemy\engine\base.py&quot;, line 3212, in _wrap_pool_connect return fn() File &quot;...\sqlalchemy\pool\base.py&quot;, line 301, in connect return _ConnectionFairy._checkout(self) File &quot;...\sqlalchemy\pool\base.py&quot;, line 761, in _checkout fairy = _ConnectionRecord.checkout(pool) File &quot;...\sqlalchemy\pool\base.py&quot;, line 419, in checkout rec = pool._do_get() File &quot;...\sqlalchemy\pool\impl.py&quot;, line 145, in _do_get self._dec_overflow() File &quot;...\sqlalchemy\util\langhelpers.py&quot;, line 70, in __exit__ compat.raise_( File &quot;...\sqlalchemy\util\compat.py&quot;, line 207, in raise_ raise exception File &quot;...\sqlalchemy\pool\impl.py&quot;, line 142, in _do_get return self._create_connection() File &quot;...\sqlalchemy\pool\base.py&quot;, line 247, in _create_connection return _ConnectionRecord(self) File &quot;...\sqlalchemy\pool\base.py&quot;, line 362, in __init__ self.__connect() File &quot;...\sqlalchemy\pool\base.py&quot;, line 605, in __connect pool.logger.debug(&quot;Error on connect(): %s&quot;, e) File &quot;...\sqlalchemy\util\langhelpers.py&quot;, line 70, in __exit__ compat.raise_( File &quot;...\sqlalchemy\util\compat.py&quot;, line 207, in raise_ raise exception File &quot;...\sqlalchemy\pool\base.py&quot;, line 599, in __connect connection = pool._invoke_creator(self) File &quot;...\sqlalchemy\engine\create.py&quot;, line 578, in connect return dialect.connect(*cargs, **cparams) File &quot;...\sqlalchemy\engine\default.py&quot;, line 584, in connect return self.dbapi.connect(*cargs, **cparams) pyodbc.InterfaceError: ('IM002', '[IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified (0) (SQLDriverConnect)') The above exception was the direct cause of the following exception: Traceback (most recent call last): File &quot;...\example.py&quot;, line 6, in &lt;module&gt; engine.execute(&quot;select 1 as result&quot;) File &quot;&lt;string&gt;&quot;, line 2, in execute File &quot;...\sqlalchemy\util\deprecations.py&quot;, line 390, in warned return fn(*args, **kwargs) File &quot;...\sqlalchemy\engine\base.py&quot;, line 3107, in execute connection = self.connect(close_with_result=True) File &quot;...\sqlalchemy\engine\base.py&quot;, line 3166, in connect return self._connection_cls(self, close_with_result=close_with_result) File &quot;...\sqlalchemy\engine\base.py&quot;, line 96, in __init__ else engine.raw_connection() File &quot;...\sqlalchemy\engine\base.py&quot;, line 3245, in raw_connection return self._wrap_pool_connect(self.pool.connect, _connection) File &quot;...\sqlalchemy\engine\base.py&quot;, line 3215, in _wrap_pool_connect Connection._handle_dbapi_exception_noconnection( File &quot;...\sqlalchemy\engine\base.py&quot;, line 2068, in _handle_dbapi_exception_noconnection util.raise_( File &quot;...\sqlalchemy\util\compat.py&quot;, line 207, in raise_ raise exception File &quot;...\sqlalchemy\engine\base.py&quot;, line 3212, in _wrap_pool_connect return fn() File &quot;...\sqlalchemy\pool\base.py&quot;, line 301, in connect return _ConnectionFairy._checkout(self) File &quot;...\sqlalchemy\pool\base.py&quot;, line 761, in _checkout fairy = _ConnectionRecord.checkout(pool) File &quot;...\sqlalchemy\pool\base.py&quot;, line 419, in checkout rec = pool._do_get() File &quot;...\sqlalchemy\pool\impl.py&quot;, line 145, in _do_get self._dec_overflow() File &quot;...\sqlalchemy\util\langhelpers.py&quot;, line 70, in __exit__ compat.raise_( File &quot;...\sqlalchemy\util\compat.py&quot;, line 207, in raise_ raise exception File &quot;...\sqlalchemy\pool\impl.py&quot;, line 142, in _do_get return self._create_connection() File &quot;...\sqlalchemy\pool\base.py&quot;, line 247, in _create_connection return _ConnectionRecord(self) File &quot;...\sqlalchemy\pool\base.py&quot;, line 362, in __init__ self.__connect() File &quot;...\sqlalchemy\pool\base.py&quot;, line 605, in __connect pool.logger.debug(&quot;Error on connect(): %s&quot;, e) File &quot;...\sqlalchemy\util\langhelpers.py&quot;, line 70, in __exit__ compat.raise_( File &quot;...\sqlalchemy\util\compat.py&quot;, line 207, in raise_ raise exception File &quot;...\sqlalchemy\pool\base.py&quot;, line 599, in __connect connection = pool._invoke_creator(self) File &quot;...\sqlalchemy\engine\create.py&quot;, line 578, in connect return dialect.connect(*cargs, **cparams) File &quot;...\sqlalchemy\engine\default.py&quot;, line 584, in connect return self.dbapi.connect(*cargs, **cparams) sqlalchemy.exc.InterfaceError: (pyodbc.InterfaceError) ('IM002', '[IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified (0) (SQLDriverConnect)') (Background on this error at: http://sqlalche.me/e/14/rvf5)"><pre class="notranslate"><code class="notranslate">Traceback (most recent call last): File "...\sqlalchemy\engine\base.py", line 3212, in _wrap_pool_connect return fn() File "...\sqlalchemy\pool\base.py", line 301, in connect return _ConnectionFairy._checkout(self) File "...\sqlalchemy\pool\base.py", line 761, in _checkout fairy = _ConnectionRecord.checkout(pool) File "...\sqlalchemy\pool\base.py", line 419, in checkout rec = pool._do_get() File "...\sqlalchemy\pool\impl.py", line 145, in _do_get self._dec_overflow() File "...\sqlalchemy\util\langhelpers.py", line 70, in __exit__ compat.raise_( File "...\sqlalchemy\util\compat.py", line 207, in raise_ raise exception File "...\sqlalchemy\pool\impl.py", line 142, in _do_get return self._create_connection() File "...\sqlalchemy\pool\base.py", line 247, in _create_connection return _ConnectionRecord(self) File "...\sqlalchemy\pool\base.py", line 362, in __init__ self.__connect() File "...\sqlalchemy\pool\base.py", line 605, in __connect pool.logger.debug("Error on connect(): %s", e) File "...\sqlalchemy\util\langhelpers.py", line 70, in __exit__ compat.raise_( File "...\sqlalchemy\util\compat.py", line 207, in raise_ raise exception File "...\sqlalchemy\pool\base.py", line 599, in __connect connection = pool._invoke_creator(self) File "...\sqlalchemy\engine\create.py", line 578, in connect return dialect.connect(*cargs, **cparams) File "...\sqlalchemy\engine\default.py", line 584, in connect return self.dbapi.connect(*cargs, **cparams) pyodbc.InterfaceError: ('IM002', '[IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified (0) (SQLDriverConnect)') The above exception was the direct cause of the following exception: Traceback (most recent call last): File "...\example.py", line 6, in &lt;module&gt; engine.execute("select 1 as result") File "&lt;string&gt;", line 2, in execute File "...\sqlalchemy\util\deprecations.py", line 390, in warned return fn(*args, **kwargs) File "...\sqlalchemy\engine\base.py", line 3107, in execute connection = self.connect(close_with_result=True) File "...\sqlalchemy\engine\base.py", line 3166, in connect return self._connection_cls(self, close_with_result=close_with_result) File "...\sqlalchemy\engine\base.py", line 96, in __init__ else engine.raw_connection() File "...\sqlalchemy\engine\base.py", line 3245, in raw_connection return self._wrap_pool_connect(self.pool.connect, _connection) File "...\sqlalchemy\engine\base.py", line 3215, in _wrap_pool_connect Connection._handle_dbapi_exception_noconnection( File "...\sqlalchemy\engine\base.py", line 2068, in _handle_dbapi_exception_noconnection util.raise_( File "...\sqlalchemy\util\compat.py", line 207, in raise_ raise exception File "...\sqlalchemy\engine\base.py", line 3212, in _wrap_pool_connect return fn() File "...\sqlalchemy\pool\base.py", line 301, in connect return _ConnectionFairy._checkout(self) File "...\sqlalchemy\pool\base.py", line 761, in _checkout fairy = _ConnectionRecord.checkout(pool) File "...\sqlalchemy\pool\base.py", line 419, in checkout rec = pool._do_get() File "...\sqlalchemy\pool\impl.py", line 145, in _do_get self._dec_overflow() File "...\sqlalchemy\util\langhelpers.py", line 70, in __exit__ compat.raise_( File "...\sqlalchemy\util\compat.py", line 207, in raise_ raise exception File "...\sqlalchemy\pool\impl.py", line 142, in _do_get return self._create_connection() File "...\sqlalchemy\pool\base.py", line 247, in _create_connection return _ConnectionRecord(self) File "...\sqlalchemy\pool\base.py", line 362, in __init__ self.__connect() File "...\sqlalchemy\pool\base.py", line 605, in __connect pool.logger.debug("Error on connect(): %s", e) File "...\sqlalchemy\util\langhelpers.py", line 70, in __exit__ compat.raise_( File "...\sqlalchemy\util\compat.py", line 207, in raise_ raise exception File "...\sqlalchemy\pool\base.py", line 599, in __connect connection = pool._invoke_creator(self) File "...\sqlalchemy\engine\create.py", line 578, in connect return dialect.connect(*cargs, **cparams) File "...\sqlalchemy\engine\default.py", line 584, in connect return self.dbapi.connect(*cargs, **cparams) sqlalchemy.exc.InterfaceError: (pyodbc.InterfaceError) ('IM002', '[IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified (0) (SQLDriverConnect)') (Background on this error at: http://sqlalche.me/e/14/rvf5) </code></pre></div> <p dir="auto"><strong>Versions.</strong></p> <ul dir="auto"> <li>OS: Windows 10</li> <li>Python: 3.9.4</li> <li>SQLAlchemy: 1.4.16+</li> <li>Database: SQL Server 2017</li> <li>DBAPI: pyodbc</li> </ul> <p dir="auto"><strong>Additional context</strong></p> <p dir="auto">The link <a href="http://sqlalche.me/e/14/rvf5" rel="nofollow">http://sqlalche.me/e/14/rvf5</a> points out that this is a problem in the DBAPI driver, and that page suggests it is not a SQL Alchemy error. However, the problem is resolved by simply downgrading SQLAlchemy to 1.4.15 and keeping the same pyodbc driver. Perhaps the connection string is not being passed into pyodbc correctly.</p>
<p dir="auto">Using 1.4.20 when I try to make a connection to sql server I get a data source name not found and no default driver specified</p> <div class="highlight highlight-source-powershell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="sqlalchemy.exc.InterfaceError: (pyodbc.InterfaceError) ('IM002', '[IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified (0) (SQLDr..."><pre class="notranslate">sqlalchemy.exc.InterfaceError: (pyodbc.InterfaceError) (<span class="pl-s"><span class="pl-pds">'</span>IM002<span class="pl-pds">'</span></span><span class="pl-k">,</span> <span class="pl-s"><span class="pl-pds">'</span>[IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified (0) (SQLDr...</span></pre></div> <p dir="auto">here is the way I trigger the error</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="def test_db_connect(db_cnxn_str): engine = sa.create_engine(db_cnxn_str) conn = engine.connect() # &lt;&lt; ERROR HAPPENS HERE # rs = conn.execute(&quot;SELECT GETDATE()&quot;) assert conn"><pre class="notranslate"><span class="pl-k">def</span> <span class="pl-en">test_db_connect</span>(<span class="pl-s1">db_cnxn_str</span>): <span class="pl-s1">engine</span> <span class="pl-c1">=</span> <span class="pl-s1">sa</span>.<span class="pl-en">create_engine</span>(<span class="pl-s1">db_cnxn_str</span>) <span class="pl-s1">conn</span> <span class="pl-c1">=</span> <span class="pl-s1">engine</span>.<span class="pl-en">connect</span>() <span class="pl-c"># &lt;&lt; ERROR HAPPENS HERE</span> <span class="pl-c"># rs = conn.execute("SELECT GETDATE()")</span> <span class="pl-k">assert</span> <span class="pl-s1">conn</span></pre></div> <p dir="auto">If I change my sqlalchemy version to 1.4.12 I am able to connect without any issue.</p> <p dir="auto"><strong>Versions.</strong></p> <ul dir="auto"> <li>OS: Windows 10</li> <li>Python: 3.9</li> <li>SQLAlchemy: 1.4.20</li> <li>Database: MSSQL</li> <li>DBAPI: pyodbc</li> </ul>
1
<h2 dir="auto">Steps to Reproduce</h2> <p dir="auto"><a href="http://imgur.com/HZlrDkA" rel="nofollow">http://imgur.com/HZlrDkA</a></p> <p dir="auto">The contrast of the opaque ellipsis over the fading out text looks really weird (this screenshot doesn't look as bad as other cases). I think removing the ellipsis would be great. Sorry I have not tested a native app to compare.</p> <h2 dir="auto">Flutter Doctor</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="flutter_gallery (master *)$ flutter doctor [✓] Flutter (on Mac OS, channel master) • Flutter at /Users/drewwarren/flutter • Framework revision e071f0bafd (2 hours ago), engine revision c69d907b49 [x] Android toolchain - develop for Android devices x Android Studio / Android SDK not found. Download from https://developer.android.com/sdk/ (or visit https://flutter.io/setup/#android-setup for detailed instructions). [✓] iOS toolchain - develop for iOS devices (Xcode 7.3.1) • XCode at /Applications/Xcode.app/Contents/Developer • Xcode 7.3.1, Build version 7D1014 [✓] Atom - a lightweight development environment for Flutter • flutter plugin version 0.2.2 • dartlang plugin version 0.6.12"><pre class="notranslate"><code class="notranslate">flutter_gallery (master *)$ flutter doctor [✓] Flutter (on Mac OS, channel master) • Flutter at /Users/drewwarren/flutter • Framework revision e071f0bafd (2 hours ago), engine revision c69d907b49 [x] Android toolchain - develop for Android devices x Android Studio / Android SDK not found. Download from https://developer.android.com/sdk/ (or visit https://flutter.io/setup/#android-setup for detailed instructions). [✓] iOS toolchain - develop for iOS devices (Xcode 7.3.1) • XCode at /Applications/Xcode.app/Contents/Developer • Xcode 7.3.1, Build version 7D1014 [✓] Atom - a lightweight development environment for Flutter • flutter plugin version 0.2.2 • dartlang plugin version 0.6.12 </code></pre></div>
<h2 dir="auto">Steps to Reproduce</h2> <ol dir="auto"> <li>Create a <code class="notranslate">TextField</code> wrapped in <code class="notranslate">Expanded</code> or <code class="notranslate">Flexible</code> inside <code class="notranslate">Row</code></li> <li>Set <code class="notranslate">TextAlign</code> for <code class="notranslate">TextField</code> to <code class="notranslate">end</code></li> <li>Start typing in text field, you can notice after first character cursor jumps on the left side of text field.</li> <li>If you try to select a text by doing long tap - selection will be on left side instead of over text which you was going to select.</li> </ol> <p dir="auto">GIF on how it looks like (same behaviour in iOS and Android) <a href="https://imgur.com/a/l7e1sgh" rel="nofollow">https://imgur.com/a/l7e1sgh</a></p> <h2 dir="auto">Logs</h2> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[ +28 ms] [/Users/denis.feoktistov/Development/Frameworks/flutter/] git rev-parse --abbrev-ref --symbolic @{u} [ +39 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} [ ] origin/master [ ] [/Users/denis.feoktistov/Development/Frameworks/flutter/] git rev-parse --abbrev-ref HEAD [ +10 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ ] master [ ] [/Users/denis.feoktistov/Development/Frameworks/flutter/] git ls-remote --get-url origin [ +11 ms] Exit code 0 from: git ls-remote --get-url origin [ ] https://github.com/flutter/flutter.git [ ] [/Users/denis.feoktistov/Development/Frameworks/flutter/] git log -n 1 --pretty=format:%H [ +44 ms] Exit code 0 from: git log -n 1 --pretty=format:%H [ ] c169136effe913693a5d31f0b9b97cce53a6a1df [ ] [/Users/denis.feoktistov/Development/Frameworks/flutter/] git log -n 1 --pretty=format:%ar [ +13 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar [ ] 2 hours ago [ ] [/Users/denis.feoktistov/Development/Frameworks/flutter/] git describe --match v*.*.* --first-parent --long --tags [ +61 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags [ ] v0.4.4-12-gc169136ef [ +321 ms] /usr/bin/defaults read /Applications/Android Studio 3.2 Preview.app/Contents/Info CFBundleShortVersionString [ +101 ms] Exit code 0 from: /usr/bin/defaults read /Applications/Android Studio 3.2 Preview.app/Contents/Info CFBundleShortVersionString [ ] EAP AI-181.4668.68.32.4763614 [ +100 ms] /usr/bin/defaults read /Applications/Android Studio.app/Contents/Info CFBundleShortVersionString [ +44 ms] Exit code 0 from: /usr/bin/defaults read /Applications/Android Studio.app/Contents/Info CFBundleShortVersionString [ ] 3.1 [ +110 ms] /Users/denis.feoktistov/Library/Android/sdk/platform-tools/adb devices -l [ +16 ms] Exit code 0 from: /Users/denis.feoktistov/Library/Android/sdk/platform-tools/adb devices -l [ ] List of devices attached emulator-5554 device product:sdk_google_phone_x86 model:Android_SDK_built_for_x86 device:generic_x86 transport_id:1 [ +9 ms] idevice_id -h [ +325 ms] /usr/bin/xcrun simctl list --json devices [ +193 ms] Found plugin connectivity at /Users/denis.feoktistov/.pub-cache/hosted/pub.dartlang.org/connectivity-0.3.0/ [ +26 ms] Found plugin device_info at /Users/denis.feoktistov/.pub-cache/hosted/pub.dartlang.org/device_info-0.2.0/ [ +97 ms] Found plugin url_launcher at /Users/denis.feoktistov/.pub-cache/hosted/pub.dartlang.org/url_launcher-3.0.0/ [ +3 ms] Found plugin video_player at /Users/denis.feoktistov/.pub-cache/hosted/pub.dartlang.org/video_player-0.5.1/ [ +71 ms] /Users/denis.feoktistov/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell getprop [ +29 ms] ro.hardware = ranchu [ +15 ms] Using hardware rendering with device Android SDK built for x86. If you get graphics artifacts, consider enabling software rendering with &quot;--enable-software-rendering&quot;. [ +936 ms] Launching lib/main.dart on Android SDK built for x86 in debug mode... [ +6 ms] Initializing gradle... [ +7 ms] Using gradle from /Users/denis.feoktistov/Development/Frameworks/flutter/examples/flutter_gallery/android/gradlew. [ +96 ms] /usr/bin/defaults read /Applications/Android Studio 3.2 Preview.app/Contents/Info CFBundleShortVersionString [ +43 ms] Exit code 0 from: /usr/bin/defaults read /Applications/Android Studio 3.2 Preview.app/Contents/Info CFBundleShortVersionString [ ] EAP AI-181.4668.68.32.4763614 [ +87 ms] /usr/bin/defaults read /Applications/Android Studio.app/Contents/Info CFBundleShortVersionString [ +43 ms] Exit code 0 from: /usr/bin/defaults read /Applications/Android Studio.app/Contents/Info CFBundleShortVersionString [ ] 3.1 [ +79 ms] /Users/denis.feoktistov/Development/Frameworks/flutter/examples/flutter_gallery/android/gradlew -v [ +659 ms] ------------------------------------------------------------ Gradle 4.1 ------------------------------------------------------------ Build time: 2017-08-07 14:38:48 UTC Revision: 941559e020f6c357ebb08d5c67acdb858a3defc2 Groovy: 2.4.11 Ant: Apache Ant(TM) version 1.9.6 compiled on June 29 2015 JVM: 1.8.0_152-release (JetBrains s.r.o 25.152-b01) OS: Mac OS X 10.13.4 x86_64 [ +1 ms] Resolving dependencies... [ ] [android/] /Users/denis.feoktistov/Development/Frameworks/flutter/examples/flutter_gallery/android/gradlew app:properties [+1194 ms] :app:properties ------------------------------------------------------------ Project :app ------------------------------------------------------------ allprojects: [project ':app'] android: com.android.build.gradle.AppExtension_Decorated@6fea813d androidDependencies: task ':app:androidDependencies' ant: org.gradle.api.internal.project.DefaultAntBuilder@12f38bb7 antBuilderFactory: org.gradle.api.internal.project.DefaultAntBuilderFactory@3e51a150 archivesBaseName: app artifacts: org.gradle.api.internal.artifacts.dsl.DefaultArtifactHandler_Decorated@3c0f904c asDynamicObject: DynamicObject for project ':app' assemble: task ':app:assemble' assembleAndroidTest: task ':app:assembleAndroidTest' assembleDebug: task ':app:assembleDebug' assembleDebugAndroidTest: task ':app:assembleDebugAndroidTest' assembleDebugUnitTest: task ':app:assembleDebugUnitTest' assembleProfile: task ':app:assembleProfile' assembleProfileUnitTest: task ':app:assembleProfileUnitTest' assembleRelease: task ':app:assembleRelease' assembleReleaseUnitTest: task ':app:assembleReleaseUnitTest' baseClassLoaderScope: org.gradle.api.internal.initialization.DefaultClassLoaderScope@7d70d99 buildDependents: task ':app:buildDependents' buildDir: /Users/denis.feoktistov/Development/Frameworks/flutter/examples/flutter_gallery/build/app buildFile: /Users/denis.feoktistov/Development/Frameworks/flutter/examples/flutter_gallery/android/app/build.gradle buildNeeded: task ':app:buildNeeded' buildOutputs: BaseVariantOutput container buildScriptSource: org.gradle.groovy.scripts.UriScriptSource@9f780e7 buildscript: org.gradle.api.internal.initialization.DefaultScriptHandler@3a1ffba8 bundleAppClassesDebug: task ':app:bundleAppClassesDebug' bundleAppClassesDebugAndroidTest: task ':app:bundleAppClassesDebugAndroidTest' bundleAppClassesDebugUnitTest: task ':app:bundleAppClassesDebugUnitTest' bundleAppClassesProfile: task ':app:bundleAppClassesProfile' bundleAppClassesProfileUnitTest: task ':app:bundleAppClassesProfileUnitTest' bundleAppClassesRelease: task ':app:bundleAppClassesRelease' bundleAppClassesReleaseUnitTest: task ':app:bundleAppClassesReleaseUnitTest' check: task ':app:check' checkDebugManifest: task ':app:checkDebugManifest' checkProfileManifest: task ':app:checkProfileManifest' checkReleaseManifest: task ':app:checkReleaseManifest' childProjects: {} class: class org.gradle.api.internal.project.DefaultProject_Decorated classLoaderScope: org.gradle.api.internal.initialization.DefaultClassLoaderScope@7a529157 cleanBuildCache: task ':app:cleanBuildCache' compileDebugAidl: task ':app:compileDebugAidl' compileDebugAndroidTestAidl: task ':app:compileDebugAndroidTestAidl' compileDebugAndroidTestJavaWithJavac: task ':app:compileDebugAndroidTestJavaWithJavac' compileDebugAndroidTestNdk: task ':app:compileDebugAndroidTestNdk' compileDebugAndroidTestRenderscript: task ':app:compileDebugAndroidTestRenderscript' compileDebugAndroidTestShaders: task ':app:compileDebugAndroidTestShaders' compileDebugAndroidTestSources: task ':app:compileDebugAndroidTestSources' compileDebugJavaWithJavac: task ':app:compileDebugJavaWithJavac' compileDebugNdk: task ':app:compileDebugNdk' compileDebugRenderscript: task ':app:compileDebugRenderscript' compileDebugShaders: task ':app:compileDebugShaders' compileDebugSources: task ':app:compileDebugSources' compileDebugUnitTestJavaWithJavac: task ':app:compileDebugUnitTestJavaWithJavac' compileDebugUnitTestSources: task ':app:compileDebugUnitTestSources' compileLint: task ':app:compileLint' compileProfileAidl: task ':app:compileProfileAidl' compileProfileJavaWithJavac: task ':app:compileProfileJavaWithJavac' compileProfileNdk: task ':app:compileProfileNdk' compileProfileRenderscript: task ':app:compileProfileRenderscript' compileProfileShaders: task ':app:compileProfileShaders' compileProfileSources: task ':app:compileProfileSources' compileProfileUnitTestJavaWithJavac: task ':app:compileProfileUnitTestJavaWithJavac' compileProfileUnitTestSources: task ':app:compileProfileUnitTestSources' compileReleaseAidl: task ':app:compileReleaseAidl' compileReleaseJavaWithJavac: task ':app:compileReleaseJavaWithJavac' compileReleaseNdk: task ':app:compileReleaseNdk' compileReleaseRenderscript: task ':app:compileReleaseRenderscript' compileReleaseShaders: task ':app:compileReleaseShaders' compileReleaseSources: task ':app:compileReleaseSources' compileReleaseUnitTestJavaWithJavac: task ':app:compileReleaseUnitTestJavaWithJavac' compileReleaseUnitTestSources: task ':app:compileReleaseUnitTestSources' components: SoftwareComponentInternal set configurationActions: org.gradle.configuration.project.DefaultProjectConfigurationActionContainer@45d6e041 configurationTargetIdentifier: org.gradle.configuration.ConfigurationTargetIdentifier$1@7093a0a4 configurations: configuration container connectedAndroidTest: task ':app:connectedAndroidTest' connectedCheck: task ':app:connectedCheck' connectedDebugAndroidTest: task ':app:connectedDebugAndroidTest' consumeConfigAttr: task ':app:consumeConfigAttr' convention: org.gradle.api.internal.plugins.DefaultConvention@3514c7a5 copyFlutterAssetsDebug: task ':app:copyFlutterAssetsDebug' copyFlutterAssetsProfile: task ':app:copyFlutterAssetsProfile' copyFlutterAssetsRelease: task ':app:copyFlutterAssetsRelease' createDebugCompatibleScreenManifests: task ':app:createDebugCompatibleScreenManifests' createProfileCompatibleScreenManifests: task ':app:createProfileCompatibleScreenManifests' createReleaseCompatibleScreenManifests: task ':app:createReleaseCompatibleScreenManifests' defaultArtifacts: org.gradle.api.internal.plugins.DefaultArtifactPublicationSet_Decorated@5b222079 defaultTasks: [] deferredProjectConfiguration: org.gradle.api.internal.project.DeferredProjectConfiguration@290417b4 dependencies: org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler_Decorated@44ff14b0 depth: 1 description: null deviceAndroidTest: task ':app:deviceAndroidTest' deviceCheck: task ':app:deviceCheck' displayName: project ':app' distsDir: /Users/denis.feoktistov/Development/Frameworks/flutter/examples/flutter_gallery/build/app/distributions distsDirName: distributions docsDir: /Users/denis.feoktistov/Development/Frameworks/flutter/examples/flutter_gallery/build/app/docs docsDirName: docs ext: org.gradle.api.internal.plugins.DefaultExtraPropertiesExtension@57c5ca65 extensions: org.gradle.api.internal.plugins.DefaultConvention@3514c7a5 extractProguardFiles: task ':app:extractProguardFiles' fileOperations: org.gradle.api.internal.file.DefaultFileOperations@1dae190c fileResolver: org.gradle.api.internal.file.BaseDirFileResolver@149e04ba flutter: FlutterExtension_Decorated@28f8c80d flutterBuildDebug: task ':app:flutterBuildDebug' flutterBuildProfile: task ':app:flutterBuildProfile' flutterBuildRelease: task ':app:flutterBuildRelease' flutterBuildX86Jar: task ':app:flutterBuildX86Jar' generateDebugAndroidTestAssets: task ':app:generateDebugAndroidTestAssets' generateDebugAndroidTestBuildConfig: task ':app:generateDebugAndroidTestBuildConfig' generateDebugAndroidTestResValues: task ':app:generateDebugAndroidTestResValues' generateDebugAndroidTestResources: task ':app:generateDebugAndroidTestResources' generateDebugAndroidTestSources: task ':app:generateDebugAndroidTestSources' generateDebugAssets: task ':app:generateDebugAssets' generateDebugBuildConfig: task ':app:generateDebugBuildConfig' generateDebugResValues: task ':app:generateDebugResValues' generateDebugResources: task ':app:generateDebugResources' generateDebugSources: task ':app:generateDebugSources' generateProfileAssets: task ':app:generateProfileAssets' generateProfileBuildConfig: task ':app:generateProfileBuildConfig' generateProfileResValues: task ':app:generateProfileResValues' generateProfileResources: task ':app:generateProfileResources' generateProfileSources: task ':app:generateProfileSources' generateReleaseAssets: task ':app:generateReleaseAssets' generateReleaseBuildConfig: task ':app:generateReleaseBuildConfig' generateReleaseResValues: task ':app:generateReleaseResValues' generateReleaseResources: task ':app:generateReleaseResources' generateReleaseSources: task ':app:generateReleaseSources' gradle: build 'android' group: android identityPath: :app inheritedScope: org.gradle.api.internal.ExtensibleDynamicObject$InheritedDynamicObject@5197b995 installDebug: task ':app:installDebug' installDebugAndroidTest: task ':app:installDebugAndroidTest' installProfile: task ':app:installProfile' installRelease: task ':app:installRelease' javaPreCompileDebug: task ':app:javaPreCompileDebug' javaPreCompileDebugAndroidTest: task ':app:javaPreCompileDebugAndroidTest' javaPreCompileDebugUnitTest: task ':app:javaPreCompileDebugUnitTest' javaPreCompileProfile: task ':app:javaPreCompileProfile' javaPreCompileProfileUnitTest: task ':app:javaPreCompileProfileUnitTest' javaPreCompileRelease: task ':app:javaPreCompileRelease' javaPreCompileReleaseUnitTest: task ':app:javaPreCompileReleaseUnitTest' layout: org.gradle.api.internal.file.DefaultProjectLayout@3c1cbcd2 libsDir: /Users/denis.feoktistov/Development/Frameworks/flutter/examples/flutter_gallery/build/app/libs libsDirName: libs lint: task ':app:lint' lintDebug: task ':app:lintDebug' lintProfile: task ':app:lintProfile' lintRelease: task ':app:lintRelease' lintVitalRelease: task ':app:lintVitalRelease' logger: org.gradle.internal.logging.slf4j.OutputEventListenerBackedLogger@2c5e9693 logging: org.gradle.internal.logging.services.DefaultLoggingManager@5843d43f mergeDebugAndroidTestAssets: task ':app:mergeDebugAndroidTestAssets' mergeDebugAndroidTestJniLibFolders: task ':app:mergeDebugAndroidTestJniLibFolders' mergeDebugAndroidTestResources: task ':app:mergeDebugAndroidTestResources' mergeDebugAndroidTestShaders: task ':app:mergeDebugAndroidTestShaders' mergeDebugAssets: task ':app:mergeDebugAssets' mergeDebugJniLibFolders: task ':app:mergeDebugJniLibFolders' mergeDebugResources: task ':app:mergeDebugResources' mergeDebugShaders: task ':app:mergeDebugShaders' mergeProfileAssets: task ':app:mergeProfileAssets' mergeProfileJniLibFolders: task ':app:mergeProfileJniLibFolders' mergeProfileResources: task ':app:mergeProfileResources' mergeProfileShaders: task ':app:mergeProfileShaders' mergeReleaseAssets: task ':app:mergeReleaseAssets' mergeReleaseJniLibFolders: task ':app:mergeReleaseJniLibFolders' mergeReleaseResources: task ':app:mergeReleaseResources' mergeReleaseShaders: task ':app:mergeReleaseShaders' mockableAndroidJar: task ':app:mockableAndroidJar' modelRegistry: org.gradle.model.internal.registry.DefaultModelRegistry@3615d79a modelSchemaStore: org.gradle.model.internal.manage.schema.extract.DefaultModelSchemaStore@4cad276d module: org.gradle.api.internal.artifacts.ProjectBackedModule@4a18bc50 name: app normalization: org.gradle.normalization.internal.DefaultInputNormalizationHandler_Decorated@5a229bdc objects: org.gradle.api.internal.model.DefaultObjectFactory@15978c95 org.gradle.jvmargs: -Xmx1536M packageDebug: task ':app:packageDebug' packageDebugAndroidTest: task ':app:packageDebugAndroidTest' packageProfile: task ':app:packageProfile' packageRelease: task ':app:packageRelease' parent: root project 'android' parentIdentifier: root project 'android' path: :app platformAttrExtractor: task ':app:platformAttrExtractor' pluginManager: org.gradle.api.internal.plugins.DefaultPluginManager_Decorated@3014666 plugins: [org.gradle.api.plugins.HelpTasksPlugin@3e29f4c0, com.android.build.gradle.api.AndroidBasePlugin@18088bd5, org.gradle.language.base.plugins.LifecycleBasePlugin@46edb183, org.gradle.api.plugins.BasePlugin@5b6510e6, org.gradle.api.plugins.ReportingBasePlugin@37971b2a, org.gradle.platform.base.plugins.ComponentBasePlugin@781c085c, org.gradle.language.base.plugins.LanguageBasePlugin@775d123e, org.gradle.platform.base.plugins.BinaryBasePlugin@3ad62366, org.gradle.api.plugins.JavaBasePlugin@52b204e8, com.android.build.gradle.internal.coverage.JacocoPlugin@31c8b381, com.android.build.gradle.AppPlugin@7f1f834c, FlutterPlugin@d15054] preBuild: task ':app:preBuild' preDebugAndroidTestBuild: task ':app:preDebugAndroidTestBuild' preDebugBuild: task ':app:preDebugBuild' preDebugUnitTestBuild: task ':app:preDebugUnitTestBuild' preProfileBuild: task ':app:preProfileBuild' preProfileUnitTestBuild: task ':app:preProfileUnitTestBuild' preReleaseBuild: task ':app:preReleaseBuild' preReleaseUnitTestBuild: task ':app:preReleaseUnitTestBuild' prepareLintJar: task ':app:prepareLintJar' processDebugAndroidTestJavaRes: task ':app:processDebugAndroidTestJavaRes' processDebugAndroidTestManifest: task ':app:processDebugAndroidTestManifest' processDebugAndroidTestResources: task ':app:processDebugAndroidTestResources' processDebugJavaRes: task ':app:processDebugJavaRes' processDebugManifest: task ':app:processDebugManifest' processDebugResources: task ':app:processDebugResources' processDebugUnitTestJavaRes: task ':app:processDebugUnitTestJavaRes' processOperations: org.gradle.api.internal.file.DefaultFileOperations@1dae190c processProfileJavaRes: task ':app:processProfileJavaRes' processProfileManifest: task ':app:processProfileManifest' processProfileResources: task ':app:processProfileResources' processProfileUnitTestJavaRes: task ':app:processProfileUnitTestJavaRes' processReleaseJavaRes: task ':app:processReleaseJavaRes' processReleaseManifest: task ':app:processReleaseManifest' processReleaseResources: task ':app:processReleaseResources' processReleaseUnitTestJavaRes: task ':app:processReleaseUnitTestJavaRes' project: project ':app' projectConfigurator: org.gradle.api.internal.project.BuildOperationCrossProjectConfigurator@45259815 projectDir: /Users/denis.feoktistov/Development/Frameworks/flutter/examples/flutter_gallery/android/app projectEvaluationBroadcaster: ProjectEvaluationListener broadcast projectEvaluator: org.gradle.configuration.project.LifecycleProjectEvaluator@5d143e2c projectPath: :app projectRegistry: org.gradle.api.internal.project.DefaultProjectRegistry@13a6a229 properties: {...} providers: org.gradle.api.internal.provider.DefaultProviderFactory@325ed692 reporting: org.gradle.api.reporting.ReportingExtension_Decorated@1a1df44d reportsDir: /Users/denis.feoktistov/Development/Frameworks/flutter/examples/flutter_gallery/build/app/reports repositories: repository container resolveConfigAttr: task ':app:resolveConfigAttr' resources: org.gradle.api.internal.resources.DefaultResourceHandler@7391222b rootDir: /Users/denis.feoktistov/Development/Frameworks/flutter/examples/flutter_gallery/android rootProject: root project 'android' scriptHandlerFactory: org.gradle.api.internal.initialization.DefaultScriptHandlerFactory@f08972b scriptPluginFactory: org.gradle.configuration.ScriptPluginFactorySelector@2919cb09 serviceRegistryFactory: org.gradle.internal.service.scopes.ProjectScopeServices$4@5c53fdfb services: ProjectScopeServices signingReport: task ':app:signingReport' sourceCompatibility: 1.8 sourceSets: SourceSet container splitsDiscoveryTaskDebug: task ':app:splitsDiscoveryTaskDebug' splitsDiscoveryTaskDebugAndroidTest: task ':app:splitsDiscoveryTaskDebugAndroidTest' splitsDiscoveryTaskProfile: task ':app:splitsDiscoveryTaskProfile' splitsDiscoveryTaskRelease: task ':app:splitsDiscoveryTaskRelease' standardOutputCapture: org.gradle.internal.logging.services.DefaultLoggingManager@5843d43f state: project state 'EXECUTED' status: integration subprojects: [] targetCompatibility: 1.8 tasks: task set test: task ':app:test' testDebugUnitTest: task ':app:testDebugUnitTest' testProfileUnitTest: task ':app:testProfileUnitTest' testReleaseUnitTest: task ':app:testReleaseUnitTest' testReportDir: /Users/denis.feoktistov/Development/Frameworks/flutter/examples/flutter_gallery/build/app/reports/tests testReportDirName: tests testResultsDir: /Users/denis.feoktistov/Development/Frameworks/flutter/examples/flutter_gallery/build/app/test-results testResultsDirName: test-results transformClassesWithDexBuilderForDebug: task ':app:transformClassesWithDexBuilderForDebug' transformClassesWithDexBuilderForDebugAndroidTest: task ':app:transformClassesWithDexBuilderForDebugAndroidTest' transformClassesWithDexBuilderForProfile: task ':app:transformClassesWithDexBuilderForProfile' transformClassesWithPreDexForRelease: task ':app:transformClassesWithPreDexForRelease' transformDexArchiveWithDexMergerForDebug: task ':app:transformDexArchiveWithDexMergerForDebug' transformDexArchiveWithDexMergerForDebugAndroidTest: task ':app:transformDexArchiveWithDexMergerForDebugAndroidTest' transformDexArchiveWithDexMergerForProfile: task ':app:transformDexArchiveWithDexMergerForProfile' transformDexArchiveWithExternalLibsDexMergerForDebug: task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug' transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest: task ':app:transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest' transformDexArchiveWithExternalLibsDexMergerForProfile: task ':app:transformDexArchiveWithExternalLibsDexMergerForProfile' transformDexWithDexForRelease: task ':app:transformDexWithDexForRelease' transformNativeLibsWithMergeJniLibsForDebug: task ':app:transformNativeLibsWithMergeJniLibsForDebug' transformNativeLibsWithMergeJniLibsForDebugAndroidTest: task ':app:transformNativeLibsWithMergeJniLibsForDebugAndroidTest' transformNativeLibsWithMergeJniLibsForProfile: task ':app:transformNativeLibsWithMergeJniLibsForProfile' transformNativeLibsWithMergeJniLibsForRelease: task ':app:transformNativeLibsWithMergeJniLibsForRelease' transformResourcesWithMergeJavaResForDebug: task ':app:transformResourcesWithMergeJavaResForDebug' transformResourcesWithMergeJavaResForDebugAndroidTest: task ':app:transformResourcesWithMergeJavaResForDebugAndroidTest' transformResourcesWithMergeJavaResForDebugUnitTest: task ':app:transformResourcesWithMergeJavaResForDebugUnitTest' transformResourcesWithMergeJavaResForProfile: task ':app:transformResourcesWithMergeJavaResForProfile' transformResourcesWithMergeJavaResForProfileUnitTest: task ':app:transformResourcesWithMergeJavaResForProfileUnitTest' transformResourcesWithMergeJavaResForRelease: task ':app:transformResourcesWithMergeJavaResForRelease' transformResourcesWithMergeJavaResForReleaseUnitTest: task ':app:transformResourcesWithMergeJavaResForReleaseUnitTest' uninstallAll: task ':app:uninstallAll' uninstallDebug: task ':app:uninstallDebug' uninstallDebugAndroidTest: task ':app:uninstallDebugAndroidTest' uninstallProfile: task ':app:uninstallProfile' uninstallRelease: task ':app:uninstallRelease' validateSigningDebug: task ':app:validateSigningDebug' validateSigningDebugAndroidTest: task ':app:validateSigningDebugAndroidTest' validateSigningProfile: task ':app:validateSigningProfile' validateSigningRelease: task ':app:validateSigningRelease' version: unspecified writeDebugApplicationId: task ':app:writeDebugApplicationId' writeProfileApplicationId: task ':app:writeProfileApplicationId' writeReleaseApplicationId: task ':app:writeReleaseApplicationId' BUILD SUCCESSFUL in 1s 1 actionable task: 1 executed [ +8 ms] /Users/denis.feoktistov/Library/Android/sdk/build-tools/27.0.3/aapt dump badging build/app/outputs/apk/app.apk [ +43 ms] Exit code 0 from: /Users/denis.feoktistov/Library/Android/sdk/build-tools/27.0.3/aapt dump badging build/app/outputs/apk/app.apk [ ] package: name='io.flutter.demo.gallery' versionCode='4005012' versionName='0.4.5-pre.12' platformBuildVersionName='' sdkVersion:'16' targetSdkVersion:'27' uses-permission: name='android.permission.INTERNET' uses-permission: name='android.permission.ACCESS_NETWORK_STATE' application-label:'Gallery' application-icon-160:'res/mipmap-mdpi-v4/ic_launcher.png' application-icon-240:'res/mipmap-hdpi-v4/ic_launcher.png' application-icon-320:'res/mipmap-xhdpi-v4/ic_launcher.png' application-icon-480:'res/mipmap-xxhdpi-v4/ic_launcher.png' application-icon-640:'res/mipmap-xxxhdpi-v4/ic_launcher.png' application: label='Gallery' icon='res/mipmap-mdpi-v4/ic_launcher.png' application-debuggable launchable-activity: name='io.flutter.demo.gallery.MainActivity' label='' icon='' feature-group: label='' uses-feature: name='android.hardware.faketouch' uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps' main other-activities supports-screens: 'small' 'normal' 'large' 'xlarge' supports-any-density: 'true' locales: '--_--' densities: '160' '240' '320' '480' '640' native-code: 'armeabi-v7a' 'x86' 'x86_64' [ +8 ms] /Users/denis.feoktistov/Library/Android/sdk/platform-tools/adb -s emulator-5554 logcat -v time -t 1 [ +25 ms] Exit code 0 from: /Users/denis.feoktistov/Library/Android/sdk/platform-tools/adb -s emulator-5554 logcat -v time -t 1 [ ] --------- beginning of main 05-16 08:32:41.261 I/PlayCommon( 2447): [157] com.google.android.play.b.h.e(267): No file ready to send [ +3 ms] /Users/denis.feoktistov/Library/Android/sdk/platform-tools/adb -s emulator-5554 logcat -v time [ +438 ms] DependencyChecker: nothing is modified after 2018-05-16 08:15:43.262. [ +3 ms] /Users/denis.feoktistov/Library/Android/sdk/platform-tools/adb version [ +23 ms] Android Debug Bridge version 1.0.39 Version 0.0.1-4500957 Installed as /Users/denis.feoktistov/Library/Android/sdk/platform-tools/adb [ +4 ms] /Users/denis.feoktistov/Library/Android/sdk/platform-tools/adb start-server [ +193 ms] Building APK [ +5 ms] Running 'gradlew assembleDebug'... [ +2 ms] [android/] /Users/denis.feoktistov/Development/Frameworks/flutter/examples/flutter_gallery/android/gradlew -Ptarget=/Users/denis.feoktistov/Development/Frameworks/flutter/examples/flutter_gallery/lib/main.dart -Ppreview-dart-2=true -Pfilesystem-scheme=org-dartlang-root assembleDebug [ +950 ms] :app:preBuild UP-TO-DATE [ ] :connectivity:preBuild UP-TO-DATE [ ] :connectivity:preDebugBuild UP-TO-DATE [ +7 ms] :connectivity:checkDebugManifest UP-TO-DATE [ ] :connectivity:processDebugManifest UP-TO-DATE [ ] :device_info:preBuild UP-TO-DATE [ ] :device_info:preDebugBuild UP-TO-DATE [ ] :device_info:checkDebugManifest UP-TO-DATE [ ] :device_info:processDebugManifest UP-TO-DATE [ +10 ms] :url_launcher:preBuild UP-TO-DATE [ ] :url_launcher:preDebugBuild UP-TO-DATE [ ] :url_launcher:checkDebugManifest UP-TO-DATE [ ] :url_launcher:processDebugManifest UP-TO-DATE [ ] :video_player:preBuild UP-TO-DATE [ ] :video_player:preDebugBuild UP-TO-DATE [ ] :video_player:checkDebugManifest UP-TO-DATE [ ] :video_player:processDebugManifest UP-TO-DATE [ +20 ms] :app:preDebugBuild UP-TO-DATE [ +11 ms] :connectivity:compileDebugAidl UP-TO-DATE [ ] :device_info:compileDebugAidl UP-TO-DATE [ +10 ms] :url_launcher:compileDebugAidl UP-TO-DATE [ +10 ms] :video_player:compileDebugAidl UP-TO-DATE [ ] :app:compileDebugAidl UP-TO-DATE [ ] :connectivity:packageDebugRenderscript NO-SOURCE [ ] :device_info:packageDebugRenderscript NO-SOURCE [ ] :url_launcher:packageDebugRenderscript NO-SOURCE [ ] :video_player:packageDebugRenderscript NO-SOURCE [ +9 ms] :app:compileDebugRenderscript UP-TO-DATE [ +63 ms] :app:flutterBuildX86Jar UP-TO-DATE [ ] :app:checkDebugManifest UP-TO-DATE [ +10 ms] :app:generateDebugBuildConfig UP-TO-DATE [ ] :app:prepareLintJar UP-TO-DATE [ +34 ms] :app:cleanMergeDebugAssets [ +164 ms] :app:flutterBuildDebug UP-TO-DATE [ ] :app:mergeDebugShaders UP-TO-DATE [ +10 ms] :app:compileDebugShaders UP-TO-DATE [ ] :app:generateDebugAssets UP-TO-DATE [ ] :connectivity:mergeDebugShaders UP-TO-DATE [ ] :connectivity:compileDebugShaders UP-TO-DATE [ ] :connectivity:generateDebugAssets UP-TO-DATE [ ] :connectivity:mergeDebugAssets UP-TO-DATE [ +10 ms] :device_info:mergeDebugShaders UP-TO-DATE [ ] :device_info:compileDebugShaders UP-TO-DATE [ ] :device_info:generateDebugAssets UP-TO-DATE [ ] :device_info:mergeDebugAssets UP-TO-DATE [ ] :url_launcher:mergeDebugShaders UP-TO-DATE [ ] :url_launcher:compileDebugShaders UP-TO-DATE [ ] :url_launcher:generateDebugAssets UP-TO-DATE [ ] :url_launcher:mergeDebugAssets UP-TO-DATE [ +9 ms] :video_player:mergeDebugShaders UP-TO-DATE [ ] :video_player:compileDebugShaders UP-TO-DATE [ ] :video_player:generateDebugAssets UP-TO-DATE [ ] :video_player:mergeDebugAssets UP-TO-DATE [ +9 ms] :app:mergeDebugAssets [ +643 ms] :app:copyFlutterAssetsDebug [ ] :app:generateDebugResValues UP-TO-DATE [ ] :app:generateDebugResources UP-TO-DATE [ +10 ms] :connectivity:compileDebugRenderscript UP-TO-DATE [ ] :connectivity:generateDebugResValues UP-TO-DATE [ ] :connectivity:generateDebugResources UP-TO-DATE [ ] :connectivity:packageDebugResources UP-TO-DATE [ ] :device_info:compileDebugRenderscript UP-TO-DATE [ +10 ms] :device_info:generateDebugResValues UP-TO-DATE [ ] :device_info:generateDebugResources UP-TO-DATE [ ] :device_info:packageDebugResources UP-TO-DATE [ +11 ms] :url_launcher:compileDebugRenderscript UP-TO-DATE [ ] :url_launcher:generateDebugResValues UP-TO-DATE [ ] :url_launcher:generateDebugResources UP-TO-DATE [ ] :url_launcher:packageDebugResources UP-TO-DATE [ ] :video_player:compileDebugRenderscript UP-TO-DATE [ ] :video_player:generateDebugResValues UP-TO-DATE [ +9 ms] :video_player:generateDebugResources UP-TO-DATE [ +10 ms] :video_player:packageDebugResources UP-TO-DATE [ ] :app:mergeDebugResources UP-TO-DATE [ ] :app:createDebugCompatibleScreenManifests UP-TO-DATE [ +10 ms] :app:processDebugManifest UP-TO-DATE [ ] :app:splitsDiscoveryTaskDebug UP-TO-DATE [ ] :connectivity:platformAttrExtractor UP-TO-DATE [ ] :connectivity:processDebugResources UP-TO-DATE [ ] :device_info:platformAttrExtractor UP-TO-DATE [ +10 ms] :device_info:processDebugResources UP-TO-DATE [ ] :url_launcher:platformAttrExtractor UP-TO-DATE [ ] :url_launcher:processDebugResources UP-TO-DATE [ ] :video_player:platformAttrExtractor UP-TO-DATE [ +12 ms] :video_player:processDebugResources UP-TO-DATE [ ] :app:processDebugResources UP-TO-DATE [ ] :app:generateDebugSources UP-TO-DATE [ ] :connectivity:generateDebugBuildConfig UP-TO-DATE [ ] :connectivity:prepareLintJar UP-TO-DATE [ ] :connectivity:generateDebugSources UP-TO-DATE [ ] :connectivity:javaPreCompileDebug UP-TO-DATE [ +9 ms] :connectivity:compileDebugJavaWithJavac UP-TO-DATE [ ] :connectivity:processDebugJavaRes NO-SOURCE [ ] :connectivity:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug UP-TO-DATE [ ] :device_info:generateDebugBuildConfig UP-TO-DATE [ ] :device_info:prepareLintJar UP-TO-DATE [ +11 ms] :device_info:generateDebugSources UP-TO-DATE [ ] :device_info:javaPreCompileDebug UP-TO-DATE [ ] :device_info:compileDebugJavaWithJavac UP-TO-DATE [ ] :device_info:processDebugJavaRes NO-SOURCE [ ] :device_info:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug UP-TO-DATE [ ] :url_launcher:generateDebugBuildConfig UP-TO-DATE [ ] :url_launcher:prepareLintJar UP-TO-DATE [ +10 ms] :url_launcher:generateDebugSources UP-TO-DATE [ ] :url_launcher:javaPreCompileDebug UP-TO-DATE [ ] :url_launcher:compileDebugJavaWithJavac UP-TO-DATE [ ] :url_launcher:processDebugJavaRes NO-SOURCE [ ] :url_launcher:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug UP-TO-DATE [ ] :video_player:generateDebugBuildConfig UP-TO-DATE [ +9 ms] :video_player:prepareLintJar UP-TO-DATE [ ] :video_player:generateDebugSources UP-TO-DATE [ ] :video_player:javaPreCompileDebug UP-TO-DATE [ ] :video_player:compileDebugJavaWithJavac UP-TO-DATE [ ] :video_player:processDebugJavaRes NO-SOURCE [ ] :video_player:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug UP-TO-DATE [ +12 ms] :app:javaPreCompileDebug UP-TO-DATE [ ] :app:compileDebugJavaWithJavac UP-TO-DATE [ ] :app:compileDebugNdk NO-SOURCE [ ] :app:compileDebugSources UP-TO-DATE [ +46 ms] :app:transformClassesWithDexBuilderForDebug UP-TO-DATE [ ] :app:transformDexArchiveWithExternalLibsDexMergerForDebug UP-TO-DATE [ +11 ms] :app:transformDexArchiveWithDexMergerForDebug UP-TO-DATE [ ] :app:mergeDebugJniLibFolders UP-TO-DATE [ ] :connectivity:compileDebugNdk NO-SOURCE [ ] :connectivity:mergeDebugJniLibFolders UP-TO-DATE [ ] :connectivity:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE [ ] :connectivity:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE [ ] :device_info:compileDebugNdk NO-SOURCE [ +8 ms] :device_info:mergeDebugJniLibFolders UP-TO-DATE [ ] :device_info:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE [ ] :device_info:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE [ ] :url_launcher:compileDebugNdk NO-SOURCE [ +12 ms] :url_launcher:mergeDebugJniLibFolders UP-TO-DATE [ ] :url_launcher:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE [ ] :url_launcher:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE [ ] :video_player:compileDebugNdk NO-SOURCE [ ] :video_player:mergeDebugJniLibFolders UP-TO-DATE [ +10 ms] :video_player:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE [ ] :video_player:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE [ ] :app:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE [ ] :app:processDebugJavaRes NO-SOURCE [ +22 ms] :app:transformResourcesWithMergeJavaResForDebug UP-TO-DATE [ ] :app:validateSigningDebug [ +21 ms] :app:packageDebug UP-TO-DATE [ +10 ms] :app:assembleDebug UP-TO-DATE [ ] :connectivity:extractDebugAnnotations UP-TO-DATE [ ] :connectivity:mergeDebugConsumerProguardFiles UP-TO-DATE [ +13 ms] :connectivity:transformResourcesWithMergeJavaResForDebug UP-TO-DATE [ ] :connectivity:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE [ ] :connectivity:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE [ ] :connectivity:bundleDebug UP-TO-DATE [ ] :connectivity:compileDebugSources UP-TO-DATE [ ] :connectivity:assembleDebug UP-TO-DATE [ +10 ms] :device_info:extractDebugAnnotations UP-TO-DATE [ ] :device_info:mergeDebugConsumerProguardFiles UP-TO-DATE [ ] :device_info:transformResourcesWithMergeJavaResForDebug UP-TO-DATE [ ] :device_info:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE [ ] :device_info:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE [ +10 ms] :device_info:bundleDebug UP-TO-DATE [ ] :device_info:compileDebugSources UP-TO-DATE [ ] :device_info:assembleDebug UP-TO-DATE [ ] :url_launcher:extractDebugAnnotations UP-TO-DATE [ ] :url_launcher:mergeDebugConsumerProguardFiles UP-TO-DATE [ ] :url_launcher:transformResourcesWithMergeJavaResForDebug UP-TO-DATE [ +11 ms] :url_launcher:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE [ ] :url_launcher:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE [ ] :url_launcher:bundleDebug UP-TO-DATE [ ] :url_launcher:compileDebugSources UP-TO-DATE [ ] :url_launcher:assembleDebug UP-TO-DATE [ ] :video_player:extractDebugAnnotations UP-TO-DATE [ ] :video_player:mergeDebugConsumerProguardFiles UP-TO-DATE [ +10 ms] :video_player:transformResourcesWithMergeJavaResForDebug UP-TO-DATE [ ] :video_player:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE [ ] :video_player:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE [ ] :video_player:bundleDebug UP-TO-DATE [ ] :video_player:compileDebugSources UP-TO-DATE [ ] :video_player:assembleDebug UP-TO-DATE [ ] BUILD SUCCESSFUL in 2s [ ] 129 actionable tasks: 4 executed, 125 up-to-date [ +459 ms] calculateSha: /Users/denis.feoktistov/Development/Frameworks/flutter/examples/flutter_gallery/build/app/outputs/apk/app.apk [ +591 ms] Built build/app/outputs/apk/debug/app-debug.apk. [ +1 ms] /Users/denis.feoktistov/Library/Android/sdk/build-tools/27.0.3/aapt dump badging build/app/outputs/apk/app.apk [ +15 ms] Exit code 0 from: /Users/denis.feoktistov/Library/Android/sdk/build-tools/27.0.3/aapt dump badging build/app/outputs/apk/app.apk [ ] package: name='io.flutter.demo.gallery' versionCode='4005012' versionName='0.4.5-pre.12' platformBuildVersionName='' sdkVersion:'16' targetSdkVersion:'27' uses-permission: name='android.permission.INTERNET' uses-permission: name='android.permission.ACCESS_NETWORK_STATE' application-label:'Gallery' application-icon-160:'res/mipmap-mdpi-v4/ic_launcher.png' application-icon-240:'res/mipmap-hdpi-v4/ic_launcher.png' application-icon-320:'res/mipmap-xhdpi-v4/ic_launcher.png' application-icon-480:'res/mipmap-xxhdpi-v4/ic_launcher.png' application-icon-640:'res/mipmap-xxxhdpi-v4/ic_launcher.png' application: label='Gallery' icon='res/mipmap-mdpi-v4/ic_launcher.png' application-debuggable launchable-activity: name='io.flutter.demo.gallery.MainActivity' label='' icon='' feature-group: label='' uses-feature: name='android.hardware.faketouch' uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps' main other-activities supports-screens: 'small' 'normal' 'large' 'xlarge' supports-any-density: 'true' locales: '--_--' densities: '160' '240' '320' '480' '640' native-code: 'armeabi-v7a' 'x86' 'x86_64' [ +1 ms] Stopping app 'app.apk' on Android SDK built for x86. [ ] /Users/denis.feoktistov/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am force-stop io.flutter.demo.gallery [ +228 ms] /Users/denis.feoktistov/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm list packages io.flutter.demo.gallery [ +418 ms] package:io.flutter.demo.gallery [ +3 ms] /Users/denis.feoktistov/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell cat /data/local/tmp/sky.io.flutter.demo.gallery.sha1 [ +29 ms] 388a4df2d9b9a9ba5f86e6b667283e603af85b74 [ +1 ms] Latest build already installed. [ ] Android SDK built for x86 startApp [ +2 ms] /Users/denis.feoktistov/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am start -a android.intent.action.RUN -f0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true io.flutter.demo.gallery/io.flutter.demo.gallery.MainActivity [ +270 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=io.flutter.demo.gallery/.MainActivity (has extras) } [ ] Waiting for observatory port to be available... [ +198 ms] I/FlutterActivityDelegate( 5180): onResume setting current activity to this [ +101 ms] Observatory URL on device: http://127.0.0.1:43862/ [ +6 ms] /Users/denis.feoktistov/Library/Android/sdk/platform-tools/adb -s emulator-5554 forward tcp:8102 tcp:43862 [ +19 ms] Forwarded host port 8102 to device port 43862 for Observatory [ +8 ms] Connecting to service protocol: http://127.0.0.1:8102/ [ +190 ms] Successfully connected to service protocol: http://127.0.0.1:8102/ [ +4 ms] getVM: {} [ +11 ms] getIsolate: {isolateId: isolates/726581546} [ +2 ms] _flutter.listViews: {} [ +270 ms] DevFS: Creating new filesystem on the device (null) [ ] _createDevFS: {fsName: flutter_gallery} [ +18 ms] DevFS: Created new filesystem on the device (file:///data/user/0/io.flutter.demo.gallery/cache/flutter_galleryCZOZLR/flutter_gallery/) [ +1 ms] Updating assets [ +305 ms] D/ ( 5180): HostConnection::get() New Host Connection established 0xab108540, tid 5197 [ ] D/EGL_emulation( 5180): eglMakeCurrent: 0xb0429260: ver 3 0 (tinfo 0xab103200) [ +175 ms] Syncing files to device Android SDK built for x86... [ +7 ms] DevFS: Starting sync from LocalDirectory: '/Users/denis.feoktistov/Development/Frameworks/flutter/examples/flutter_gallery' [ ] Scanning project files [ +20 ms] Scanning package files [ +93 ms] Scanning asset files [ +8 ms] Scanning for deleted files [ +12 ms] Compiling dart to kernel with 539 updated files [ +2 ms] /Users/denis.feoktistov/Development/Frameworks/flutter/bin/cache/dart-sdk/bin/dart /Users/denis.feoktistov/Development/Frameworks/flutter/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root /Users/denis.feoktistov/Development/Frameworks/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --strong --target=flutter --output-dill build/app.dill --packages /Users/denis.feoktistov/Development/Frameworks/flutter/examples/flutter_gallery/.packages --filesystem-scheme org-dartlang-root [+1516 ms] Updating files [+2096 ms] DevFS: Sync finished [ +1 ms] Synced 11.7MB. [ +5 ms] _flutter.listViews: {} [ +5 ms] Connected to _flutterView/0xb043530c. [ +1 ms] 🔥 To hot reload your app on the fly, press &quot;r&quot;. To restart the app entirely, press &quot;R&quot;. [ ] An Observatory debugger and profiler on Android SDK built for x86 is available at: http://127.0.0.1:8102/ [ ] For a more detailed help message, press &quot;h&quot;. To quit, press &quot;q&quot;."><pre class="notranslate"><code class="notranslate">[ +28 ms] [/Users/denis.feoktistov/Development/Frameworks/flutter/] git rev-parse --abbrev-ref --symbolic @{u} [ +39 ms] Exit code 0 from: git rev-parse --abbrev-ref --symbolic @{u} [ ] origin/master [ ] [/Users/denis.feoktistov/Development/Frameworks/flutter/] git rev-parse --abbrev-ref HEAD [ +10 ms] Exit code 0 from: git rev-parse --abbrev-ref HEAD [ ] master [ ] [/Users/denis.feoktistov/Development/Frameworks/flutter/] git ls-remote --get-url origin [ +11 ms] Exit code 0 from: git ls-remote --get-url origin [ ] https://github.com/flutter/flutter.git [ ] [/Users/denis.feoktistov/Development/Frameworks/flutter/] git log -n 1 --pretty=format:%H [ +44 ms] Exit code 0 from: git log -n 1 --pretty=format:%H [ ] c169136effe913693a5d31f0b9b97cce53a6a1df [ ] [/Users/denis.feoktistov/Development/Frameworks/flutter/] git log -n 1 --pretty=format:%ar [ +13 ms] Exit code 0 from: git log -n 1 --pretty=format:%ar [ ] 2 hours ago [ ] [/Users/denis.feoktistov/Development/Frameworks/flutter/] git describe --match v*.*.* --first-parent --long --tags [ +61 ms] Exit code 0 from: git describe --match v*.*.* --first-parent --long --tags [ ] v0.4.4-12-gc169136ef [ +321 ms] /usr/bin/defaults read /Applications/Android Studio 3.2 Preview.app/Contents/Info CFBundleShortVersionString [ +101 ms] Exit code 0 from: /usr/bin/defaults read /Applications/Android Studio 3.2 Preview.app/Contents/Info CFBundleShortVersionString [ ] EAP AI-181.4668.68.32.4763614 [ +100 ms] /usr/bin/defaults read /Applications/Android Studio.app/Contents/Info CFBundleShortVersionString [ +44 ms] Exit code 0 from: /usr/bin/defaults read /Applications/Android Studio.app/Contents/Info CFBundleShortVersionString [ ] 3.1 [ +110 ms] /Users/denis.feoktistov/Library/Android/sdk/platform-tools/adb devices -l [ +16 ms] Exit code 0 from: /Users/denis.feoktistov/Library/Android/sdk/platform-tools/adb devices -l [ ] List of devices attached emulator-5554 device product:sdk_google_phone_x86 model:Android_SDK_built_for_x86 device:generic_x86 transport_id:1 [ +9 ms] idevice_id -h [ +325 ms] /usr/bin/xcrun simctl list --json devices [ +193 ms] Found plugin connectivity at /Users/denis.feoktistov/.pub-cache/hosted/pub.dartlang.org/connectivity-0.3.0/ [ +26 ms] Found plugin device_info at /Users/denis.feoktistov/.pub-cache/hosted/pub.dartlang.org/device_info-0.2.0/ [ +97 ms] Found plugin url_launcher at /Users/denis.feoktistov/.pub-cache/hosted/pub.dartlang.org/url_launcher-3.0.0/ [ +3 ms] Found plugin video_player at /Users/denis.feoktistov/.pub-cache/hosted/pub.dartlang.org/video_player-0.5.1/ [ +71 ms] /Users/denis.feoktistov/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell getprop [ +29 ms] ro.hardware = ranchu [ +15 ms] Using hardware rendering with device Android SDK built for x86. If you get graphics artifacts, consider enabling software rendering with "--enable-software-rendering". [ +936 ms] Launching lib/main.dart on Android SDK built for x86 in debug mode... [ +6 ms] Initializing gradle... [ +7 ms] Using gradle from /Users/denis.feoktistov/Development/Frameworks/flutter/examples/flutter_gallery/android/gradlew. [ +96 ms] /usr/bin/defaults read /Applications/Android Studio 3.2 Preview.app/Contents/Info CFBundleShortVersionString [ +43 ms] Exit code 0 from: /usr/bin/defaults read /Applications/Android Studio 3.2 Preview.app/Contents/Info CFBundleShortVersionString [ ] EAP AI-181.4668.68.32.4763614 [ +87 ms] /usr/bin/defaults read /Applications/Android Studio.app/Contents/Info CFBundleShortVersionString [ +43 ms] Exit code 0 from: /usr/bin/defaults read /Applications/Android Studio.app/Contents/Info CFBundleShortVersionString [ ] 3.1 [ +79 ms] /Users/denis.feoktistov/Development/Frameworks/flutter/examples/flutter_gallery/android/gradlew -v [ +659 ms] ------------------------------------------------------------ Gradle 4.1 ------------------------------------------------------------ Build time: 2017-08-07 14:38:48 UTC Revision: 941559e020f6c357ebb08d5c67acdb858a3defc2 Groovy: 2.4.11 Ant: Apache Ant(TM) version 1.9.6 compiled on June 29 2015 JVM: 1.8.0_152-release (JetBrains s.r.o 25.152-b01) OS: Mac OS X 10.13.4 x86_64 [ +1 ms] Resolving dependencies... [ ] [android/] /Users/denis.feoktistov/Development/Frameworks/flutter/examples/flutter_gallery/android/gradlew app:properties [+1194 ms] :app:properties ------------------------------------------------------------ Project :app ------------------------------------------------------------ allprojects: [project ':app'] android: com.android.build.gradle.AppExtension_Decorated@6fea813d androidDependencies: task ':app:androidDependencies' ant: org.gradle.api.internal.project.DefaultAntBuilder@12f38bb7 antBuilderFactory: org.gradle.api.internal.project.DefaultAntBuilderFactory@3e51a150 archivesBaseName: app artifacts: org.gradle.api.internal.artifacts.dsl.DefaultArtifactHandler_Decorated@3c0f904c asDynamicObject: DynamicObject for project ':app' assemble: task ':app:assemble' assembleAndroidTest: task ':app:assembleAndroidTest' assembleDebug: task ':app:assembleDebug' assembleDebugAndroidTest: task ':app:assembleDebugAndroidTest' assembleDebugUnitTest: task ':app:assembleDebugUnitTest' assembleProfile: task ':app:assembleProfile' assembleProfileUnitTest: task ':app:assembleProfileUnitTest' assembleRelease: task ':app:assembleRelease' assembleReleaseUnitTest: task ':app:assembleReleaseUnitTest' baseClassLoaderScope: org.gradle.api.internal.initialization.DefaultClassLoaderScope@7d70d99 buildDependents: task ':app:buildDependents' buildDir: /Users/denis.feoktistov/Development/Frameworks/flutter/examples/flutter_gallery/build/app buildFile: /Users/denis.feoktistov/Development/Frameworks/flutter/examples/flutter_gallery/android/app/build.gradle buildNeeded: task ':app:buildNeeded' buildOutputs: BaseVariantOutput container buildScriptSource: org.gradle.groovy.scripts.UriScriptSource@9f780e7 buildscript: org.gradle.api.internal.initialization.DefaultScriptHandler@3a1ffba8 bundleAppClassesDebug: task ':app:bundleAppClassesDebug' bundleAppClassesDebugAndroidTest: task ':app:bundleAppClassesDebugAndroidTest' bundleAppClassesDebugUnitTest: task ':app:bundleAppClassesDebugUnitTest' bundleAppClassesProfile: task ':app:bundleAppClassesProfile' bundleAppClassesProfileUnitTest: task ':app:bundleAppClassesProfileUnitTest' bundleAppClassesRelease: task ':app:bundleAppClassesRelease' bundleAppClassesReleaseUnitTest: task ':app:bundleAppClassesReleaseUnitTest' check: task ':app:check' checkDebugManifest: task ':app:checkDebugManifest' checkProfileManifest: task ':app:checkProfileManifest' checkReleaseManifest: task ':app:checkReleaseManifest' childProjects: {} class: class org.gradle.api.internal.project.DefaultProject_Decorated classLoaderScope: org.gradle.api.internal.initialization.DefaultClassLoaderScope@7a529157 cleanBuildCache: task ':app:cleanBuildCache' compileDebugAidl: task ':app:compileDebugAidl' compileDebugAndroidTestAidl: task ':app:compileDebugAndroidTestAidl' compileDebugAndroidTestJavaWithJavac: task ':app:compileDebugAndroidTestJavaWithJavac' compileDebugAndroidTestNdk: task ':app:compileDebugAndroidTestNdk' compileDebugAndroidTestRenderscript: task ':app:compileDebugAndroidTestRenderscript' compileDebugAndroidTestShaders: task ':app:compileDebugAndroidTestShaders' compileDebugAndroidTestSources: task ':app:compileDebugAndroidTestSources' compileDebugJavaWithJavac: task ':app:compileDebugJavaWithJavac' compileDebugNdk: task ':app:compileDebugNdk' compileDebugRenderscript: task ':app:compileDebugRenderscript' compileDebugShaders: task ':app:compileDebugShaders' compileDebugSources: task ':app:compileDebugSources' compileDebugUnitTestJavaWithJavac: task ':app:compileDebugUnitTestJavaWithJavac' compileDebugUnitTestSources: task ':app:compileDebugUnitTestSources' compileLint: task ':app:compileLint' compileProfileAidl: task ':app:compileProfileAidl' compileProfileJavaWithJavac: task ':app:compileProfileJavaWithJavac' compileProfileNdk: task ':app:compileProfileNdk' compileProfileRenderscript: task ':app:compileProfileRenderscript' compileProfileShaders: task ':app:compileProfileShaders' compileProfileSources: task ':app:compileProfileSources' compileProfileUnitTestJavaWithJavac: task ':app:compileProfileUnitTestJavaWithJavac' compileProfileUnitTestSources: task ':app:compileProfileUnitTestSources' compileReleaseAidl: task ':app:compileReleaseAidl' compileReleaseJavaWithJavac: task ':app:compileReleaseJavaWithJavac' compileReleaseNdk: task ':app:compileReleaseNdk' compileReleaseRenderscript: task ':app:compileReleaseRenderscript' compileReleaseShaders: task ':app:compileReleaseShaders' compileReleaseSources: task ':app:compileReleaseSources' compileReleaseUnitTestJavaWithJavac: task ':app:compileReleaseUnitTestJavaWithJavac' compileReleaseUnitTestSources: task ':app:compileReleaseUnitTestSources' components: SoftwareComponentInternal set configurationActions: org.gradle.configuration.project.DefaultProjectConfigurationActionContainer@45d6e041 configurationTargetIdentifier: org.gradle.configuration.ConfigurationTargetIdentifier$1@7093a0a4 configurations: configuration container connectedAndroidTest: task ':app:connectedAndroidTest' connectedCheck: task ':app:connectedCheck' connectedDebugAndroidTest: task ':app:connectedDebugAndroidTest' consumeConfigAttr: task ':app:consumeConfigAttr' convention: org.gradle.api.internal.plugins.DefaultConvention@3514c7a5 copyFlutterAssetsDebug: task ':app:copyFlutterAssetsDebug' copyFlutterAssetsProfile: task ':app:copyFlutterAssetsProfile' copyFlutterAssetsRelease: task ':app:copyFlutterAssetsRelease' createDebugCompatibleScreenManifests: task ':app:createDebugCompatibleScreenManifests' createProfileCompatibleScreenManifests: task ':app:createProfileCompatibleScreenManifests' createReleaseCompatibleScreenManifests: task ':app:createReleaseCompatibleScreenManifests' defaultArtifacts: org.gradle.api.internal.plugins.DefaultArtifactPublicationSet_Decorated@5b222079 defaultTasks: [] deferredProjectConfiguration: org.gradle.api.internal.project.DeferredProjectConfiguration@290417b4 dependencies: org.gradle.api.internal.artifacts.dsl.dependencies.DefaultDependencyHandler_Decorated@44ff14b0 depth: 1 description: null deviceAndroidTest: task ':app:deviceAndroidTest' deviceCheck: task ':app:deviceCheck' displayName: project ':app' distsDir: /Users/denis.feoktistov/Development/Frameworks/flutter/examples/flutter_gallery/build/app/distributions distsDirName: distributions docsDir: /Users/denis.feoktistov/Development/Frameworks/flutter/examples/flutter_gallery/build/app/docs docsDirName: docs ext: org.gradle.api.internal.plugins.DefaultExtraPropertiesExtension@57c5ca65 extensions: org.gradle.api.internal.plugins.DefaultConvention@3514c7a5 extractProguardFiles: task ':app:extractProguardFiles' fileOperations: org.gradle.api.internal.file.DefaultFileOperations@1dae190c fileResolver: org.gradle.api.internal.file.BaseDirFileResolver@149e04ba flutter: FlutterExtension_Decorated@28f8c80d flutterBuildDebug: task ':app:flutterBuildDebug' flutterBuildProfile: task ':app:flutterBuildProfile' flutterBuildRelease: task ':app:flutterBuildRelease' flutterBuildX86Jar: task ':app:flutterBuildX86Jar' generateDebugAndroidTestAssets: task ':app:generateDebugAndroidTestAssets' generateDebugAndroidTestBuildConfig: task ':app:generateDebugAndroidTestBuildConfig' generateDebugAndroidTestResValues: task ':app:generateDebugAndroidTestResValues' generateDebugAndroidTestResources: task ':app:generateDebugAndroidTestResources' generateDebugAndroidTestSources: task ':app:generateDebugAndroidTestSources' generateDebugAssets: task ':app:generateDebugAssets' generateDebugBuildConfig: task ':app:generateDebugBuildConfig' generateDebugResValues: task ':app:generateDebugResValues' generateDebugResources: task ':app:generateDebugResources' generateDebugSources: task ':app:generateDebugSources' generateProfileAssets: task ':app:generateProfileAssets' generateProfileBuildConfig: task ':app:generateProfileBuildConfig' generateProfileResValues: task ':app:generateProfileResValues' generateProfileResources: task ':app:generateProfileResources' generateProfileSources: task ':app:generateProfileSources' generateReleaseAssets: task ':app:generateReleaseAssets' generateReleaseBuildConfig: task ':app:generateReleaseBuildConfig' generateReleaseResValues: task ':app:generateReleaseResValues' generateReleaseResources: task ':app:generateReleaseResources' generateReleaseSources: task ':app:generateReleaseSources' gradle: build 'android' group: android identityPath: :app inheritedScope: org.gradle.api.internal.ExtensibleDynamicObject$InheritedDynamicObject@5197b995 installDebug: task ':app:installDebug' installDebugAndroidTest: task ':app:installDebugAndroidTest' installProfile: task ':app:installProfile' installRelease: task ':app:installRelease' javaPreCompileDebug: task ':app:javaPreCompileDebug' javaPreCompileDebugAndroidTest: task ':app:javaPreCompileDebugAndroidTest' javaPreCompileDebugUnitTest: task ':app:javaPreCompileDebugUnitTest' javaPreCompileProfile: task ':app:javaPreCompileProfile' javaPreCompileProfileUnitTest: task ':app:javaPreCompileProfileUnitTest' javaPreCompileRelease: task ':app:javaPreCompileRelease' javaPreCompileReleaseUnitTest: task ':app:javaPreCompileReleaseUnitTest' layout: org.gradle.api.internal.file.DefaultProjectLayout@3c1cbcd2 libsDir: /Users/denis.feoktistov/Development/Frameworks/flutter/examples/flutter_gallery/build/app/libs libsDirName: libs lint: task ':app:lint' lintDebug: task ':app:lintDebug' lintProfile: task ':app:lintProfile' lintRelease: task ':app:lintRelease' lintVitalRelease: task ':app:lintVitalRelease' logger: org.gradle.internal.logging.slf4j.OutputEventListenerBackedLogger@2c5e9693 logging: org.gradle.internal.logging.services.DefaultLoggingManager@5843d43f mergeDebugAndroidTestAssets: task ':app:mergeDebugAndroidTestAssets' mergeDebugAndroidTestJniLibFolders: task ':app:mergeDebugAndroidTestJniLibFolders' mergeDebugAndroidTestResources: task ':app:mergeDebugAndroidTestResources' mergeDebugAndroidTestShaders: task ':app:mergeDebugAndroidTestShaders' mergeDebugAssets: task ':app:mergeDebugAssets' mergeDebugJniLibFolders: task ':app:mergeDebugJniLibFolders' mergeDebugResources: task ':app:mergeDebugResources' mergeDebugShaders: task ':app:mergeDebugShaders' mergeProfileAssets: task ':app:mergeProfileAssets' mergeProfileJniLibFolders: task ':app:mergeProfileJniLibFolders' mergeProfileResources: task ':app:mergeProfileResources' mergeProfileShaders: task ':app:mergeProfileShaders' mergeReleaseAssets: task ':app:mergeReleaseAssets' mergeReleaseJniLibFolders: task ':app:mergeReleaseJniLibFolders' mergeReleaseResources: task ':app:mergeReleaseResources' mergeReleaseShaders: task ':app:mergeReleaseShaders' mockableAndroidJar: task ':app:mockableAndroidJar' modelRegistry: org.gradle.model.internal.registry.DefaultModelRegistry@3615d79a modelSchemaStore: org.gradle.model.internal.manage.schema.extract.DefaultModelSchemaStore@4cad276d module: org.gradle.api.internal.artifacts.ProjectBackedModule@4a18bc50 name: app normalization: org.gradle.normalization.internal.DefaultInputNormalizationHandler_Decorated@5a229bdc objects: org.gradle.api.internal.model.DefaultObjectFactory@15978c95 org.gradle.jvmargs: -Xmx1536M packageDebug: task ':app:packageDebug' packageDebugAndroidTest: task ':app:packageDebugAndroidTest' packageProfile: task ':app:packageProfile' packageRelease: task ':app:packageRelease' parent: root project 'android' parentIdentifier: root project 'android' path: :app platformAttrExtractor: task ':app:platformAttrExtractor' pluginManager: org.gradle.api.internal.plugins.DefaultPluginManager_Decorated@3014666 plugins: [org.gradle.api.plugins.HelpTasksPlugin@3e29f4c0, com.android.build.gradle.api.AndroidBasePlugin@18088bd5, org.gradle.language.base.plugins.LifecycleBasePlugin@46edb183, org.gradle.api.plugins.BasePlugin@5b6510e6, org.gradle.api.plugins.ReportingBasePlugin@37971b2a, org.gradle.platform.base.plugins.ComponentBasePlugin@781c085c, org.gradle.language.base.plugins.LanguageBasePlugin@775d123e, org.gradle.platform.base.plugins.BinaryBasePlugin@3ad62366, org.gradle.api.plugins.JavaBasePlugin@52b204e8, com.android.build.gradle.internal.coverage.JacocoPlugin@31c8b381, com.android.build.gradle.AppPlugin@7f1f834c, FlutterPlugin@d15054] preBuild: task ':app:preBuild' preDebugAndroidTestBuild: task ':app:preDebugAndroidTestBuild' preDebugBuild: task ':app:preDebugBuild' preDebugUnitTestBuild: task ':app:preDebugUnitTestBuild' preProfileBuild: task ':app:preProfileBuild' preProfileUnitTestBuild: task ':app:preProfileUnitTestBuild' preReleaseBuild: task ':app:preReleaseBuild' preReleaseUnitTestBuild: task ':app:preReleaseUnitTestBuild' prepareLintJar: task ':app:prepareLintJar' processDebugAndroidTestJavaRes: task ':app:processDebugAndroidTestJavaRes' processDebugAndroidTestManifest: task ':app:processDebugAndroidTestManifest' processDebugAndroidTestResources: task ':app:processDebugAndroidTestResources' processDebugJavaRes: task ':app:processDebugJavaRes' processDebugManifest: task ':app:processDebugManifest' processDebugResources: task ':app:processDebugResources' processDebugUnitTestJavaRes: task ':app:processDebugUnitTestJavaRes' processOperations: org.gradle.api.internal.file.DefaultFileOperations@1dae190c processProfileJavaRes: task ':app:processProfileJavaRes' processProfileManifest: task ':app:processProfileManifest' processProfileResources: task ':app:processProfileResources' processProfileUnitTestJavaRes: task ':app:processProfileUnitTestJavaRes' processReleaseJavaRes: task ':app:processReleaseJavaRes' processReleaseManifest: task ':app:processReleaseManifest' processReleaseResources: task ':app:processReleaseResources' processReleaseUnitTestJavaRes: task ':app:processReleaseUnitTestJavaRes' project: project ':app' projectConfigurator: org.gradle.api.internal.project.BuildOperationCrossProjectConfigurator@45259815 projectDir: /Users/denis.feoktistov/Development/Frameworks/flutter/examples/flutter_gallery/android/app projectEvaluationBroadcaster: ProjectEvaluationListener broadcast projectEvaluator: org.gradle.configuration.project.LifecycleProjectEvaluator@5d143e2c projectPath: :app projectRegistry: org.gradle.api.internal.project.DefaultProjectRegistry@13a6a229 properties: {...} providers: org.gradle.api.internal.provider.DefaultProviderFactory@325ed692 reporting: org.gradle.api.reporting.ReportingExtension_Decorated@1a1df44d reportsDir: /Users/denis.feoktistov/Development/Frameworks/flutter/examples/flutter_gallery/build/app/reports repositories: repository container resolveConfigAttr: task ':app:resolveConfigAttr' resources: org.gradle.api.internal.resources.DefaultResourceHandler@7391222b rootDir: /Users/denis.feoktistov/Development/Frameworks/flutter/examples/flutter_gallery/android rootProject: root project 'android' scriptHandlerFactory: org.gradle.api.internal.initialization.DefaultScriptHandlerFactory@f08972b scriptPluginFactory: org.gradle.configuration.ScriptPluginFactorySelector@2919cb09 serviceRegistryFactory: org.gradle.internal.service.scopes.ProjectScopeServices$4@5c53fdfb services: ProjectScopeServices signingReport: task ':app:signingReport' sourceCompatibility: 1.8 sourceSets: SourceSet container splitsDiscoveryTaskDebug: task ':app:splitsDiscoveryTaskDebug' splitsDiscoveryTaskDebugAndroidTest: task ':app:splitsDiscoveryTaskDebugAndroidTest' splitsDiscoveryTaskProfile: task ':app:splitsDiscoveryTaskProfile' splitsDiscoveryTaskRelease: task ':app:splitsDiscoveryTaskRelease' standardOutputCapture: org.gradle.internal.logging.services.DefaultLoggingManager@5843d43f state: project state 'EXECUTED' status: integration subprojects: [] targetCompatibility: 1.8 tasks: task set test: task ':app:test' testDebugUnitTest: task ':app:testDebugUnitTest' testProfileUnitTest: task ':app:testProfileUnitTest' testReleaseUnitTest: task ':app:testReleaseUnitTest' testReportDir: /Users/denis.feoktistov/Development/Frameworks/flutter/examples/flutter_gallery/build/app/reports/tests testReportDirName: tests testResultsDir: /Users/denis.feoktistov/Development/Frameworks/flutter/examples/flutter_gallery/build/app/test-results testResultsDirName: test-results transformClassesWithDexBuilderForDebug: task ':app:transformClassesWithDexBuilderForDebug' transformClassesWithDexBuilderForDebugAndroidTest: task ':app:transformClassesWithDexBuilderForDebugAndroidTest' transformClassesWithDexBuilderForProfile: task ':app:transformClassesWithDexBuilderForProfile' transformClassesWithPreDexForRelease: task ':app:transformClassesWithPreDexForRelease' transformDexArchiveWithDexMergerForDebug: task ':app:transformDexArchiveWithDexMergerForDebug' transformDexArchiveWithDexMergerForDebugAndroidTest: task ':app:transformDexArchiveWithDexMergerForDebugAndroidTest' transformDexArchiveWithDexMergerForProfile: task ':app:transformDexArchiveWithDexMergerForProfile' transformDexArchiveWithExternalLibsDexMergerForDebug: task ':app:transformDexArchiveWithExternalLibsDexMergerForDebug' transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest: task ':app:transformDexArchiveWithExternalLibsDexMergerForDebugAndroidTest' transformDexArchiveWithExternalLibsDexMergerForProfile: task ':app:transformDexArchiveWithExternalLibsDexMergerForProfile' transformDexWithDexForRelease: task ':app:transformDexWithDexForRelease' transformNativeLibsWithMergeJniLibsForDebug: task ':app:transformNativeLibsWithMergeJniLibsForDebug' transformNativeLibsWithMergeJniLibsForDebugAndroidTest: task ':app:transformNativeLibsWithMergeJniLibsForDebugAndroidTest' transformNativeLibsWithMergeJniLibsForProfile: task ':app:transformNativeLibsWithMergeJniLibsForProfile' transformNativeLibsWithMergeJniLibsForRelease: task ':app:transformNativeLibsWithMergeJniLibsForRelease' transformResourcesWithMergeJavaResForDebug: task ':app:transformResourcesWithMergeJavaResForDebug' transformResourcesWithMergeJavaResForDebugAndroidTest: task ':app:transformResourcesWithMergeJavaResForDebugAndroidTest' transformResourcesWithMergeJavaResForDebugUnitTest: task ':app:transformResourcesWithMergeJavaResForDebugUnitTest' transformResourcesWithMergeJavaResForProfile: task ':app:transformResourcesWithMergeJavaResForProfile' transformResourcesWithMergeJavaResForProfileUnitTest: task ':app:transformResourcesWithMergeJavaResForProfileUnitTest' transformResourcesWithMergeJavaResForRelease: task ':app:transformResourcesWithMergeJavaResForRelease' transformResourcesWithMergeJavaResForReleaseUnitTest: task ':app:transformResourcesWithMergeJavaResForReleaseUnitTest' uninstallAll: task ':app:uninstallAll' uninstallDebug: task ':app:uninstallDebug' uninstallDebugAndroidTest: task ':app:uninstallDebugAndroidTest' uninstallProfile: task ':app:uninstallProfile' uninstallRelease: task ':app:uninstallRelease' validateSigningDebug: task ':app:validateSigningDebug' validateSigningDebugAndroidTest: task ':app:validateSigningDebugAndroidTest' validateSigningProfile: task ':app:validateSigningProfile' validateSigningRelease: task ':app:validateSigningRelease' version: unspecified writeDebugApplicationId: task ':app:writeDebugApplicationId' writeProfileApplicationId: task ':app:writeProfileApplicationId' writeReleaseApplicationId: task ':app:writeReleaseApplicationId' BUILD SUCCESSFUL in 1s 1 actionable task: 1 executed [ +8 ms] /Users/denis.feoktistov/Library/Android/sdk/build-tools/27.0.3/aapt dump badging build/app/outputs/apk/app.apk [ +43 ms] Exit code 0 from: /Users/denis.feoktistov/Library/Android/sdk/build-tools/27.0.3/aapt dump badging build/app/outputs/apk/app.apk [ ] package: name='io.flutter.demo.gallery' versionCode='4005012' versionName='0.4.5-pre.12' platformBuildVersionName='' sdkVersion:'16' targetSdkVersion:'27' uses-permission: name='android.permission.INTERNET' uses-permission: name='android.permission.ACCESS_NETWORK_STATE' application-label:'Gallery' application-icon-160:'res/mipmap-mdpi-v4/ic_launcher.png' application-icon-240:'res/mipmap-hdpi-v4/ic_launcher.png' application-icon-320:'res/mipmap-xhdpi-v4/ic_launcher.png' application-icon-480:'res/mipmap-xxhdpi-v4/ic_launcher.png' application-icon-640:'res/mipmap-xxxhdpi-v4/ic_launcher.png' application: label='Gallery' icon='res/mipmap-mdpi-v4/ic_launcher.png' application-debuggable launchable-activity: name='io.flutter.demo.gallery.MainActivity' label='' icon='' feature-group: label='' uses-feature: name='android.hardware.faketouch' uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps' main other-activities supports-screens: 'small' 'normal' 'large' 'xlarge' supports-any-density: 'true' locales: '--_--' densities: '160' '240' '320' '480' '640' native-code: 'armeabi-v7a' 'x86' 'x86_64' [ +8 ms] /Users/denis.feoktistov/Library/Android/sdk/platform-tools/adb -s emulator-5554 logcat -v time -t 1 [ +25 ms] Exit code 0 from: /Users/denis.feoktistov/Library/Android/sdk/platform-tools/adb -s emulator-5554 logcat -v time -t 1 [ ] --------- beginning of main 05-16 08:32:41.261 I/PlayCommon( 2447): [157] com.google.android.play.b.h.e(267): No file ready to send [ +3 ms] /Users/denis.feoktistov/Library/Android/sdk/platform-tools/adb -s emulator-5554 logcat -v time [ +438 ms] DependencyChecker: nothing is modified after 2018-05-16 08:15:43.262. [ +3 ms] /Users/denis.feoktistov/Library/Android/sdk/platform-tools/adb version [ +23 ms] Android Debug Bridge version 1.0.39 Version 0.0.1-4500957 Installed as /Users/denis.feoktistov/Library/Android/sdk/platform-tools/adb [ +4 ms] /Users/denis.feoktistov/Library/Android/sdk/platform-tools/adb start-server [ +193 ms] Building APK [ +5 ms] Running 'gradlew assembleDebug'... [ +2 ms] [android/] /Users/denis.feoktistov/Development/Frameworks/flutter/examples/flutter_gallery/android/gradlew -Ptarget=/Users/denis.feoktistov/Development/Frameworks/flutter/examples/flutter_gallery/lib/main.dart -Ppreview-dart-2=true -Pfilesystem-scheme=org-dartlang-root assembleDebug [ +950 ms] :app:preBuild UP-TO-DATE [ ] :connectivity:preBuild UP-TO-DATE [ ] :connectivity:preDebugBuild UP-TO-DATE [ +7 ms] :connectivity:checkDebugManifest UP-TO-DATE [ ] :connectivity:processDebugManifest UP-TO-DATE [ ] :device_info:preBuild UP-TO-DATE [ ] :device_info:preDebugBuild UP-TO-DATE [ ] :device_info:checkDebugManifest UP-TO-DATE [ ] :device_info:processDebugManifest UP-TO-DATE [ +10 ms] :url_launcher:preBuild UP-TO-DATE [ ] :url_launcher:preDebugBuild UP-TO-DATE [ ] :url_launcher:checkDebugManifest UP-TO-DATE [ ] :url_launcher:processDebugManifest UP-TO-DATE [ ] :video_player:preBuild UP-TO-DATE [ ] :video_player:preDebugBuild UP-TO-DATE [ ] :video_player:checkDebugManifest UP-TO-DATE [ ] :video_player:processDebugManifest UP-TO-DATE [ +20 ms] :app:preDebugBuild UP-TO-DATE [ +11 ms] :connectivity:compileDebugAidl UP-TO-DATE [ ] :device_info:compileDebugAidl UP-TO-DATE [ +10 ms] :url_launcher:compileDebugAidl UP-TO-DATE [ +10 ms] :video_player:compileDebugAidl UP-TO-DATE [ ] :app:compileDebugAidl UP-TO-DATE [ ] :connectivity:packageDebugRenderscript NO-SOURCE [ ] :device_info:packageDebugRenderscript NO-SOURCE [ ] :url_launcher:packageDebugRenderscript NO-SOURCE [ ] :video_player:packageDebugRenderscript NO-SOURCE [ +9 ms] :app:compileDebugRenderscript UP-TO-DATE [ +63 ms] :app:flutterBuildX86Jar UP-TO-DATE [ ] :app:checkDebugManifest UP-TO-DATE [ +10 ms] :app:generateDebugBuildConfig UP-TO-DATE [ ] :app:prepareLintJar UP-TO-DATE [ +34 ms] :app:cleanMergeDebugAssets [ +164 ms] :app:flutterBuildDebug UP-TO-DATE [ ] :app:mergeDebugShaders UP-TO-DATE [ +10 ms] :app:compileDebugShaders UP-TO-DATE [ ] :app:generateDebugAssets UP-TO-DATE [ ] :connectivity:mergeDebugShaders UP-TO-DATE [ ] :connectivity:compileDebugShaders UP-TO-DATE [ ] :connectivity:generateDebugAssets UP-TO-DATE [ ] :connectivity:mergeDebugAssets UP-TO-DATE [ +10 ms] :device_info:mergeDebugShaders UP-TO-DATE [ ] :device_info:compileDebugShaders UP-TO-DATE [ ] :device_info:generateDebugAssets UP-TO-DATE [ ] :device_info:mergeDebugAssets UP-TO-DATE [ ] :url_launcher:mergeDebugShaders UP-TO-DATE [ ] :url_launcher:compileDebugShaders UP-TO-DATE [ ] :url_launcher:generateDebugAssets UP-TO-DATE [ ] :url_launcher:mergeDebugAssets UP-TO-DATE [ +9 ms] :video_player:mergeDebugShaders UP-TO-DATE [ ] :video_player:compileDebugShaders UP-TO-DATE [ ] :video_player:generateDebugAssets UP-TO-DATE [ ] :video_player:mergeDebugAssets UP-TO-DATE [ +9 ms] :app:mergeDebugAssets [ +643 ms] :app:copyFlutterAssetsDebug [ ] :app:generateDebugResValues UP-TO-DATE [ ] :app:generateDebugResources UP-TO-DATE [ +10 ms] :connectivity:compileDebugRenderscript UP-TO-DATE [ ] :connectivity:generateDebugResValues UP-TO-DATE [ ] :connectivity:generateDebugResources UP-TO-DATE [ ] :connectivity:packageDebugResources UP-TO-DATE [ ] :device_info:compileDebugRenderscript UP-TO-DATE [ +10 ms] :device_info:generateDebugResValues UP-TO-DATE [ ] :device_info:generateDebugResources UP-TO-DATE [ ] :device_info:packageDebugResources UP-TO-DATE [ +11 ms] :url_launcher:compileDebugRenderscript UP-TO-DATE [ ] :url_launcher:generateDebugResValues UP-TO-DATE [ ] :url_launcher:generateDebugResources UP-TO-DATE [ ] :url_launcher:packageDebugResources UP-TO-DATE [ ] :video_player:compileDebugRenderscript UP-TO-DATE [ ] :video_player:generateDebugResValues UP-TO-DATE [ +9 ms] :video_player:generateDebugResources UP-TO-DATE [ +10 ms] :video_player:packageDebugResources UP-TO-DATE [ ] :app:mergeDebugResources UP-TO-DATE [ ] :app:createDebugCompatibleScreenManifests UP-TO-DATE [ +10 ms] :app:processDebugManifest UP-TO-DATE [ ] :app:splitsDiscoveryTaskDebug UP-TO-DATE [ ] :connectivity:platformAttrExtractor UP-TO-DATE [ ] :connectivity:processDebugResources UP-TO-DATE [ ] :device_info:platformAttrExtractor UP-TO-DATE [ +10 ms] :device_info:processDebugResources UP-TO-DATE [ ] :url_launcher:platformAttrExtractor UP-TO-DATE [ ] :url_launcher:processDebugResources UP-TO-DATE [ ] :video_player:platformAttrExtractor UP-TO-DATE [ +12 ms] :video_player:processDebugResources UP-TO-DATE [ ] :app:processDebugResources UP-TO-DATE [ ] :app:generateDebugSources UP-TO-DATE [ ] :connectivity:generateDebugBuildConfig UP-TO-DATE [ ] :connectivity:prepareLintJar UP-TO-DATE [ ] :connectivity:generateDebugSources UP-TO-DATE [ ] :connectivity:javaPreCompileDebug UP-TO-DATE [ +9 ms] :connectivity:compileDebugJavaWithJavac UP-TO-DATE [ ] :connectivity:processDebugJavaRes NO-SOURCE [ ] :connectivity:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug UP-TO-DATE [ ] :device_info:generateDebugBuildConfig UP-TO-DATE [ ] :device_info:prepareLintJar UP-TO-DATE [ +11 ms] :device_info:generateDebugSources UP-TO-DATE [ ] :device_info:javaPreCompileDebug UP-TO-DATE [ ] :device_info:compileDebugJavaWithJavac UP-TO-DATE [ ] :device_info:processDebugJavaRes NO-SOURCE [ ] :device_info:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug UP-TO-DATE [ ] :url_launcher:generateDebugBuildConfig UP-TO-DATE [ ] :url_launcher:prepareLintJar UP-TO-DATE [ +10 ms] :url_launcher:generateDebugSources UP-TO-DATE [ ] :url_launcher:javaPreCompileDebug UP-TO-DATE [ ] :url_launcher:compileDebugJavaWithJavac UP-TO-DATE [ ] :url_launcher:processDebugJavaRes NO-SOURCE [ ] :url_launcher:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug UP-TO-DATE [ ] :video_player:generateDebugBuildConfig UP-TO-DATE [ +9 ms] :video_player:prepareLintJar UP-TO-DATE [ ] :video_player:generateDebugSources UP-TO-DATE [ ] :video_player:javaPreCompileDebug UP-TO-DATE [ ] :video_player:compileDebugJavaWithJavac UP-TO-DATE [ ] :video_player:processDebugJavaRes NO-SOURCE [ ] :video_player:transformClassesAndResourcesWithPrepareIntermediateJarsForDebug UP-TO-DATE [ +12 ms] :app:javaPreCompileDebug UP-TO-DATE [ ] :app:compileDebugJavaWithJavac UP-TO-DATE [ ] :app:compileDebugNdk NO-SOURCE [ ] :app:compileDebugSources UP-TO-DATE [ +46 ms] :app:transformClassesWithDexBuilderForDebug UP-TO-DATE [ ] :app:transformDexArchiveWithExternalLibsDexMergerForDebug UP-TO-DATE [ +11 ms] :app:transformDexArchiveWithDexMergerForDebug UP-TO-DATE [ ] :app:mergeDebugJniLibFolders UP-TO-DATE [ ] :connectivity:compileDebugNdk NO-SOURCE [ ] :connectivity:mergeDebugJniLibFolders UP-TO-DATE [ ] :connectivity:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE [ ] :connectivity:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE [ ] :device_info:compileDebugNdk NO-SOURCE [ +8 ms] :device_info:mergeDebugJniLibFolders UP-TO-DATE [ ] :device_info:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE [ ] :device_info:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE [ ] :url_launcher:compileDebugNdk NO-SOURCE [ +12 ms] :url_launcher:mergeDebugJniLibFolders UP-TO-DATE [ ] :url_launcher:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE [ ] :url_launcher:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE [ ] :video_player:compileDebugNdk NO-SOURCE [ ] :video_player:mergeDebugJniLibFolders UP-TO-DATE [ +10 ms] :video_player:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE [ ] :video_player:transformNativeLibsWithIntermediateJniLibsForDebug UP-TO-DATE [ ] :app:transformNativeLibsWithMergeJniLibsForDebug UP-TO-DATE [ ] :app:processDebugJavaRes NO-SOURCE [ +22 ms] :app:transformResourcesWithMergeJavaResForDebug UP-TO-DATE [ ] :app:validateSigningDebug [ +21 ms] :app:packageDebug UP-TO-DATE [ +10 ms] :app:assembleDebug UP-TO-DATE [ ] :connectivity:extractDebugAnnotations UP-TO-DATE [ ] :connectivity:mergeDebugConsumerProguardFiles UP-TO-DATE [ +13 ms] :connectivity:transformResourcesWithMergeJavaResForDebug UP-TO-DATE [ ] :connectivity:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE [ ] :connectivity:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE [ ] :connectivity:bundleDebug UP-TO-DATE [ ] :connectivity:compileDebugSources UP-TO-DATE [ ] :connectivity:assembleDebug UP-TO-DATE [ +10 ms] :device_info:extractDebugAnnotations UP-TO-DATE [ ] :device_info:mergeDebugConsumerProguardFiles UP-TO-DATE [ ] :device_info:transformResourcesWithMergeJavaResForDebug UP-TO-DATE [ ] :device_info:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE [ ] :device_info:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE [ +10 ms] :device_info:bundleDebug UP-TO-DATE [ ] :device_info:compileDebugSources UP-TO-DATE [ ] :device_info:assembleDebug UP-TO-DATE [ ] :url_launcher:extractDebugAnnotations UP-TO-DATE [ ] :url_launcher:mergeDebugConsumerProguardFiles UP-TO-DATE [ ] :url_launcher:transformResourcesWithMergeJavaResForDebug UP-TO-DATE [ +11 ms] :url_launcher:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE [ ] :url_launcher:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE [ ] :url_launcher:bundleDebug UP-TO-DATE [ ] :url_launcher:compileDebugSources UP-TO-DATE [ ] :url_launcher:assembleDebug UP-TO-DATE [ ] :video_player:extractDebugAnnotations UP-TO-DATE [ ] :video_player:mergeDebugConsumerProguardFiles UP-TO-DATE [ +10 ms] :video_player:transformResourcesWithMergeJavaResForDebug UP-TO-DATE [ ] :video_player:transformClassesAndResourcesWithSyncLibJarsForDebug UP-TO-DATE [ ] :video_player:transformNativeLibsWithSyncJniLibsForDebug UP-TO-DATE [ ] :video_player:bundleDebug UP-TO-DATE [ ] :video_player:compileDebugSources UP-TO-DATE [ ] :video_player:assembleDebug UP-TO-DATE [ ] BUILD SUCCESSFUL in 2s [ ] 129 actionable tasks: 4 executed, 125 up-to-date [ +459 ms] calculateSha: /Users/denis.feoktistov/Development/Frameworks/flutter/examples/flutter_gallery/build/app/outputs/apk/app.apk [ +591 ms] Built build/app/outputs/apk/debug/app-debug.apk. [ +1 ms] /Users/denis.feoktistov/Library/Android/sdk/build-tools/27.0.3/aapt dump badging build/app/outputs/apk/app.apk [ +15 ms] Exit code 0 from: /Users/denis.feoktistov/Library/Android/sdk/build-tools/27.0.3/aapt dump badging build/app/outputs/apk/app.apk [ ] package: name='io.flutter.demo.gallery' versionCode='4005012' versionName='0.4.5-pre.12' platformBuildVersionName='' sdkVersion:'16' targetSdkVersion:'27' uses-permission: name='android.permission.INTERNET' uses-permission: name='android.permission.ACCESS_NETWORK_STATE' application-label:'Gallery' application-icon-160:'res/mipmap-mdpi-v4/ic_launcher.png' application-icon-240:'res/mipmap-hdpi-v4/ic_launcher.png' application-icon-320:'res/mipmap-xhdpi-v4/ic_launcher.png' application-icon-480:'res/mipmap-xxhdpi-v4/ic_launcher.png' application-icon-640:'res/mipmap-xxxhdpi-v4/ic_launcher.png' application: label='Gallery' icon='res/mipmap-mdpi-v4/ic_launcher.png' application-debuggable launchable-activity: name='io.flutter.demo.gallery.MainActivity' label='' icon='' feature-group: label='' uses-feature: name='android.hardware.faketouch' uses-implied-feature: name='android.hardware.faketouch' reason='default feature for all apps' main other-activities supports-screens: 'small' 'normal' 'large' 'xlarge' supports-any-density: 'true' locales: '--_--' densities: '160' '240' '320' '480' '640' native-code: 'armeabi-v7a' 'x86' 'x86_64' [ +1 ms] Stopping app 'app.apk' on Android SDK built for x86. [ ] /Users/denis.feoktistov/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am force-stop io.flutter.demo.gallery [ +228 ms] /Users/denis.feoktistov/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell pm list packages io.flutter.demo.gallery [ +418 ms] package:io.flutter.demo.gallery [ +3 ms] /Users/denis.feoktistov/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell cat /data/local/tmp/sky.io.flutter.demo.gallery.sha1 [ +29 ms] 388a4df2d9b9a9ba5f86e6b667283e603af85b74 [ +1 ms] Latest build already installed. [ ] Android SDK built for x86 startApp [ +2 ms] /Users/denis.feoktistov/Library/Android/sdk/platform-tools/adb -s emulator-5554 shell am start -a android.intent.action.RUN -f0x20000000 --ez enable-background-compilation true --ez enable-dart-profiling true --ez enable-checked-mode true io.flutter.demo.gallery/io.flutter.demo.gallery.MainActivity [ +270 ms] Starting: Intent { act=android.intent.action.RUN flg=0x20000000 cmp=io.flutter.demo.gallery/.MainActivity (has extras) } [ ] Waiting for observatory port to be available... [ +198 ms] I/FlutterActivityDelegate( 5180): onResume setting current activity to this [ +101 ms] Observatory URL on device: http://127.0.0.1:43862/ [ +6 ms] /Users/denis.feoktistov/Library/Android/sdk/platform-tools/adb -s emulator-5554 forward tcp:8102 tcp:43862 [ +19 ms] Forwarded host port 8102 to device port 43862 for Observatory [ +8 ms] Connecting to service protocol: http://127.0.0.1:8102/ [ +190 ms] Successfully connected to service protocol: http://127.0.0.1:8102/ [ +4 ms] getVM: {} [ +11 ms] getIsolate: {isolateId: isolates/726581546} [ +2 ms] _flutter.listViews: {} [ +270 ms] DevFS: Creating new filesystem on the device (null) [ ] _createDevFS: {fsName: flutter_gallery} [ +18 ms] DevFS: Created new filesystem on the device (file:///data/user/0/io.flutter.demo.gallery/cache/flutter_galleryCZOZLR/flutter_gallery/) [ +1 ms] Updating assets [ +305 ms] D/ ( 5180): HostConnection::get() New Host Connection established 0xab108540, tid 5197 [ ] D/EGL_emulation( 5180): eglMakeCurrent: 0xb0429260: ver 3 0 (tinfo 0xab103200) [ +175 ms] Syncing files to device Android SDK built for x86... [ +7 ms] DevFS: Starting sync from LocalDirectory: '/Users/denis.feoktistov/Development/Frameworks/flutter/examples/flutter_gallery' [ ] Scanning project files [ +20 ms] Scanning package files [ +93 ms] Scanning asset files [ +8 ms] Scanning for deleted files [ +12 ms] Compiling dart to kernel with 539 updated files [ +2 ms] /Users/denis.feoktistov/Development/Frameworks/flutter/bin/cache/dart-sdk/bin/dart /Users/denis.feoktistov/Development/Frameworks/flutter/bin/cache/artifacts/engine/darwin-x64/frontend_server.dart.snapshot --sdk-root /Users/denis.feoktistov/Development/Frameworks/flutter/bin/cache/artifacts/engine/common/flutter_patched_sdk/ --incremental --strong --target=flutter --output-dill build/app.dill --packages /Users/denis.feoktistov/Development/Frameworks/flutter/examples/flutter_gallery/.packages --filesystem-scheme org-dartlang-root [+1516 ms] Updating files [+2096 ms] DevFS: Sync finished [ +1 ms] Synced 11.7MB. [ +5 ms] _flutter.listViews: {} [ +5 ms] Connected to _flutterView/0xb043530c. [ +1 ms] 🔥 To hot reload your app on the fly, press "r". To restart the app entirely, press "R". [ ] An Observatory debugger and profiler on Android SDK built for x86 is available at: http://127.0.0.1:8102/ [ ] For a more detailed help message, press "h". To quit, press "q". </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Analyzing flutter_gallery... No issues found! (ran in 13.8s)"><pre class="notranslate"><code class="notranslate">Analyzing flutter_gallery... No issues found! (ran in 13.8s) </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[✓] Flutter (Channel master, v0.4.5-pre.12, on Mac OS X 10.13.4 17E202, locale en-NZ) • Flutter version 0.4.5-pre.12 at /Users/denis.feoktistov/Development/Frameworks/flutter • Framework revision c169136eff (2 hours ago), 2018-05-15 11:52:34 -0700 • Engine revision 06afdfe54e • Dart version 2.0.0-dev.54.0.flutter-46ab040e58 [✓] Android toolchain - develop for Android devices (Android SDK 27.0.3) • Android SDK at /Users/denis.feoktistov/Library/Android/sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-27, build-tools 27.0.3 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01) • All Android licenses accepted. [✓] iOS toolchain - develop for iOS devices (Xcode 9.3.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 9.3.1, Build version 9E501 • ios-deploy 1.9.2 • CocoaPods version 1.5.0 [✓] Android Studio • Android Studio at /Applications/Android Studio 3.2 Preview.app/Contents ✗ Flutter plugin not installed; this adds Flutter specific functionality. ✗ Dart plugin not installed; this adds Dart specific functionality. • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b02) [✓] Android Studio (version 3.1) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 24.1.1 • Dart plugin version 173.4700 • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01) [✓] IntelliJ IDEA Ultimate Edition (version 2018.1.3) • IntelliJ at /Users/denis.feoktistov/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app • Flutter plugin version 24.2.2 • Dart plugin version 181.4892.1 [✓] VS Code (version 1.23.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Dart Code extension version 2.12.1 [✓] Connected devices (2 available) • Android SDK built for x86 • emulator-5554 • android-x86 • Android 7.1.1 (API 25) (emulator) • iPhone X • 6EAEED21-9269-45D0-90FB-67328E6471B8 • ios • iOS 11.3 (simulator) • No issues found!"><pre class="notranslate"><code class="notranslate">[✓] Flutter (Channel master, v0.4.5-pre.12, on Mac OS X 10.13.4 17E202, locale en-NZ) • Flutter version 0.4.5-pre.12 at /Users/denis.feoktistov/Development/Frameworks/flutter • Framework revision c169136eff (2 hours ago), 2018-05-15 11:52:34 -0700 • Engine revision 06afdfe54e • Dart version 2.0.0-dev.54.0.flutter-46ab040e58 [✓] Android toolchain - develop for Android devices (Android SDK 27.0.3) • Android SDK at /Users/denis.feoktistov/Library/Android/sdk • Android NDK location not configured (optional; useful for native profiling support) • Platform android-27, build-tools 27.0.3 • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01) • All Android licenses accepted. [✓] iOS toolchain - develop for iOS devices (Xcode 9.3.1) • Xcode at /Applications/Xcode.app/Contents/Developer • Xcode 9.3.1, Build version 9E501 • ios-deploy 1.9.2 • CocoaPods version 1.5.0 [✓] Android Studio • Android Studio at /Applications/Android Studio 3.2 Preview.app/Contents ✗ Flutter plugin not installed; this adds Flutter specific functionality. ✗ Dart plugin not installed; this adds Dart specific functionality. • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1136-b02) [✓] Android Studio (version 3.1) • Android Studio at /Applications/Android Studio.app/Contents • Flutter plugin version 24.1.1 • Dart plugin version 173.4700 • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1024-b01) [✓] IntelliJ IDEA Ultimate Edition (version 2018.1.3) • IntelliJ at /Users/denis.feoktistov/Applications/JetBrains Toolbox/IntelliJ IDEA Ultimate.app • Flutter plugin version 24.2.2 • Dart plugin version 181.4892.1 [✓] VS Code (version 1.23.1) • VS Code at /Applications/Visual Studio Code.app/Contents • Dart Code extension version 2.12.1 [✓] Connected devices (2 available) • Android SDK built for x86 • emulator-5554 • android-x86 • Android 7.1.1 (API 25) (emulator) • iPhone X • 6EAEED21-9269-45D0-90FB-67328E6471B8 • ios • iOS 11.3 (simulator) • No issues found! </code></pre></div>
0
<p dir="auto">Please:</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Check for duplicate issues.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Provide a complete example of how to reproduce the bug, wrapped in triple backticks like this:</li> </ul> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import jax def fn(weights): mykey = jax.random.PRNGKey(95208508) x = jax.random.randint(mykey, [10], -1, 3, jax.numpy.int8) length = False return jax.numpy.bincount(x, weights, minlength=20, length=length).sum() mykey = jax.random.PRNGKey(65116306) array = jax.random.uniform(mykey, [10], jax.numpy.float32, minval=-16, maxval=4) weights = array.clone() print(fn(weights)) # 0.0 weights = array.clone() jax.value_and_grad(fn, (0))(arg_1) # TypeError: Slice size at index 0 in gather op is out of range, must be within [0, 0 + 1), got 1."><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">jax</span> <span class="pl-k">def</span> <span class="pl-en">fn</span>(<span class="pl-s1">weights</span>): <span class="pl-s1">mykey</span> <span class="pl-c1">=</span> <span class="pl-s1">jax</span>.<span class="pl-s1">random</span>.<span class="pl-v">PRNGKey</span>(<span class="pl-c1">95208508</span>) <span class="pl-s1">x</span> <span class="pl-c1">=</span> <span class="pl-s1">jax</span>.<span class="pl-s1">random</span>.<span class="pl-en">randint</span>(<span class="pl-s1">mykey</span>, [<span class="pl-c1">10</span>], <span class="pl-c1">-</span><span class="pl-c1">1</span>, <span class="pl-c1">3</span>, <span class="pl-s1">jax</span>.<span class="pl-s1">numpy</span>.<span class="pl-s1">int8</span>) <span class="pl-s1">length</span> <span class="pl-c1">=</span> <span class="pl-c1">False</span> <span class="pl-k">return</span> <span class="pl-s1">jax</span>.<span class="pl-s1">numpy</span>.<span class="pl-en">bincount</span>(<span class="pl-s1">x</span>, <span class="pl-s1">weights</span>, <span class="pl-s1">minlength</span><span class="pl-c1">=</span><span class="pl-c1">20</span>, <span class="pl-s1">length</span><span class="pl-c1">=</span><span class="pl-s1">length</span>).<span class="pl-en">sum</span>() <span class="pl-s1">mykey</span> <span class="pl-c1">=</span> <span class="pl-s1">jax</span>.<span class="pl-s1">random</span>.<span class="pl-v">PRNGKey</span>(<span class="pl-c1">65116306</span>) <span class="pl-s1">array</span> <span class="pl-c1">=</span> <span class="pl-s1">jax</span>.<span class="pl-s1">random</span>.<span class="pl-en">uniform</span>(<span class="pl-s1">mykey</span>, [<span class="pl-c1">10</span>], <span class="pl-s1">jax</span>.<span class="pl-s1">numpy</span>.<span class="pl-s1">float32</span>, <span class="pl-s1">minval</span><span class="pl-c1">=</span><span class="pl-c1">-</span><span class="pl-c1">16</span>, <span class="pl-s1">maxval</span><span class="pl-c1">=</span><span class="pl-c1">4</span>) <span class="pl-s1">weights</span> <span class="pl-c1">=</span> <span class="pl-s1">array</span>.<span class="pl-en">clone</span>() <span class="pl-en">print</span>(<span class="pl-en">fn</span>(<span class="pl-s1">weights</span>)) <span class="pl-c"># 0.0</span> <span class="pl-s1">weights</span> <span class="pl-c1">=</span> <span class="pl-s1">array</span>.<span class="pl-en">clone</span>() <span class="pl-s1">jax</span>.<span class="pl-en">value_and_grad</span>(<span class="pl-s1">fn</span>, (<span class="pl-c1">0</span>))(<span class="pl-s1">arg_1</span>) <span class="pl-c"># TypeError: Slice size at index 0 in gather op is out of range, must be within [0, 0 + 1), got 1.</span></pre></div> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> If applicable, include full error messages/tracebacks.</li> </ul> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="--------------------------------------------------------------------------- JaxStackTraceBeforeTransformation Traceback (most recent call last) /usr/local/Cellar/[email protected]/3.9.12_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py in _run_module_as_main(***failed resolving arguments***) 196 sys.argv[0] = mod_spec.origin --&gt; 197 return _run_code(code, main_globals, None, 198 &quot;__main__&quot;, mod_spec) /usr/local/Cellar/[email protected]/3.9.12_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py in _run_code(***failed resolving arguments***) 86 __spec__ = mod_spec) ---&gt; 87 exec(code, run_globals) 88 return run_globals ~/Library/Python/3.9/lib/python/site-packages/ipykernel_launcher.py in &lt;module&gt; 15 from ipykernel import kernelapp as app ---&gt; 16 app.launch_new_instance() ~/Library/Python/3.9/lib/python/site-packages/traitlets/config/application.py in launch_instance(***failed resolving arguments***) 844 app.initialize(argv) --&gt; 845 app.start() 846 ~/Library/Python/3.9/lib/python/site-packages/ipykernel/kernelapp.py in start(***failed resolving arguments***) 618 try: --&gt; 619 self.io_loop.start() 620 except KeyboardInterrupt: ~/Library/Python/3.9/lib/python/site-packages/tornado/platform/asyncio.py in start(***failed resolving arguments***) 198 asyncio.set_event_loop(self.asyncio_loop) --&gt; 199 self.asyncio_loop.run_forever() 200 finally: /usr/local/Cellar/[email protected]/3.9.12_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py in run_forever(***failed resolving arguments***) 600 while True: --&gt; 601 self._run_once() 602 if self._stopping: /usr/local/Cellar/[email protected]/3.9.12_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py in _run_once(***failed resolving arguments***) 1904 else: -&gt; 1905 handle._run() 1906 handle = None # Needed to break cycles when an exception occurs. /usr/local/Cellar/[email protected]/3.9.12_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/events.py in _run(***failed resolving arguments***) 79 try: ---&gt; 80 self._context.run(self._callback, *self._args) 81 except (SystemExit, KeyboardInterrupt): ~/Library/Python/3.9/lib/python/site-packages/tornado/ioloop.py in &lt;lambda&gt;(***failed resolving arguments***) 687 future.add_done_callback( --&gt; 688 lambda f: self._run_callback(functools.partial(callback, future)) 689 ) ~/Library/Python/3.9/lib/python/site-packages/tornado/ioloop.py in _run_callback(***failed resolving arguments***) 740 try: --&gt; 741 ret = callback() 742 if ret is not None: ~/Library/Python/3.9/lib/python/site-packages/tornado/gen.py in inner(***failed resolving arguments***) 813 f = None # noqa: F841 --&gt; 814 self.ctx_run(self.run) 815 ~/Library/Python/3.9/lib/python/site-packages/tornado/gen.py in run(***failed resolving arguments***) 774 else: --&gt; 775 yielded = self.gen.send(value) 776 ~/Library/Python/3.9/lib/python/site-packages/ipykernel/kernelbase.py in process_one(***failed resolving arguments***) 357 return None --&gt; 358 yield gen.maybe_future(dispatch(*args)) 359 ~/Library/Python/3.9/lib/python/site-packages/tornado/gen.py in wrapper(***failed resolving arguments***) 233 try: --&gt; 234 yielded = ctx_run(next, result) 235 except (StopIteration, Return) as e: ~/Library/Python/3.9/lib/python/site-packages/ipykernel/kernelbase.py in dispatch_shell(***failed resolving arguments***) 260 try: --&gt; 261 yield gen.maybe_future(handler(stream, idents, msg)) 262 except Exception: ~/Library/Python/3.9/lib/python/site-packages/tornado/gen.py in wrapper(***failed resolving arguments***) 233 try: --&gt; 234 yielded = ctx_run(next, result) 235 except (StopIteration, Return) as e: ~/Library/Python/3.9/lib/python/site-packages/ipykernel/kernelbase.py in execute_request(***failed resolving arguments***) 535 reply_content = yield gen.maybe_future( --&gt; 536 self.do_execute( 537 code, silent, store_history, ~/Library/Python/3.9/lib/python/site-packages/tornado/gen.py in wrapper(***failed resolving arguments***) 233 try: --&gt; 234 yielded = ctx_run(next, result) 235 except (StopIteration, Return) as e: ~/Library/Python/3.9/lib/python/site-packages/ipykernel/ipkernel.py in do_execute(***failed resolving arguments***) 301 # letting shell dispatch to loop runners --&gt; 302 res = shell.run_cell(code, store_history=store_history, silent=silent) 303 finally: ~/Library/Python/3.9/lib/python/site-packages/ipykernel/zmqshell.py in run_cell(***failed resolving arguments***) 538 self._last_traceback = None --&gt; 539 return super(ZMQInteractiveShell, self).run_cell(*args, **kwargs) 540 ~/Library/Python/3.9/lib/python/site-packages/IPython/core/interactiveshell.py in run_cell(***failed resolving arguments***) 2897 try: -&gt; 2898 result = self._run_cell( 2899 raw_cell, store_history, silent, shell_futures) ~/Library/Python/3.9/lib/python/site-packages/IPython/core/interactiveshell.py in _run_cell(***failed resolving arguments***) 2943 try: -&gt; 2944 return runner(coro) 2945 except BaseException as e: ~/Library/Python/3.9/lib/python/site-packages/IPython/core/async_helpers.py in _pseudo_sync_runner(***failed resolving arguments***) 67 try: ---&gt; 68 coro.send(None) 69 except StopIteration as exc: ~/Library/Python/3.9/lib/python/site-packages/IPython/core/interactiveshell.py in run_cell_async(***failed resolving arguments***) 3168 -&gt; 3169 has_raised = await self.run_ast_nodes(code_ast.body, cell_name, 3170 interactivity=interactivity, compiler=compiler, result=result) ~/Library/Python/3.9/lib/python/site-packages/IPython/core/interactiveshell.py in run_ast_nodes(***failed resolving arguments***) 3360 asy = compare(code) -&gt; 3361 if (await self.run_code(code, result, async_=asy)): 3362 return True ~/Library/Python/3.9/lib/python/site-packages/IPython/core/interactiveshell.py in run_code(***failed resolving arguments***) 3440 else: -&gt; 3441 exec(code_obj, self.user_global_ns, self.user_ns) 3442 finally: &lt;ipython-input-31-e0b1cd746f97&gt; in &lt;module&gt; 15 weights = array.clone() ---&gt; 16 jax.value_and_grad(fn, (0))(arg_1) &lt;ipython-input-31-e0b1cd746f97&gt; in fn(***failed resolving arguments***) 6 length = False ----&gt; 7 return jax.numpy.bincount(x, weights, minlength=20, length=length).sum() 8 /usr/local/lib/python3.9/site-packages/jax/_src/numpy/lax_numpy.py in bincount(***failed resolving arguments***) 1036 raise ValueError(&quot;shape of weights must match shape of x.&quot;) -&gt; 1037 return zeros(length, _dtype(weights)).at[clip(x, 0)].add(weights) 1038 /usr/local/lib/python3.9/site-packages/jax/_src/numpy/lax_numpy.py in add(***failed resolving arguments***) 4873 &quot;&quot;&quot; -&gt; 4874 return scatter._scatter_update(self.array, self.index, values, 4875 lax.scatter_add, /usr/local/lib/python3.9/site-packages/jax/_src/ops/scatter.py in _scatter_update(***failed resolving arguments***) 69 treedef, static_idx, dynamic_idx = jnp._split_index_for_jit(idx, x.shape) ---&gt; 70 return _scatter_impl(x, y, scatter_op, treedef, static_idx, dynamic_idx, 71 indices_are_sorted, unique_indices, mode, /usr/local/lib/python3.9/site-packages/jax/_src/ops/scatter.py in _scatter_impl(***failed resolving arguments***) 108 ) --&gt; 109 out = scatter_op( 110 x, indexer.gather_indices, y, dnums, JaxStackTraceBeforeTransformation: TypeError: Slice size at index 0 in gather op is out of range, must be within [0, 0 + 1), got 1. The preceding stack trace is the source of the JAX operation that, once transformed by JAX, triggered the following exception. -------------------- The above exception was the direct cause of the following exception: TypeError Traceback (most recent call last) &lt;ipython-input-31-e0b1cd746f97&gt; in &lt;module&gt; 14 15 weights = array.clone() ---&gt; 16 jax.value_and_grad(fn, (0))(arg_1) [... skipping hidden 30 frame] /usr/local/lib/python3.9/site-packages/jax/_src/lax/slicing.py in _gather_shape_rule(operand, indices, dimension_numbers, slice_sizes, unique_indices, indices_are_sorted, mode, fill_value) 1143 if not (core.greater_equal_dim(slice_size, 0) and 1144 core.greater_equal_dim(corresponding_input_size, slice_size)): -&gt; 1145 raise TypeError(f&quot;Slice size at index {i} in gather op is out of range, &quot; 1146 f&quot;must be within [0, {corresponding_input_size} + 1), &quot; 1147 f&quot;got {slice_size}.&quot;) TypeError: Slice size at index 0 in gather op is out of range, must be within [0, 0 + 1), got 1."><pre class="notranslate"><code class="notranslate">--------------------------------------------------------------------------- JaxStackTraceBeforeTransformation Traceback (most recent call last) /usr/local/Cellar/[email protected]/3.9.12_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py in _run_module_as_main(***failed resolving arguments***) 196 sys.argv[0] = mod_spec.origin --&gt; 197 return _run_code(code, main_globals, None, 198 "__main__", mod_spec) /usr/local/Cellar/[email protected]/3.9.12_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/runpy.py in _run_code(***failed resolving arguments***) 86 __spec__ = mod_spec) ---&gt; 87 exec(code, run_globals) 88 return run_globals ~/Library/Python/3.9/lib/python/site-packages/ipykernel_launcher.py in &lt;module&gt; 15 from ipykernel import kernelapp as app ---&gt; 16 app.launch_new_instance() ~/Library/Python/3.9/lib/python/site-packages/traitlets/config/application.py in launch_instance(***failed resolving arguments***) 844 app.initialize(argv) --&gt; 845 app.start() 846 ~/Library/Python/3.9/lib/python/site-packages/ipykernel/kernelapp.py in start(***failed resolving arguments***) 618 try: --&gt; 619 self.io_loop.start() 620 except KeyboardInterrupt: ~/Library/Python/3.9/lib/python/site-packages/tornado/platform/asyncio.py in start(***failed resolving arguments***) 198 asyncio.set_event_loop(self.asyncio_loop) --&gt; 199 self.asyncio_loop.run_forever() 200 finally: /usr/local/Cellar/[email protected]/3.9.12_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py in run_forever(***failed resolving arguments***) 600 while True: --&gt; 601 self._run_once() 602 if self._stopping: /usr/local/Cellar/[email protected]/3.9.12_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/base_events.py in _run_once(***failed resolving arguments***) 1904 else: -&gt; 1905 handle._run() 1906 handle = None # Needed to break cycles when an exception occurs. /usr/local/Cellar/[email protected]/3.9.12_1/Frameworks/Python.framework/Versions/3.9/lib/python3.9/asyncio/events.py in _run(***failed resolving arguments***) 79 try: ---&gt; 80 self._context.run(self._callback, *self._args) 81 except (SystemExit, KeyboardInterrupt): ~/Library/Python/3.9/lib/python/site-packages/tornado/ioloop.py in &lt;lambda&gt;(***failed resolving arguments***) 687 future.add_done_callback( --&gt; 688 lambda f: self._run_callback(functools.partial(callback, future)) 689 ) ~/Library/Python/3.9/lib/python/site-packages/tornado/ioloop.py in _run_callback(***failed resolving arguments***) 740 try: --&gt; 741 ret = callback() 742 if ret is not None: ~/Library/Python/3.9/lib/python/site-packages/tornado/gen.py in inner(***failed resolving arguments***) 813 f = None # noqa: F841 --&gt; 814 self.ctx_run(self.run) 815 ~/Library/Python/3.9/lib/python/site-packages/tornado/gen.py in run(***failed resolving arguments***) 774 else: --&gt; 775 yielded = self.gen.send(value) 776 ~/Library/Python/3.9/lib/python/site-packages/ipykernel/kernelbase.py in process_one(***failed resolving arguments***) 357 return None --&gt; 358 yield gen.maybe_future(dispatch(*args)) 359 ~/Library/Python/3.9/lib/python/site-packages/tornado/gen.py in wrapper(***failed resolving arguments***) 233 try: --&gt; 234 yielded = ctx_run(next, result) 235 except (StopIteration, Return) as e: ~/Library/Python/3.9/lib/python/site-packages/ipykernel/kernelbase.py in dispatch_shell(***failed resolving arguments***) 260 try: --&gt; 261 yield gen.maybe_future(handler(stream, idents, msg)) 262 except Exception: ~/Library/Python/3.9/lib/python/site-packages/tornado/gen.py in wrapper(***failed resolving arguments***) 233 try: --&gt; 234 yielded = ctx_run(next, result) 235 except (StopIteration, Return) as e: ~/Library/Python/3.9/lib/python/site-packages/ipykernel/kernelbase.py in execute_request(***failed resolving arguments***) 535 reply_content = yield gen.maybe_future( --&gt; 536 self.do_execute( 537 code, silent, store_history, ~/Library/Python/3.9/lib/python/site-packages/tornado/gen.py in wrapper(***failed resolving arguments***) 233 try: --&gt; 234 yielded = ctx_run(next, result) 235 except (StopIteration, Return) as e: ~/Library/Python/3.9/lib/python/site-packages/ipykernel/ipkernel.py in do_execute(***failed resolving arguments***) 301 # letting shell dispatch to loop runners --&gt; 302 res = shell.run_cell(code, store_history=store_history, silent=silent) 303 finally: ~/Library/Python/3.9/lib/python/site-packages/ipykernel/zmqshell.py in run_cell(***failed resolving arguments***) 538 self._last_traceback = None --&gt; 539 return super(ZMQInteractiveShell, self).run_cell(*args, **kwargs) 540 ~/Library/Python/3.9/lib/python/site-packages/IPython/core/interactiveshell.py in run_cell(***failed resolving arguments***) 2897 try: -&gt; 2898 result = self._run_cell( 2899 raw_cell, store_history, silent, shell_futures) ~/Library/Python/3.9/lib/python/site-packages/IPython/core/interactiveshell.py in _run_cell(***failed resolving arguments***) 2943 try: -&gt; 2944 return runner(coro) 2945 except BaseException as e: ~/Library/Python/3.9/lib/python/site-packages/IPython/core/async_helpers.py in _pseudo_sync_runner(***failed resolving arguments***) 67 try: ---&gt; 68 coro.send(None) 69 except StopIteration as exc: ~/Library/Python/3.9/lib/python/site-packages/IPython/core/interactiveshell.py in run_cell_async(***failed resolving arguments***) 3168 -&gt; 3169 has_raised = await self.run_ast_nodes(code_ast.body, cell_name, 3170 interactivity=interactivity, compiler=compiler, result=result) ~/Library/Python/3.9/lib/python/site-packages/IPython/core/interactiveshell.py in run_ast_nodes(***failed resolving arguments***) 3360 asy = compare(code) -&gt; 3361 if (await self.run_code(code, result, async_=asy)): 3362 return True ~/Library/Python/3.9/lib/python/site-packages/IPython/core/interactiveshell.py in run_code(***failed resolving arguments***) 3440 else: -&gt; 3441 exec(code_obj, self.user_global_ns, self.user_ns) 3442 finally: &lt;ipython-input-31-e0b1cd746f97&gt; in &lt;module&gt; 15 weights = array.clone() ---&gt; 16 jax.value_and_grad(fn, (0))(arg_1) &lt;ipython-input-31-e0b1cd746f97&gt; in fn(***failed resolving arguments***) 6 length = False ----&gt; 7 return jax.numpy.bincount(x, weights, minlength=20, length=length).sum() 8 /usr/local/lib/python3.9/site-packages/jax/_src/numpy/lax_numpy.py in bincount(***failed resolving arguments***) 1036 raise ValueError("shape of weights must match shape of x.") -&gt; 1037 return zeros(length, _dtype(weights)).at[clip(x, 0)].add(weights) 1038 /usr/local/lib/python3.9/site-packages/jax/_src/numpy/lax_numpy.py in add(***failed resolving arguments***) 4873 """ -&gt; 4874 return scatter._scatter_update(self.array, self.index, values, 4875 lax.scatter_add, /usr/local/lib/python3.9/site-packages/jax/_src/ops/scatter.py in _scatter_update(***failed resolving arguments***) 69 treedef, static_idx, dynamic_idx = jnp._split_index_for_jit(idx, x.shape) ---&gt; 70 return _scatter_impl(x, y, scatter_op, treedef, static_idx, dynamic_idx, 71 indices_are_sorted, unique_indices, mode, /usr/local/lib/python3.9/site-packages/jax/_src/ops/scatter.py in _scatter_impl(***failed resolving arguments***) 108 ) --&gt; 109 out = scatter_op( 110 x, indexer.gather_indices, y, dnums, JaxStackTraceBeforeTransformation: TypeError: Slice size at index 0 in gather op is out of range, must be within [0, 0 + 1), got 1. The preceding stack trace is the source of the JAX operation that, once transformed by JAX, triggered the following exception. -------------------- The above exception was the direct cause of the following exception: TypeError Traceback (most recent call last) &lt;ipython-input-31-e0b1cd746f97&gt; in &lt;module&gt; 14 15 weights = array.clone() ---&gt; 16 jax.value_and_grad(fn, (0))(arg_1) [... skipping hidden 30 frame] /usr/local/lib/python3.9/site-packages/jax/_src/lax/slicing.py in _gather_shape_rule(operand, indices, dimension_numbers, slice_sizes, unique_indices, indices_are_sorted, mode, fill_value) 1143 if not (core.greater_equal_dim(slice_size, 0) and 1144 core.greater_equal_dim(corresponding_input_size, slice_size)): -&gt; 1145 raise TypeError(f"Slice size at index {i} in gather op is out of range, " 1146 f"must be within [0, {corresponding_input_size} + 1), " 1147 f"got {slice_size}.") TypeError: Slice size at index 0 in gather op is out of range, must be within [0, 0 + 1), got 1. </code></pre></div>
<p dir="auto">Please:</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Check for duplicate issues.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Provide a complete example of how to reproduce the bug, wrapped in triple backticks like this:</li> </ul> <p dir="auto"><code class="notranslate">cummax, cummin, cumprod</code> will succeed when using <code class="notranslate">value_and_grads</code> but fail if directly call</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import jax def fn(arg_0): axis = -1 return jax.lax.cummax(arg_0, axis=axis).sum() mykey = jax.random.PRNGKey(14830444) array = jax.random.uniform(mykey, [2, 3], jax.numpy.float32, minval=0, maxval=128) try: arg_0 = array.clone() res1 = fn(arg_0) except Exception as e: print(e) arg_0 = array.clone() res2, _ = jax.value_and_grad(fn, (0))(arg_0) print(res2) # axis -1 is out of bounds for array of shape (2, 3) # 676.8106"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">jax</span> <span class="pl-k">def</span> <span class="pl-en">fn</span>(<span class="pl-s1">arg_0</span>): <span class="pl-s1">axis</span> <span class="pl-c1">=</span> <span class="pl-c1">-</span><span class="pl-c1">1</span> <span class="pl-k">return</span> <span class="pl-s1">jax</span>.<span class="pl-s1">lax</span>.<span class="pl-en">cummax</span>(<span class="pl-s1">arg_0</span>, <span class="pl-s1">axis</span><span class="pl-c1">=</span><span class="pl-s1">axis</span>).<span class="pl-en">sum</span>() <span class="pl-s1">mykey</span> <span class="pl-c1">=</span> <span class="pl-s1">jax</span>.<span class="pl-s1">random</span>.<span class="pl-v">PRNGKey</span>(<span class="pl-c1">14830444</span>) <span class="pl-s1">array</span> <span class="pl-c1">=</span> <span class="pl-s1">jax</span>.<span class="pl-s1">random</span>.<span class="pl-en">uniform</span>(<span class="pl-s1">mykey</span>, [<span class="pl-c1">2</span>, <span class="pl-c1">3</span>], <span class="pl-s1">jax</span>.<span class="pl-s1">numpy</span>.<span class="pl-s1">float32</span>, <span class="pl-s1">minval</span><span class="pl-c1">=</span><span class="pl-c1">0</span>, <span class="pl-s1">maxval</span><span class="pl-c1">=</span><span class="pl-c1">128</span>) <span class="pl-k">try</span>: <span class="pl-s1">arg_0</span> <span class="pl-c1">=</span> <span class="pl-s1">array</span>.<span class="pl-en">clone</span>() <span class="pl-s1">res1</span> <span class="pl-c1">=</span> <span class="pl-en">fn</span>(<span class="pl-s1">arg_0</span>) <span class="pl-k">except</span> <span class="pl-v">Exception</span> <span class="pl-k">as</span> <span class="pl-s1">e</span>: <span class="pl-en">print</span>(<span class="pl-s1">e</span>) <span class="pl-s1">arg_0</span> <span class="pl-c1">=</span> <span class="pl-s1">array</span>.<span class="pl-en">clone</span>() <span class="pl-s1">res2</span>, <span class="pl-s1">_</span> <span class="pl-c1">=</span> <span class="pl-s1">jax</span>.<span class="pl-en">value_and_grad</span>(<span class="pl-s1">fn</span>, (<span class="pl-c1">0</span>))(<span class="pl-s1">arg_0</span>) <span class="pl-en">print</span>(<span class="pl-s1">res2</span>) <span class="pl-c"># axis -1 is out of bounds for array of shape (2, 3)</span> <span class="pl-c"># 676.8106</span></pre></div> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import jax def fn(arg_0): axis = -1 return jax.lax.cummin(arg_0, axis=axis).sum() mykey = jax.random.PRNGKey(14830444) array = jax.random.uniform(mykey, [2, 3], jax.numpy.float32, minval=0, maxval=128) try: arg_0 = array.clone() res1 = fn(arg_0) except Exception as e: print(e) arg_0 = array.clone() res2, _ = jax.value_and_grad(fn, (0))(arg_0) print(res2) # axis -1 is out of bounds for array of shape (2, 3) # 549.35925"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">jax</span> <span class="pl-k">def</span> <span class="pl-en">fn</span>(<span class="pl-s1">arg_0</span>): <span class="pl-s1">axis</span> <span class="pl-c1">=</span> <span class="pl-c1">-</span><span class="pl-c1">1</span> <span class="pl-k">return</span> <span class="pl-s1">jax</span>.<span class="pl-s1">lax</span>.<span class="pl-en">cummin</span>(<span class="pl-s1">arg_0</span>, <span class="pl-s1">axis</span><span class="pl-c1">=</span><span class="pl-s1">axis</span>).<span class="pl-en">sum</span>() <span class="pl-s1">mykey</span> <span class="pl-c1">=</span> <span class="pl-s1">jax</span>.<span class="pl-s1">random</span>.<span class="pl-v">PRNGKey</span>(<span class="pl-c1">14830444</span>) <span class="pl-s1">array</span> <span class="pl-c1">=</span> <span class="pl-s1">jax</span>.<span class="pl-s1">random</span>.<span class="pl-en">uniform</span>(<span class="pl-s1">mykey</span>, [<span class="pl-c1">2</span>, <span class="pl-c1">3</span>], <span class="pl-s1">jax</span>.<span class="pl-s1">numpy</span>.<span class="pl-s1">float32</span>, <span class="pl-s1">minval</span><span class="pl-c1">=</span><span class="pl-c1">0</span>, <span class="pl-s1">maxval</span><span class="pl-c1">=</span><span class="pl-c1">128</span>) <span class="pl-k">try</span>: <span class="pl-s1">arg_0</span> <span class="pl-c1">=</span> <span class="pl-s1">array</span>.<span class="pl-en">clone</span>() <span class="pl-s1">res1</span> <span class="pl-c1">=</span> <span class="pl-en">fn</span>(<span class="pl-s1">arg_0</span>) <span class="pl-k">except</span> <span class="pl-v">Exception</span> <span class="pl-k">as</span> <span class="pl-s1">e</span>: <span class="pl-en">print</span>(<span class="pl-s1">e</span>) <span class="pl-s1">arg_0</span> <span class="pl-c1">=</span> <span class="pl-s1">array</span>.<span class="pl-en">clone</span>() <span class="pl-s1">res2</span>, <span class="pl-s1">_</span> <span class="pl-c1">=</span> <span class="pl-s1">jax</span>.<span class="pl-en">value_and_grad</span>(<span class="pl-s1">fn</span>, (<span class="pl-c1">0</span>))(<span class="pl-s1">arg_0</span>) <span class="pl-en">print</span>(<span class="pl-s1">res2</span>) <span class="pl-c"># axis -1 is out of bounds for array of shape (2, 3)</span> <span class="pl-c"># 549.35925</span></pre></div> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import jax def fn(arg_0): axis = -1 return jax.lax.cumprod(arg_0, axis=axis).sum() mykey = jax.random.PRNGKey(14830444) array = jax.random.uniform(mykey, [2, 3], jax.numpy.float32, minval=0, maxval=128) try: arg_0 = array.clone() res1 = fn(arg_0) except Exception as e: print(e) arg_0 = array.clone() res2, _ = jax.value_and_grad(fn, (0))(arg_0) print(res2) # axis -1 is out of bounds for array of shape (2, 3) # 1533018.6"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-s1">jax</span> <span class="pl-k">def</span> <span class="pl-en">fn</span>(<span class="pl-s1">arg_0</span>): <span class="pl-s1">axis</span> <span class="pl-c1">=</span> <span class="pl-c1">-</span><span class="pl-c1">1</span> <span class="pl-k">return</span> <span class="pl-s1">jax</span>.<span class="pl-s1">lax</span>.<span class="pl-en">cumprod</span>(<span class="pl-s1">arg_0</span>, <span class="pl-s1">axis</span><span class="pl-c1">=</span><span class="pl-s1">axis</span>).<span class="pl-en">sum</span>() <span class="pl-s1">mykey</span> <span class="pl-c1">=</span> <span class="pl-s1">jax</span>.<span class="pl-s1">random</span>.<span class="pl-v">PRNGKey</span>(<span class="pl-c1">14830444</span>) <span class="pl-s1">array</span> <span class="pl-c1">=</span> <span class="pl-s1">jax</span>.<span class="pl-s1">random</span>.<span class="pl-en">uniform</span>(<span class="pl-s1">mykey</span>, [<span class="pl-c1">2</span>, <span class="pl-c1">3</span>], <span class="pl-s1">jax</span>.<span class="pl-s1">numpy</span>.<span class="pl-s1">float32</span>, <span class="pl-s1">minval</span><span class="pl-c1">=</span><span class="pl-c1">0</span>, <span class="pl-s1">maxval</span><span class="pl-c1">=</span><span class="pl-c1">128</span>) <span class="pl-k">try</span>: <span class="pl-s1">arg_0</span> <span class="pl-c1">=</span> <span class="pl-s1">array</span>.<span class="pl-en">clone</span>() <span class="pl-s1">res1</span> <span class="pl-c1">=</span> <span class="pl-en">fn</span>(<span class="pl-s1">arg_0</span>) <span class="pl-k">except</span> <span class="pl-v">Exception</span> <span class="pl-k">as</span> <span class="pl-s1">e</span>: <span class="pl-en">print</span>(<span class="pl-s1">e</span>) <span class="pl-s1">arg_0</span> <span class="pl-c1">=</span> <span class="pl-s1">array</span>.<span class="pl-en">clone</span>() <span class="pl-s1">res2</span>, <span class="pl-s1">_</span> <span class="pl-c1">=</span> <span class="pl-s1">jax</span>.<span class="pl-en">value_and_grad</span>(<span class="pl-s1">fn</span>, (<span class="pl-c1">0</span>))(<span class="pl-s1">arg_0</span>) <span class="pl-en">print</span>(<span class="pl-s1">res2</span>) <span class="pl-c"># axis -1 is out of bounds for array of shape (2, 3)</span> <span class="pl-c"># 1533018.6</span></pre></div> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> If applicable, include full error messages/tracebacks.</li> </ul> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="--------------------------------------------------------------------------- ValueError Traceback (most recent call last) &lt;ipython-input-9-b034345b2caa&gt; in &lt;module&gt; 15 16 arg_0 = array.clone() ---&gt; 17 res1 = fn(arg_0) &lt;ipython-input-9-b034345b2caa&gt; in fn(arg_0) 3 def fn(arg_0): 4 axis = -1 ----&gt; 5 return jax.lax.cummin(arg_0, axis=axis).sum() 6 7 mykey = jax.random.PRNGKey(14830444) /usr/local/lib/python3.9/site-packages/jax/_src/lax/control_flow.py in cummin(operand, axis, reverse) 2869 def cummin(operand: Array, axis: int = 0, reverse: bool = False) -&gt; Array: 2870 &quot;&quot;&quot;Computes a cumulative minimum along `axis`.&quot;&quot;&quot; -&gt; 2871 return cummin_p.bind(operand, axis=int(axis), reverse=bool(reverse)) 2872 2873 def _cumred_shape_rule(x, *, axis: int, reverse: bool): /usr/local/lib/python3.9/site-packages/jax/core.py in bind(self, *args, **params) 321 assert (not config.jax_enable_checks or 322 all(isinstance(arg, Tracer) or valid_jaxtype(arg) for arg in args)), args --&gt; 323 return self.bind_with_trace(find_top_trace(args), args, params) 324 325 def bind_with_trace(self, trace, args, params): /usr/local/lib/python3.9/site-packages/jax/core.py in bind_with_trace(self, trace, args, params) 324 325 def bind_with_trace(self, trace, args, params): --&gt; 326 out = trace.process_primitive(self, map(trace.full_raise, args), params) 327 return map(full_lower, out) if self.multiple_results else full_lower(out) 328 /usr/local/lib/python3.9/site-packages/jax/core.py in process_primitive(self, primitive, tracers, params) 673 674 def process_primitive(self, primitive, tracers, params): --&gt; 675 return primitive.impl(*tracers, **params) 676 677 def process_call(self, primitive, f, tracers, params): /usr/local/lib/python3.9/site-packages/jax/_src/dispatch.py in apply_primitive(prim, *args, **params) 96 def apply_primitive(prim, *args, **params): 97 &quot;&quot;&quot;Impl rule that compiles and runs a single primitive 'prim' using XLA.&quot;&quot;&quot; ---&gt; 98 compiled_fun = xla_primitive_callable(prim, *unsafe_map(arg_spec, args), 99 **params) 100 return compiled_fun(*args) /usr/local/lib/python3.9/site-packages/jax/_src/util.py in wrapper(*args, **kwargs) 217 return f(*args, **kwargs) 218 else: --&gt; 219 return cached(config._trace_context(), *args, **kwargs) 220 221 wrapper.cache_clear = cached.cache_clear /usr/local/lib/python3.9/site-packages/jax/_src/util.py in cached(_, *args, **kwargs) 210 @functools.lru_cache(max_size) 211 def cached(_, *args, **kwargs): --&gt; 212 return f(*args, **kwargs) 213 214 @functools.wraps(f) /usr/local/lib/python3.9/site-packages/jax/_src/dispatch.py in xla_primitive_callable(prim, *arg_specs, **params) 146 else: 147 return out, --&gt; 148 compiled = _xla_callable_uncached(lu.wrap_init(prim_fun), device, None, 149 prim.name, donated_invars, False, *arg_specs) 150 if not prim.multiple_results: /usr/local/lib/python3.9/site-packages/jax/_src/dispatch.py in _xla_callable_uncached(fun, device, backend, name, donated_invars, keep_unused, *arg_specs) 228 def _xla_callable_uncached(fun: lu.WrappedFun, device, backend, name, 229 donated_invars, keep_unused, *arg_specs): --&gt; 230 return lower_xla_callable(fun, device, backend, name, donated_invars, False, 231 keep_unused, *arg_specs).compile().unsafe_call 232 /usr/local/lib/python3.9/site-packages/jax/_src/profiler.py in wrapper(*args, **kwargs) 204 def wrapper(*args, **kwargs): 205 with TraceAnnotation(name, **decorator_kwargs): --&gt; 206 return func(*args, **kwargs) 207 return wrapper 208 return wrapper /usr/local/lib/python3.9/site-packages/jax/_src/dispatch.py in lower_xla_callable(fun, device, backend, name, donated_invars, always_lower, keep_unused, *arg_specs) 270 with log_elapsed_time(f&quot;Finished tracing + transforming {fun.__name__} &quot; 271 &quot;for jit in {elapsed_time} sec&quot;): --&gt; 272 jaxpr, out_avals, consts = pe.trace_to_jaxpr_final( 273 fun, abstract_args, pe.debug_info_final(fun, &quot;jit&quot;), which_explicit) 274 if any(isinstance(c, core.Tracer) for c in consts): /usr/local/lib/python3.9/site-packages/jax/_src/profiler.py in wrapper(*args, **kwargs) 204 def wrapper(*args, **kwargs): 205 with TraceAnnotation(name, **decorator_kwargs): --&gt; 206 return func(*args, **kwargs) 207 return wrapper 208 return wrapper /usr/local/lib/python3.9/site-packages/jax/interpreters/partial_eval.py in trace_to_jaxpr_final(fun, in_avals, debug_info, keep_inputs) 1891 main.jaxpr_stack = () # type: ignore 1892 with core.new_sublevel(): -&gt; 1893 jaxpr, out_avals, consts = trace_to_subjaxpr_dynamic( 1894 fun, main, in_avals, keep_inputs=keep_inputs) 1895 del fun, main /usr/local/lib/python3.9/site-packages/jax/interpreters/partial_eval.py in trace_to_subjaxpr_dynamic(fun, main, in_avals, keep_inputs) 1863 in_tracers = _input_type_to_tracers(trace, in_avals) 1864 in_tracers_ = [t for t, keep in zip(in_tracers, keep_inputs) if keep] -&gt; 1865 ans = fun.call_wrapped(*in_tracers_) 1866 out_tracers = map(trace.full_raise, ans) 1867 jaxpr, consts = frame.to_jaxpr(out_tracers) /usr/local/lib/python3.9/site-packages/jax/linear_util.py in call_wrapped(self, *args, **kwargs) 166 167 try: --&gt; 168 ans = self.f(*args, **dict(self.params, **kwargs)) 169 except: 170 # Some transformations yield from inside context managers, so we have to /usr/local/lib/python3.9/site-packages/jax/_src/dispatch.py in prim_fun(*args) 141 device = _device_from_arg_devices(arg_devices) 142 def prim_fun(*args): --&gt; 143 out = prim.bind(*args, **params) 144 if prim.multiple_results: 145 return out /usr/local/lib/python3.9/site-packages/jax/core.py in bind(self, *args, **params) 321 assert (not config.jax_enable_checks or 322 all(isinstance(arg, Tracer) or valid_jaxtype(arg) for arg in args)), args --&gt; 323 return self.bind_with_trace(find_top_trace(args), args, params) 324 325 def bind_with_trace(self, trace, args, params): /usr/local/lib/python3.9/site-packages/jax/core.py in bind_with_trace(self, trace, args, params) 324 325 def bind_with_trace(self, trace, args, params): --&gt; 326 out = trace.process_primitive(self, map(trace.full_raise, args), params) 327 return map(full_lower, out) if self.multiple_results else full_lower(out) 328 /usr/local/lib/python3.9/site-packages/jax/interpreters/partial_eval.py in process_primitive(self, primitive, tracers, params) 1558 if primitive in custom_staging_rules: 1559 return custom_staging_rules[primitive](self, *tracers, **params) -&gt; 1560 return self.default_process_primitive(primitive, tracers, params) 1561 1562 def default_process_primitive(self, primitive, tracers, params): /usr/local/lib/python3.9/site-packages/jax/interpreters/partial_eval.py in default_process_primitive(self, primitive, tracers, params) 1562 def default_process_primitive(self, primitive, tracers, params): 1563 avals = [t.aval for t in tracers] -&gt; 1564 out_avals, effects = primitive.abstract_eval(*avals, **params) 1565 out_avals = [out_avals] if not primitive.multiple_results else out_avals 1566 source_info = source_info_util.current() /usr/local/lib/python3.9/site-packages/jax/core.py in abstract_eval_(*args, **kwargs) 357 def _effect_free_abstract_eval(abstract_eval): 358 def abstract_eval_(*args, **kwargs): --&gt; 359 return abstract_eval(*args, **kwargs), no_effects 360 return abstract_eval_ 361 /usr/local/lib/python3.9/site-packages/jax/_src/lax/utils.py in standard_abstract_eval(prim, shape_rule, dtype_rule, weak_type_rule, named_shape_rule, *avals, **kwargs) 64 return core.ConcreteArray(out.dtype, out, weak_type=weak_type) 65 elif least_specialized is core.ShapedArray: ---&gt; 66 return core.ShapedArray(shape_rule(*avals, **kwargs), 67 dtype_rule(*avals, **kwargs), weak_type=weak_type, 68 named_shape=named_shape_rule(*avals, **kwargs)) /usr/local/lib/python3.9/site-packages/jax/_src/lax/control_flow.py in _cumred_shape_rule(x, axis, reverse) 2873 def _cumred_shape_rule(x, *, axis: int, reverse: bool): 2874 if axis &lt; 0 or axis &gt;= x.ndim: -&gt; 2875 raise ValueError( 2876 &quot;axis {} is out of bounds for array of shape {}&quot;.format(axis, x.shape)) 2877 return x.shape ValueError: axis -1 is out of bounds for array of shape (2, 3)"><pre class="notranslate"><code class="notranslate">--------------------------------------------------------------------------- ValueError Traceback (most recent call last) &lt;ipython-input-9-b034345b2caa&gt; in &lt;module&gt; 15 16 arg_0 = array.clone() ---&gt; 17 res1 = fn(arg_0) &lt;ipython-input-9-b034345b2caa&gt; in fn(arg_0) 3 def fn(arg_0): 4 axis = -1 ----&gt; 5 return jax.lax.cummin(arg_0, axis=axis).sum() 6 7 mykey = jax.random.PRNGKey(14830444) /usr/local/lib/python3.9/site-packages/jax/_src/lax/control_flow.py in cummin(operand, axis, reverse) 2869 def cummin(operand: Array, axis: int = 0, reverse: bool = False) -&gt; Array: 2870 """Computes a cumulative minimum along `axis`.""" -&gt; 2871 return cummin_p.bind(operand, axis=int(axis), reverse=bool(reverse)) 2872 2873 def _cumred_shape_rule(x, *, axis: int, reverse: bool): /usr/local/lib/python3.9/site-packages/jax/core.py in bind(self, *args, **params) 321 assert (not config.jax_enable_checks or 322 all(isinstance(arg, Tracer) or valid_jaxtype(arg) for arg in args)), args --&gt; 323 return self.bind_with_trace(find_top_trace(args), args, params) 324 325 def bind_with_trace(self, trace, args, params): /usr/local/lib/python3.9/site-packages/jax/core.py in bind_with_trace(self, trace, args, params) 324 325 def bind_with_trace(self, trace, args, params): --&gt; 326 out = trace.process_primitive(self, map(trace.full_raise, args), params) 327 return map(full_lower, out) if self.multiple_results else full_lower(out) 328 /usr/local/lib/python3.9/site-packages/jax/core.py in process_primitive(self, primitive, tracers, params) 673 674 def process_primitive(self, primitive, tracers, params): --&gt; 675 return primitive.impl(*tracers, **params) 676 677 def process_call(self, primitive, f, tracers, params): /usr/local/lib/python3.9/site-packages/jax/_src/dispatch.py in apply_primitive(prim, *args, **params) 96 def apply_primitive(prim, *args, **params): 97 """Impl rule that compiles and runs a single primitive 'prim' using XLA.""" ---&gt; 98 compiled_fun = xla_primitive_callable(prim, *unsafe_map(arg_spec, args), 99 **params) 100 return compiled_fun(*args) /usr/local/lib/python3.9/site-packages/jax/_src/util.py in wrapper(*args, **kwargs) 217 return f(*args, **kwargs) 218 else: --&gt; 219 return cached(config._trace_context(), *args, **kwargs) 220 221 wrapper.cache_clear = cached.cache_clear /usr/local/lib/python3.9/site-packages/jax/_src/util.py in cached(_, *args, **kwargs) 210 @functools.lru_cache(max_size) 211 def cached(_, *args, **kwargs): --&gt; 212 return f(*args, **kwargs) 213 214 @functools.wraps(f) /usr/local/lib/python3.9/site-packages/jax/_src/dispatch.py in xla_primitive_callable(prim, *arg_specs, **params) 146 else: 147 return out, --&gt; 148 compiled = _xla_callable_uncached(lu.wrap_init(prim_fun), device, None, 149 prim.name, donated_invars, False, *arg_specs) 150 if not prim.multiple_results: /usr/local/lib/python3.9/site-packages/jax/_src/dispatch.py in _xla_callable_uncached(fun, device, backend, name, donated_invars, keep_unused, *arg_specs) 228 def _xla_callable_uncached(fun: lu.WrappedFun, device, backend, name, 229 donated_invars, keep_unused, *arg_specs): --&gt; 230 return lower_xla_callable(fun, device, backend, name, donated_invars, False, 231 keep_unused, *arg_specs).compile().unsafe_call 232 /usr/local/lib/python3.9/site-packages/jax/_src/profiler.py in wrapper(*args, **kwargs) 204 def wrapper(*args, **kwargs): 205 with TraceAnnotation(name, **decorator_kwargs): --&gt; 206 return func(*args, **kwargs) 207 return wrapper 208 return wrapper /usr/local/lib/python3.9/site-packages/jax/_src/dispatch.py in lower_xla_callable(fun, device, backend, name, donated_invars, always_lower, keep_unused, *arg_specs) 270 with log_elapsed_time(f"Finished tracing + transforming {fun.__name__} " 271 "for jit in {elapsed_time} sec"): --&gt; 272 jaxpr, out_avals, consts = pe.trace_to_jaxpr_final( 273 fun, abstract_args, pe.debug_info_final(fun, "jit"), which_explicit) 274 if any(isinstance(c, core.Tracer) for c in consts): /usr/local/lib/python3.9/site-packages/jax/_src/profiler.py in wrapper(*args, **kwargs) 204 def wrapper(*args, **kwargs): 205 with TraceAnnotation(name, **decorator_kwargs): --&gt; 206 return func(*args, **kwargs) 207 return wrapper 208 return wrapper /usr/local/lib/python3.9/site-packages/jax/interpreters/partial_eval.py in trace_to_jaxpr_final(fun, in_avals, debug_info, keep_inputs) 1891 main.jaxpr_stack = () # type: ignore 1892 with core.new_sublevel(): -&gt; 1893 jaxpr, out_avals, consts = trace_to_subjaxpr_dynamic( 1894 fun, main, in_avals, keep_inputs=keep_inputs) 1895 del fun, main /usr/local/lib/python3.9/site-packages/jax/interpreters/partial_eval.py in trace_to_subjaxpr_dynamic(fun, main, in_avals, keep_inputs) 1863 in_tracers = _input_type_to_tracers(trace, in_avals) 1864 in_tracers_ = [t for t, keep in zip(in_tracers, keep_inputs) if keep] -&gt; 1865 ans = fun.call_wrapped(*in_tracers_) 1866 out_tracers = map(trace.full_raise, ans) 1867 jaxpr, consts = frame.to_jaxpr(out_tracers) /usr/local/lib/python3.9/site-packages/jax/linear_util.py in call_wrapped(self, *args, **kwargs) 166 167 try: --&gt; 168 ans = self.f(*args, **dict(self.params, **kwargs)) 169 except: 170 # Some transformations yield from inside context managers, so we have to /usr/local/lib/python3.9/site-packages/jax/_src/dispatch.py in prim_fun(*args) 141 device = _device_from_arg_devices(arg_devices) 142 def prim_fun(*args): --&gt; 143 out = prim.bind(*args, **params) 144 if prim.multiple_results: 145 return out /usr/local/lib/python3.9/site-packages/jax/core.py in bind(self, *args, **params) 321 assert (not config.jax_enable_checks or 322 all(isinstance(arg, Tracer) or valid_jaxtype(arg) for arg in args)), args --&gt; 323 return self.bind_with_trace(find_top_trace(args), args, params) 324 325 def bind_with_trace(self, trace, args, params): /usr/local/lib/python3.9/site-packages/jax/core.py in bind_with_trace(self, trace, args, params) 324 325 def bind_with_trace(self, trace, args, params): --&gt; 326 out = trace.process_primitive(self, map(trace.full_raise, args), params) 327 return map(full_lower, out) if self.multiple_results else full_lower(out) 328 /usr/local/lib/python3.9/site-packages/jax/interpreters/partial_eval.py in process_primitive(self, primitive, tracers, params) 1558 if primitive in custom_staging_rules: 1559 return custom_staging_rules[primitive](self, *tracers, **params) -&gt; 1560 return self.default_process_primitive(primitive, tracers, params) 1561 1562 def default_process_primitive(self, primitive, tracers, params): /usr/local/lib/python3.9/site-packages/jax/interpreters/partial_eval.py in default_process_primitive(self, primitive, tracers, params) 1562 def default_process_primitive(self, primitive, tracers, params): 1563 avals = [t.aval for t in tracers] -&gt; 1564 out_avals, effects = primitive.abstract_eval(*avals, **params) 1565 out_avals = [out_avals] if not primitive.multiple_results else out_avals 1566 source_info = source_info_util.current() /usr/local/lib/python3.9/site-packages/jax/core.py in abstract_eval_(*args, **kwargs) 357 def _effect_free_abstract_eval(abstract_eval): 358 def abstract_eval_(*args, **kwargs): --&gt; 359 return abstract_eval(*args, **kwargs), no_effects 360 return abstract_eval_ 361 /usr/local/lib/python3.9/site-packages/jax/_src/lax/utils.py in standard_abstract_eval(prim, shape_rule, dtype_rule, weak_type_rule, named_shape_rule, *avals, **kwargs) 64 return core.ConcreteArray(out.dtype, out, weak_type=weak_type) 65 elif least_specialized is core.ShapedArray: ---&gt; 66 return core.ShapedArray(shape_rule(*avals, **kwargs), 67 dtype_rule(*avals, **kwargs), weak_type=weak_type, 68 named_shape=named_shape_rule(*avals, **kwargs)) /usr/local/lib/python3.9/site-packages/jax/_src/lax/control_flow.py in _cumred_shape_rule(x, axis, reverse) 2873 def _cumred_shape_rule(x, *, axis: int, reverse: bool): 2874 if axis &lt; 0 or axis &gt;= x.ndim: -&gt; 2875 raise ValueError( 2876 "axis {} is out of bounds for array of shape {}".format(axis, x.shape)) 2877 return x.shape ValueError: axis -1 is out of bounds for array of shape (2, 3) </code></pre></div> <p dir="auto">version: 0.3.13</p>
1
<ol dir="auto"> <li>I follow the steps on the official website. <ul dir="auto"> <li>clone the beta version</li> <li>set the environment variable</li> <li>run flutter doctor</li> </ul> </li> <li>when i make these steps:</li> </ol> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" Building flutter tool... The setter 'readEventsEnabled=' was called on null. Receiver: null Tried calling: readEventsEnabled=false package:pub/src/source/hosted.dart 339 BoundHostedSource._throwFriendlyError package:pub/src/source/hosted.dart 141 BoundHostedSource.doGetVersions ===== asynchronous gap =========================== package:pub/src/source.dart 169 BoundSource.getVersions package:pub/src/solver/version_solver.dart 237 SolverCache.getVersions.&lt;fn&gt; dart:async runZoned package:pub/src/http.dart 267 withDependencyType package:pub/src/solver/version_solver.dart 236 SolverCache.getVersions ===== asynchronous gap =========================== package:pub/src/solver/unselected_package_queue.dart 121 UnselectedPackageQueue._getNumVersions ===== asynchronous gap =========================== package:pub/src/solver/unselected_package_queue.dart 50 UnselectedPackageQueue.add ===== asynchronous gap =========================== package:pub/src/solver/version_selection.dart 88 VersionSelection._addDependencies ===== asynchronous gap =========================== package:pub/src/solver/version_selection.dart 63 VersionSelection.select ===== asynchronous gap =========================== package:pub/src/solver/backtracking_solver.dart 174 BacktrackingSolver.solve ===== asynchronous gap =========================== package:pub/src/solver/version_solver.dart 42 resolveVersions.&lt;fn&gt; package:pub/src/log.dart 409 progress package:pub/src/solver/version_solver.dart 40 resolveVersions package:pub/src/entrypoint.dart 195 Entrypoint.acquireDependencies ===== asynchronous gap =========================== package:pub/src/command/upgrade.dart 41 UpgradeCommand.run ===== asynchronous gap =========================== package:args/command_runner.dart 194 CommandRunner.runCommand ===== asynchronous gap =========================== package:pub/src/command_runner.dart 167 PubCommandRunner.runCommand.&lt;fn&gt; dart:async new Future.sync package:pub/src/utils.dart 103 captureErrors.&lt;fn&gt; dart:async runZoned package:pub/src/utils.dart 122 captureErrors package:pub/src/command_runner.dart 167 PubCommandRunner.runCommand ===== asynchronous gap =========================== package:pub/src/command_runner.dart 116 PubCommandRunner.run ===== asynchronous gap =========================== /b/build/slave/Linux_Engine/build/src/third_party/dart/third_party/pkg/pub/bin/pub.dart 8 main This is an unexpected error. Please run pub --trace upgrade --verbosity=error --no-packages-dir"><pre class="notranslate"><code class="notranslate"> Building flutter tool... The setter 'readEventsEnabled=' was called on null. Receiver: null Tried calling: readEventsEnabled=false package:pub/src/source/hosted.dart 339 BoundHostedSource._throwFriendlyError package:pub/src/source/hosted.dart 141 BoundHostedSource.doGetVersions ===== asynchronous gap =========================== package:pub/src/source.dart 169 BoundSource.getVersions package:pub/src/solver/version_solver.dart 237 SolverCache.getVersions.&lt;fn&gt; dart:async runZoned package:pub/src/http.dart 267 withDependencyType package:pub/src/solver/version_solver.dart 236 SolverCache.getVersions ===== asynchronous gap =========================== package:pub/src/solver/unselected_package_queue.dart 121 UnselectedPackageQueue._getNumVersions ===== asynchronous gap =========================== package:pub/src/solver/unselected_package_queue.dart 50 UnselectedPackageQueue.add ===== asynchronous gap =========================== package:pub/src/solver/version_selection.dart 88 VersionSelection._addDependencies ===== asynchronous gap =========================== package:pub/src/solver/version_selection.dart 63 VersionSelection.select ===== asynchronous gap =========================== package:pub/src/solver/backtracking_solver.dart 174 BacktrackingSolver.solve ===== asynchronous gap =========================== package:pub/src/solver/version_solver.dart 42 resolveVersions.&lt;fn&gt; package:pub/src/log.dart 409 progress package:pub/src/solver/version_solver.dart 40 resolveVersions package:pub/src/entrypoint.dart 195 Entrypoint.acquireDependencies ===== asynchronous gap =========================== package:pub/src/command/upgrade.dart 41 UpgradeCommand.run ===== asynchronous gap =========================== package:args/command_runner.dart 194 CommandRunner.runCommand ===== asynchronous gap =========================== package:pub/src/command_runner.dart 167 PubCommandRunner.runCommand.&lt;fn&gt; dart:async new Future.sync package:pub/src/utils.dart 103 captureErrors.&lt;fn&gt; dart:async runZoned package:pub/src/utils.dart 122 captureErrors package:pub/src/command_runner.dart 167 PubCommandRunner.runCommand ===== asynchronous gap =========================== package:pub/src/command_runner.dart 116 PubCommandRunner.run ===== asynchronous gap =========================== /b/build/slave/Linux_Engine/build/src/third_party/dart/third_party/pkg/pub/bin/pub.dart 8 main This is an unexpected error. Please run pub --trace upgrade --verbosity=error --no-packages-dir </code></pre></div> <p dir="auto">what's wrong with my operations.<br> thanks <g-emoji class="g-emoji" alias="+1" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f44d.png">👍</g-emoji></p>
<p dir="auto">I found an issue in <a href="https://pub.dartlang.org/packages/image_picker" rel="nofollow">image picker library</a> in ios only, the cancel button in the navigation bar is not visible if I access camera first. But its working in Andriod.<br> When I look into the library implementation if found that the image picker controller object reference is missing when camera usage is done. So I tried re-initializing the object each time when we use image picker and deallocating after use manually. It was working fine.<br> Here what i have done.</p> <div class="highlight highlight-source-objc notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="- (void)showCamera { // Camera is not available on simulators _imagePickerController = [[UIImagePickerController alloc] init]; _imagePickerController.modalPresentationStyle = UIModalPresentationCurrentContext; _imagePickerController.delegate = self; _imagePickerController.mediaTypes = @[ (NSString *)kUTTypeImage ]; if ([UIImagePickerController isSourceTypeAvailable:UIImagePickerControllerSourceTypeCamera]) { _imagePickerController.sourceType = UIImagePickerControllerSourceTypeCamera; [_viewController presentViewController:_imagePickerController animated:YES completion:nil]; } else { [[[UIAlertView alloc] initWithTitle:@&quot;Error&quot; message:@&quot;Camera not available.&quot; delegate:nil cancelButtonTitle:@&quot;OK&quot; otherButtonTitles:nil] show]; } } - (void)showPhotoLibrary { // No need to check if SourceType is available. It always is. _imagePickerController = [[UIImagePickerController alloc] init]; _imagePickerController.modalPresentationStyle = UIModalPresentationCurrentContext; _imagePickerController.delegate = self; _imagePickerController.mediaTypes = @[ (NSString *)kUTTypeImage ]; _imagePickerController.sourceType = UIImagePickerControllerSourceTypePhotoLibrary; [_viewController presentViewController:_imagePickerController animated:YES completion: nil]; } - (void)imagePickerControllerDidCancel:(UIImagePickerController *)picker { [_imagePickerController dismissViewControllerAnimated:YES completion:nil]; _result(nil); _result = nil; _arguments = nil; _imagePickerController = nil; }"><pre class="notranslate">- (<span class="pl-k">void</span>)showCamera { <span class="pl-c"><span class="pl-c">//</span> Camera is not available on simulators</span> _imagePickerController = [[UIImagePickerController <span class="pl-c1">alloc</span>] <span class="pl-c1">init</span>]; _imagePickerController.<span class="pl-smi">modalPresentationStyle</span> = UIModalPresentationCurrentContext; _imagePickerController.<span class="pl-smi">delegate</span> = self; _imagePickerController.<span class="pl-smi">mediaTypes</span> = @[ (<span class="pl-c1">NSString</span> *)<span class="pl-c1">kUTTypeImage</span> ]; <span class="pl-k">if</span> ([UIImagePickerController <span class="pl-c1">isSourceTypeAvailable:</span>UIImagePickerControllerSourceTypeCamera]) { _imagePickerController.<span class="pl-smi">sourceType</span> = UIImagePickerControllerSourceTypeCamera; [_viewController <span class="pl-c1">presentViewController:</span>_imagePickerController <span class="pl-c1">animated:</span><span class="pl-c1">YES</span> <span class="pl-c1">completion:</span><span class="pl-c1">nil</span>]; } <span class="pl-k">else</span> { [[[UIAlertView <span class="pl-c1">alloc</span>] <span class="pl-c1">initWithTitle:</span><span class="pl-s"><span class="pl-pds">@"</span>Error<span class="pl-pds">"</span></span> <span class="pl-c1">message:</span><span class="pl-s"><span class="pl-pds">@"</span>Camera not available.<span class="pl-pds">"</span></span> <span class="pl-c1">delegate:</span><span class="pl-c1">nil</span> <span class="pl-c1">cancelButtonTitle:</span><span class="pl-s"><span class="pl-pds">@"</span>OK<span class="pl-pds">"</span></span> <span class="pl-c1">otherButtonTitles:</span><span class="pl-c1">nil</span>] <span class="pl-c1">show</span>]; } } - (<span class="pl-k">void</span>)showPhotoLibrary { <span class="pl-c"><span class="pl-c">//</span> No need to check if SourceType is available. It always is.</span> _imagePickerController = [[UIImagePickerController <span class="pl-c1">alloc</span>] <span class="pl-c1">init</span>]; _imagePickerController.<span class="pl-smi">modalPresentationStyle</span> = UIModalPresentationCurrentContext; _imagePickerController.<span class="pl-smi">delegate</span> = self; _imagePickerController.<span class="pl-smi">mediaTypes</span> = @[ (<span class="pl-c1">NSString</span> *)<span class="pl-c1">kUTTypeImage</span> ]; _imagePickerController.<span class="pl-smi">sourceType</span> = UIImagePickerControllerSourceTypePhotoLibrary; [_viewController <span class="pl-c1">presentViewController:</span>_imagePickerController <span class="pl-c1">animated:</span><span class="pl-c1">YES</span> <span class="pl-c1">completion:</span> <span class="pl-c1">nil</span>]; } - (<span class="pl-k">void</span>)imagePickerControllerDidCancel:(UIImagePickerController *)picker { [_imagePickerController <span class="pl-c1">dismissViewControllerAnimated:</span><span class="pl-c1">YES</span> <span class="pl-c1">completion:</span><span class="pl-c1">nil</span>]; <span class="pl-c1">_result</span>(<span class="pl-c1">nil</span>); _result = <span class="pl-c1">nil</span>; _arguments = <span class="pl-c1">nil</span>; _imagePickerController = <span class="pl-c1">nil</span>; }</pre></div> <p dir="auto">Please fix the issue as soon as possible.</p>
0
<p dir="auto">I build vscode from the master branch.(0.10.10)<br> Found that intellisense doesn't work,no auto completion with inline js code in the .html file.<br> The previous version(0.10.8) support<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/8966236/13330917/127a6596-dc36-11e5-9796-70d1c0dda3ef.jpg"><img src="https://cloud.githubusercontent.com/assets/8966236/13330917/127a6596-dc36-11e5-9796-70d1c0dda3ef.jpg" alt="default" style="max-width: 100%;"></a></p>
1
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/incubator-dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/incubator-dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li> </ul> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Dubbo version: 2.6.0</li> <li>Operating System version: Windows 10</li> <li>Java version: 1.8</li> </ul> <p dir="auto">I want set some RpcContext property value by telnet invoke, how to achieve it? thanks~</p>
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/apache/dubbo/issues">issues</a> of this repository and believe that this is not a duplicate.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have checked the <a href="https://github.com/apache/dubbo/blob/master/FAQ.md">FAQ</a> of this repository and believe that this is not a duplicate.</li> </ul> <h3 dir="auto">Environment</h3> <ul dir="auto"> <li>Dubbo version: dubbo-spring-boot-starter:2.7.7</li> <li>Operating System version: MAC OS 10.15.6</li> <li>Java version: java 8</li> </ul> <h3 dir="auto">Steps to reproduce this issue</h3> <p dir="auto">How to use @DubboReference annotations Like xml, the basic attributes are only configured once, instead of configuring the same attributes for each reference.</p>
0
<p dir="auto">It shouldn't be.</p>
<p dir="auto">On playpen nightly</p> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="#![crate_type=&quot;lib&quot;] #![feature(asm)] fn main() { unsafe { routine() } } pub unsafe fn routine() { asm!(&quot;mov ecx, 0xFF .loop: loop .loop&quot; : // no outputs : // no inputs : &quot;ecx&quot; : &quot;intel&quot;); } pub unsafe fn routine2() { routine(); // causes inlining, duplicating the symbol improperly }"><pre class="notranslate"><span class="pl-c1">#!<span class="pl-kos">[</span>crate_type=<span class="pl-s">"lib"</span><span class="pl-kos">]</span></span> <span class="pl-c1">#!<span class="pl-kos">[</span>feature<span class="pl-kos">(</span>asm<span class="pl-kos">)</span><span class="pl-kos">]</span></span> <span class="pl-k">fn</span> <span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">unsafe</span> <span class="pl-kos">{</span> <span class="pl-en">routine</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-k">pub</span> <span class="pl-k">unsafe</span> <span class="pl-k">fn</span> <span class="pl-en">routine</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-en">asm</span><span class="pl-en">!</span><span class="pl-kos">(</span><span class="pl-s">"mov ecx, 0xFF</span> <span class="pl-s"> .loop:</span> <span class="pl-s"> loop .loop"</span> : <span class="pl-c">// no outputs</span> : <span class="pl-c">// no inputs</span> : <span class="pl-s">"ecx"</span> : <span class="pl-s">"intel"</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">pub</span> <span class="pl-k">unsafe</span> <span class="pl-k">fn</span> <span class="pl-en">routine2</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-en">routine</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// causes inlining, duplicating the symbol improperly</span> <span class="pl-kos">}</span></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;anon&gt;:11:5: 17:22 error: &lt;inline asm&gt;:3:11: error: invalid symbol redefinition .loop: ^ &lt;anon&gt;:11 asm!(&quot;mov cx, 0xFF &lt;anon&gt;:12 .loop: &lt;anon&gt;:13 loop .loop&quot; &lt;anon&gt;:14 : // no outputs &lt;anon&gt;:15 : // no inputs &lt;anon&gt;:16 : &quot;ecx&quot; ... error: aborting due to previous error playpen: application terminated with error code 101"><pre class="notranslate"><code class="notranslate">&lt;anon&gt;:11:5: 17:22 error: &lt;inline asm&gt;:3:11: error: invalid symbol redefinition .loop: ^ &lt;anon&gt;:11 asm!("mov cx, 0xFF &lt;anon&gt;:12 .loop: &lt;anon&gt;:13 loop .loop" &lt;anon&gt;:14 : // no outputs &lt;anon&gt;:15 : // no inputs &lt;anon&gt;:16 : "ecx" ... error: aborting due to previous error playpen: application terminated with error code 101 </code></pre></div> <p dir="auto">The following two conditions are necessary to trigger this:</p> <ul dir="auto"> <li>Generating a library ( <code class="notranslate">#![crate_type="lib"]</code> )</li> <li>At least <code class="notranslate">-C opt-level=2</code></li> </ul> <p dir="auto">Without both of these, the error does not occur.</p>
0
<p dir="auto">[x] I have searched the <a href="https://github.com/zeit/next.js/issues?q=is%3Aissue">issues</a> of this repository and believe that this is not a duplicate.</p> <h2 dir="auto">Expected Behavior</h2> <p dir="auto"><code class="notranslate">yarn install</code> then <code class="notranslate">yarn dev</code> should result in a running program.</p> <h2 dir="auto">Current Behavior</h2> <p dir="auto">Get this error</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="(node:79838) UnhandledPromiseRejectionWarning: Error: Cannot find module './dist/server/build/babel/preset' at Function.Module._resolveFilename (module.js:543:15) at Function.Module._load (module.js:470:25) at Module.require (module.js:593:17) at require (internal/module.js:11:18) at Object.&lt;anonymous&gt; (/Users/trent/home/projects/Grok/tmp/next.js/babel.js:1:18) at Module._compile (module.js:649:30) at Module.m._compile (/Users/trent/home/projects/Grok/tmp/next.js/examples/custom-server-typescript/node_modules/ts-node/src/index.ts:422:23) at Module._extensions..js (module.js:660:10) at Object.require.extensions.(anonymous function) [as .js] (/Users/trent/home/projects/Grok/tmp/next.js/examples/custom-server-typescript/node_modules/ts-node/src/index.ts:425:12) at Module.load (module.js:561:32) at tryModuleLoad (module.js:501:12) at Function.Module._load (module.js:493:3) at Module.require (module.js:593:17) at require (internal/module.js:11:18) at requireModule (/Users/trent/home/projects/Grok/tmp/next.js/examples/custom-server-typescript/node_modules/@babel/core/lib/config/files/plugins.js:142:12) at loadPreset (/Users/trent/home/projects/Grok/tmp/next.js/examples/custom-server-typescript/node_modules/@babel/core/lib/config/files/plugins.js:56:15) (node:79838) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3) (node:79838) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. [nodemon] clean exit - waiting for changes before restart "><pre class="notranslate"><code class="notranslate">(node:79838) UnhandledPromiseRejectionWarning: Error: Cannot find module './dist/server/build/babel/preset' at Function.Module._resolveFilename (module.js:543:15) at Function.Module._load (module.js:470:25) at Module.require (module.js:593:17) at require (internal/module.js:11:18) at Object.&lt;anonymous&gt; (/Users/trent/home/projects/Grok/tmp/next.js/babel.js:1:18) at Module._compile (module.js:649:30) at Module.m._compile (/Users/trent/home/projects/Grok/tmp/next.js/examples/custom-server-typescript/node_modules/ts-node/src/index.ts:422:23) at Module._extensions..js (module.js:660:10) at Object.require.extensions.(anonymous function) [as .js] (/Users/trent/home/projects/Grok/tmp/next.js/examples/custom-server-typescript/node_modules/ts-node/src/index.ts:425:12) at Module.load (module.js:561:32) at tryModuleLoad (module.js:501:12) at Function.Module._load (module.js:493:3) at Module.require (module.js:593:17) at require (internal/module.js:11:18) at requireModule (/Users/trent/home/projects/Grok/tmp/next.js/examples/custom-server-typescript/node_modules/@babel/core/lib/config/files/plugins.js:142:12) at loadPreset (/Users/trent/home/projects/Grok/tmp/next.js/examples/custom-server-typescript/node_modules/@babel/core/lib/config/files/plugins.js:56:15) (node:79838) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 3) (node:79838) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code. [nodemon] clean exit - waiting for changes before restart </code></pre></div> <h2 dir="auto">Your Environment</h2> <table role="table"> <thead> <tr> <th>Tech</th> <th>Version</th> </tr> </thead> <tbody> <tr> <td>next</td> <td>6.0.0</td> </tr> <tr> <td>node</td> <td>9.8.0</td> </tr> <tr> <td>OS</td> <td>macOS 10.13.4</td> </tr> </tbody> </table>
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/zeit/next.js/issues">issues</a> of this repository and believe that this is not a duplicate.</li> </ul> <p dir="auto">This issue might be somewhat similar to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="246183127" data-permission-text="Title is private" data-url="https://github.com/vercel/next.js/issues/2668" data-hovercard-type="issue" data-hovercard-url="/vercel/next.js/issues/2668/hovercard" href="https://github.com/vercel/next.js/issues/2668">#2668</a>, however the provided workaround does not fix my problem.</p> <h2 dir="auto">Expected Behavior</h2> <p dir="auto">Assuming I am at the following route <code class="notranslate">'/docs/imgproc'</code>, if I keep on pushing the exact same route, e.g.: <code class="notranslate">router.push('/docs?cvModule=imgproc', '/docs/imgproc#boundingRect', { shallow: true })</code> I would assume <code class="notranslate">getInitialProps</code> not to be called repeatedly as the route did not change and I am pushing with shallow option.</p> <h2 dir="auto">Current Behavior</h2> <p dir="auto">The first time I push a new route via: <code class="notranslate">router.push('/docs?cvModule=imgproc', '/docs/imgproc#boundingRect', { shallow: true })</code> <code class="notranslate">getInitialProps</code> is called as I would expect. However, executing the exact same push again it should not call <code class="notranslate">getInitialProps</code> again, especially with <code class="notranslate">{ shallow: true }</code>, or am I missing something here?</p> <p dir="auto">Furthermore, looking at <code class="notranslate">router.router.asPath</code>, I get the following: <code class="notranslate">'/docs/imgproc#boundingRect'</code>. If I slightly modify the asPath, e.g.: <code class="notranslate">router.push('/docs?cvModule=imgproc', '/docs/imgproc#bounding', { shallow: true })</code> <code class="notranslate">getInitialProps</code> is not called, as expected. If I push with the exact same asPath it keeps being called repeatedly.</p> <p dir="auto">The above explained behaviour also applies with the 'next/link' component. That's how I initially discovered the issue.</p> <h2 dir="auto">Context</h2> <p dir="auto">What I want to achieve, is to prevent the page from being rerendered if the route is the same with a different hash value. As <code class="notranslate">{ shallow: true }</code> does not seem to work in case the asPath is the same, I assume the only option is to write a custom Link component which parses the asPath and the hash value?</p> <h2 dir="auto">Your Environment</h2> <table role="table"> <thead> <tr> <th>Tech</th> <th>Version</th> </tr> </thead> <tbody> <tr> <td>next</td> <td>4.1.4</td> </tr> <tr> <td>node</td> <td>9.2.0</td> </tr> <tr> <td>OS</td> <td>win7 x64</td> </tr> <tr> <td>browser</td> <td>chrome 63.0</td> </tr> </tbody> </table>
0
<p dir="auto">Find in Buffer has Whole Word option.<br> But Find in Project currently does not have that option.</p>
<p dir="auto">Currently this isn't implemented in project find.</p>
1
<h5 dir="auto">Issue Type:</h5> <p dir="auto">Bug Report</p> <h5 dir="auto">Ansible Version:</h5> <p dir="auto">2.0.0.1</p> <h5 dir="auto">Ansible Configuration:</h5> <p dir="auto">[defaults]<br> host_key_checking = False<br> hostfile = inventory/test<br> pipelining = True</p> <h5 dir="auto">Environment:</h5> <p dir="auto">From Ubuntu 14.04 to sles12</p> <h5 dir="auto">Summary:</h5> <p dir="auto">After Running the <code class="notranslate">unarchive</code> module the <code class="notranslate">$HOME/.ansible</code> is not cleaned up</p> <h5 dir="auto">Steps To Reproduce:</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="- name: extract large file unarchive: src=large_file.tar.gz dest=/tmp"><pre class="notranslate"><code class="notranslate">- name: extract large file unarchive: src=large_file.tar.gz dest=/tmp </code></pre></div> <h5 dir="auto">Expected Results:</h5> <p dir="auto"><code class="notranslate">$HOME/.ansible</code> on target machine is small after playbook has finished</p> <h5 dir="auto">Actual Results:</h5> <p dir="auto"><code class="notranslate">$HOME/.ansible</code> is about the size of the archive extracted</p>
<h5 dir="auto">Issue Type:</h5> <ul dir="auto"> <li>Bug Report</li> </ul> <h5 dir="auto">Ansible Version:</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="ansible 2.0.0.2 (ubuntu 14.04 : *ppa:ansible/ansible*)"><pre class="notranslate"><code class="notranslate">ansible 2.0.0.2 (ubuntu 14.04 : *ppa:ansible/ansible*) </code></pre></div> <h5 dir="auto">Ansible Configuration:</h5> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[defaults] host_key_checking = False fact_caching = memory gathering = smart remote_user = root hostfile = /etc/ansible/hosts library = /usr/share/ansible remote_tmp = $HOME/.ansible/tmp pattern = * forks = 5 poll_interval = 15 transport = smart remote_port = 22 nocows = 1 log_path = /var/log/ansible.log roles_path = /etc/ansible/roles ansible_managed = Ansible managed: {file} @ %Y-%m-%d %H:%M:%S (%Z) retry_files_enabled = False no_log = True no_target_syslog = True [ssh_connection] pipelining = True ssh_args = -o ForwardAgent=yes"><pre class="notranslate"><code class="notranslate">[defaults] host_key_checking = False fact_caching = memory gathering = smart remote_user = root hostfile = /etc/ansible/hosts library = /usr/share/ansible remote_tmp = $HOME/.ansible/tmp pattern = * forks = 5 poll_interval = 15 transport = smart remote_port = 22 nocows = 1 log_path = /var/log/ansible.log roles_path = /etc/ansible/roles ansible_managed = Ansible managed: {file} @ %Y-%m-%d %H:%M:%S (%Z) retry_files_enabled = False no_log = True no_target_syslog = True [ssh_connection] pipelining = True ssh_args = -o ForwardAgent=yes </code></pre></div> <h5 dir="auto">Environment:</h5> <p dir="auto">Ubuntu LTS (trusty)</p> <h5 dir="auto">Summary:</h5> <p dir="auto">I have many servers which run ansible (like ansible-pull ) on themselves. (they often don't even have internet). Anyway they run ansible from cron at regular times.</p> <p dir="auto">Today I was alerted when to the disk usage on my dev servers (dev run ansible on localhost much more frequently than production).</p> <p dir="auto">There was over 8Gb of disk being used under <em>$HOME/.ansible/tmp</em></p> <p dir="auto">A quick examination of dpkg logs and the timestamps (on 3 hosts) confirms that this started immediately after leaving ansible 1.9</p> <h5 dir="auto">Steps To Reproduce:</h5> <p dir="auto">I just run ansible and it drops lots of files. I'm afraid that its a massive codebase but I'll try to isolate if its a specific module when I find time.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="root hostname ~/.ansible/tmp # ls -ld *| wc -l 28877 root hostname ~/.ansible/tmp # du -sh ./ 334M ./ root hostname ~/.ansible/tmp # ls -ltr | head total 0 drwxr-xr-x 2 root root 20 Jan 7 16:35 ansible-tmp-1452184545.57-4067534433910 drwxr-xr-x 2 root root 29 Jan 14 14:34 ansible-tmp-1452782097.64-275060088292169 drwxr-xr-x 2 root root 6 Feb 15 18:05 ansible-tmp-1455559507.68-75405176251432 drwxr-xr-x 2 root root 6 Feb 15 18:05 ansible-tmp-1455559510.74-196306534308392 drwxr-xr-x 2 root root 6 Feb 15 18:05 ansible-tmp-1455559511.03-274782368435943 drwxr-xr-x 2 root root 6 Feb 15 18:05 ansible-tmp-1455559511.35-176576225059611 drwxr-xr-x 2 root root 6 Feb 15 18:05 ansible-tmp-1455559511.49-191884790350210 drwxr-xr-x 2 root root 6 Feb 15 18:05 ansible-tmp-1455559511.58-19466108554057 drwxr-xr-x 2 root root 6 Feb 15 18:05 ansible-tmp-1455559511.63-28439722806966 root hostname ~/.ansible/tmp # grep ansible /var/log/dpkg.log* | sort -n /var/log/dpkg.log.1:2016-02-15 17:17:44 status half-configured ansible:all 1.9.4-1ppa~trusty /var/log/dpkg.log.1:2016-02-15 17:17:44 status half-installed ansible:all 1.9.4-1ppa~trusty /var/log/dpkg.log.1:2016-02-15 17:17:44 status unpacked ansible:all 1.9.4-1ppa~trusty /var/log/dpkg.log.1:2016-02-15 17:17:44 upgrade ansible:all 1.9.4-1ppa~trusty 2.0.0.2-1ppa~trusty /var/log/dpkg.log.1:2016-02-15 17:17:45 status half-installed ansible:all 1.9.4-1ppa~trusty /var/log/dpkg.log.1:2016-02-15 17:17:45 status unpacked ansible:all 2.0.0.2-1ppa~trusty /var/log/dpkg.log.1:2016-02-15 17:17:45 status unpacked ansible:all 2.0.0.2-1ppa~trusty /var/log/dpkg.log.1:2016-02-15 17:17:55 conffile /etc/ansible/ansible.cfg keep /var/log/dpkg.log.1:2016-02-15 17:17:55 conffile /etc/ansible/hosts keep /var/log/dpkg.log.1:2016-02-15 17:17:55 configure ansible:all 2.0.0.2-1ppa~trusty &lt;none&gt; /var/log/dpkg.log.1:2016-02-15 17:17:55 status half-configured ansible:all 2.0.0.2-1ppa~trusty /var/log/dpkg.log.1:2016-02-15 17:17:55 status installed ansible:all 2.0.0.2-1ppa~trusty /var/log/dpkg.log.1:2016-02-15 17:17:55 status unpacked ansible:all 2.0.0.2-1ppa~trusty /var/log/dpkg.log.1:2016-02-15 17:17:55 status unpacked ansible:all 2.0.0.2-1ppa~trusty /var/log/dpkg.log.1:2016-02-15 17:17:55 status unpacked ansible:all 2.0.0.2-1ppa~trusty "><pre class="notranslate"><code class="notranslate">root hostname ~/.ansible/tmp # ls -ld *| wc -l 28877 root hostname ~/.ansible/tmp # du -sh ./ 334M ./ root hostname ~/.ansible/tmp # ls -ltr | head total 0 drwxr-xr-x 2 root root 20 Jan 7 16:35 ansible-tmp-1452184545.57-4067534433910 drwxr-xr-x 2 root root 29 Jan 14 14:34 ansible-tmp-1452782097.64-275060088292169 drwxr-xr-x 2 root root 6 Feb 15 18:05 ansible-tmp-1455559507.68-75405176251432 drwxr-xr-x 2 root root 6 Feb 15 18:05 ansible-tmp-1455559510.74-196306534308392 drwxr-xr-x 2 root root 6 Feb 15 18:05 ansible-tmp-1455559511.03-274782368435943 drwxr-xr-x 2 root root 6 Feb 15 18:05 ansible-tmp-1455559511.35-176576225059611 drwxr-xr-x 2 root root 6 Feb 15 18:05 ansible-tmp-1455559511.49-191884790350210 drwxr-xr-x 2 root root 6 Feb 15 18:05 ansible-tmp-1455559511.58-19466108554057 drwxr-xr-x 2 root root 6 Feb 15 18:05 ansible-tmp-1455559511.63-28439722806966 root hostname ~/.ansible/tmp # grep ansible /var/log/dpkg.log* | sort -n /var/log/dpkg.log.1:2016-02-15 17:17:44 status half-configured ansible:all 1.9.4-1ppa~trusty /var/log/dpkg.log.1:2016-02-15 17:17:44 status half-installed ansible:all 1.9.4-1ppa~trusty /var/log/dpkg.log.1:2016-02-15 17:17:44 status unpacked ansible:all 1.9.4-1ppa~trusty /var/log/dpkg.log.1:2016-02-15 17:17:44 upgrade ansible:all 1.9.4-1ppa~trusty 2.0.0.2-1ppa~trusty /var/log/dpkg.log.1:2016-02-15 17:17:45 status half-installed ansible:all 1.9.4-1ppa~trusty /var/log/dpkg.log.1:2016-02-15 17:17:45 status unpacked ansible:all 2.0.0.2-1ppa~trusty /var/log/dpkg.log.1:2016-02-15 17:17:45 status unpacked ansible:all 2.0.0.2-1ppa~trusty /var/log/dpkg.log.1:2016-02-15 17:17:55 conffile /etc/ansible/ansible.cfg keep /var/log/dpkg.log.1:2016-02-15 17:17:55 conffile /etc/ansible/hosts keep /var/log/dpkg.log.1:2016-02-15 17:17:55 configure ansible:all 2.0.0.2-1ppa~trusty &lt;none&gt; /var/log/dpkg.log.1:2016-02-15 17:17:55 status half-configured ansible:all 2.0.0.2-1ppa~trusty /var/log/dpkg.log.1:2016-02-15 17:17:55 status installed ansible:all 2.0.0.2-1ppa~trusty /var/log/dpkg.log.1:2016-02-15 17:17:55 status unpacked ansible:all 2.0.0.2-1ppa~trusty /var/log/dpkg.log.1:2016-02-15 17:17:55 status unpacked ansible:all 2.0.0.2-1ppa~trusty /var/log/dpkg.log.1:2016-02-15 17:17:55 status unpacked ansible:all 2.0.0.2-1ppa~trusty </code></pre></div>
1
<p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/numpy/ticket/830" rel="nofollow">http://projects.scipy.org/numpy/ticket/830</a> on 2008-06-24 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/cournape/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/cournape">@cournape</a>, assigned to <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/cournape/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/cournape">@cournape</a>.</em></p> <p dir="auto">See ticket 493 from scipy trac</p> <p dir="auto">Dividing by zero (e.g. 1/scipy.float64(0.)) yields scipy.inf as it is supposed to, but leaks memory in the process.</p> <p dir="auto">I'll attach a sample program where memory usage grows without bound.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="#!python import scipy x = scipy.float64(0.) while 1: 1/x"><pre class="notranslate"><code class="notranslate">#!python import scipy x = scipy.float64(0.) while 1: 1/x </code></pre></div>
<p dir="auto"><em>Original ticket <a href="http://projects.scipy.org/numpy/ticket/955" rel="nofollow">http://projects.scipy.org/numpy/ticket/955</a> on 2008-11-20 by <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/stefanv/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/stefanv">@stefanv</a>, assigned to unknown.</em></p> <p dir="auto">From <a href="http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505999" rel="nofollow">http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=505999</a>:</p> <p dir="auto">Version: 1:1.1.0-3</p> <p dir="auto">Raising zero to a negative power sometimes leaks memory, depending on the<br> types involved. While this is easy to work around (check for zero and deal<br> with it separately), it shouldn't happen.</p> <p dir="auto">In particular, with the following combinations of types (where the base is<br> 0 and the exponent is -3 or -3.5), one object is leaked:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="float ** numpy.float64 int ** numpy.float64 int ** numpy.int32 int ** numpy.int64 numpy.float32 ** numpy.float32 numpy.float64 ** float numpy.float64 ** int numpy.float64 ** numpy.float32 numpy.float64 ** numpy.float64 numpy.float64 ** numpy.int32 numpy.float64 ** numpy.int64 numpy.int32 ** int numpy.int32 ** numpy.int32 numpy.int64 ** int numpy.int64 ** numpy.int32 numpy.int64 ** numpy.int64"><pre class="notranslate"><code class="notranslate">float ** numpy.float64 int ** numpy.float64 int ** numpy.int32 int ** numpy.int64 numpy.float32 ** numpy.float32 numpy.float64 ** float numpy.float64 ** int numpy.float64 ** numpy.float32 numpy.float64 ** numpy.float64 numpy.float64 ** numpy.int32 numpy.float64 ** numpy.int64 numpy.int32 ** int numpy.int32 ** numpy.int32 numpy.int64 ** int numpy.int64 ** numpy.int32 numpy.int64 ** numpy.int64 </code></pre></div> <p dir="auto">(In addition, float ** numpy.int32 raises an exception; however, strictly<br> speaking, that would be a separate issue.)</p> <p dir="auto">Code to reproduce this is enclosed below.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="#!/usr/bin/python import gc, numpy def mem(): gc.collect() return len(gc.get_objects()) for zt in int, float, numpy.int32, numpy.int64, numpy.float32, numpy.float64: z = zt(0) for pt in int, float, numpy.int32, numpy.int64, numpy.float32, numpy.float64: if zt in (int, float) and pt in (int, float): continue p = pt(-3.5) try: before = mem() z**p if mem()&gt;before: print 'leak: ', type(z), '**', type(p) else: print 'OK: ', type(z), '**', type(p) except: print 'error:', type(z), '**', type(p)"><pre class="notranslate"><code class="notranslate">#!/usr/bin/python import gc, numpy def mem(): gc.collect() return len(gc.get_objects()) for zt in int, float, numpy.int32, numpy.int64, numpy.float32, numpy.float64: z = zt(0) for pt in int, float, numpy.int32, numpy.int64, numpy.float32, numpy.float64: if zt in (int, float) and pt in (int, float): continue p = pt(-3.5) try: before = mem() z**p if mem()&gt;before: print 'leak: ', type(z), '**', type(p) else: print 'OK: ', type(z), '**', type(p) except: print 'error:', type(z), '**', type(p) </code></pre></div>
1
<p dir="auto">when the Component props <code class="notranslate">multiLine={true}</code>,then <code class="notranslate">clearValue()</code> is not effect.Neither is <code class="notranslate">setValue()</code></p>
<p dir="auto">If I remove multiLine={true}, setValue and clearValue work again.</p>
1
<p dir="auto"><strong>Migrated issue, originally created by Michael Bayer (<a href="https://github.com/zzzeek">@zzzeek</a>)</strong></p> <p dir="auto">this issue is mostly fixed by <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/sqlalchemy/sqlalchemy/commit/c33d0378802abbc729de55ba205a4309e5d68f6b/hovercard" href="https://github.com/sqlalchemy/sqlalchemy/commit/c33d0378802abbc729de55ba205a4309e5d68f6b"><tt>c33d037</tt></a> with <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="384630257" data-permission-text="Title is private" data-url="https://github.com/sqlalchemy/sqlalchemy/issues/3028" data-hovercard-type="issue" data-hovercard-url="/sqlalchemy/sqlalchemy/issues/3028/hovercard" href="https://github.com/sqlalchemy/sqlalchemy/issues/3028">#3028</a> but that is a different issue being fixed here. if conv() is present we shouldn't be hitting naming convention logic at all. the below fails in 0.9.4 but succeeds in rel_0_9:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="from sqlalchemy import UniqueConstraint, Table, MetaData from sqlalchemy.sql.naming import conv m = MetaData(naming_convention={&quot;uq&quot;: &quot;uq_%(table_name)s_%(column_0_name)s&quot;}) t = Table('mytable', m) uq = UniqueConstraint(name=conv('my_special_key')) t.append_constraint(uq)"><pre class="notranslate"><code class="notranslate">from sqlalchemy import UniqueConstraint, Table, MetaData from sqlalchemy.sql.naming import conv m = MetaData(naming_convention={"uq": "uq_%(table_name)s_%(column_0_name)s"}) t = Table('mytable', m) uq = UniqueConstraint(name=conv('my_special_key')) t.append_constraint(uq) </code></pre></div>
<p dir="auto"><strong>Migrated issue, originally created by Maik Riechert (<a href="https://github.com/letmaik">@letmaik</a>)</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="mybool = Column(Boolean, nullable=False, default=False)"><pre class="notranslate"><code class="notranslate">mybool = Column(Boolean, nullable=False, default=False) </code></pre></div> <p dir="auto">I use PostgreSQL which has a native boolean type. If I then also use naming convention:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&quot;ck&quot;: &quot;ck_%(table_name)s_%(constraint_name)s&quot;,"><pre class="notranslate"><code class="notranslate">"ck": "ck_%(table_name)s_%(constraint_name)s", </code></pre></div> <p dir="auto">Then sqlalchemy complains:</p> <p dir="auto">sqlalchemy.exc.InvalidRequestError: Naming convention including %(constraint_name)s token requires that constraint is explicitly named.</p> <p dir="auto">If I define the column as</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="isPublic = Column(Boolean(create_constraint=False), nullable=False, default=False)"><pre class="notranslate"><code class="notranslate">isPublic = Column(Boolean(create_constraint=False), nullable=False, default=False) </code></pre></div> <p dir="auto">it works, so I think this is a bug in which sqlalchemy doesn't connect the fact that there is a native Boolean and no constraint exists actually.</p> <hr> <p dir="auto">Attachments: <a href="../wiki/imported_issue_attachments/3067/3067.1.patch">3067.1.patch</a> | <a href="../wiki/imported_issue_attachments/3067/3067.patch">3067.patch</a> | <a href="../wiki/imported_issue_attachments/3067/3067.2.patch">3067.2.patch</a></p>
1
<h2 dir="auto">Problem Description</h2> <ol dir="auto"> <li>Define a table with enough rows to make the scroll appear</li> <li>Set the props of the table: <code class="notranslate">height={"100%"} fixedHeader={true}</code></li> <li>Now headers are fixed no more</li> </ol> <p dir="auto">In this scenario omitting <code class="notranslate">height={"100%"}</code> makes no change</p> <h2 dir="auto">Versions</h2> <ul dir="auto"> <li>Material-UI: 0.15.0-beta.2</li> <li>React: 15.0.1</li> <li>Browser: Chrome 50.0.2661.75 (64-bit)</li> </ul>
<p dir="auto">material-ui/lib/table/table-body.js:42<br> propTypes: {<br> ^^^^^^^^^<br> SyntaxError: Duplicate data property in object literal not allowed in strict mode<br> <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="112202126" data-permission-text="Title is private" data-url="https://github.com/mui/material-ui/issues/1917" data-hovercard-type="pull_request" data-hovercard-url="/mui/material-ui/pull/1917/hovercard" href="https://github.com/mui/material-ui/pull/1917">#1917</a> this merge request was merged right after 0.12.4 was released. Can we get a 0.12.5? Otherwise can't use 0.12.4.</p>
0
<p dir="auto">I have no idea what is going on. I had no problem with python 3.7.3 32 bits version.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" ERROR: Complete output from command 'c:\users\xxxxx\appdata\local\programs\python\python37\python.exe' -u -c 'import setuptools, tokenize;__file__='&quot;'&quot;'C:\\Users\\XXXXX\\AppData\\Local\\Temp\\pip-install-9pfqvjxq\\Twisted\\setup.py'&quot;'&quot;';f=getattr(tokenize, '&quot;'&quot;'open'&quot;'&quot;', open)(__file__);code=f.read().replace('&quot;'&quot;'\r\n'&quot;'&quot;', '&quot;'&quot;'\n'&quot;'&quot;');f.close();exec(compile(code, __file__, '&quot;'&quot;'exec'&quot;'&quot;'))' install --record 'C:\Users\XXXXX\AppData\Local\Temp\pip-record-lls0x5g5\install-record.txt' --single-version-externally-managed --compile: ERROR: running install running build running build_py creating build creating build\lib.win-amd64-3.7 creating build\lib.win-amd64-3.7\twisted copying src\twisted\copyright.py -&gt; build\lib.win-amd64-3.7\twisted copying src\twisted\plugin.py -&gt; build\lib.win-amd64-3.7\twisted copying src\twisted\_version.py -&gt; build\lib.win-amd64-3.7\twisted copying src\twisted\__init__.py -&gt; build\lib.win-amd64-3.7\twisted copying src\twisted\__main__.py -&gt; build\lib.win-amd64-3.7\twisted creating build\lib.win-amd64-3.7\twisted\application copying src\twisted\application\app.py -&gt; build\lib.win-amd64-3.7\twisted\application copying src\twisted\application\internet.py -&gt; build\lib.win-amd64-3.7\twisted\application copying src\twisted\application\reactors.py -&gt; build\lib.win-amd64-3.7\twisted\application copying src\twisted\application\service.py -&gt; build\lib.win-amd64-3.7\twisted\application copying src\twisted\application\strports.py -&gt; build\lib.win-amd64-3.7\twisted\application copying src\twisted\application\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\application creating build\lib.win-amd64-3.7\twisted\conch copying src\twisted\conch\avatar.py -&gt; build\lib.win-amd64-3.7\twisted\conch copying src\twisted\conch\checkers.py -&gt; build\lib.win-amd64-3.7\twisted\conch copying src\twisted\conch\endpoints.py -&gt; build\lib.win-amd64-3.7\twisted\conch copying src\twisted\conch\error.py -&gt; build\lib.win-amd64-3.7\twisted\conch copying src\twisted\conch\interfaces.py -&gt; build\lib.win-amd64-3.7\twisted\conch copying src\twisted\conch\ls.py -&gt; build\lib.win-amd64-3.7\twisted\conch copying src\twisted\conch\manhole.py -&gt; build\lib.win-amd64-3.7\twisted\conch copying src\twisted\conch\manhole_ssh.py -&gt; build\lib.win-amd64-3.7\twisted\conch copying src\twisted\conch\manhole_tap.py -&gt; build\lib.win-amd64-3.7\twisted\conch copying src\twisted\conch\mixin.py -&gt; build\lib.win-amd64-3.7\twisted\conch copying src\twisted\conch\recvline.py -&gt; build\lib.win-amd64-3.7\twisted\conch copying src\twisted\conch\stdio.py -&gt; build\lib.win-amd64-3.7\twisted\conch copying src\twisted\conch\tap.py -&gt; build\lib.win-amd64-3.7\twisted\conch copying src\twisted\conch\telnet.py -&gt; build\lib.win-amd64-3.7\twisted\conch copying src\twisted\conch\ttymodes.py -&gt; build\lib.win-amd64-3.7\twisted\conch copying src\twisted\conch\unix.py -&gt; build\lib.win-amd64-3.7\twisted\conch copying src\twisted\conch\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\conch creating build\lib.win-amd64-3.7\twisted\cred copying src\twisted\cred\checkers.py -&gt; build\lib.win-amd64-3.7\twisted\cred copying src\twisted\cred\credentials.py -&gt; build\lib.win-amd64-3.7\twisted\cred copying src\twisted\cred\error.py -&gt; build\lib.win-amd64-3.7\twisted\cred copying src\twisted\cred\portal.py -&gt; build\lib.win-amd64-3.7\twisted\cred copying src\twisted\cred\strcred.py -&gt; build\lib.win-amd64-3.7\twisted\cred copying src\twisted\cred\_digest.py -&gt; build\lib.win-amd64-3.7\twisted\cred copying src\twisted\cred\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\cred creating build\lib.win-amd64-3.7\twisted\enterprise copying src\twisted\enterprise\adbapi.py -&gt; build\lib.win-amd64-3.7\twisted\enterprise copying src\twisted\enterprise\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\enterprise creating build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\abstract.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\address.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\asyncioreactor.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\base.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\cfreactor.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\default.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\defer.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\endpoints.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\epollreactor.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\error.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\fdesc.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\gireactor.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\glib2reactor.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\gtk2reactor.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\gtk3reactor.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\inotify.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\interfaces.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\kqreactor.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\main.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\pollreactor.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\posixbase.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\process.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\protocol.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\pyuisupport.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\reactor.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\selectreactor.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\serialport.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\ssl.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\stdio.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\task.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\tcp.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\threads.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\tksupport.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\udp.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\unix.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\utils.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\win32eventreactor.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\wxreactor.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\wxsupport.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\_baseprocess.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\_dumbwin32proc.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\_glibbase.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\_idna.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\_newtls.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\_pollingfile.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\_posixserialport.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\_posixstdio.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\_producer_helpers.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\_resolver.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\_signals.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\_sslverify.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\_threadedselect.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\_win32serialport.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\_win32stdio.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\internet creating build\lib.win-amd64-3.7\twisted\logger copying src\twisted\logger\_buffer.py -&gt; build\lib.win-amd64-3.7\twisted\logger copying src\twisted\logger\_file.py -&gt; build\lib.win-amd64-3.7\twisted\logger copying src\twisted\logger\_filter.py -&gt; build\lib.win-amd64-3.7\twisted\logger copying src\twisted\logger\_flatten.py -&gt; build\lib.win-amd64-3.7\twisted\logger copying src\twisted\logger\_format.py -&gt; build\lib.win-amd64-3.7\twisted\logger copying src\twisted\logger\_global.py -&gt; build\lib.win-amd64-3.7\twisted\logger copying src\twisted\logger\_io.py -&gt; build\lib.win-amd64-3.7\twisted\logger copying src\twisted\logger\_json.py -&gt; build\lib.win-amd64-3.7\twisted\logger copying src\twisted\logger\_legacy.py -&gt; build\lib.win-amd64-3.7\twisted\logger copying src\twisted\logger\_levels.py -&gt; build\lib.win-amd64-3.7\twisted\logger copying src\twisted\logger\_logger.py -&gt; build\lib.win-amd64-3.7\twisted\logger copying src\twisted\logger\_observer.py -&gt; build\lib.win-amd64-3.7\twisted\logger copying src\twisted\logger\_stdlib.py -&gt; build\lib.win-amd64-3.7\twisted\logger copying src\twisted\logger\_util.py -&gt; build\lib.win-amd64-3.7\twisted\logger copying src\twisted\logger\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\logger creating build\lib.win-amd64-3.7\twisted\mail copying src\twisted\mail\imap4.py -&gt; build\lib.win-amd64-3.7\twisted\mail copying src\twisted\mail\interfaces.py -&gt; build\lib.win-amd64-3.7\twisted\mail copying src\twisted\mail\pop3.py -&gt; build\lib.win-amd64-3.7\twisted\mail copying src\twisted\mail\pop3client.py -&gt; build\lib.win-amd64-3.7\twisted\mail copying src\twisted\mail\protocols.py -&gt; build\lib.win-amd64-3.7\twisted\mail copying src\twisted\mail\relay.py -&gt; build\lib.win-amd64-3.7\twisted\mail copying src\twisted\mail\smtp.py -&gt; build\lib.win-amd64-3.7\twisted\mail copying src\twisted\mail\_cred.py -&gt; build\lib.win-amd64-3.7\twisted\mail copying src\twisted\mail\_except.py -&gt; build\lib.win-amd64-3.7\twisted\mail copying src\twisted\mail\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\mail creating build\lib.win-amd64-3.7\twisted\names copying src\twisted\names\authority.py -&gt; build\lib.win-amd64-3.7\twisted\names copying src\twisted\names\cache.py -&gt; build\lib.win-amd64-3.7\twisted\names copying src\twisted\names\client.py -&gt; build\lib.win-amd64-3.7\twisted\names copying src\twisted\names\common.py -&gt; build\lib.win-amd64-3.7\twisted\names copying src\twisted\names\dns.py -&gt; build\lib.win-amd64-3.7\twisted\names copying src\twisted\names\error.py -&gt; build\lib.win-amd64-3.7\twisted\names copying src\twisted\names\hosts.py -&gt; build\lib.win-amd64-3.7\twisted\names copying src\twisted\names\resolve.py -&gt; build\lib.win-amd64-3.7\twisted\names copying src\twisted\names\root.py -&gt; build\lib.win-amd64-3.7\twisted\names copying src\twisted\names\secondary.py -&gt; build\lib.win-amd64-3.7\twisted\names copying src\twisted\names\server.py -&gt; build\lib.win-amd64-3.7\twisted\names copying src\twisted\names\srvconnect.py -&gt; build\lib.win-amd64-3.7\twisted\names copying src\twisted\names\tap.py -&gt; build\lib.win-amd64-3.7\twisted\names copying src\twisted\names\_rfc1982.py -&gt; build\lib.win-amd64-3.7\twisted\names copying src\twisted\names\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\names creating build\lib.win-amd64-3.7\twisted\pair copying src\twisted\pair\ethernet.py -&gt; build\lib.win-amd64-3.7\twisted\pair copying src\twisted\pair\ip.py -&gt; build\lib.win-amd64-3.7\twisted\pair copying src\twisted\pair\raw.py -&gt; build\lib.win-amd64-3.7\twisted\pair copying src\twisted\pair\rawudp.py -&gt; build\lib.win-amd64-3.7\twisted\pair copying src\twisted\pair\testing.py -&gt; build\lib.win-amd64-3.7\twisted\pair copying src\twisted\pair\tuntap.py -&gt; build\lib.win-amd64-3.7\twisted\pair copying src\twisted\pair\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\pair creating build\lib.win-amd64-3.7\twisted\persisted copying src\twisted\persisted\aot.py -&gt; build\lib.win-amd64-3.7\twisted\persisted copying src\twisted\persisted\crefutil.py -&gt; build\lib.win-amd64-3.7\twisted\persisted copying src\twisted\persisted\dirdbm.py -&gt; build\lib.win-amd64-3.7\twisted\persisted copying src\twisted\persisted\sob.py -&gt; build\lib.win-amd64-3.7\twisted\persisted copying src\twisted\persisted\styles.py -&gt; build\lib.win-amd64-3.7\twisted\persisted copying src\twisted\persisted\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\persisted creating build\lib.win-amd64-3.7\twisted\plugins copying src\twisted\plugins\cred_anonymous.py -&gt; build\lib.win-amd64-3.7\twisted\plugins copying src\twisted\plugins\cred_file.py -&gt; build\lib.win-amd64-3.7\twisted\plugins copying src\twisted\plugins\cred_memory.py -&gt; build\lib.win-amd64-3.7\twisted\plugins copying src\twisted\plugins\cred_sshkeys.py -&gt; build\lib.win-amd64-3.7\twisted\plugins copying src\twisted\plugins\cred_unix.py -&gt; build\lib.win-amd64-3.7\twisted\plugins copying src\twisted\plugins\twisted_conch.py -&gt; build\lib.win-amd64-3.7\twisted\plugins copying src\twisted\plugins\twisted_core.py -&gt; build\lib.win-amd64-3.7\twisted\plugins copying src\twisted\plugins\twisted_ftp.py -&gt; build\lib.win-amd64-3.7\twisted\plugins copying src\twisted\plugins\twisted_inet.py -&gt; build\lib.win-amd64-3.7\twisted\plugins copying src\twisted\plugins\twisted_names.py -&gt; build\lib.win-amd64-3.7\twisted\plugins copying src\twisted\plugins\twisted_portforward.py -&gt; build\lib.win-amd64-3.7\twisted\plugins copying src\twisted\plugins\twisted_reactors.py -&gt; build\lib.win-amd64-3.7\twisted\plugins copying src\twisted\plugins\twisted_runner.py -&gt; build\lib.win-amd64-3.7\twisted\plugins copying src\twisted\plugins\twisted_socks.py -&gt; build\lib.win-amd64-3.7\twisted\plugins copying src\twisted\plugins\twisted_trial.py -&gt; build\lib.win-amd64-3.7\twisted\plugins copying src\twisted\plugins\twisted_web.py -&gt; build\lib.win-amd64-3.7\twisted\plugins copying src\twisted\plugins\twisted_words.py -&gt; build\lib.win-amd64-3.7\twisted\plugins copying src\twisted\plugins\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\plugins creating build\lib.win-amd64-3.7\twisted\positioning copying src\twisted\positioning\base.py -&gt; build\lib.win-amd64-3.7\twisted\positioning copying src\twisted\positioning\ipositioning.py -&gt; build\lib.win-amd64-3.7\twisted\positioning copying src\twisted\positioning\nmea.py -&gt; build\lib.win-amd64-3.7\twisted\positioning copying src\twisted\positioning\_sentence.py -&gt; build\lib.win-amd64-3.7\twisted\positioning copying src\twisted\positioning\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\positioning creating build\lib.win-amd64-3.7\twisted\protocols copying src\twisted\protocols\amp.py -&gt; build\lib.win-amd64-3.7\twisted\protocols copying src\twisted\protocols\basic.py -&gt; build\lib.win-amd64-3.7\twisted\protocols copying src\twisted\protocols\dict.py -&gt; build\lib.win-amd64-3.7\twisted\protocols copying src\twisted\protocols\finger.py -&gt; build\lib.win-amd64-3.7\twisted\protocols copying src\twisted\protocols\ftp.py -&gt; build\lib.win-amd64-3.7\twisted\protocols copying src\twisted\protocols\htb.py -&gt; build\lib.win-amd64-3.7\twisted\protocols copying src\twisted\protocols\ident.py -&gt; build\lib.win-amd64-3.7\twisted\protocols copying src\twisted\protocols\loopback.py -&gt; build\lib.win-amd64-3.7\twisted\protocols copying src\twisted\protocols\memcache.py -&gt; build\lib.win-amd64-3.7\twisted\protocols copying src\twisted\protocols\pcp.py -&gt; build\lib.win-amd64-3.7\twisted\protocols copying src\twisted\protocols\policies.py -&gt; build\lib.win-amd64-3.7\twisted\protocols copying src\twisted\protocols\portforward.py -&gt; build\lib.win-amd64-3.7\twisted\protocols copying src\twisted\protocols\postfix.py -&gt; build\lib.win-amd64-3.7\twisted\protocols copying src\twisted\protocols\sip.py -&gt; build\lib.win-amd64-3.7\twisted\protocols copying src\twisted\protocols\socks.py -&gt; build\lib.win-amd64-3.7\twisted\protocols copying src\twisted\protocols\stateful.py -&gt; build\lib.win-amd64-3.7\twisted\protocols copying src\twisted\protocols\tls.py -&gt; build\lib.win-amd64-3.7\twisted\protocols copying src\twisted\protocols\wire.py -&gt; build\lib.win-amd64-3.7\twisted\protocols copying src\twisted\protocols\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\protocols creating build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\compat.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\components.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\constants.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\context.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\deprecate.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\failure.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\fakepwd.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\filepath.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\formmethod.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\htmlizer.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\lockfile.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\log.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\logfile.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\modules.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\monkey.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\procutils.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\randbytes.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\rebuild.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\reflect.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\release.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\roots.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\runtime.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\sendmsg.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\shortcut.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\syslog.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\systemd.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\text.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\threadable.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\threadpool.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\url.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\urlpath.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\usage.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\util.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\versions.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\win32.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\zippath.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\zipstream.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\_appdirs.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\_inotify.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\_oldstyle.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\_release.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\_setup.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\_shellcomp.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\_textattributes.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\_tzhelper.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\_url.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\python creating build\lib.win-amd64-3.7\twisted\runner copying src\twisted\runner\inetd.py -&gt; build\lib.win-amd64-3.7\twisted\runner copying src\twisted\runner\inetdconf.py -&gt; build\lib.win-amd64-3.7\twisted\runner copying src\twisted\runner\inetdtap.py -&gt; build\lib.win-amd64-3.7\twisted\runner copying src\twisted\runner\procmon.py -&gt; build\lib.win-amd64-3.7\twisted\runner copying src\twisted\runner\procmontap.py -&gt; build\lib.win-amd64-3.7\twisted\runner copying src\twisted\runner\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\runner creating build\lib.win-amd64-3.7\twisted\scripts copying src\twisted\scripts\htmlizer.py -&gt; build\lib.win-amd64-3.7\twisted\scripts copying src\twisted\scripts\trial.py -&gt; build\lib.win-amd64-3.7\twisted\scripts copying src\twisted\scripts\twistd.py -&gt; build\lib.win-amd64-3.7\twisted\scripts copying src\twisted\scripts\_twistd_unix.py -&gt; build\lib.win-amd64-3.7\twisted\scripts copying src\twisted\scripts\_twistw.py -&gt; build\lib.win-amd64-3.7\twisted\scripts copying src\twisted\scripts\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\scripts creating build\lib.win-amd64-3.7\twisted\spread copying src\twisted\spread\banana.py -&gt; build\lib.win-amd64-3.7\twisted\spread copying src\twisted\spread\flavors.py -&gt; build\lib.win-amd64-3.7\twisted\spread copying src\twisted\spread\interfaces.py -&gt; build\lib.win-amd64-3.7\twisted\spread copying src\twisted\spread\jelly.py -&gt; build\lib.win-amd64-3.7\twisted\spread copying src\twisted\spread\pb.py -&gt; build\lib.win-amd64-3.7\twisted\spread copying src\twisted\spread\publish.py -&gt; build\lib.win-amd64-3.7\twisted\spread copying src\twisted\spread\util.py -&gt; build\lib.win-amd64-3.7\twisted\spread copying src\twisted\spread\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\spread creating build\lib.win-amd64-3.7\twisted\tap copying src\twisted\tap\ftp.py -&gt; build\lib.win-amd64-3.7\twisted\tap copying src\twisted\tap\portforward.py -&gt; build\lib.win-amd64-3.7\twisted\tap copying src\twisted\tap\socks.py -&gt; build\lib.win-amd64-3.7\twisted\tap copying src\twisted\tap\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\tap creating build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\crash_test_dummy.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\iosim.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\mock_win32process.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\myrebuilder1.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\myrebuilder2.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\plugin_basic.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\plugin_extra1.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\plugin_extra2.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\process_cmdline.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\process_echoer.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\process_fds.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\process_getargv.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\process_getenv.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\process_linger.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\process_reader.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\process_signal.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\process_stdinreader.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\process_tester.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\process_tty.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\process_twisted.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\proto_helpers.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\reflect_helper_IE.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\reflect_helper_VE.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\reflect_helper_ZDE.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\ssl_helpers.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\stdio_test_consumer.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\stdio_test_halfclose.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\stdio_test_hostpeer.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\stdio_test_lastwrite.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\stdio_test_loseconn.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\stdio_test_producer.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\stdio_test_write.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\stdio_test_writeseq.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\testutils.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_abstract.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_adbapi.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_amp.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_application.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_compat.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_context.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_cooperator.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_defer.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_defgen.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_dict.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_dirdbm.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_error.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_factories.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_failure.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_fdesc.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_finger.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_formmethod.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_ftp.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_ftp_options.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_htb.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_ident.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_internet.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_iosim.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_iutils.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_lockfile.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_log.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_logfile.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_loopback.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_main.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_memcache.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_modules.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_monkey.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_nooldstyle.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_paths.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_pcp.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_persisted.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_plugin.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_policies.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_postfix.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_process.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_protocols.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_randbytes.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_rebuild.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_reflect.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_roots.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_shortcut.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_sip.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_sob.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_socks.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_ssl.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_sslverify.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_stateful.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_stdio.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_strerror.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_stringtransport.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_strports.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_task.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_tcp.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_tcp_internals.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_text.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_threadable.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_threadpool.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_threads.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_tpfile.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_twistd.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_twisted.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_udp.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_unix.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_usage.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\test creating build\lib.win-amd64-3.7\twisted\trial copying src\twisted\trial\itrial.py -&gt; build\lib.win-amd64-3.7\twisted\trial copying src\twisted\trial\reporter.py -&gt; build\lib.win-amd64-3.7\twisted\trial copying src\twisted\trial\runner.py -&gt; build\lib.win-amd64-3.7\twisted\trial copying src\twisted\trial\unittest.py -&gt; build\lib.win-amd64-3.7\twisted\trial copying src\twisted\trial\util.py -&gt; build\lib.win-amd64-3.7\twisted\trial copying src\twisted\trial\_asyncrunner.py -&gt; build\lib.win-amd64-3.7\twisted\trial copying src\twisted\trial\_asynctest.py -&gt; build\lib.win-amd64-3.7\twisted\trial copying src\twisted\trial\_synctest.py -&gt; build\lib.win-amd64-3.7\twisted\trial copying src\twisted\trial\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\trial copying src\twisted\trial\__main__.py -&gt; build\lib.win-amd64-3.7\twisted\trial creating build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\client.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\demo.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\distrib.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\domhelpers.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\error.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\guard.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\html.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\http.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\http_headers.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\iweb.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\microdom.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\proxy.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\resource.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\rewrite.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\script.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\server.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\static.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\sux.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\tap.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\template.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\twcgi.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\util.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\vhost.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\wsgi.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\xmlrpc.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\_element.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\_flatten.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\_http2.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\_newclient.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\_responses.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\_stan.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\web creating build\lib.win-amd64-3.7\twisted\words copying src\twisted\words\ewords.py -&gt; build\lib.win-amd64-3.7\twisted\words copying src\twisted\words\iwords.py -&gt; build\lib.win-amd64-3.7\twisted\words copying src\twisted\words\service.py -&gt; build\lib.win-amd64-3.7\twisted\words copying src\twisted\words\tap.py -&gt; build\lib.win-amd64-3.7\twisted\words copying src\twisted\words\xmpproutertap.py -&gt; build\lib.win-amd64-3.7\twisted\words copying src\twisted\words\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\words creating build\lib.win-amd64-3.7\twisted\_threads copying src\twisted\_threads\_convenience.py -&gt; build\lib.win-amd64-3.7\twisted\_threads copying src\twisted\_threads\_ithreads.py -&gt; build\lib.win-amd64-3.7\twisted\_threads copying src\twisted\_threads\_memory.py -&gt; build\lib.win-amd64-3.7\twisted\_threads copying src\twisted\_threads\_pool.py -&gt; build\lib.win-amd64-3.7\twisted\_threads copying src\twisted\_threads\_team.py -&gt; build\lib.win-amd64-3.7\twisted\_threads copying src\twisted\_threads\_threadworker.py -&gt; build\lib.win-amd64-3.7\twisted\_threads copying src\twisted\_threads\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\_threads creating build\lib.win-amd64-3.7\twisted\application\runner copying src\twisted\application\runner\_exit.py -&gt; build\lib.win-amd64-3.7\twisted\application\runner copying src\twisted\application\runner\_pidfile.py -&gt; build\lib.win-amd64-3.7\twisted\application\runner copying src\twisted\application\runner\_runner.py -&gt; build\lib.win-amd64-3.7\twisted\application\runner copying src\twisted\application\runner\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\application\runner creating build\lib.win-amd64-3.7\twisted\application\test copying src\twisted\application\test\test_internet.py -&gt; build\lib.win-amd64-3.7\twisted\application\test copying src\twisted\application\test\test_service.py -&gt; build\lib.win-amd64-3.7\twisted\application\test copying src\twisted\application\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\application\test creating build\lib.win-amd64-3.7\twisted\application\twist copying src\twisted\application\twist\_options.py -&gt; build\lib.win-amd64-3.7\twisted\application\twist copying src\twisted\application\twist\_twist.py -&gt; build\lib.win-amd64-3.7\twisted\application\twist copying src\twisted\application\twist\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\application\twist creating build\lib.win-amd64-3.7\twisted\application\runner\test copying src\twisted\application\runner\test\test_exit.py -&gt; build\lib.win-amd64-3.7\twisted\application\runner\test copying src\twisted\application\runner\test\test_pidfile.py -&gt; build\lib.win-amd64-3.7\twisted\application\runner\test copying src\twisted\application\runner\test\test_runner.py -&gt; build\lib.win-amd64-3.7\twisted\application\runner\test copying src\twisted\application\runner\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\application\runner\test creating build\lib.win-amd64-3.7\twisted\application\twist\test copying src\twisted\application\twist\test\test_options.py -&gt; build\lib.win-amd64-3.7\twisted\application\twist\test copying src\twisted\application\twist\test\test_twist.py -&gt; build\lib.win-amd64-3.7\twisted\application\twist\test copying src\twisted\application\twist\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\application\twist\test creating build\lib.win-amd64-3.7\twisted\conch\client copying src\twisted\conch\client\agent.py -&gt; build\lib.win-amd64-3.7\twisted\conch\client copying src\twisted\conch\client\connect.py -&gt; build\lib.win-amd64-3.7\twisted\conch\client copying src\twisted\conch\client\default.py -&gt; build\lib.win-amd64-3.7\twisted\conch\client copying src\twisted\conch\client\direct.py -&gt; build\lib.win-amd64-3.7\twisted\conch\client copying src\twisted\conch\client\knownhosts.py -&gt; build\lib.win-amd64-3.7\twisted\conch\client copying src\twisted\conch\client\options.py -&gt; build\lib.win-amd64-3.7\twisted\conch\client copying src\twisted\conch\client\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\conch\client creating build\lib.win-amd64-3.7\twisted\conch\insults copying src\twisted\conch\insults\client.py -&gt; build\lib.win-amd64-3.7\twisted\conch\insults copying src\twisted\conch\insults\colors.py -&gt; build\lib.win-amd64-3.7\twisted\conch\insults copying src\twisted\conch\insults\helper.py -&gt; build\lib.win-amd64-3.7\twisted\conch\insults copying src\twisted\conch\insults\insults.py -&gt; build\lib.win-amd64-3.7\twisted\conch\insults copying src\twisted\conch\insults\text.py -&gt; build\lib.win-amd64-3.7\twisted\conch\insults copying src\twisted\conch\insults\window.py -&gt; build\lib.win-amd64-3.7\twisted\conch\insults copying src\twisted\conch\insults\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\conch\insults creating build\lib.win-amd64-3.7\twisted\conch\openssh_compat copying src\twisted\conch\openssh_compat\factory.py -&gt; build\lib.win-amd64-3.7\twisted\conch\openssh_compat copying src\twisted\conch\openssh_compat\primes.py -&gt; build\lib.win-amd64-3.7\twisted\conch\openssh_compat copying src\twisted\conch\openssh_compat\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\conch\openssh_compat creating build\lib.win-amd64-3.7\twisted\conch\scripts copying src\twisted\conch\scripts\cftp.py -&gt; build\lib.win-amd64-3.7\twisted\conch\scripts copying src\twisted\conch\scripts\ckeygen.py -&gt; build\lib.win-amd64-3.7\twisted\conch\scripts copying src\twisted\conch\scripts\conch.py -&gt; build\lib.win-amd64-3.7\twisted\conch\scripts copying src\twisted\conch\scripts\tkconch.py -&gt; build\lib.win-amd64-3.7\twisted\conch\scripts copying src\twisted\conch\scripts\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\conch\scripts creating build\lib.win-amd64-3.7\twisted\conch\ssh copying src\twisted\conch\ssh\address.py -&gt; build\lib.win-amd64-3.7\twisted\conch\ssh copying src\twisted\conch\ssh\agent.py -&gt; build\lib.win-amd64-3.7\twisted\conch\ssh copying src\twisted\conch\ssh\channel.py -&gt; build\lib.win-amd64-3.7\twisted\conch\ssh copying src\twisted\conch\ssh\common.py -&gt; build\lib.win-amd64-3.7\twisted\conch\ssh copying src\twisted\conch\ssh\connection.py -&gt; build\lib.win-amd64-3.7\twisted\conch\ssh copying src\twisted\conch\ssh\factory.py -&gt; build\lib.win-amd64-3.7\twisted\conch\ssh copying src\twisted\conch\ssh\filetransfer.py -&gt; build\lib.win-amd64-3.7\twisted\conch\ssh copying src\twisted\conch\ssh\forwarding.py -&gt; build\lib.win-amd64-3.7\twisted\conch\ssh copying src\twisted\conch\ssh\keys.py -&gt; build\lib.win-amd64-3.7\twisted\conch\ssh copying src\twisted\conch\ssh\service.py -&gt; build\lib.win-amd64-3.7\twisted\conch\ssh copying src\twisted\conch\ssh\session.py -&gt; build\lib.win-amd64-3.7\twisted\conch\ssh copying src\twisted\conch\ssh\sexpy.py -&gt; build\lib.win-amd64-3.7\twisted\conch\ssh copying src\twisted\conch\ssh\transport.py -&gt; build\lib.win-amd64-3.7\twisted\conch\ssh copying src\twisted\conch\ssh\userauth.py -&gt; build\lib.win-amd64-3.7\twisted\conch\ssh copying src\twisted\conch\ssh\_kex.py -&gt; build\lib.win-amd64-3.7\twisted\conch\ssh copying src\twisted\conch\ssh\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\conch\ssh creating build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\keydata.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\loopback.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_address.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_agent.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_cftp.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_channel.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_checkers.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_ckeygen.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_conch.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_connection.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_default.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_endpoints.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_filetransfer.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_forwarding.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_helper.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_insults.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_keys.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_knownhosts.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_manhole.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_manhole_tap.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_mixin.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_openssh_compat.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_recvline.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_scripts.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_session.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_ssh.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_tap.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_telnet.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_text.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_transport.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_unix.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_userauth.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_window.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test creating build\lib.win-amd64-3.7\twisted\conch\ui copying src\twisted\conch\ui\ansi.py -&gt; build\lib.win-amd64-3.7\twisted\conch\ui copying src\twisted\conch\ui\tkvt100.py -&gt; build\lib.win-amd64-3.7\twisted\conch\ui copying src\twisted\conch\ui\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\conch\ui creating build\lib.win-amd64-3.7\twisted\cred\test copying src\twisted\cred\test\test_cramauth.py -&gt; build\lib.win-amd64-3.7\twisted\cred\test copying src\twisted\cred\test\test_cred.py -&gt; build\lib.win-amd64-3.7\twisted\cred\test copying src\twisted\cred\test\test_digestauth.py -&gt; build\lib.win-amd64-3.7\twisted\cred\test copying src\twisted\cred\test\test_simpleauth.py -&gt; build\lib.win-amd64-3.7\twisted\cred\test copying src\twisted\cred\test\test_strcred.py -&gt; build\lib.win-amd64-3.7\twisted\cred\test copying src\twisted\cred\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\cred\test creating build\lib.win-amd64-3.7\twisted\internet\iocpreactor copying src\twisted\internet\iocpreactor\abstract.py -&gt; build\lib.win-amd64-3.7\twisted\internet\iocpreactor copying src\twisted\internet\iocpreactor\const.py -&gt; build\lib.win-amd64-3.7\twisted\internet\iocpreactor copying src\twisted\internet\iocpreactor\interfaces.py -&gt; build\lib.win-amd64-3.7\twisted\internet\iocpreactor copying src\twisted\internet\iocpreactor\reactor.py -&gt; build\lib.win-amd64-3.7\twisted\internet\iocpreactor copying src\twisted\internet\iocpreactor\setup.py -&gt; build\lib.win-amd64-3.7\twisted\internet\iocpreactor copying src\twisted\internet\iocpreactor\tcp.py -&gt; build\lib.win-amd64-3.7\twisted\internet\iocpreactor copying src\twisted\internet\iocpreactor\udp.py -&gt; build\lib.win-amd64-3.7\twisted\internet\iocpreactor copying src\twisted\internet\iocpreactor\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\internet\iocpreactor creating build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\connectionmixins.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\fakeendpoint.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\modulehelpers.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\process_cli.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\process_connectionlost.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\process_gireactornocompat.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\process_helper.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\reactormixins.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_abstract.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_address.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_asyncioreactor.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_base.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_baseprocess.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_core.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_coroutines.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_default.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_endpoints.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_epollreactor.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_error.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_fdset.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_filedescriptor.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_gireactor.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_glibbase.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_inlinecb.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_inotify.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_iocp.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_kqueuereactor.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_main.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_newtls.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_pollingfile.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_posixbase.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_posixprocess.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_process.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_protocol.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_resolver.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_serialport.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_sigchld.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_socket.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_stdio.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_tcp.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_threads.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_time.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_tls.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_udp.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_udp_internals.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_unix.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_win32events.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_win32serialport.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\_posixifaces.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\_win32ifaces.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test creating build\lib.win-amd64-3.7\twisted\logger\test copying src\twisted\logger\test\test_buffer.py -&gt; build\lib.win-amd64-3.7\twisted\logger\test copying src\twisted\logger\test\test_file.py -&gt; build\lib.win-amd64-3.7\twisted\logger\test copying src\twisted\logger\test\test_filter.py -&gt; build\lib.win-amd64-3.7\twisted\logger\test copying src\twisted\logger\test\test_flatten.py -&gt; build\lib.win-amd64-3.7\twisted\logger\test copying src\twisted\logger\test\test_format.py -&gt; build\lib.win-amd64-3.7\twisted\logger\test copying src\twisted\logger\test\test_global.py -&gt; build\lib.win-amd64-3.7\twisted\logger\test copying src\twisted\logger\test\test_io.py -&gt; build\lib.win-amd64-3.7\twisted\logger\test copying src\twisted\logger\test\test_json.py -&gt; build\lib.win-amd64-3.7\twisted\logger\test copying src\twisted\logger\test\test_legacy.py -&gt; build\lib.win-amd64-3.7\twisted\logger\test copying src\twisted\logger\test\test_levels.py -&gt; build\lib.win-amd64-3.7\twisted\logger\test copying src\twisted\logger\test\test_logger.py -&gt; build\lib.win-amd64-3.7\twisted\logger\test copying src\twisted\logger\test\test_observer.py -&gt; build\lib.win-amd64-3.7\twisted\logger\test copying src\twisted\logger\test\test_stdlib.py -&gt; build\lib.win-amd64-3.7\twisted\logger\test copying src\twisted\logger\test\test_util.py -&gt; build\lib.win-amd64-3.7\twisted\logger\test copying src\twisted\logger\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\logger\test creating build\lib.win-amd64-3.7\twisted\mail\scripts copying src\twisted\mail\scripts\mailmail.py -&gt; build\lib.win-amd64-3.7\twisted\mail\scripts creating build\lib.win-amd64-3.7\twisted\mail\test copying src\twisted\mail\test\pop3testserver.py -&gt; build\lib.win-amd64-3.7\twisted\mail\test copying src\twisted\mail\test\test_imap.py -&gt; build\lib.win-amd64-3.7\twisted\mail\test copying src\twisted\mail\test\test_mailmail.py -&gt; build\lib.win-amd64-3.7\twisted\mail\test copying src\twisted\mail\test\test_pop3.py -&gt; build\lib.win-amd64-3.7\twisted\mail\test copying src\twisted\mail\test\test_pop3client.py -&gt; build\lib.win-amd64-3.7\twisted\mail\test copying src\twisted\mail\test\test_smtp.py -&gt; build\lib.win-amd64-3.7\twisted\mail\test copying src\twisted\mail\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\mail\test creating build\lib.win-amd64-3.7\twisted\names\test copying src\twisted\names\test\test_cache.py -&gt; build\lib.win-amd64-3.7\twisted\names\test copying src\twisted\names\test\test_client.py -&gt; build\lib.win-amd64-3.7\twisted\names\test copying src\twisted\names\test\test_common.py -&gt; build\lib.win-amd64-3.7\twisted\names\test copying src\twisted\names\test\test_dns.py -&gt; build\lib.win-amd64-3.7\twisted\names\test copying src\twisted\names\test\test_examples.py -&gt; build\lib.win-amd64-3.7\twisted\names\test copying src\twisted\names\test\test_hosts.py -&gt; build\lib.win-amd64-3.7\twisted\names\test copying src\twisted\names\test\test_names.py -&gt; build\lib.win-amd64-3.7\twisted\names\test copying src\twisted\names\test\test_resolve.py -&gt; build\lib.win-amd64-3.7\twisted\names\test copying src\twisted\names\test\test_rfc1982.py -&gt; build\lib.win-amd64-3.7\twisted\names\test copying src\twisted\names\test\test_rootresolve.py -&gt; build\lib.win-amd64-3.7\twisted\names\test copying src\twisted\names\test\test_server.py -&gt; build\lib.win-amd64-3.7\twisted\names\test copying src\twisted\names\test\test_srvconnect.py -&gt; build\lib.win-amd64-3.7\twisted\names\test copying src\twisted\names\test\test_tap.py -&gt; build\lib.win-amd64-3.7\twisted\names\test copying src\twisted\names\test\test_util.py -&gt; build\lib.win-amd64-3.7\twisted\names\test copying src\twisted\names\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\names\test creating build\lib.win-amd64-3.7\twisted\pair\test copying src\twisted\pair\test\test_ethernet.py -&gt; build\lib.win-amd64-3.7\twisted\pair\test copying src\twisted\pair\test\test_ip.py -&gt; build\lib.win-amd64-3.7\twisted\pair\test copying src\twisted\pair\test\test_rawudp.py -&gt; build\lib.win-amd64-3.7\twisted\pair\test copying src\twisted\pair\test\test_tuntap.py -&gt; build\lib.win-amd64-3.7\twisted\pair\test copying src\twisted\pair\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\pair\test creating build\lib.win-amd64-3.7\twisted\persisted\test copying src\twisted\persisted\test\test_styles.py -&gt; build\lib.win-amd64-3.7\twisted\persisted\test copying src\twisted\persisted\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\persisted\test creating build\lib.win-amd64-3.7\twisted\positioning\test copying src\twisted\positioning\test\receiver.py -&gt; build\lib.win-amd64-3.7\twisted\positioning\test copying src\twisted\positioning\test\test_base.py -&gt; build\lib.win-amd64-3.7\twisted\positioning\test copying src\twisted\positioning\test\test_nmea.py -&gt; build\lib.win-amd64-3.7\twisted\positioning\test copying src\twisted\positioning\test\test_sentence.py -&gt; build\lib.win-amd64-3.7\twisted\positioning\test copying src\twisted\positioning\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\positioning\test creating build\lib.win-amd64-3.7\twisted\protocols\haproxy copying src\twisted\protocols\haproxy\_exceptions.py -&gt; build\lib.win-amd64-3.7\twisted\protocols\haproxy copying src\twisted\protocols\haproxy\_info.py -&gt; build\lib.win-amd64-3.7\twisted\protocols\haproxy copying src\twisted\protocols\haproxy\_interfaces.py -&gt; build\lib.win-amd64-3.7\twisted\protocols\haproxy copying src\twisted\protocols\haproxy\_parser.py -&gt; build\lib.win-amd64-3.7\twisted\protocols\haproxy copying src\twisted\protocols\haproxy\_v1parser.py -&gt; build\lib.win-amd64-3.7\twisted\protocols\haproxy copying src\twisted\protocols\haproxy\_v2parser.py -&gt; build\lib.win-amd64-3.7\twisted\protocols\haproxy copying src\twisted\protocols\haproxy\_wrapper.py -&gt; build\lib.win-amd64-3.7\twisted\protocols\haproxy copying src\twisted\protocols\haproxy\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\protocols\haproxy creating build\lib.win-amd64-3.7\twisted\protocols\test copying src\twisted\protocols\test\test_basic.py -&gt; build\lib.win-amd64-3.7\twisted\protocols\test copying src\twisted\protocols\test\test_tls.py -&gt; build\lib.win-amd64-3.7\twisted\protocols\test copying src\twisted\protocols\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\protocols\test creating build\lib.win-amd64-3.7\twisted\protocols\haproxy\test copying src\twisted\protocols\haproxy\test\test_parser.py -&gt; build\lib.win-amd64-3.7\twisted\protocols\haproxy\test copying src\twisted\protocols\haproxy\test\test_v1parser.py -&gt; build\lib.win-amd64-3.7\twisted\protocols\haproxy\test copying src\twisted\protocols\haproxy\test\test_v2parser.py -&gt; build\lib.win-amd64-3.7\twisted\protocols\haproxy\test copying src\twisted\protocols\haproxy\test\test_wrapper.py -&gt; build\lib.win-amd64-3.7\twisted\protocols\haproxy\test copying src\twisted\protocols\haproxy\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\protocols\haproxy\test creating build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\deprecatedattributes.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\modules_helpers.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\pullpipe.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\test_appdirs.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\test_components.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\test_constants.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\test_deprecate.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\test_dist3.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\test_fakepwd.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\test_htmlizer.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\test_inotify.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\test_release.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\test_runtime.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\test_sendmsg.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\test_setup.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\test_shellcomp.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\test_syslog.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\test_systemd.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\test_textattributes.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\test_tzhelper.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\test_url.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\test_urlpath.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\test_util.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\test_versions.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\test_zippath.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\test_zipstream.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\python\test creating build\lib.win-amd64-3.7\twisted\runner\test copying src\twisted\runner\test\test_inetdconf.py -&gt; build\lib.win-amd64-3.7\twisted\runner\test copying src\twisted\runner\test\test_procmon.py -&gt; build\lib.win-amd64-3.7\twisted\runner\test copying src\twisted\runner\test\test_procmontap.py -&gt; build\lib.win-amd64-3.7\twisted\runner\test copying src\twisted\runner\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\runner\test creating build\lib.win-amd64-3.7\twisted\scripts\test copying src\twisted\scripts\test\test_scripts.py -&gt; build\lib.win-amd64-3.7\twisted\scripts\test copying src\twisted\scripts\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\scripts\test creating build\lib.win-amd64-3.7\twisted\spread\test copying src\twisted\spread\test\test_banana.py -&gt; build\lib.win-amd64-3.7\twisted\spread\test copying src\twisted\spread\test\test_jelly.py -&gt; build\lib.win-amd64-3.7\twisted\spread\test copying src\twisted\spread\test\test_pb.py -&gt; build\lib.win-amd64-3.7\twisted\spread\test copying src\twisted\spread\test\test_pbfailure.py -&gt; build\lib.win-amd64-3.7\twisted\spread\test copying src\twisted\spread\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\spread\test creating build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\detests.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\erroneous.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\mockcustomsuite.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\mockcustomsuite2.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\mockcustomsuite3.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\mockdoctest.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\moduleself.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\moduletest.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\novars.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\ordertests.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\packages.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\sample.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\scripttest.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\skipping.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\suppression.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\test_assertions.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\test_asyncassertions.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\test_deferred.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\test_doctest.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\test_keyboard.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\test_loader.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\test_log.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\test_output.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\test_plugins.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\test_pyunitcompat.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\test_reporter.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\test_runner.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\test_script.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\test_suppression.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\test_testcase.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\test_tests.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\test_util.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\test_warning.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\weird.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test creating build\lib.win-amd64-3.7\twisted\trial\_dist copying src\twisted\trial\_dist\distreporter.py -&gt; build\lib.win-amd64-3.7\twisted\trial\_dist copying src\twisted\trial\_dist\disttrial.py -&gt; build\lib.win-amd64-3.7\twisted\trial\_dist copying src\twisted\trial\_dist\managercommands.py -&gt; build\lib.win-amd64-3.7\twisted\trial\_dist copying src\twisted\trial\_dist\options.py -&gt; build\lib.win-amd64-3.7\twisted\trial\_dist copying src\twisted\trial\_dist\worker.py -&gt; build\lib.win-amd64-3.7\twisted\trial\_dist copying src\twisted\trial\_dist\workercommands.py -&gt; build\lib.win-amd64-3.7\twisted\trial\_dist copying src\twisted\trial\_dist\workerreporter.py -&gt; build\lib.win-amd64-3.7\twisted\trial\_dist copying src\twisted\trial\_dist\workertrial.py -&gt; build\lib.win-amd64-3.7\twisted\trial\_dist copying src\twisted\trial\_dist\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\trial\_dist creating build\lib.win-amd64-3.7\twisted\trial\_dist\test copying src\twisted\trial\_dist\test\test_distreporter.py -&gt; build\lib.win-amd64-3.7\twisted\trial\_dist\test copying src\twisted\trial\_dist\test\test_disttrial.py -&gt; build\lib.win-amd64-3.7\twisted\trial\_dist\test copying src\twisted\trial\_dist\test\test_options.py -&gt; build\lib.win-amd64-3.7\twisted\trial\_dist\test copying src\twisted\trial\_dist\test\test_worker.py -&gt; build\lib.win-amd64-3.7\twisted\trial\_dist\test copying src\twisted\trial\_dist\test\test_workerreporter.py -&gt; build\lib.win-amd64-3.7\twisted\trial\_dist\test copying src\twisted\trial\_dist\test\test_workertrial.py -&gt; build\lib.win-amd64-3.7\twisted\trial\_dist\test copying src\twisted\trial\_dist\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\trial\_dist\test creating build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\injectionhelpers.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\requesthelper.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_agent.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_cgi.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_client.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_distrib.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_domhelpers.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_error.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_flatten.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_html.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_http.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_http2.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_httpauth.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_http_headers.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_newclient.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_proxy.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_resource.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_script.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_stan.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_static.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_tap.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_template.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_util.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_vhost.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_web.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_webclient.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_web__responses.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_wsgi.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_xml.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_xmlrpc.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\_util.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\web\test creating build\lib.win-amd64-3.7\twisted\web\_auth copying src\twisted\web\_auth\basic.py -&gt; build\lib.win-amd64-3.7\twisted\web\_auth copying src\twisted\web\_auth\digest.py -&gt; build\lib.win-amd64-3.7\twisted\web\_auth copying src\twisted\web\_auth\wrapper.py -&gt; build\lib.win-amd64-3.7\twisted\web\_auth copying src\twisted\web\_auth\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\web\_auth creating build\lib.win-amd64-3.7\twisted\words\im copying src\twisted\words\im\baseaccount.py -&gt; build\lib.win-amd64-3.7\twisted\words\im copying src\twisted\words\im\basechat.py -&gt; build\lib.win-amd64-3.7\twisted\words\im copying src\twisted\words\im\basesupport.py -&gt; build\lib.win-amd64-3.7\twisted\words\im copying src\twisted\words\im\interfaces.py -&gt; build\lib.win-amd64-3.7\twisted\words\im copying src\twisted\words\im\ircsupport.py -&gt; build\lib.win-amd64-3.7\twisted\words\im copying src\twisted\words\im\locals.py -&gt; build\lib.win-amd64-3.7\twisted\words\im copying src\twisted\words\im\pbsupport.py -&gt; build\lib.win-amd64-3.7\twisted\words\im copying src\twisted\words\im\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\words\im creating build\lib.win-amd64-3.7\twisted\words\protocols copying src\twisted\words\protocols\irc.py -&gt; build\lib.win-amd64-3.7\twisted\words\protocols copying src\twisted\words\protocols\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\words\protocols creating build\lib.win-amd64-3.7\twisted\words\test copying src\twisted\words\test\test_basechat.py -&gt; build\lib.win-amd64-3.7\twisted\words\test copying src\twisted\words\test\test_basesupport.py -&gt; build\lib.win-amd64-3.7\twisted\words\test copying src\twisted\words\test\test_domish.py -&gt; build\lib.win-amd64-3.7\twisted\words\test copying src\twisted\words\test\test_irc.py -&gt; build\lib.win-amd64-3.7\twisted\words\test copying src\twisted\words\test\test_ircsupport.py -&gt; build\lib.win-amd64-3.7\twisted\words\test copying src\twisted\words\test\test_irc_service.py -&gt; build\lib.win-amd64-3.7\twisted\words\test copying src\twisted\words\test\test_jabberclient.py -&gt; build\lib.win-amd64-3.7\twisted\words\test copying src\twisted\words\test\test_jabbercomponent.py -&gt; build\lib.win-amd64-3.7\twisted\words\test copying src\twisted\words\test\test_jabbererror.py -&gt; build\lib.win-amd64-3.7\twisted\words\test copying src\twisted\words\test\test_jabberjid.py -&gt; build\lib.win-amd64-3.7\twisted\words\test copying src\twisted\words\test\test_jabberjstrports.py -&gt; build\lib.win-amd64-3.7\twisted\words\test copying src\twisted\words\test\test_jabbersasl.py -&gt; build\lib.win-amd64-3.7\twisted\words\test copying src\twisted\words\test\test_jabbersaslmechanisms.py -&gt; build\lib.win-amd64-3.7\twisted\words\test copying src\twisted\words\test\test_jabberxmlstream.py -&gt; build\lib.win-amd64-3.7\twisted\words\test copying src\twisted\words\test\test_jabberxmppstringprep.py -&gt; build\lib.win-amd64-3.7\twisted\words\test copying src\twisted\words\test\test_service.py -&gt; build\lib.win-amd64-3.7\twisted\words\test copying src\twisted\words\test\test_tap.py -&gt; build\lib.win-amd64-3.7\twisted\words\test copying src\twisted\words\test\test_xishutil.py -&gt; build\lib.win-amd64-3.7\twisted\words\test copying src\twisted\words\test\test_xmlstream.py -&gt; build\lib.win-amd64-3.7\twisted\words\test copying src\twisted\words\test\test_xmpproutertap.py -&gt; build\lib.win-amd64-3.7\twisted\words\test copying src\twisted\words\test\test_xpath.py -&gt; build\lib.win-amd64-3.7\twisted\words\test copying src\twisted\words\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\words\test creating build\lib.win-amd64-3.7\twisted\words\xish copying src\twisted\words\xish\domish.py -&gt; build\lib.win-amd64-3.7\twisted\words\xish copying src\twisted\words\xish\utility.py -&gt; build\lib.win-amd64-3.7\twisted\words\xish copying src\twisted\words\xish\xmlstream.py -&gt; build\lib.win-amd64-3.7\twisted\words\xish copying src\twisted\words\xish\xpath.py -&gt; build\lib.win-amd64-3.7\twisted\words\xish copying src\twisted\words\xish\xpathparser.py -&gt; build\lib.win-amd64-3.7\twisted\words\xish copying src\twisted\words\xish\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\words\xish creating build\lib.win-amd64-3.7\twisted\words\protocols\jabber copying src\twisted\words\protocols\jabber\client.py -&gt; build\lib.win-amd64-3.7\twisted\words\protocols\jabber copying src\twisted\words\protocols\jabber\component.py -&gt; build\lib.win-amd64-3.7\twisted\words\protocols\jabber copying src\twisted\words\protocols\jabber\error.py -&gt; build\lib.win-amd64-3.7\twisted\words\protocols\jabber copying src\twisted\words\protocols\jabber\ijabber.py -&gt; build\lib.win-amd64-3.7\twisted\words\protocols\jabber copying src\twisted\words\protocols\jabber\jid.py -&gt; build\lib.win-amd64-3.7\twisted\words\protocols\jabber copying src\twisted\words\protocols\jabber\jstrports.py -&gt; build\lib.win-amd64-3.7\twisted\words\protocols\jabber copying src\twisted\words\protocols\jabber\sasl.py -&gt; build\lib.win-amd64-3.7\twisted\words\protocols\jabber copying src\twisted\words\protocols\jabber\sasl_mechanisms.py -&gt; build\lib.win-amd64-3.7\twisted\words\protocols\jabber copying src\twisted\words\protocols\jabber\xmlstream.py -&gt; build\lib.win-amd64-3.7\twisted\words\protocols\jabber copying src\twisted\words\protocols\jabber\xmpp_stringprep.py -&gt; build\lib.win-amd64-3.7\twisted\words\protocols\jabber copying src\twisted\words\protocols\jabber\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\words\protocols\jabber creating build\lib.win-amd64-3.7\twisted\_threads\test copying src\twisted\_threads\test\test_convenience.py -&gt; build\lib.win-amd64-3.7\twisted\_threads\test copying src\twisted\_threads\test\test_memory.py -&gt; build\lib.win-amd64-3.7\twisted\_threads\test copying src\twisted\_threads\test\test_team.py -&gt; build\lib.win-amd64-3.7\twisted\_threads\test copying src\twisted\_threads\test\test_threadworker.py -&gt; build\lib.win-amd64-3.7\twisted\_threads\test copying src\twisted\_threads\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\_threads\test running egg_info writing src\Twisted.egg-info\PKG-INFO writing dependency_links to src\Twisted.egg-info\dependency_links.txt writing entry points to src\Twisted.egg-info\entry_points.txt writing requirements to src\Twisted.egg-info\requires.txt writing top-level names to src\Twisted.egg-info\top_level.txt reading manifest file 'src\Twisted.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.misc' found under directory 'src\twisted' warning: no previously-included files matching '*.bugfix' found under directory 'src\twisted' warning: no previously-included files matching '*.doc' found under directory 'src\twisted' warning: no previously-included files matching '*.feature' found under directory 'src\twisted' warning: no previously-included files matching '*.removal' found under directory 'src\twisted' warning: no previously-included files matching 'NEWS' found under directory 'src\twisted' warning: no previously-included files matching 'README' found under directory 'src\twisted' warning: no previously-included files matching 'newsfragments' found under directory 'src\twisted' warning: no previously-included files found matching 'src\twisted\topfiles\CREDITS' warning: no previously-included files found matching 'src\twisted\topfiles\ChangeLog.Old' warning: no previously-included files found matching 'pyproject.toml' warning: no previously-included files found matching 'codecov.yml' warning: no previously-included files found matching 'appveyor.yml' warning: no previously-included files found matching '.circleci' warning: no previously-included files matching '*' found under directory '.circleci' no previously-included directories found matching 'bin' no previously-included directories found matching 'admin' no previously-included directories found matching '.travis' no previously-included directories found matching '.github' warning: no previously-included files found matching 'docs\historic\2003' warning: no previously-included files matching '*' found under directory 'docs\historic\2003' writing manifest file 'src\Twisted.egg-info\SOURCES.txt' copying src\twisted\python\twisted-completion.zsh -&gt; build\lib.win-amd64-3.7\twisted\python creating build\lib.win-amd64-3.7\twisted\python\_pydoctortemplates copying src\twisted\python\_pydoctortemplates\common.html -&gt; build\lib.win-amd64-3.7\twisted\python\_pydoctortemplates copying src\twisted\python\_pydoctortemplates\index.html -&gt; build\lib.win-amd64-3.7\twisted\python\_pydoctortemplates copying src\twisted\python\_pydoctortemplates\summary.html -&gt; build\lib.win-amd64-3.7\twisted\python\_pydoctortemplates copying src\twisted\test\cert.pem.no_trailing_newline -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\key.pem.no_trailing_newline -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\server.pem -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_defer.py.3only -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\internet\iocpreactor\notes.txt -&gt; build\lib.win-amd64-3.7\twisted\internet\iocpreactor copying src\twisted\internet\test\_awaittests.py.3only -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\_yieldfromtests.py.3only -&gt; build\lib.win-amd64-3.7\twisted\internet\test creating build\lib.win-amd64-3.7\twisted\internet\test\fake_CAs copying src\twisted\internet\test\fake_CAs\chain.pem -&gt; build\lib.win-amd64-3.7\twisted\internet\test\fake_CAs copying src\twisted\internet\test\fake_CAs\not-a-certificate -&gt; build\lib.win-amd64-3.7\twisted\internet\test\fake_CAs copying src\twisted\internet\test\fake_CAs\thing1.pem -&gt; build\lib.win-amd64-3.7\twisted\internet\test\fake_CAs copying src\twisted\internet\test\fake_CAs\thing2-duplicate.pem -&gt; build\lib.win-amd64-3.7\twisted\internet\test\fake_CAs copying src\twisted\internet\test\fake_CAs\thing2.pem -&gt; build\lib.win-amd64-3.7\twisted\internet\test\fake_CAs copying src\twisted\mail\test\rfc822.message -&gt; build\lib.win-amd64-3.7\twisted\mail\test copying src\twisted\python\test\_deprecatetests.py.3only -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\words\im\instancemessenger.glade -&gt; build\lib.win-amd64-3.7\twisted\words\im copying src\twisted\words\xish\xpathparser.g -&gt; build\lib.win-amd64-3.7\twisted\words\xish running build_ext building 'twisted.test.raiser' extension error: Microsoft Visual C++ 14.0 is required. Get it with &quot;Microsoft Visual C++ Build Tools&quot;: https://visualstudio.microsoft.com/downloads/ ---------------------------------------- ERROR: Command &quot;'c:\users\xxxxx\appdata\local\programs\python\python37\python.exe' -u -c 'import setuptools, tokenize;__file__='&quot;'&quot;'C:\\Users\\XXXXX\\AppData\\Local\\Temp\\pip-install-9pfqvjxq\\Twisted\\setup.py'&quot;'&quot;';f=getattr(tokenize, '&quot;'&quot;'open'&quot;'&quot;', open)(__file__);code=f.read().replace('&quot;'&quot;'\r\n'&quot;'&quot;', '&quot;'&quot;'\n'&quot;'&quot;');f.close();exec(compile(code, __file__, '&quot;'&quot;'exec'&quot;'&quot;'))' install --record 'C:\Users\XXXXX\AppData\Local\Temp\pip-record-lls0x5g5\install-record.txt' --single-version-externally-managed --compile&quot; failed with error code 1 in C:\Users\XXXXX\AppData\Local\Temp\pip-install-9pfqvjxq\Twisted\"><pre class="notranslate"><code class="notranslate"> ERROR: Complete output from command 'c:\users\xxxxx\appdata\local\programs\python\python37\python.exe' -u -c 'import setuptools, tokenize;__file__='"'"'C:\\Users\\XXXXX\\AppData\\Local\\Temp\\pip-install-9pfqvjxq\\Twisted\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\XXXXX\AppData\Local\Temp\pip-record-lls0x5g5\install-record.txt' --single-version-externally-managed --compile: ERROR: running install running build running build_py creating build creating build\lib.win-amd64-3.7 creating build\lib.win-amd64-3.7\twisted copying src\twisted\copyright.py -&gt; build\lib.win-amd64-3.7\twisted copying src\twisted\plugin.py -&gt; build\lib.win-amd64-3.7\twisted copying src\twisted\_version.py -&gt; build\lib.win-amd64-3.7\twisted copying src\twisted\__init__.py -&gt; build\lib.win-amd64-3.7\twisted copying src\twisted\__main__.py -&gt; build\lib.win-amd64-3.7\twisted creating build\lib.win-amd64-3.7\twisted\application copying src\twisted\application\app.py -&gt; build\lib.win-amd64-3.7\twisted\application copying src\twisted\application\internet.py -&gt; build\lib.win-amd64-3.7\twisted\application copying src\twisted\application\reactors.py -&gt; build\lib.win-amd64-3.7\twisted\application copying src\twisted\application\service.py -&gt; build\lib.win-amd64-3.7\twisted\application copying src\twisted\application\strports.py -&gt; build\lib.win-amd64-3.7\twisted\application copying src\twisted\application\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\application creating build\lib.win-amd64-3.7\twisted\conch copying src\twisted\conch\avatar.py -&gt; build\lib.win-amd64-3.7\twisted\conch copying src\twisted\conch\checkers.py -&gt; build\lib.win-amd64-3.7\twisted\conch copying src\twisted\conch\endpoints.py -&gt; build\lib.win-amd64-3.7\twisted\conch copying src\twisted\conch\error.py -&gt; build\lib.win-amd64-3.7\twisted\conch copying src\twisted\conch\interfaces.py -&gt; build\lib.win-amd64-3.7\twisted\conch copying src\twisted\conch\ls.py -&gt; build\lib.win-amd64-3.7\twisted\conch copying src\twisted\conch\manhole.py -&gt; build\lib.win-amd64-3.7\twisted\conch copying src\twisted\conch\manhole_ssh.py -&gt; build\lib.win-amd64-3.7\twisted\conch copying src\twisted\conch\manhole_tap.py -&gt; build\lib.win-amd64-3.7\twisted\conch copying src\twisted\conch\mixin.py -&gt; build\lib.win-amd64-3.7\twisted\conch copying src\twisted\conch\recvline.py -&gt; build\lib.win-amd64-3.7\twisted\conch copying src\twisted\conch\stdio.py -&gt; build\lib.win-amd64-3.7\twisted\conch copying src\twisted\conch\tap.py -&gt; build\lib.win-amd64-3.7\twisted\conch copying src\twisted\conch\telnet.py -&gt; build\lib.win-amd64-3.7\twisted\conch copying src\twisted\conch\ttymodes.py -&gt; build\lib.win-amd64-3.7\twisted\conch copying src\twisted\conch\unix.py -&gt; build\lib.win-amd64-3.7\twisted\conch copying src\twisted\conch\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\conch creating build\lib.win-amd64-3.7\twisted\cred copying src\twisted\cred\checkers.py -&gt; build\lib.win-amd64-3.7\twisted\cred copying src\twisted\cred\credentials.py -&gt; build\lib.win-amd64-3.7\twisted\cred copying src\twisted\cred\error.py -&gt; build\lib.win-amd64-3.7\twisted\cred copying src\twisted\cred\portal.py -&gt; build\lib.win-amd64-3.7\twisted\cred copying src\twisted\cred\strcred.py -&gt; build\lib.win-amd64-3.7\twisted\cred copying src\twisted\cred\_digest.py -&gt; build\lib.win-amd64-3.7\twisted\cred copying src\twisted\cred\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\cred creating build\lib.win-amd64-3.7\twisted\enterprise copying src\twisted\enterprise\adbapi.py -&gt; build\lib.win-amd64-3.7\twisted\enterprise copying src\twisted\enterprise\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\enterprise creating build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\abstract.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\address.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\asyncioreactor.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\base.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\cfreactor.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\default.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\defer.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\endpoints.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\epollreactor.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\error.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\fdesc.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\gireactor.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\glib2reactor.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\gtk2reactor.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\gtk3reactor.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\inotify.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\interfaces.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\kqreactor.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\main.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\pollreactor.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\posixbase.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\process.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\protocol.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\pyuisupport.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\reactor.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\selectreactor.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\serialport.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\ssl.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\stdio.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\task.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\tcp.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\threads.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\tksupport.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\udp.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\unix.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\utils.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\win32eventreactor.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\wxreactor.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\wxsupport.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\_baseprocess.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\_dumbwin32proc.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\_glibbase.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\_idna.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\_newtls.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\_pollingfile.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\_posixserialport.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\_posixstdio.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\_producer_helpers.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\_resolver.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\_signals.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\_sslverify.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\_threadedselect.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\_win32serialport.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\_win32stdio.py -&gt; build\lib.win-amd64-3.7\twisted\internet copying src\twisted\internet\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\internet creating build\lib.win-amd64-3.7\twisted\logger copying src\twisted\logger\_buffer.py -&gt; build\lib.win-amd64-3.7\twisted\logger copying src\twisted\logger\_file.py -&gt; build\lib.win-amd64-3.7\twisted\logger copying src\twisted\logger\_filter.py -&gt; build\lib.win-amd64-3.7\twisted\logger copying src\twisted\logger\_flatten.py -&gt; build\lib.win-amd64-3.7\twisted\logger copying src\twisted\logger\_format.py -&gt; build\lib.win-amd64-3.7\twisted\logger copying src\twisted\logger\_global.py -&gt; build\lib.win-amd64-3.7\twisted\logger copying src\twisted\logger\_io.py -&gt; build\lib.win-amd64-3.7\twisted\logger copying src\twisted\logger\_json.py -&gt; build\lib.win-amd64-3.7\twisted\logger copying src\twisted\logger\_legacy.py -&gt; build\lib.win-amd64-3.7\twisted\logger copying src\twisted\logger\_levels.py -&gt; build\lib.win-amd64-3.7\twisted\logger copying src\twisted\logger\_logger.py -&gt; build\lib.win-amd64-3.7\twisted\logger copying src\twisted\logger\_observer.py -&gt; build\lib.win-amd64-3.7\twisted\logger copying src\twisted\logger\_stdlib.py -&gt; build\lib.win-amd64-3.7\twisted\logger copying src\twisted\logger\_util.py -&gt; build\lib.win-amd64-3.7\twisted\logger copying src\twisted\logger\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\logger creating build\lib.win-amd64-3.7\twisted\mail copying src\twisted\mail\imap4.py -&gt; build\lib.win-amd64-3.7\twisted\mail copying src\twisted\mail\interfaces.py -&gt; build\lib.win-amd64-3.7\twisted\mail copying src\twisted\mail\pop3.py -&gt; build\lib.win-amd64-3.7\twisted\mail copying src\twisted\mail\pop3client.py -&gt; build\lib.win-amd64-3.7\twisted\mail copying src\twisted\mail\protocols.py -&gt; build\lib.win-amd64-3.7\twisted\mail copying src\twisted\mail\relay.py -&gt; build\lib.win-amd64-3.7\twisted\mail copying src\twisted\mail\smtp.py -&gt; build\lib.win-amd64-3.7\twisted\mail copying src\twisted\mail\_cred.py -&gt; build\lib.win-amd64-3.7\twisted\mail copying src\twisted\mail\_except.py -&gt; build\lib.win-amd64-3.7\twisted\mail copying src\twisted\mail\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\mail creating build\lib.win-amd64-3.7\twisted\names copying src\twisted\names\authority.py -&gt; build\lib.win-amd64-3.7\twisted\names copying src\twisted\names\cache.py -&gt; build\lib.win-amd64-3.7\twisted\names copying src\twisted\names\client.py -&gt; build\lib.win-amd64-3.7\twisted\names copying src\twisted\names\common.py -&gt; build\lib.win-amd64-3.7\twisted\names copying src\twisted\names\dns.py -&gt; build\lib.win-amd64-3.7\twisted\names copying src\twisted\names\error.py -&gt; build\lib.win-amd64-3.7\twisted\names copying src\twisted\names\hosts.py -&gt; build\lib.win-amd64-3.7\twisted\names copying src\twisted\names\resolve.py -&gt; build\lib.win-amd64-3.7\twisted\names copying src\twisted\names\root.py -&gt; build\lib.win-amd64-3.7\twisted\names copying src\twisted\names\secondary.py -&gt; build\lib.win-amd64-3.7\twisted\names copying src\twisted\names\server.py -&gt; build\lib.win-amd64-3.7\twisted\names copying src\twisted\names\srvconnect.py -&gt; build\lib.win-amd64-3.7\twisted\names copying src\twisted\names\tap.py -&gt; build\lib.win-amd64-3.7\twisted\names copying src\twisted\names\_rfc1982.py -&gt; build\lib.win-amd64-3.7\twisted\names copying src\twisted\names\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\names creating build\lib.win-amd64-3.7\twisted\pair copying src\twisted\pair\ethernet.py -&gt; build\lib.win-amd64-3.7\twisted\pair copying src\twisted\pair\ip.py -&gt; build\lib.win-amd64-3.7\twisted\pair copying src\twisted\pair\raw.py -&gt; build\lib.win-amd64-3.7\twisted\pair copying src\twisted\pair\rawudp.py -&gt; build\lib.win-amd64-3.7\twisted\pair copying src\twisted\pair\testing.py -&gt; build\lib.win-amd64-3.7\twisted\pair copying src\twisted\pair\tuntap.py -&gt; build\lib.win-amd64-3.7\twisted\pair copying src\twisted\pair\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\pair creating build\lib.win-amd64-3.7\twisted\persisted copying src\twisted\persisted\aot.py -&gt; build\lib.win-amd64-3.7\twisted\persisted copying src\twisted\persisted\crefutil.py -&gt; build\lib.win-amd64-3.7\twisted\persisted copying src\twisted\persisted\dirdbm.py -&gt; build\lib.win-amd64-3.7\twisted\persisted copying src\twisted\persisted\sob.py -&gt; build\lib.win-amd64-3.7\twisted\persisted copying src\twisted\persisted\styles.py -&gt; build\lib.win-amd64-3.7\twisted\persisted copying src\twisted\persisted\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\persisted creating build\lib.win-amd64-3.7\twisted\plugins copying src\twisted\plugins\cred_anonymous.py -&gt; build\lib.win-amd64-3.7\twisted\plugins copying src\twisted\plugins\cred_file.py -&gt; build\lib.win-amd64-3.7\twisted\plugins copying src\twisted\plugins\cred_memory.py -&gt; build\lib.win-amd64-3.7\twisted\plugins copying src\twisted\plugins\cred_sshkeys.py -&gt; build\lib.win-amd64-3.7\twisted\plugins copying src\twisted\plugins\cred_unix.py -&gt; build\lib.win-amd64-3.7\twisted\plugins copying src\twisted\plugins\twisted_conch.py -&gt; build\lib.win-amd64-3.7\twisted\plugins copying src\twisted\plugins\twisted_core.py -&gt; build\lib.win-amd64-3.7\twisted\plugins copying src\twisted\plugins\twisted_ftp.py -&gt; build\lib.win-amd64-3.7\twisted\plugins copying src\twisted\plugins\twisted_inet.py -&gt; build\lib.win-amd64-3.7\twisted\plugins copying src\twisted\plugins\twisted_names.py -&gt; build\lib.win-amd64-3.7\twisted\plugins copying src\twisted\plugins\twisted_portforward.py -&gt; build\lib.win-amd64-3.7\twisted\plugins copying src\twisted\plugins\twisted_reactors.py -&gt; build\lib.win-amd64-3.7\twisted\plugins copying src\twisted\plugins\twisted_runner.py -&gt; build\lib.win-amd64-3.7\twisted\plugins copying src\twisted\plugins\twisted_socks.py -&gt; build\lib.win-amd64-3.7\twisted\plugins copying src\twisted\plugins\twisted_trial.py -&gt; build\lib.win-amd64-3.7\twisted\plugins copying src\twisted\plugins\twisted_web.py -&gt; build\lib.win-amd64-3.7\twisted\plugins copying src\twisted\plugins\twisted_words.py -&gt; build\lib.win-amd64-3.7\twisted\plugins copying src\twisted\plugins\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\plugins creating build\lib.win-amd64-3.7\twisted\positioning copying src\twisted\positioning\base.py -&gt; build\lib.win-amd64-3.7\twisted\positioning copying src\twisted\positioning\ipositioning.py -&gt; build\lib.win-amd64-3.7\twisted\positioning copying src\twisted\positioning\nmea.py -&gt; build\lib.win-amd64-3.7\twisted\positioning copying src\twisted\positioning\_sentence.py -&gt; build\lib.win-amd64-3.7\twisted\positioning copying src\twisted\positioning\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\positioning creating build\lib.win-amd64-3.7\twisted\protocols copying src\twisted\protocols\amp.py -&gt; build\lib.win-amd64-3.7\twisted\protocols copying src\twisted\protocols\basic.py -&gt; build\lib.win-amd64-3.7\twisted\protocols copying src\twisted\protocols\dict.py -&gt; build\lib.win-amd64-3.7\twisted\protocols copying src\twisted\protocols\finger.py -&gt; build\lib.win-amd64-3.7\twisted\protocols copying src\twisted\protocols\ftp.py -&gt; build\lib.win-amd64-3.7\twisted\protocols copying src\twisted\protocols\htb.py -&gt; build\lib.win-amd64-3.7\twisted\protocols copying src\twisted\protocols\ident.py -&gt; build\lib.win-amd64-3.7\twisted\protocols copying src\twisted\protocols\loopback.py -&gt; build\lib.win-amd64-3.7\twisted\protocols copying src\twisted\protocols\memcache.py -&gt; build\lib.win-amd64-3.7\twisted\protocols copying src\twisted\protocols\pcp.py -&gt; build\lib.win-amd64-3.7\twisted\protocols copying src\twisted\protocols\policies.py -&gt; build\lib.win-amd64-3.7\twisted\protocols copying src\twisted\protocols\portforward.py -&gt; build\lib.win-amd64-3.7\twisted\protocols copying src\twisted\protocols\postfix.py -&gt; build\lib.win-amd64-3.7\twisted\protocols copying src\twisted\protocols\sip.py -&gt; build\lib.win-amd64-3.7\twisted\protocols copying src\twisted\protocols\socks.py -&gt; build\lib.win-amd64-3.7\twisted\protocols copying src\twisted\protocols\stateful.py -&gt; build\lib.win-amd64-3.7\twisted\protocols copying src\twisted\protocols\tls.py -&gt; build\lib.win-amd64-3.7\twisted\protocols copying src\twisted\protocols\wire.py -&gt; build\lib.win-amd64-3.7\twisted\protocols copying src\twisted\protocols\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\protocols creating build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\compat.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\components.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\constants.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\context.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\deprecate.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\failure.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\fakepwd.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\filepath.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\formmethod.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\htmlizer.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\lockfile.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\log.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\logfile.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\modules.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\monkey.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\procutils.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\randbytes.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\rebuild.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\reflect.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\release.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\roots.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\runtime.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\sendmsg.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\shortcut.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\syslog.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\systemd.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\text.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\threadable.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\threadpool.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\url.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\urlpath.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\usage.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\util.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\versions.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\win32.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\zippath.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\zipstream.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\_appdirs.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\_inotify.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\_oldstyle.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\_release.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\_setup.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\_shellcomp.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\_textattributes.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\_tzhelper.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\_url.py -&gt; build\lib.win-amd64-3.7\twisted\python copying src\twisted\python\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\python creating build\lib.win-amd64-3.7\twisted\runner copying src\twisted\runner\inetd.py -&gt; build\lib.win-amd64-3.7\twisted\runner copying src\twisted\runner\inetdconf.py -&gt; build\lib.win-amd64-3.7\twisted\runner copying src\twisted\runner\inetdtap.py -&gt; build\lib.win-amd64-3.7\twisted\runner copying src\twisted\runner\procmon.py -&gt; build\lib.win-amd64-3.7\twisted\runner copying src\twisted\runner\procmontap.py -&gt; build\lib.win-amd64-3.7\twisted\runner copying src\twisted\runner\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\runner creating build\lib.win-amd64-3.7\twisted\scripts copying src\twisted\scripts\htmlizer.py -&gt; build\lib.win-amd64-3.7\twisted\scripts copying src\twisted\scripts\trial.py -&gt; build\lib.win-amd64-3.7\twisted\scripts copying src\twisted\scripts\twistd.py -&gt; build\lib.win-amd64-3.7\twisted\scripts copying src\twisted\scripts\_twistd_unix.py -&gt; build\lib.win-amd64-3.7\twisted\scripts copying src\twisted\scripts\_twistw.py -&gt; build\lib.win-amd64-3.7\twisted\scripts copying src\twisted\scripts\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\scripts creating build\lib.win-amd64-3.7\twisted\spread copying src\twisted\spread\banana.py -&gt; build\lib.win-amd64-3.7\twisted\spread copying src\twisted\spread\flavors.py -&gt; build\lib.win-amd64-3.7\twisted\spread copying src\twisted\spread\interfaces.py -&gt; build\lib.win-amd64-3.7\twisted\spread copying src\twisted\spread\jelly.py -&gt; build\lib.win-amd64-3.7\twisted\spread copying src\twisted\spread\pb.py -&gt; build\lib.win-amd64-3.7\twisted\spread copying src\twisted\spread\publish.py -&gt; build\lib.win-amd64-3.7\twisted\spread copying src\twisted\spread\util.py -&gt; build\lib.win-amd64-3.7\twisted\spread copying src\twisted\spread\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\spread creating build\lib.win-amd64-3.7\twisted\tap copying src\twisted\tap\ftp.py -&gt; build\lib.win-amd64-3.7\twisted\tap copying src\twisted\tap\portforward.py -&gt; build\lib.win-amd64-3.7\twisted\tap copying src\twisted\tap\socks.py -&gt; build\lib.win-amd64-3.7\twisted\tap copying src\twisted\tap\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\tap creating build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\crash_test_dummy.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\iosim.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\mock_win32process.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\myrebuilder1.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\myrebuilder2.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\plugin_basic.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\plugin_extra1.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\plugin_extra2.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\process_cmdline.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\process_echoer.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\process_fds.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\process_getargv.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\process_getenv.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\process_linger.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\process_reader.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\process_signal.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\process_stdinreader.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\process_tester.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\process_tty.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\process_twisted.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\proto_helpers.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\reflect_helper_IE.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\reflect_helper_VE.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\reflect_helper_ZDE.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\ssl_helpers.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\stdio_test_consumer.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\stdio_test_halfclose.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\stdio_test_hostpeer.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\stdio_test_lastwrite.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\stdio_test_loseconn.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\stdio_test_producer.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\stdio_test_write.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\stdio_test_writeseq.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\testutils.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_abstract.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_adbapi.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_amp.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_application.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_compat.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_context.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_cooperator.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_defer.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_defgen.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_dict.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_dirdbm.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_error.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_factories.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_failure.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_fdesc.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_finger.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_formmethod.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_ftp.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_ftp_options.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_htb.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_ident.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_internet.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_iosim.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_iutils.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_lockfile.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_log.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_logfile.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_loopback.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_main.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_memcache.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_modules.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_monkey.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_nooldstyle.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_paths.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_pcp.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_persisted.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_plugin.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_policies.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_postfix.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_process.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_protocols.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_randbytes.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_rebuild.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_reflect.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_roots.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_shortcut.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_sip.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_sob.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_socks.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_ssl.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_sslverify.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_stateful.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_stdio.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_strerror.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_stringtransport.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_strports.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_task.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_tcp.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_tcp_internals.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_text.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_threadable.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_threadpool.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_threads.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_tpfile.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_twistd.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_twisted.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_udp.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_unix.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_usage.py -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\test creating build\lib.win-amd64-3.7\twisted\trial copying src\twisted\trial\itrial.py -&gt; build\lib.win-amd64-3.7\twisted\trial copying src\twisted\trial\reporter.py -&gt; build\lib.win-amd64-3.7\twisted\trial copying src\twisted\trial\runner.py -&gt; build\lib.win-amd64-3.7\twisted\trial copying src\twisted\trial\unittest.py -&gt; build\lib.win-amd64-3.7\twisted\trial copying src\twisted\trial\util.py -&gt; build\lib.win-amd64-3.7\twisted\trial copying src\twisted\trial\_asyncrunner.py -&gt; build\lib.win-amd64-3.7\twisted\trial copying src\twisted\trial\_asynctest.py -&gt; build\lib.win-amd64-3.7\twisted\trial copying src\twisted\trial\_synctest.py -&gt; build\lib.win-amd64-3.7\twisted\trial copying src\twisted\trial\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\trial copying src\twisted\trial\__main__.py -&gt; build\lib.win-amd64-3.7\twisted\trial creating build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\client.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\demo.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\distrib.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\domhelpers.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\error.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\guard.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\html.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\http.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\http_headers.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\iweb.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\microdom.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\proxy.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\resource.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\rewrite.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\script.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\server.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\static.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\sux.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\tap.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\template.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\twcgi.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\util.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\vhost.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\wsgi.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\xmlrpc.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\_element.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\_flatten.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\_http2.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\_newclient.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\_responses.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\_stan.py -&gt; build\lib.win-amd64-3.7\twisted\web copying src\twisted\web\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\web creating build\lib.win-amd64-3.7\twisted\words copying src\twisted\words\ewords.py -&gt; build\lib.win-amd64-3.7\twisted\words copying src\twisted\words\iwords.py -&gt; build\lib.win-amd64-3.7\twisted\words copying src\twisted\words\service.py -&gt; build\lib.win-amd64-3.7\twisted\words copying src\twisted\words\tap.py -&gt; build\lib.win-amd64-3.7\twisted\words copying src\twisted\words\xmpproutertap.py -&gt; build\lib.win-amd64-3.7\twisted\words copying src\twisted\words\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\words creating build\lib.win-amd64-3.7\twisted\_threads copying src\twisted\_threads\_convenience.py -&gt; build\lib.win-amd64-3.7\twisted\_threads copying src\twisted\_threads\_ithreads.py -&gt; build\lib.win-amd64-3.7\twisted\_threads copying src\twisted\_threads\_memory.py -&gt; build\lib.win-amd64-3.7\twisted\_threads copying src\twisted\_threads\_pool.py -&gt; build\lib.win-amd64-3.7\twisted\_threads copying src\twisted\_threads\_team.py -&gt; build\lib.win-amd64-3.7\twisted\_threads copying src\twisted\_threads\_threadworker.py -&gt; build\lib.win-amd64-3.7\twisted\_threads copying src\twisted\_threads\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\_threads creating build\lib.win-amd64-3.7\twisted\application\runner copying src\twisted\application\runner\_exit.py -&gt; build\lib.win-amd64-3.7\twisted\application\runner copying src\twisted\application\runner\_pidfile.py -&gt; build\lib.win-amd64-3.7\twisted\application\runner copying src\twisted\application\runner\_runner.py -&gt; build\lib.win-amd64-3.7\twisted\application\runner copying src\twisted\application\runner\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\application\runner creating build\lib.win-amd64-3.7\twisted\application\test copying src\twisted\application\test\test_internet.py -&gt; build\lib.win-amd64-3.7\twisted\application\test copying src\twisted\application\test\test_service.py -&gt; build\lib.win-amd64-3.7\twisted\application\test copying src\twisted\application\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\application\test creating build\lib.win-amd64-3.7\twisted\application\twist copying src\twisted\application\twist\_options.py -&gt; build\lib.win-amd64-3.7\twisted\application\twist copying src\twisted\application\twist\_twist.py -&gt; build\lib.win-amd64-3.7\twisted\application\twist copying src\twisted\application\twist\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\application\twist creating build\lib.win-amd64-3.7\twisted\application\runner\test copying src\twisted\application\runner\test\test_exit.py -&gt; build\lib.win-amd64-3.7\twisted\application\runner\test copying src\twisted\application\runner\test\test_pidfile.py -&gt; build\lib.win-amd64-3.7\twisted\application\runner\test copying src\twisted\application\runner\test\test_runner.py -&gt; build\lib.win-amd64-3.7\twisted\application\runner\test copying src\twisted\application\runner\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\application\runner\test creating build\lib.win-amd64-3.7\twisted\application\twist\test copying src\twisted\application\twist\test\test_options.py -&gt; build\lib.win-amd64-3.7\twisted\application\twist\test copying src\twisted\application\twist\test\test_twist.py -&gt; build\lib.win-amd64-3.7\twisted\application\twist\test copying src\twisted\application\twist\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\application\twist\test creating build\lib.win-amd64-3.7\twisted\conch\client copying src\twisted\conch\client\agent.py -&gt; build\lib.win-amd64-3.7\twisted\conch\client copying src\twisted\conch\client\connect.py -&gt; build\lib.win-amd64-3.7\twisted\conch\client copying src\twisted\conch\client\default.py -&gt; build\lib.win-amd64-3.7\twisted\conch\client copying src\twisted\conch\client\direct.py -&gt; build\lib.win-amd64-3.7\twisted\conch\client copying src\twisted\conch\client\knownhosts.py -&gt; build\lib.win-amd64-3.7\twisted\conch\client copying src\twisted\conch\client\options.py -&gt; build\lib.win-amd64-3.7\twisted\conch\client copying src\twisted\conch\client\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\conch\client creating build\lib.win-amd64-3.7\twisted\conch\insults copying src\twisted\conch\insults\client.py -&gt; build\lib.win-amd64-3.7\twisted\conch\insults copying src\twisted\conch\insults\colors.py -&gt; build\lib.win-amd64-3.7\twisted\conch\insults copying src\twisted\conch\insults\helper.py -&gt; build\lib.win-amd64-3.7\twisted\conch\insults copying src\twisted\conch\insults\insults.py -&gt; build\lib.win-amd64-3.7\twisted\conch\insults copying src\twisted\conch\insults\text.py -&gt; build\lib.win-amd64-3.7\twisted\conch\insults copying src\twisted\conch\insults\window.py -&gt; build\lib.win-amd64-3.7\twisted\conch\insults copying src\twisted\conch\insults\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\conch\insults creating build\lib.win-amd64-3.7\twisted\conch\openssh_compat copying src\twisted\conch\openssh_compat\factory.py -&gt; build\lib.win-amd64-3.7\twisted\conch\openssh_compat copying src\twisted\conch\openssh_compat\primes.py -&gt; build\lib.win-amd64-3.7\twisted\conch\openssh_compat copying src\twisted\conch\openssh_compat\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\conch\openssh_compat creating build\lib.win-amd64-3.7\twisted\conch\scripts copying src\twisted\conch\scripts\cftp.py -&gt; build\lib.win-amd64-3.7\twisted\conch\scripts copying src\twisted\conch\scripts\ckeygen.py -&gt; build\lib.win-amd64-3.7\twisted\conch\scripts copying src\twisted\conch\scripts\conch.py -&gt; build\lib.win-amd64-3.7\twisted\conch\scripts copying src\twisted\conch\scripts\tkconch.py -&gt; build\lib.win-amd64-3.7\twisted\conch\scripts copying src\twisted\conch\scripts\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\conch\scripts creating build\lib.win-amd64-3.7\twisted\conch\ssh copying src\twisted\conch\ssh\address.py -&gt; build\lib.win-amd64-3.7\twisted\conch\ssh copying src\twisted\conch\ssh\agent.py -&gt; build\lib.win-amd64-3.7\twisted\conch\ssh copying src\twisted\conch\ssh\channel.py -&gt; build\lib.win-amd64-3.7\twisted\conch\ssh copying src\twisted\conch\ssh\common.py -&gt; build\lib.win-amd64-3.7\twisted\conch\ssh copying src\twisted\conch\ssh\connection.py -&gt; build\lib.win-amd64-3.7\twisted\conch\ssh copying src\twisted\conch\ssh\factory.py -&gt; build\lib.win-amd64-3.7\twisted\conch\ssh copying src\twisted\conch\ssh\filetransfer.py -&gt; build\lib.win-amd64-3.7\twisted\conch\ssh copying src\twisted\conch\ssh\forwarding.py -&gt; build\lib.win-amd64-3.7\twisted\conch\ssh copying src\twisted\conch\ssh\keys.py -&gt; build\lib.win-amd64-3.7\twisted\conch\ssh copying src\twisted\conch\ssh\service.py -&gt; build\lib.win-amd64-3.7\twisted\conch\ssh copying src\twisted\conch\ssh\session.py -&gt; build\lib.win-amd64-3.7\twisted\conch\ssh copying src\twisted\conch\ssh\sexpy.py -&gt; build\lib.win-amd64-3.7\twisted\conch\ssh copying src\twisted\conch\ssh\transport.py -&gt; build\lib.win-amd64-3.7\twisted\conch\ssh copying src\twisted\conch\ssh\userauth.py -&gt; build\lib.win-amd64-3.7\twisted\conch\ssh copying src\twisted\conch\ssh\_kex.py -&gt; build\lib.win-amd64-3.7\twisted\conch\ssh copying src\twisted\conch\ssh\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\conch\ssh creating build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\keydata.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\loopback.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_address.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_agent.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_cftp.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_channel.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_checkers.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_ckeygen.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_conch.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_connection.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_default.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_endpoints.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_filetransfer.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_forwarding.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_helper.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_insults.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_keys.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_knownhosts.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_manhole.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_manhole_tap.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_mixin.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_openssh_compat.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_recvline.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_scripts.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_session.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_ssh.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_tap.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_telnet.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_text.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_transport.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_unix.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_userauth.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\test_window.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test copying src\twisted\conch\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\conch\test creating build\lib.win-amd64-3.7\twisted\conch\ui copying src\twisted\conch\ui\ansi.py -&gt; build\lib.win-amd64-3.7\twisted\conch\ui copying src\twisted\conch\ui\tkvt100.py -&gt; build\lib.win-amd64-3.7\twisted\conch\ui copying src\twisted\conch\ui\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\conch\ui creating build\lib.win-amd64-3.7\twisted\cred\test copying src\twisted\cred\test\test_cramauth.py -&gt; build\lib.win-amd64-3.7\twisted\cred\test copying src\twisted\cred\test\test_cred.py -&gt; build\lib.win-amd64-3.7\twisted\cred\test copying src\twisted\cred\test\test_digestauth.py -&gt; build\lib.win-amd64-3.7\twisted\cred\test copying src\twisted\cred\test\test_simpleauth.py -&gt; build\lib.win-amd64-3.7\twisted\cred\test copying src\twisted\cred\test\test_strcred.py -&gt; build\lib.win-amd64-3.7\twisted\cred\test copying src\twisted\cred\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\cred\test creating build\lib.win-amd64-3.7\twisted\internet\iocpreactor copying src\twisted\internet\iocpreactor\abstract.py -&gt; build\lib.win-amd64-3.7\twisted\internet\iocpreactor copying src\twisted\internet\iocpreactor\const.py -&gt; build\lib.win-amd64-3.7\twisted\internet\iocpreactor copying src\twisted\internet\iocpreactor\interfaces.py -&gt; build\lib.win-amd64-3.7\twisted\internet\iocpreactor copying src\twisted\internet\iocpreactor\reactor.py -&gt; build\lib.win-amd64-3.7\twisted\internet\iocpreactor copying src\twisted\internet\iocpreactor\setup.py -&gt; build\lib.win-amd64-3.7\twisted\internet\iocpreactor copying src\twisted\internet\iocpreactor\tcp.py -&gt; build\lib.win-amd64-3.7\twisted\internet\iocpreactor copying src\twisted\internet\iocpreactor\udp.py -&gt; build\lib.win-amd64-3.7\twisted\internet\iocpreactor copying src\twisted\internet\iocpreactor\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\internet\iocpreactor creating build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\connectionmixins.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\fakeendpoint.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\modulehelpers.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\process_cli.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\process_connectionlost.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\process_gireactornocompat.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\process_helper.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\reactormixins.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_abstract.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_address.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_asyncioreactor.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_base.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_baseprocess.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_core.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_coroutines.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_default.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_endpoints.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_epollreactor.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_error.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_fdset.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_filedescriptor.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_gireactor.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_glibbase.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_inlinecb.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_inotify.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_iocp.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_kqueuereactor.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_main.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_newtls.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_pollingfile.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_posixbase.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_posixprocess.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_process.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_protocol.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_resolver.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_serialport.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_sigchld.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_socket.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_stdio.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_tcp.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_threads.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_time.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_tls.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_udp.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_udp_internals.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_unix.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_win32events.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\test_win32serialport.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\_posixifaces.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\_win32ifaces.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\internet\test creating build\lib.win-amd64-3.7\twisted\logger\test copying src\twisted\logger\test\test_buffer.py -&gt; build\lib.win-amd64-3.7\twisted\logger\test copying src\twisted\logger\test\test_file.py -&gt; build\lib.win-amd64-3.7\twisted\logger\test copying src\twisted\logger\test\test_filter.py -&gt; build\lib.win-amd64-3.7\twisted\logger\test copying src\twisted\logger\test\test_flatten.py -&gt; build\lib.win-amd64-3.7\twisted\logger\test copying src\twisted\logger\test\test_format.py -&gt; build\lib.win-amd64-3.7\twisted\logger\test copying src\twisted\logger\test\test_global.py -&gt; build\lib.win-amd64-3.7\twisted\logger\test copying src\twisted\logger\test\test_io.py -&gt; build\lib.win-amd64-3.7\twisted\logger\test copying src\twisted\logger\test\test_json.py -&gt; build\lib.win-amd64-3.7\twisted\logger\test copying src\twisted\logger\test\test_legacy.py -&gt; build\lib.win-amd64-3.7\twisted\logger\test copying src\twisted\logger\test\test_levels.py -&gt; build\lib.win-amd64-3.7\twisted\logger\test copying src\twisted\logger\test\test_logger.py -&gt; build\lib.win-amd64-3.7\twisted\logger\test copying src\twisted\logger\test\test_observer.py -&gt; build\lib.win-amd64-3.7\twisted\logger\test copying src\twisted\logger\test\test_stdlib.py -&gt; build\lib.win-amd64-3.7\twisted\logger\test copying src\twisted\logger\test\test_util.py -&gt; build\lib.win-amd64-3.7\twisted\logger\test copying src\twisted\logger\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\logger\test creating build\lib.win-amd64-3.7\twisted\mail\scripts copying src\twisted\mail\scripts\mailmail.py -&gt; build\lib.win-amd64-3.7\twisted\mail\scripts creating build\lib.win-amd64-3.7\twisted\mail\test copying src\twisted\mail\test\pop3testserver.py -&gt; build\lib.win-amd64-3.7\twisted\mail\test copying src\twisted\mail\test\test_imap.py -&gt; build\lib.win-amd64-3.7\twisted\mail\test copying src\twisted\mail\test\test_mailmail.py -&gt; build\lib.win-amd64-3.7\twisted\mail\test copying src\twisted\mail\test\test_pop3.py -&gt; build\lib.win-amd64-3.7\twisted\mail\test copying src\twisted\mail\test\test_pop3client.py -&gt; build\lib.win-amd64-3.7\twisted\mail\test copying src\twisted\mail\test\test_smtp.py -&gt; build\lib.win-amd64-3.7\twisted\mail\test copying src\twisted\mail\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\mail\test creating build\lib.win-amd64-3.7\twisted\names\test copying src\twisted\names\test\test_cache.py -&gt; build\lib.win-amd64-3.7\twisted\names\test copying src\twisted\names\test\test_client.py -&gt; build\lib.win-amd64-3.7\twisted\names\test copying src\twisted\names\test\test_common.py -&gt; build\lib.win-amd64-3.7\twisted\names\test copying src\twisted\names\test\test_dns.py -&gt; build\lib.win-amd64-3.7\twisted\names\test copying src\twisted\names\test\test_examples.py -&gt; build\lib.win-amd64-3.7\twisted\names\test copying src\twisted\names\test\test_hosts.py -&gt; build\lib.win-amd64-3.7\twisted\names\test copying src\twisted\names\test\test_names.py -&gt; build\lib.win-amd64-3.7\twisted\names\test copying src\twisted\names\test\test_resolve.py -&gt; build\lib.win-amd64-3.7\twisted\names\test copying src\twisted\names\test\test_rfc1982.py -&gt; build\lib.win-amd64-3.7\twisted\names\test copying src\twisted\names\test\test_rootresolve.py -&gt; build\lib.win-amd64-3.7\twisted\names\test copying src\twisted\names\test\test_server.py -&gt; build\lib.win-amd64-3.7\twisted\names\test copying src\twisted\names\test\test_srvconnect.py -&gt; build\lib.win-amd64-3.7\twisted\names\test copying src\twisted\names\test\test_tap.py -&gt; build\lib.win-amd64-3.7\twisted\names\test copying src\twisted\names\test\test_util.py -&gt; build\lib.win-amd64-3.7\twisted\names\test copying src\twisted\names\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\names\test creating build\lib.win-amd64-3.7\twisted\pair\test copying src\twisted\pair\test\test_ethernet.py -&gt; build\lib.win-amd64-3.7\twisted\pair\test copying src\twisted\pair\test\test_ip.py -&gt; build\lib.win-amd64-3.7\twisted\pair\test copying src\twisted\pair\test\test_rawudp.py -&gt; build\lib.win-amd64-3.7\twisted\pair\test copying src\twisted\pair\test\test_tuntap.py -&gt; build\lib.win-amd64-3.7\twisted\pair\test copying src\twisted\pair\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\pair\test creating build\lib.win-amd64-3.7\twisted\persisted\test copying src\twisted\persisted\test\test_styles.py -&gt; build\lib.win-amd64-3.7\twisted\persisted\test copying src\twisted\persisted\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\persisted\test creating build\lib.win-amd64-3.7\twisted\positioning\test copying src\twisted\positioning\test\receiver.py -&gt; build\lib.win-amd64-3.7\twisted\positioning\test copying src\twisted\positioning\test\test_base.py -&gt; build\lib.win-amd64-3.7\twisted\positioning\test copying src\twisted\positioning\test\test_nmea.py -&gt; build\lib.win-amd64-3.7\twisted\positioning\test copying src\twisted\positioning\test\test_sentence.py -&gt; build\lib.win-amd64-3.7\twisted\positioning\test copying src\twisted\positioning\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\positioning\test creating build\lib.win-amd64-3.7\twisted\protocols\haproxy copying src\twisted\protocols\haproxy\_exceptions.py -&gt; build\lib.win-amd64-3.7\twisted\protocols\haproxy copying src\twisted\protocols\haproxy\_info.py -&gt; build\lib.win-amd64-3.7\twisted\protocols\haproxy copying src\twisted\protocols\haproxy\_interfaces.py -&gt; build\lib.win-amd64-3.7\twisted\protocols\haproxy copying src\twisted\protocols\haproxy\_parser.py -&gt; build\lib.win-amd64-3.7\twisted\protocols\haproxy copying src\twisted\protocols\haproxy\_v1parser.py -&gt; build\lib.win-amd64-3.7\twisted\protocols\haproxy copying src\twisted\protocols\haproxy\_v2parser.py -&gt; build\lib.win-amd64-3.7\twisted\protocols\haproxy copying src\twisted\protocols\haproxy\_wrapper.py -&gt; build\lib.win-amd64-3.7\twisted\protocols\haproxy copying src\twisted\protocols\haproxy\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\protocols\haproxy creating build\lib.win-amd64-3.7\twisted\protocols\test copying src\twisted\protocols\test\test_basic.py -&gt; build\lib.win-amd64-3.7\twisted\protocols\test copying src\twisted\protocols\test\test_tls.py -&gt; build\lib.win-amd64-3.7\twisted\protocols\test copying src\twisted\protocols\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\protocols\test creating build\lib.win-amd64-3.7\twisted\protocols\haproxy\test copying src\twisted\protocols\haproxy\test\test_parser.py -&gt; build\lib.win-amd64-3.7\twisted\protocols\haproxy\test copying src\twisted\protocols\haproxy\test\test_v1parser.py -&gt; build\lib.win-amd64-3.7\twisted\protocols\haproxy\test copying src\twisted\protocols\haproxy\test\test_v2parser.py -&gt; build\lib.win-amd64-3.7\twisted\protocols\haproxy\test copying src\twisted\protocols\haproxy\test\test_wrapper.py -&gt; build\lib.win-amd64-3.7\twisted\protocols\haproxy\test copying src\twisted\protocols\haproxy\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\protocols\haproxy\test creating build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\deprecatedattributes.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\modules_helpers.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\pullpipe.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\test_appdirs.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\test_components.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\test_constants.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\test_deprecate.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\test_dist3.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\test_fakepwd.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\test_htmlizer.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\test_inotify.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\test_release.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\test_runtime.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\test_sendmsg.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\test_setup.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\test_shellcomp.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\test_syslog.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\test_systemd.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\test_textattributes.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\test_tzhelper.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\test_url.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\test_urlpath.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\test_util.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\test_versions.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\test_zippath.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\test_zipstream.py -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\python\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\python\test creating build\lib.win-amd64-3.7\twisted\runner\test copying src\twisted\runner\test\test_inetdconf.py -&gt; build\lib.win-amd64-3.7\twisted\runner\test copying src\twisted\runner\test\test_procmon.py -&gt; build\lib.win-amd64-3.7\twisted\runner\test copying src\twisted\runner\test\test_procmontap.py -&gt; build\lib.win-amd64-3.7\twisted\runner\test copying src\twisted\runner\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\runner\test creating build\lib.win-amd64-3.7\twisted\scripts\test copying src\twisted\scripts\test\test_scripts.py -&gt; build\lib.win-amd64-3.7\twisted\scripts\test copying src\twisted\scripts\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\scripts\test creating build\lib.win-amd64-3.7\twisted\spread\test copying src\twisted\spread\test\test_banana.py -&gt; build\lib.win-amd64-3.7\twisted\spread\test copying src\twisted\spread\test\test_jelly.py -&gt; build\lib.win-amd64-3.7\twisted\spread\test copying src\twisted\spread\test\test_pb.py -&gt; build\lib.win-amd64-3.7\twisted\spread\test copying src\twisted\spread\test\test_pbfailure.py -&gt; build\lib.win-amd64-3.7\twisted\spread\test copying src\twisted\spread\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\spread\test creating build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\detests.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\erroneous.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\mockcustomsuite.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\mockcustomsuite2.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\mockcustomsuite3.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\mockdoctest.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\moduleself.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\moduletest.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\novars.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\ordertests.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\packages.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\sample.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\scripttest.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\skipping.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\suppression.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\test_assertions.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\test_asyncassertions.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\test_deferred.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\test_doctest.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\test_keyboard.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\test_loader.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\test_log.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\test_output.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\test_plugins.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\test_pyunitcompat.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\test_reporter.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\test_runner.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\test_script.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\test_suppression.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\test_testcase.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\test_tests.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\test_util.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\test_warning.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\weird.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test copying src\twisted\trial\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\trial\test creating build\lib.win-amd64-3.7\twisted\trial\_dist copying src\twisted\trial\_dist\distreporter.py -&gt; build\lib.win-amd64-3.7\twisted\trial\_dist copying src\twisted\trial\_dist\disttrial.py -&gt; build\lib.win-amd64-3.7\twisted\trial\_dist copying src\twisted\trial\_dist\managercommands.py -&gt; build\lib.win-amd64-3.7\twisted\trial\_dist copying src\twisted\trial\_dist\options.py -&gt; build\lib.win-amd64-3.7\twisted\trial\_dist copying src\twisted\trial\_dist\worker.py -&gt; build\lib.win-amd64-3.7\twisted\trial\_dist copying src\twisted\trial\_dist\workercommands.py -&gt; build\lib.win-amd64-3.7\twisted\trial\_dist copying src\twisted\trial\_dist\workerreporter.py -&gt; build\lib.win-amd64-3.7\twisted\trial\_dist copying src\twisted\trial\_dist\workertrial.py -&gt; build\lib.win-amd64-3.7\twisted\trial\_dist copying src\twisted\trial\_dist\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\trial\_dist creating build\lib.win-amd64-3.7\twisted\trial\_dist\test copying src\twisted\trial\_dist\test\test_distreporter.py -&gt; build\lib.win-amd64-3.7\twisted\trial\_dist\test copying src\twisted\trial\_dist\test\test_disttrial.py -&gt; build\lib.win-amd64-3.7\twisted\trial\_dist\test copying src\twisted\trial\_dist\test\test_options.py -&gt; build\lib.win-amd64-3.7\twisted\trial\_dist\test copying src\twisted\trial\_dist\test\test_worker.py -&gt; build\lib.win-amd64-3.7\twisted\trial\_dist\test copying src\twisted\trial\_dist\test\test_workerreporter.py -&gt; build\lib.win-amd64-3.7\twisted\trial\_dist\test copying src\twisted\trial\_dist\test\test_workertrial.py -&gt; build\lib.win-amd64-3.7\twisted\trial\_dist\test copying src\twisted\trial\_dist\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\trial\_dist\test creating build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\injectionhelpers.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\requesthelper.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_agent.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_cgi.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_client.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_distrib.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_domhelpers.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_error.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_flatten.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_html.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_http.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_http2.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_httpauth.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_http_headers.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_newclient.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_proxy.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_resource.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_script.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_stan.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_static.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_tap.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_template.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_util.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_vhost.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_web.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_webclient.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_web__responses.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_wsgi.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_xml.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\test_xmlrpc.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\_util.py -&gt; build\lib.win-amd64-3.7\twisted\web\test copying src\twisted\web\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\web\test creating build\lib.win-amd64-3.7\twisted\web\_auth copying src\twisted\web\_auth\basic.py -&gt; build\lib.win-amd64-3.7\twisted\web\_auth copying src\twisted\web\_auth\digest.py -&gt; build\lib.win-amd64-3.7\twisted\web\_auth copying src\twisted\web\_auth\wrapper.py -&gt; build\lib.win-amd64-3.7\twisted\web\_auth copying src\twisted\web\_auth\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\web\_auth creating build\lib.win-amd64-3.7\twisted\words\im copying src\twisted\words\im\baseaccount.py -&gt; build\lib.win-amd64-3.7\twisted\words\im copying src\twisted\words\im\basechat.py -&gt; build\lib.win-amd64-3.7\twisted\words\im copying src\twisted\words\im\basesupport.py -&gt; build\lib.win-amd64-3.7\twisted\words\im copying src\twisted\words\im\interfaces.py -&gt; build\lib.win-amd64-3.7\twisted\words\im copying src\twisted\words\im\ircsupport.py -&gt; build\lib.win-amd64-3.7\twisted\words\im copying src\twisted\words\im\locals.py -&gt; build\lib.win-amd64-3.7\twisted\words\im copying src\twisted\words\im\pbsupport.py -&gt; build\lib.win-amd64-3.7\twisted\words\im copying src\twisted\words\im\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\words\im creating build\lib.win-amd64-3.7\twisted\words\protocols copying src\twisted\words\protocols\irc.py -&gt; build\lib.win-amd64-3.7\twisted\words\protocols copying src\twisted\words\protocols\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\words\protocols creating build\lib.win-amd64-3.7\twisted\words\test copying src\twisted\words\test\test_basechat.py -&gt; build\lib.win-amd64-3.7\twisted\words\test copying src\twisted\words\test\test_basesupport.py -&gt; build\lib.win-amd64-3.7\twisted\words\test copying src\twisted\words\test\test_domish.py -&gt; build\lib.win-amd64-3.7\twisted\words\test copying src\twisted\words\test\test_irc.py -&gt; build\lib.win-amd64-3.7\twisted\words\test copying src\twisted\words\test\test_ircsupport.py -&gt; build\lib.win-amd64-3.7\twisted\words\test copying src\twisted\words\test\test_irc_service.py -&gt; build\lib.win-amd64-3.7\twisted\words\test copying src\twisted\words\test\test_jabberclient.py -&gt; build\lib.win-amd64-3.7\twisted\words\test copying src\twisted\words\test\test_jabbercomponent.py -&gt; build\lib.win-amd64-3.7\twisted\words\test copying src\twisted\words\test\test_jabbererror.py -&gt; build\lib.win-amd64-3.7\twisted\words\test copying src\twisted\words\test\test_jabberjid.py -&gt; build\lib.win-amd64-3.7\twisted\words\test copying src\twisted\words\test\test_jabberjstrports.py -&gt; build\lib.win-amd64-3.7\twisted\words\test copying src\twisted\words\test\test_jabbersasl.py -&gt; build\lib.win-amd64-3.7\twisted\words\test copying src\twisted\words\test\test_jabbersaslmechanisms.py -&gt; build\lib.win-amd64-3.7\twisted\words\test copying src\twisted\words\test\test_jabberxmlstream.py -&gt; build\lib.win-amd64-3.7\twisted\words\test copying src\twisted\words\test\test_jabberxmppstringprep.py -&gt; build\lib.win-amd64-3.7\twisted\words\test copying src\twisted\words\test\test_service.py -&gt; build\lib.win-amd64-3.7\twisted\words\test copying src\twisted\words\test\test_tap.py -&gt; build\lib.win-amd64-3.7\twisted\words\test copying src\twisted\words\test\test_xishutil.py -&gt; build\lib.win-amd64-3.7\twisted\words\test copying src\twisted\words\test\test_xmlstream.py -&gt; build\lib.win-amd64-3.7\twisted\words\test copying src\twisted\words\test\test_xmpproutertap.py -&gt; build\lib.win-amd64-3.7\twisted\words\test copying src\twisted\words\test\test_xpath.py -&gt; build\lib.win-amd64-3.7\twisted\words\test copying src\twisted\words\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\words\test creating build\lib.win-amd64-3.7\twisted\words\xish copying src\twisted\words\xish\domish.py -&gt; build\lib.win-amd64-3.7\twisted\words\xish copying src\twisted\words\xish\utility.py -&gt; build\lib.win-amd64-3.7\twisted\words\xish copying src\twisted\words\xish\xmlstream.py -&gt; build\lib.win-amd64-3.7\twisted\words\xish copying src\twisted\words\xish\xpath.py -&gt; build\lib.win-amd64-3.7\twisted\words\xish copying src\twisted\words\xish\xpathparser.py -&gt; build\lib.win-amd64-3.7\twisted\words\xish copying src\twisted\words\xish\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\words\xish creating build\lib.win-amd64-3.7\twisted\words\protocols\jabber copying src\twisted\words\protocols\jabber\client.py -&gt; build\lib.win-amd64-3.7\twisted\words\protocols\jabber copying src\twisted\words\protocols\jabber\component.py -&gt; build\lib.win-amd64-3.7\twisted\words\protocols\jabber copying src\twisted\words\protocols\jabber\error.py -&gt; build\lib.win-amd64-3.7\twisted\words\protocols\jabber copying src\twisted\words\protocols\jabber\ijabber.py -&gt; build\lib.win-amd64-3.7\twisted\words\protocols\jabber copying src\twisted\words\protocols\jabber\jid.py -&gt; build\lib.win-amd64-3.7\twisted\words\protocols\jabber copying src\twisted\words\protocols\jabber\jstrports.py -&gt; build\lib.win-amd64-3.7\twisted\words\protocols\jabber copying src\twisted\words\protocols\jabber\sasl.py -&gt; build\lib.win-amd64-3.7\twisted\words\protocols\jabber copying src\twisted\words\protocols\jabber\sasl_mechanisms.py -&gt; build\lib.win-amd64-3.7\twisted\words\protocols\jabber copying src\twisted\words\protocols\jabber\xmlstream.py -&gt; build\lib.win-amd64-3.7\twisted\words\protocols\jabber copying src\twisted\words\protocols\jabber\xmpp_stringprep.py -&gt; build\lib.win-amd64-3.7\twisted\words\protocols\jabber copying src\twisted\words\protocols\jabber\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\words\protocols\jabber creating build\lib.win-amd64-3.7\twisted\_threads\test copying src\twisted\_threads\test\test_convenience.py -&gt; build\lib.win-amd64-3.7\twisted\_threads\test copying src\twisted\_threads\test\test_memory.py -&gt; build\lib.win-amd64-3.7\twisted\_threads\test copying src\twisted\_threads\test\test_team.py -&gt; build\lib.win-amd64-3.7\twisted\_threads\test copying src\twisted\_threads\test\test_threadworker.py -&gt; build\lib.win-amd64-3.7\twisted\_threads\test copying src\twisted\_threads\test\__init__.py -&gt; build\lib.win-amd64-3.7\twisted\_threads\test running egg_info writing src\Twisted.egg-info\PKG-INFO writing dependency_links to src\Twisted.egg-info\dependency_links.txt writing entry points to src\Twisted.egg-info\entry_points.txt writing requirements to src\Twisted.egg-info\requires.txt writing top-level names to src\Twisted.egg-info\top_level.txt reading manifest file 'src\Twisted.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.misc' found under directory 'src\twisted' warning: no previously-included files matching '*.bugfix' found under directory 'src\twisted' warning: no previously-included files matching '*.doc' found under directory 'src\twisted' warning: no previously-included files matching '*.feature' found under directory 'src\twisted' warning: no previously-included files matching '*.removal' found under directory 'src\twisted' warning: no previously-included files matching 'NEWS' found under directory 'src\twisted' warning: no previously-included files matching 'README' found under directory 'src\twisted' warning: no previously-included files matching 'newsfragments' found under directory 'src\twisted' warning: no previously-included files found matching 'src\twisted\topfiles\CREDITS' warning: no previously-included files found matching 'src\twisted\topfiles\ChangeLog.Old' warning: no previously-included files found matching 'pyproject.toml' warning: no previously-included files found matching 'codecov.yml' warning: no previously-included files found matching 'appveyor.yml' warning: no previously-included files found matching '.circleci' warning: no previously-included files matching '*' found under directory '.circleci' no previously-included directories found matching 'bin' no previously-included directories found matching 'admin' no previously-included directories found matching '.travis' no previously-included directories found matching '.github' warning: no previously-included files found matching 'docs\historic\2003' warning: no previously-included files matching '*' found under directory 'docs\historic\2003' writing manifest file 'src\Twisted.egg-info\SOURCES.txt' copying src\twisted\python\twisted-completion.zsh -&gt; build\lib.win-amd64-3.7\twisted\python creating build\lib.win-amd64-3.7\twisted\python\_pydoctortemplates copying src\twisted\python\_pydoctortemplates\common.html -&gt; build\lib.win-amd64-3.7\twisted\python\_pydoctortemplates copying src\twisted\python\_pydoctortemplates\index.html -&gt; build\lib.win-amd64-3.7\twisted\python\_pydoctortemplates copying src\twisted\python\_pydoctortemplates\summary.html -&gt; build\lib.win-amd64-3.7\twisted\python\_pydoctortemplates copying src\twisted\test\cert.pem.no_trailing_newline -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\key.pem.no_trailing_newline -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\server.pem -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\test\test_defer.py.3only -&gt; build\lib.win-amd64-3.7\twisted\test copying src\twisted\internet\iocpreactor\notes.txt -&gt; build\lib.win-amd64-3.7\twisted\internet\iocpreactor copying src\twisted\internet\test\_awaittests.py.3only -&gt; build\lib.win-amd64-3.7\twisted\internet\test copying src\twisted\internet\test\_yieldfromtests.py.3only -&gt; build\lib.win-amd64-3.7\twisted\internet\test creating build\lib.win-amd64-3.7\twisted\internet\test\fake_CAs copying src\twisted\internet\test\fake_CAs\chain.pem -&gt; build\lib.win-amd64-3.7\twisted\internet\test\fake_CAs copying src\twisted\internet\test\fake_CAs\not-a-certificate -&gt; build\lib.win-amd64-3.7\twisted\internet\test\fake_CAs copying src\twisted\internet\test\fake_CAs\thing1.pem -&gt; build\lib.win-amd64-3.7\twisted\internet\test\fake_CAs copying src\twisted\internet\test\fake_CAs\thing2-duplicate.pem -&gt; build\lib.win-amd64-3.7\twisted\internet\test\fake_CAs copying src\twisted\internet\test\fake_CAs\thing2.pem -&gt; build\lib.win-amd64-3.7\twisted\internet\test\fake_CAs copying src\twisted\mail\test\rfc822.message -&gt; build\lib.win-amd64-3.7\twisted\mail\test copying src\twisted\python\test\_deprecatetests.py.3only -&gt; build\lib.win-amd64-3.7\twisted\python\test copying src\twisted\words\im\instancemessenger.glade -&gt; build\lib.win-amd64-3.7\twisted\words\im copying src\twisted\words\xish\xpathparser.g -&gt; build\lib.win-amd64-3.7\twisted\words\xish running build_ext building 'twisted.test.raiser' extension error: Microsoft Visual C++ 14.0 is required. Get it with "Microsoft Visual C++ Build Tools": https://visualstudio.microsoft.com/downloads/ ---------------------------------------- ERROR: Command "'c:\users\xxxxx\appdata\local\programs\python\python37\python.exe' -u -c 'import setuptools, tokenize;__file__='"'"'C:\\Users\\XXXXX\\AppData\\Local\\Temp\\pip-install-9pfqvjxq\\Twisted\\setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record 'C:\Users\XXXXX\AppData\Local\Temp\pip-record-lls0x5g5\install-record.txt' --single-version-externally-managed --compile" failed with error code 1 in C:\Users\XXXXX\AppData\Local\Temp\pip-install-9pfqvjxq\Twisted\ </code></pre></div>
<p dir="auto">My spider:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="class MySpider(CrawlSpider): allowed_domains = {'hostname.com'}"><pre class="notranslate"><span class="pl-k">class</span> <span class="pl-v">MySpider</span>(<span class="pl-v">CrawlSpider</span>): <span class="pl-s1">allowed_domains</span> <span class="pl-c1">=</span> {<span class="pl-s">'hostname.com'</span>}</pre></div> <p dir="auto">and <code class="notranslate">scrapy fetch smth</code> raised:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Traceback (most recent call last): File &quot;/home/nuklea/.virtualenvs/default/bin/scrapy&quot;, line 4, in &lt;module&gt; execute() File &quot;/home/nuklea/.virtualenvs/default/lib/python2.7/site-packages/scrapy/cmdline.py&quot;, line 131, in execute _run_print_help(parser, _run_command, cmd, args, opts) File &quot;/home/nuklea/.virtualenvs/default/lib/python2.7/site-packages/scrapy/cmdline.py&quot;, line 76, in _run_print_help func(*a, **kw) File &quot;/home/nuklea/.virtualenvs/default/lib/python2.7/site-packages/scrapy/cmdline.py&quot;, line 138, in _run_command cmd.run(args, opts) File &quot;/home/nuklea/.virtualenvs/default/lib/python2.7/site-packages/scrapy/commands/fetch.py&quot;, line 55, in run default_spider=BaseSpider('default')) File &quot;/home/nuklea/.virtualenvs/default/lib/python2.7/site-packages/scrapy/utils/spider.py&quot;, line 38, in create_spider_for_request snames = spidermanager.find_by_request(request) File &quot;/home/nuklea/.virtualenvs/default/lib/python2.7/site-packages/scrapy/spidermanager.py&quot;, line 48, in find_by_request if cls.handles_request(request)] File &quot;/home/nuklea/.virtualenvs/default/lib/python2.7/site-packages/scrapy/spider.py&quot;, line 61, in handles_request return url_is_from_spider(request.url, cls) File &quot;/home/nuklea/.virtualenvs/default/lib/python2.7/site-packages/scrapy/utils/url.py&quot;, line 28, in url_is_from_spider getattr(spider, 'allowed_domains', [])) TypeError: can only concatenate list (not &quot;set&quot;) to list"><pre class="notranslate"><code class="notranslate">Traceback (most recent call last): File "/home/nuklea/.virtualenvs/default/bin/scrapy", line 4, in &lt;module&gt; execute() File "/home/nuklea/.virtualenvs/default/lib/python2.7/site-packages/scrapy/cmdline.py", line 131, in execute _run_print_help(parser, _run_command, cmd, args, opts) File "/home/nuklea/.virtualenvs/default/lib/python2.7/site-packages/scrapy/cmdline.py", line 76, in _run_print_help func(*a, **kw) File "/home/nuklea/.virtualenvs/default/lib/python2.7/site-packages/scrapy/cmdline.py", line 138, in _run_command cmd.run(args, opts) File "/home/nuklea/.virtualenvs/default/lib/python2.7/site-packages/scrapy/commands/fetch.py", line 55, in run default_spider=BaseSpider('default')) File "/home/nuklea/.virtualenvs/default/lib/python2.7/site-packages/scrapy/utils/spider.py", line 38, in create_spider_for_request snames = spidermanager.find_by_request(request) File "/home/nuklea/.virtualenvs/default/lib/python2.7/site-packages/scrapy/spidermanager.py", line 48, in find_by_request if cls.handles_request(request)] File "/home/nuklea/.virtualenvs/default/lib/python2.7/site-packages/scrapy/spider.py", line 61, in handles_request return url_is_from_spider(request.url, cls) File "/home/nuklea/.virtualenvs/default/lib/python2.7/site-packages/scrapy/utils/url.py", line 28, in url_is_from_spider getattr(spider, 'allowed_domains', [])) TypeError: can only concatenate list (not "set") to list </code></pre></div>
0
<ul dir="auto"> <li>Electron version: v1.4.10</li> <li>Operating system: Windows 10</li> </ul> <p dir="auto">While trying to find a workaround for <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="189422004" data-permission-text="Title is private" data-url="https://github.com/electron/electron/issues/7977" data-hovercard-type="issue" data-hovercard-url="/electron/electron/issues/7977/hovercard" href="https://github.com/electron/electron/issues/7977">#7977</a> using the <code class="notranslate">close</code> event of a <code class="notranslate">BrowserWindow</code>, I found out that it doesn't fire in the renderer process as it would in the main process.</p> <h3 dir="auto">How to reproduce</h3> <p dir="auto">Just add the following lines at the start inside <code class="notranslate">&lt;body&gt;</code> of the default app <code class="notranslate">index.html</code>:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="require('electron').remote.getCurrentWindow().on('close', evt =&gt; evt.preventDefault())"><pre class="notranslate"><span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">'electron'</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-c1">remote</span><span class="pl-kos">.</span><span class="pl-en">getCurrentWindow</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">on</span><span class="pl-kos">(</span><span class="pl-s">'close'</span><span class="pl-kos">,</span> <span class="pl-s1">evt</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">evt</span><span class="pl-kos">.</span><span class="pl-en">preventDefault</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">)</span></pre></div> <p dir="auto">But you can still close the window.</p>
<p dir="auto">This only applies to remote.BrowserWindow (i.e. the one used in renderer processess). It works fine for the other BrowserWindow.</p> <p dir="auto">Not sure if this is a documentation issue or an implementation issue, but the docs don't specify a difference.</p> <p dir="auto">Ubuntu 15.10 / Electron 0.36.7</p>
1
<h3 dir="auto">Preflight Checklist</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have read the <a href="https://github.com/electron/electron/blob/master/CONTRIBUTING.md">Contributing Guidelines</a> for this project.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow the <a href="https://github.com/electron/electron/blob/master/CODE_OF_CONDUCT.md">Code of Conduct</a> that this project adheres to.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the issue tracker for an issue that matches the one I want to file, without success.</li> </ul> <h3 dir="auto">Issue Details</h3> <p dir="auto">MenuItem's label cannot be changed once it's appended to a Menu, despite other properties taking effect as usual.</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="let electron = require(&quot;electron&quot;); let menu = new electron.remote.Menu(); let item = new electron.remote.MenuItem({label:&quot;one!&quot;}); item.label = &quot;two!&quot;; menu.append(item); item.label = &quot;three!&quot;; item.enabled = false; // (to verify that other properties can be changed) menu.popup();"><pre class="notranslate"><span class="pl-k">let</span> <span class="pl-s1">electron</span> <span class="pl-c1">=</span> <span class="pl-en">require</span><span class="pl-kos">(</span><span class="pl-s">"electron"</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">let</span> <span class="pl-s1">menu</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-s1">electron</span><span class="pl-kos">.</span><span class="pl-c1">remote</span><span class="pl-kos">.</span><span class="pl-c1">Menu</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">let</span> <span class="pl-s1">item</span> <span class="pl-c1">=</span> <span class="pl-k">new</span> <span class="pl-s1">electron</span><span class="pl-kos">.</span><span class="pl-c1">remote</span><span class="pl-kos">.</span><span class="pl-c1">MenuItem</span><span class="pl-kos">(</span><span class="pl-kos">{</span><span class="pl-c1">label</span>:<span class="pl-s">"one!"</span><span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">item</span><span class="pl-kos">.</span><span class="pl-c1">label</span> <span class="pl-c1">=</span> <span class="pl-s">"two!"</span><span class="pl-kos">;</span> <span class="pl-s1">menu</span><span class="pl-kos">.</span><span class="pl-en">append</span><span class="pl-kos">(</span><span class="pl-s1">item</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-s1">item</span><span class="pl-kos">.</span><span class="pl-c1">label</span> <span class="pl-c1">=</span> <span class="pl-s">"three!"</span><span class="pl-kos">;</span> <span class="pl-s1">item</span><span class="pl-kos">.</span><span class="pl-c1">enabled</span> <span class="pl-c1">=</span> <span class="pl-c1">false</span><span class="pl-kos">;</span> <span class="pl-c">// (to verify that other properties can be changed)</span> <span class="pl-s1">menu</span><span class="pl-kos">.</span><span class="pl-en">popup</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">shows "two!" rather than "three!"; menu item appears disabled - only label change takes no effect.</p> <ul dir="auto"> <li><strong>Electron Version:</strong> <ul dir="auto"> <li>7.0.0-beta.4, same effect on 6.0.9 and 4.2.8</li> </ul> </li> <li><strong>Operating System:</strong> <ul dir="auto"> <li>Windows 10 (18362)</li> </ul> </li> <li><strong>Last Known Working Electron version:</strong> <ul dir="auto"> <li>(doesn't seem like there's one)</li> </ul> </li> </ul> <h3 dir="auto">Expected Behavior</h3> <p dir="auto">A menu showing "three!"</p> <h3 dir="auto">Actual Behavior</h3> <p dir="auto">A menu showing "two!"</p> <h3 dir="auto">To Reproduce</h3> <p dir="auto"><a href="https://gist.github.com/YellowAfterlife/25b6d98c01f3e479469489067dc08ef6">fiddle gist</a></p> <h3 dir="auto">Screenshots</h3> <p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/731492/64996338-59ab7f80-d8e6-11e9-8966-bd21673b4de0.png"><img src="https://user-images.githubusercontent.com/731492/64996338-59ab7f80-d8e6-11e9-8966-bd21673b4de0.png" alt="image" style="max-width: 100%;"></a></p> <h3 dir="auto">Additional Information</h3> <p dir="auto">Is this a limitation like <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="38968194" data-permission-text="Title is private" data-url="https://github.com/electron/electron/issues/527" data-hovercard-type="issue" data-hovercard-url="/electron/electron/issues/527/hovercard" href="https://github.com/electron/electron/issues/527">#527</a>? Could add a note to documentation if so.</p>
<ul dir="auto"> <li>Electron Version: 1.8.7</li> <li>Operating System (Platform and Version): MacOS</li> <li>Last known working Electron version: 1.8.6</li> </ul> <p dir="auto"><strong>Expected Behavior</strong><br> Electron.framework doesn't include the use of private APIs and can be approved on the Apple App Store</p> <p dir="auto"><strong>Actual behavior</strong><br> Electron.framework includes the use of private APIs and cannot be approved on the Apple App Store</p> <p dir="auto"><strong>Additional Information</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Guideline 2.5.1 - Performance - Software Requirements Your app uses or references the following non-public APIs: -Symbol: _CGDisplayUsesForceToGray From framework: /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics -Symbol: __CFIsObjC From framework: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation In binary: Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework The use of non-public APIs is not permitted on the App Store, because it can lead to a poor user experience should these APIs change."><pre class="notranslate"><code class="notranslate">Guideline 2.5.1 - Performance - Software Requirements Your app uses or references the following non-public APIs: -Symbol: _CGDisplayUsesForceToGray From framework: /System/Library/Frameworks/CoreGraphics.framework/Versions/A/CoreGraphics -Symbol: __CFIsObjC From framework: /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation In binary: Contents/Frameworks/Electron Framework.framework/Versions/A/Electron Framework The use of non-public APIs is not permitted on the App Store, because it can lead to a poor user experience should these APIs change. </code></pre></div>
0
<p dir="auto">Hey guys!</p> <p dir="auto">I've noticed a possible inconsistency today. The setup is simple: import two routes with the same name but different patterns from different resource files (so that they don't YAML-override). For example:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# some routing.yml that's imported foo_page: pattern: /foo defaults: { _controller: MainBundle:Default:homepage } # some other routing.yml that's imported foo_page: pattern: /second-foo-page defaults: { _controller: MainBundle:Default:homepage }"><pre class="notranslate"><code class="notranslate"># some routing.yml that's imported foo_page: pattern: /foo defaults: { _controller: MainBundle:Default:homepage } # some other routing.yml that's imported foo_page: pattern: /second-foo-page defaults: { _controller: MainBundle:Default:homepage } </code></pre></div> <ul dir="auto"> <li>when the matcher is dumped, both routes appear, but the first pattern appears first</li> <li>when the generator is dumped, only the second route appears, and is used for all generation</li> </ul> <p dir="auto">I believe the proper behavior should be that only the second route is used in the matcher, to be consistent with the dumper.</p> <p dir="auto">Thanks!</p>
<table role="table"> <thead> <tr> <th>Q</th> <th>A</th> </tr> </thead> <tbody> <tr> <td>Bug report?</td> <td>yes</td> </tr> <tr> <td>Feature request?</td> <td>no</td> </tr> <tr> <td>BC Break report?</td> <td>no</td> </tr> <tr> <td>RFC?</td> <td>no</td> </tr> <tr> <td>Symfony version</td> <td>3.3.4</td> </tr> </tbody> </table> <p dir="auto">When attempting to run <code class="notranslate">./bin/console server:run</code> after having generated a bundle using <code class="notranslate">./bin/console generate:bundle --namespace=Acme/MyBundle --bundle-name=AcmeMyBundle --format=annotation</code> I get a <code class="notranslate">ClassNotFoundException</code>.</p> <p dir="auto">If I update the <code class="notranslate">autoload psr-4</code> section of <code class="notranslate">composer.json</code> to include my bundle it all works fine. I didn't have to do this in <code class="notranslate">3.3.2</code>.</p>
0
<h3 dir="auto">System Information</h3> <p dir="auto">Debian GNU/Linux<br> OpenCV version: 4.6.0</p> <h3 dir="auto">Detailed description</h3> <p dir="auto">4.6 builds for these modules</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="core,highgui,imgcodecs,imgproc"><pre class="notranslate"><code class="notranslate">core,highgui,imgcodecs,imgproc </code></pre></div> <p dir="auto">or with all modules, but fails if <code class="notranslate">videoio</code> is added:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="core,highgui,imgcodecs,imgproc,videoio"><pre class="notranslate"><code class="notranslate">core,highgui,imgcodecs,imgproc,videoio </code></pre></div> <h3 dir="auto">Steps to reproduce</h3> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="git clone --depth 1 --branch 4.6.0 https://github.com/opencv/opencv.git opencv-4.6.0 mv opencv-4.6.0 opencv mkdir -p build &amp;&amp; cd build cmake -DBUILD_LIST=core,highgui,imgcodecs,imgproc,videoio ../opencv make -j4 opencv/modules/videoio/src/ffmpeg_codecs.hpp:81:26: error: ‘CODEC_ID_H264’ was not declared in this scope; did you mean ‘AV_CODEC_ID_H264’? 81 | #define AV_CODEC_ID_H264 CODEC_ID_H264 | ^~~~~~~~~~~~~"><pre class="notranslate">git clone --depth 1 --branch 4.6.0 https://github.com/opencv/opencv.git opencv-4.6.0 mv opencv-4.6.0 opencv mkdir -p build <span class="pl-k">&amp;&amp;</span> <span class="pl-c1">cd</span> build cmake -DBUILD_LIST=core,highgui,imgcodecs,imgproc,videoio ../opencv make -j4 opencv/modules/videoio/src/ffmpeg_codecs.hpp:81:26: error: ‘CODEC_ID_H264’ was not declared <span class="pl-k">in</span> this scope<span class="pl-k">;</span> did you mean ‘AV_CODEC_ID_H264’<span class="pl-k">?</span> 81 <span class="pl-k">|</span> <span class="pl-c"><span class="pl-c">#</span>define AV_CODEC_ID_H264 CODEC_ID_H264</span> <span class="pl-k">|</span> ^~~~~~~~~~~~~</pre></div> <h3 dir="auto">Issue submission checklist</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I report the issue, it's not a question</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I checked the problem with documentation, FAQ, open issues, forum.opencv.org, Stack Overflow, etc and have not found any solution</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I updated to the latest OpenCV version and the issue is still there</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> There is reproducer code and related data files (videos, images, onnx, etc)</li> </ul>
<h5 dir="auto">System information (version)</h5> <ul dir="auto"> <li>OpenCV =&gt; 4.6</li> <li>Operating System / Platform =&gt; macOS Monterey, Arch Linux</li> <li>Compiler =&gt; XCode toolchain (Mac), GCC toolchain (Arch Linux)</li> </ul> <h5 dir="auto">Detailed description</h5> <p dir="auto">OpenCV compilation fails when FFmpeg 5.1 is installed on the system (no issue with 5.0.x and earlier versions). Here is the associated error message on Mac (the error message is somewhat similar on Arch Linux):</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg.cpp:50: In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg_impl.hpp:81: /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:80:6: warning: 'LIBAVCODEC_VERSION_INT' is not defined, evaluates to 0 [-Wundef] #if (LIBAVCODEC_VERSION_INT &lt;= AV_VERSION_INT(54, 51, 100)) ^ /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:146:7: error: use of undeclared identifier 'CODEC_ID_H264'; did you mean 'AV_CODEC_ID_H264'? { AV_CODEC_ID_H264, MKTAG('H', '2', '6', '4') }, ^~~~~~~~~~~~~~~~ AV_CODEC_ID_H264 /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:81:26: note: expanded from macro 'AV_CODEC_ID_H264' #define AV_CODEC_ID_H264 CODEC_ID_H264 ^ /opt/homebrew/Cellar/ffmpeg/5.1-with-options_2/include/libavcodec/codec_id.h:77:5: note: 'AV_CODEC_ID_H264' declared here AV_CODEC_ID_H264, ^ In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg.cpp:50: In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg_impl.hpp:81: /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:147:7: error: use of undeclared identifier 'CODEC_ID_H264'; did you mean 'AV_CODEC_ID_H264'? { AV_CODEC_ID_H264, MKTAG('h', '2', '6', '4') }, ^~~~~~~~~~~~~~~~ AV_CODEC_ID_H264 /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:81:26: note: expanded from macro 'AV_CODEC_ID_H264' #define AV_CODEC_ID_H264 CODEC_ID_H264 ^ /opt/homebrew/Cellar/ffmpeg/5.1-with-options_2/include/libavcodec/codec_id.h:77:5: note: 'AV_CODEC_ID_H264' declared here AV_CODEC_ID_H264, ^ In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg.cpp:50: In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg_impl.hpp:81: /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:148:7: error: use of undeclared identifier 'CODEC_ID_H264'; did you mean 'AV_CODEC_ID_H264'? { AV_CODEC_ID_H264, MKTAG('X', '2', '6', '4') }, ^~~~~~~~~~~~~~~~ AV_CODEC_ID_H264 /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:81:26: note: expanded from macro 'AV_CODEC_ID_H264' #define AV_CODEC_ID_H264 CODEC_ID_H264 ^ /opt/homebrew/Cellar/ffmpeg/5.1-with-options_2/include/libavcodec/codec_id.h:77:5: note: 'AV_CODEC_ID_H264' declared here AV_CODEC_ID_H264, ^ In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg.cpp:50: In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg_impl.hpp:81: /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:149:7: error: use of undeclared identifier 'CODEC_ID_H264'; did you mean 'AV_CODEC_ID_H264'? { AV_CODEC_ID_H264, MKTAG('x', '2', '6', '4') }, ^~~~~~~~~~~~~~~~ AV_CODEC_ID_H264 /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:81:26: note: expanded from macro 'AV_CODEC_ID_H264' #define AV_CODEC_ID_H264 CODEC_ID_H264 ^ /opt/homebrew/Cellar/ffmpeg/5.1-with-options_2/include/libavcodec/codec_id.h:77:5: note: 'AV_CODEC_ID_H264' declared here AV_CODEC_ID_H264, ^ In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg.cpp:50: In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg_impl.hpp:81: /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:150:7: error: use of undeclared identifier 'CODEC_ID_H264'; did you mean 'AV_CODEC_ID_H264'? { AV_CODEC_ID_H264, MKTAG('a', 'v', 'c', '1') }, ^~~~~~~~~~~~~~~~ AV_CODEC_ID_H264 /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:81:26: note: expanded from macro 'AV_CODEC_ID_H264' #define AV_CODEC_ID_H264 CODEC_ID_H264 ^ /opt/homebrew/Cellar/ffmpeg/5.1-with-options_2/include/libavcodec/codec_id.h:77:5: note: 'AV_CODEC_ID_H264' declared here AV_CODEC_ID_H264, ^ In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg.cpp:50: In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg_impl.hpp:81: /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:151:7: error: use of undeclared identifier 'CODEC_ID_H264'; did you mean 'AV_CODEC_ID_H264'? { AV_CODEC_ID_H264, MKTAG('V', 'S', 'S', 'H') }, ^~~~~~~~~~~~~~~~ AV_CODEC_ID_H264 /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:81:26: note: expanded from macro 'AV_CODEC_ID_H264' #define AV_CODEC_ID_H264 CODEC_ID_H264 ^ /opt/homebrew/Cellar/ffmpeg/5.1-with-options_2/include/libavcodec/codec_id.h:77:5: note: 'AV_CODEC_ID_H264' declared here AV_CODEC_ID_H264, ^ In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg.cpp:50: In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg_impl.hpp:81: /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:153:7: error: use of undeclared identifier 'CODEC_ID_H263'; did you mean 'AV_CODEC_ID_H263'? { AV_CODEC_ID_H263, MKTAG('H', '2', '6', '3') }, ^~~~~~~~~~~~~~~~ AV_CODEC_ID_H263 /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:82:26: note: expanded from macro 'AV_CODEC_ID_H263' #define AV_CODEC_ID_H263 CODEC_ID_H263 ^ /opt/homebrew/Cellar/ffmpeg/5.1-with-options_2/include/libavcodec/codec_id.h:54:5: note: 'AV_CODEC_ID_H263' declared here AV_CODEC_ID_H263, ^ In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg.cpp:50: In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg_impl.hpp:81: /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:154:7: error: use of undeclared identifier 'CODEC_ID_H263P'; did you mean 'AV_CODEC_ID_H263P'? { AV_CODEC_ID_H263P, MKTAG('H', '2', '6', '3') }, ^~~~~~~~~~~~~~~~~ AV_CODEC_ID_H263P /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:83:27: note: expanded from macro 'AV_CODEC_ID_H263P' #define AV_CODEC_ID_H263P CODEC_ID_H263P ^ /opt/homebrew/Cellar/ffmpeg/5.1-with-options_2/include/libavcodec/codec_id.h:69:5: note: 'AV_CODEC_ID_H263P' declared here AV_CODEC_ID_H263P, ^ In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg.cpp:50: In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg_impl.hpp:81: /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:155:7: error: use of undeclared identifier 'CODEC_ID_H263I'; did you mean 'AV_CODEC_ID_H263I'? { AV_CODEC_ID_H263I, MKTAG('I', '2', '6', '3') }, /* intel h263 */ ^~~~~~~~~~~~~~~~~ AV_CODEC_ID_H263I /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:84:27: note: expanded from macro 'AV_CODEC_ID_H263I' #define AV_CODEC_ID_H263I CODEC_ID_H263I ^ /opt/homebrew/Cellar/ffmpeg/5.1-with-options_2/include/libavcodec/codec_id.h:70:5: note: 'AV_CODEC_ID_H263I' declared here AV_CODEC_ID_H263I, ^ In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg.cpp:50: In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg_impl.hpp:81: /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:156:7: error: use of undeclared identifier 'CODEC_ID_H261'; did you mean 'AV_CODEC_ID_H261'? { AV_CODEC_ID_H261, MKTAG('H', '2', '6', '1') }, ^~~~~~~~~~~~~~~~ AV_CODEC_ID_H261 /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:85:26: note: expanded from macro 'AV_CODEC_ID_H261' #define AV_CODEC_ID_H261 CODEC_ID_H261 ^ /opt/homebrew/Cellar/ffmpeg/5.1-with-options_2/include/libavcodec/codec_id.h:53:5: note: 'AV_CODEC_ID_H261' declared here AV_CODEC_ID_H261, ^ In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg.cpp:50: In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg_impl.hpp:81: /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:159:7: error: use of undeclared identifier 'CODEC_ID_H263P'; did you mean 'AV_CODEC_ID_H263P'? { AV_CODEC_ID_H263P, MKTAG('U', '2', '6', '3') }, ^~~~~~~~~~~~~~~~~ AV_CODEC_ID_H263P /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:83:27: note: expanded from macro 'AV_CODEC_ID_H263P' #define AV_CODEC_ID_H263P CODEC_ID_H263P ^ /opt/homebrew/Cellar/ffmpeg/5.1-with-options_2/include/libavcodec/codec_id.h:69:5: note: 'AV_CODEC_ID_H263P' declared here AV_CODEC_ID_H263P, ^ In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg.cpp:50: In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg_impl.hpp:81: /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:160:7: error: use of undeclared identifier 'CODEC_ID_H263P'; did you mean 'AV_CODEC_ID_H263P'? { AV_CODEC_ID_H263P, MKTAG('v', 'i', 'v', '1') }, ^~~~~~~~~~~~~~~~~ AV_CODEC_ID_H263P /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:83:27: note: expanded from macro 'AV_CODEC_ID_H263P' #define AV_CODEC_ID_H263P CODEC_ID_H263P ^ /opt/homebrew/Cellar/ffmpeg/5.1-with-options_2/include/libavcodec/codec_id.h:69:5: note: 'AV_CODEC_ID_H263P' declared here AV_CODEC_ID_H263P, ^ In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg.cpp:50: In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg_impl.hpp:81: /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:162:7: error: use of undeclared identifier 'CODEC_ID_MPEG4'; did you mean 'AV_CODEC_ID_MPEG4'? { AV_CODEC_ID_MPEG4, MKTAG('F', 'M', 'P', '4') }, ^~~~~~~~~~~~~~~~~ AV_CODEC_ID_MPEG4 /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:86:27: note: expanded from macro 'AV_CODEC_ID_MPEG4' #define AV_CODEC_ID_MPEG4 CODEC_ID_MPEG4 ^ /opt/homebrew/Cellar/ffmpeg/5.1-with-options_2/include/libavcodec/codec_id.h:62:5: note: 'AV_CODEC_ID_MPEG4' declared here AV_CODEC_ID_MPEG4, ^ In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg.cpp:50: In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg_impl.hpp:81: /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:163:7: error: use of undeclared identifier 'CODEC_ID_MPEG4'; did you mean 'AV_CODEC_ID_MPEG4'? { AV_CODEC_ID_MPEG4, MKTAG('D', 'I', 'V', 'X') }, ^~~~~~~~~~~~~~~~~ AV_CODEC_ID_MPEG4 /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:86:27: note: expanded from macro 'AV_CODEC_ID_MPEG4' #define AV_CODEC_ID_MPEG4 CODEC_ID_MPEG4 ^ /opt/homebrew/Cellar/ffmpeg/5.1-with-options_2/include/libavcodec/codec_id.h:62:5: note: 'AV_CODEC_ID_MPEG4' declared here AV_CODEC_ID_MPEG4, ^ In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg.cpp:50: In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg_impl.hpp:81: /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:164:7: error: use of undeclared identifier 'CODEC_ID_MPEG4'; did you mean 'AV_CODEC_ID_MPEG4'? { AV_CODEC_ID_MPEG4, MKTAG('D', 'X', '5', '0') }, ^~~~~~~~~~~~~~~~~ AV_CODEC_ID_MPEG4 /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:86:27: note: expanded from macro 'AV_CODEC_ID_MPEG4' #define AV_CODEC_ID_MPEG4 CODEC_ID_MPEG4 ^ /opt/homebrew/Cellar/ffmpeg/5.1-with-options_2/include/libavcodec/codec_id.h:62:5: note: 'AV_CODEC_ID_MPEG4' declared here AV_CODEC_ID_MPEG4, ^ In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg.cpp:50: In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg_impl.hpp:81: /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:165:7: error: use of undeclared identifier 'CODEC_ID_MPEG4'; did you mean 'AV_CODEC_ID_MPEG4'? { AV_CODEC_ID_MPEG4, MKTAG('X', 'V', 'I', 'D') }, ^~~~~~~~~~~~~~~~~ AV_CODEC_ID_MPEG4 /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:86:27: note: expanded from macro 'AV_CODEC_ID_MPEG4' #define AV_CODEC_ID_MPEG4 CODEC_ID_MPEG4 ^ /opt/homebrew/Cellar/ffmpeg/5.1-with-options_2/include/libavcodec/codec_id.h:62:5: note: 'AV_CODEC_ID_MPEG4' declared here AV_CODEC_ID_MPEG4, ^ In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg.cpp:50: In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg_impl.hpp:81: /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:166:7: error: use of undeclared identifier 'CODEC_ID_MPEG4'; did you mean 'AV_CODEC_ID_MPEG4'? { AV_CODEC_ID_MPEG4, MKTAG('M', 'P', '4', 'S') }, ^~~~~~~~~~~~~~~~~ AV_CODEC_ID_MPEG4 /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:86:27: note: expanded from macro 'AV_CODEC_ID_MPEG4' #define AV_CODEC_ID_MPEG4 CODEC_ID_MPEG4 ^ /opt/homebrew/Cellar/ffmpeg/5.1-with-options_2/include/libavcodec/codec_id.h:62:5: note: 'AV_CODEC_ID_MPEG4' declared here AV_CODEC_ID_MPEG4, ^ In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg.cpp:50: In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg_impl.hpp:81: /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:167:7: error: use of undeclared identifier 'CODEC_ID_MPEG4'; did you mean 'AV_CODEC_ID_MPEG4'? { AV_CODEC_ID_MPEG4, MKTAG('M', '4', 'S', '2') }, ^~~~~~~~~~~~~~~~~ AV_CODEC_ID_MPEG4 /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:86:27: note: expanded from macro 'AV_CODEC_ID_MPEG4' #define AV_CODEC_ID_MPEG4 CODEC_ID_MPEG4 ^ /opt/homebrew/Cellar/ffmpeg/5.1-with-options_2/include/libavcodec/codec_id.h:62:5: note: 'AV_CODEC_ID_MPEG4' declared here AV_CODEC_ID_MPEG4, ^ In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg.cpp:50: In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg_impl.hpp:81: /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:168:7: error: use of undeclared identifier 'CODEC_ID_MPEG4'; did you mean 'AV_CODEC_ID_MPEG4'? { AV_CODEC_ID_MPEG4, MKTAG(0x04, 0, 0, 0) }, /* some broken avi use this */ ^~~~~~~~~~~~~~~~~ AV_CODEC_ID_MPEG4 /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:86:27: note: expanded from macro 'AV_CODEC_ID_MPEG4' #define AV_CODEC_ID_MPEG4 CODEC_ID_MPEG4 ^ /opt/homebrew/Cellar/ffmpeg/5.1-with-options_2/include/libavcodec/codec_id.h:62:5: note: 'AV_CODEC_ID_MPEG4' declared here AV_CODEC_ID_MPEG4, ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 1 warning and 20 errors generated. make[2]: *** [modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_ffmpeg.cpp.o] Error 1 make[1]: *** [modules/videoio/CMakeFiles/opencv_videoio.dir/all] Error 2 make: *** [all] Error 2"><pre class="notranslate"><code class="notranslate">In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg.cpp:50: In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg_impl.hpp:81: /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:80:6: warning: 'LIBAVCODEC_VERSION_INT' is not defined, evaluates to 0 [-Wundef] #if (LIBAVCODEC_VERSION_INT &lt;= AV_VERSION_INT(54, 51, 100)) ^ /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:146:7: error: use of undeclared identifier 'CODEC_ID_H264'; did you mean 'AV_CODEC_ID_H264'? { AV_CODEC_ID_H264, MKTAG('H', '2', '6', '4') }, ^~~~~~~~~~~~~~~~ AV_CODEC_ID_H264 /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:81:26: note: expanded from macro 'AV_CODEC_ID_H264' #define AV_CODEC_ID_H264 CODEC_ID_H264 ^ /opt/homebrew/Cellar/ffmpeg/5.1-with-options_2/include/libavcodec/codec_id.h:77:5: note: 'AV_CODEC_ID_H264' declared here AV_CODEC_ID_H264, ^ In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg.cpp:50: In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg_impl.hpp:81: /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:147:7: error: use of undeclared identifier 'CODEC_ID_H264'; did you mean 'AV_CODEC_ID_H264'? { AV_CODEC_ID_H264, MKTAG('h', '2', '6', '4') }, ^~~~~~~~~~~~~~~~ AV_CODEC_ID_H264 /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:81:26: note: expanded from macro 'AV_CODEC_ID_H264' #define AV_CODEC_ID_H264 CODEC_ID_H264 ^ /opt/homebrew/Cellar/ffmpeg/5.1-with-options_2/include/libavcodec/codec_id.h:77:5: note: 'AV_CODEC_ID_H264' declared here AV_CODEC_ID_H264, ^ In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg.cpp:50: In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg_impl.hpp:81: /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:148:7: error: use of undeclared identifier 'CODEC_ID_H264'; did you mean 'AV_CODEC_ID_H264'? { AV_CODEC_ID_H264, MKTAG('X', '2', '6', '4') }, ^~~~~~~~~~~~~~~~ AV_CODEC_ID_H264 /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:81:26: note: expanded from macro 'AV_CODEC_ID_H264' #define AV_CODEC_ID_H264 CODEC_ID_H264 ^ /opt/homebrew/Cellar/ffmpeg/5.1-with-options_2/include/libavcodec/codec_id.h:77:5: note: 'AV_CODEC_ID_H264' declared here AV_CODEC_ID_H264, ^ In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg.cpp:50: In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg_impl.hpp:81: /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:149:7: error: use of undeclared identifier 'CODEC_ID_H264'; did you mean 'AV_CODEC_ID_H264'? { AV_CODEC_ID_H264, MKTAG('x', '2', '6', '4') }, ^~~~~~~~~~~~~~~~ AV_CODEC_ID_H264 /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:81:26: note: expanded from macro 'AV_CODEC_ID_H264' #define AV_CODEC_ID_H264 CODEC_ID_H264 ^ /opt/homebrew/Cellar/ffmpeg/5.1-with-options_2/include/libavcodec/codec_id.h:77:5: note: 'AV_CODEC_ID_H264' declared here AV_CODEC_ID_H264, ^ In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg.cpp:50: In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg_impl.hpp:81: /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:150:7: error: use of undeclared identifier 'CODEC_ID_H264'; did you mean 'AV_CODEC_ID_H264'? { AV_CODEC_ID_H264, MKTAG('a', 'v', 'c', '1') }, ^~~~~~~~~~~~~~~~ AV_CODEC_ID_H264 /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:81:26: note: expanded from macro 'AV_CODEC_ID_H264' #define AV_CODEC_ID_H264 CODEC_ID_H264 ^ /opt/homebrew/Cellar/ffmpeg/5.1-with-options_2/include/libavcodec/codec_id.h:77:5: note: 'AV_CODEC_ID_H264' declared here AV_CODEC_ID_H264, ^ In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg.cpp:50: In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg_impl.hpp:81: /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:151:7: error: use of undeclared identifier 'CODEC_ID_H264'; did you mean 'AV_CODEC_ID_H264'? { AV_CODEC_ID_H264, MKTAG('V', 'S', 'S', 'H') }, ^~~~~~~~~~~~~~~~ AV_CODEC_ID_H264 /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:81:26: note: expanded from macro 'AV_CODEC_ID_H264' #define AV_CODEC_ID_H264 CODEC_ID_H264 ^ /opt/homebrew/Cellar/ffmpeg/5.1-with-options_2/include/libavcodec/codec_id.h:77:5: note: 'AV_CODEC_ID_H264' declared here AV_CODEC_ID_H264, ^ In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg.cpp:50: In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg_impl.hpp:81: /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:153:7: error: use of undeclared identifier 'CODEC_ID_H263'; did you mean 'AV_CODEC_ID_H263'? { AV_CODEC_ID_H263, MKTAG('H', '2', '6', '3') }, ^~~~~~~~~~~~~~~~ AV_CODEC_ID_H263 /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:82:26: note: expanded from macro 'AV_CODEC_ID_H263' #define AV_CODEC_ID_H263 CODEC_ID_H263 ^ /opt/homebrew/Cellar/ffmpeg/5.1-with-options_2/include/libavcodec/codec_id.h:54:5: note: 'AV_CODEC_ID_H263' declared here AV_CODEC_ID_H263, ^ In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg.cpp:50: In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg_impl.hpp:81: /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:154:7: error: use of undeclared identifier 'CODEC_ID_H263P'; did you mean 'AV_CODEC_ID_H263P'? { AV_CODEC_ID_H263P, MKTAG('H', '2', '6', '3') }, ^~~~~~~~~~~~~~~~~ AV_CODEC_ID_H263P /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:83:27: note: expanded from macro 'AV_CODEC_ID_H263P' #define AV_CODEC_ID_H263P CODEC_ID_H263P ^ /opt/homebrew/Cellar/ffmpeg/5.1-with-options_2/include/libavcodec/codec_id.h:69:5: note: 'AV_CODEC_ID_H263P' declared here AV_CODEC_ID_H263P, ^ In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg.cpp:50: In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg_impl.hpp:81: /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:155:7: error: use of undeclared identifier 'CODEC_ID_H263I'; did you mean 'AV_CODEC_ID_H263I'? { AV_CODEC_ID_H263I, MKTAG('I', '2', '6', '3') }, /* intel h263 */ ^~~~~~~~~~~~~~~~~ AV_CODEC_ID_H263I /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:84:27: note: expanded from macro 'AV_CODEC_ID_H263I' #define AV_CODEC_ID_H263I CODEC_ID_H263I ^ /opt/homebrew/Cellar/ffmpeg/5.1-with-options_2/include/libavcodec/codec_id.h:70:5: note: 'AV_CODEC_ID_H263I' declared here AV_CODEC_ID_H263I, ^ In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg.cpp:50: In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg_impl.hpp:81: /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:156:7: error: use of undeclared identifier 'CODEC_ID_H261'; did you mean 'AV_CODEC_ID_H261'? { AV_CODEC_ID_H261, MKTAG('H', '2', '6', '1') }, ^~~~~~~~~~~~~~~~ AV_CODEC_ID_H261 /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:85:26: note: expanded from macro 'AV_CODEC_ID_H261' #define AV_CODEC_ID_H261 CODEC_ID_H261 ^ /opt/homebrew/Cellar/ffmpeg/5.1-with-options_2/include/libavcodec/codec_id.h:53:5: note: 'AV_CODEC_ID_H261' declared here AV_CODEC_ID_H261, ^ In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg.cpp:50: In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg_impl.hpp:81: /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:159:7: error: use of undeclared identifier 'CODEC_ID_H263P'; did you mean 'AV_CODEC_ID_H263P'? { AV_CODEC_ID_H263P, MKTAG('U', '2', '6', '3') }, ^~~~~~~~~~~~~~~~~ AV_CODEC_ID_H263P /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:83:27: note: expanded from macro 'AV_CODEC_ID_H263P' #define AV_CODEC_ID_H263P CODEC_ID_H263P ^ /opt/homebrew/Cellar/ffmpeg/5.1-with-options_2/include/libavcodec/codec_id.h:69:5: note: 'AV_CODEC_ID_H263P' declared here AV_CODEC_ID_H263P, ^ In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg.cpp:50: In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg_impl.hpp:81: /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:160:7: error: use of undeclared identifier 'CODEC_ID_H263P'; did you mean 'AV_CODEC_ID_H263P'? { AV_CODEC_ID_H263P, MKTAG('v', 'i', 'v', '1') }, ^~~~~~~~~~~~~~~~~ AV_CODEC_ID_H263P /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:83:27: note: expanded from macro 'AV_CODEC_ID_H263P' #define AV_CODEC_ID_H263P CODEC_ID_H263P ^ /opt/homebrew/Cellar/ffmpeg/5.1-with-options_2/include/libavcodec/codec_id.h:69:5: note: 'AV_CODEC_ID_H263P' declared here AV_CODEC_ID_H263P, ^ In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg.cpp:50: In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg_impl.hpp:81: /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:162:7: error: use of undeclared identifier 'CODEC_ID_MPEG4'; did you mean 'AV_CODEC_ID_MPEG4'? { AV_CODEC_ID_MPEG4, MKTAG('F', 'M', 'P', '4') }, ^~~~~~~~~~~~~~~~~ AV_CODEC_ID_MPEG4 /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:86:27: note: expanded from macro 'AV_CODEC_ID_MPEG4' #define AV_CODEC_ID_MPEG4 CODEC_ID_MPEG4 ^ /opt/homebrew/Cellar/ffmpeg/5.1-with-options_2/include/libavcodec/codec_id.h:62:5: note: 'AV_CODEC_ID_MPEG4' declared here AV_CODEC_ID_MPEG4, ^ In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg.cpp:50: In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg_impl.hpp:81: /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:163:7: error: use of undeclared identifier 'CODEC_ID_MPEG4'; did you mean 'AV_CODEC_ID_MPEG4'? { AV_CODEC_ID_MPEG4, MKTAG('D', 'I', 'V', 'X') }, ^~~~~~~~~~~~~~~~~ AV_CODEC_ID_MPEG4 /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:86:27: note: expanded from macro 'AV_CODEC_ID_MPEG4' #define AV_CODEC_ID_MPEG4 CODEC_ID_MPEG4 ^ /opt/homebrew/Cellar/ffmpeg/5.1-with-options_2/include/libavcodec/codec_id.h:62:5: note: 'AV_CODEC_ID_MPEG4' declared here AV_CODEC_ID_MPEG4, ^ In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg.cpp:50: In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg_impl.hpp:81: /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:164:7: error: use of undeclared identifier 'CODEC_ID_MPEG4'; did you mean 'AV_CODEC_ID_MPEG4'? { AV_CODEC_ID_MPEG4, MKTAG('D', 'X', '5', '0') }, ^~~~~~~~~~~~~~~~~ AV_CODEC_ID_MPEG4 /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:86:27: note: expanded from macro 'AV_CODEC_ID_MPEG4' #define AV_CODEC_ID_MPEG4 CODEC_ID_MPEG4 ^ /opt/homebrew/Cellar/ffmpeg/5.1-with-options_2/include/libavcodec/codec_id.h:62:5: note: 'AV_CODEC_ID_MPEG4' declared here AV_CODEC_ID_MPEG4, ^ In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg.cpp:50: In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg_impl.hpp:81: /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:165:7: error: use of undeclared identifier 'CODEC_ID_MPEG4'; did you mean 'AV_CODEC_ID_MPEG4'? { AV_CODEC_ID_MPEG4, MKTAG('X', 'V', 'I', 'D') }, ^~~~~~~~~~~~~~~~~ AV_CODEC_ID_MPEG4 /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:86:27: note: expanded from macro 'AV_CODEC_ID_MPEG4' #define AV_CODEC_ID_MPEG4 CODEC_ID_MPEG4 ^ /opt/homebrew/Cellar/ffmpeg/5.1-with-options_2/include/libavcodec/codec_id.h:62:5: note: 'AV_CODEC_ID_MPEG4' declared here AV_CODEC_ID_MPEG4, ^ In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg.cpp:50: In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg_impl.hpp:81: /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:166:7: error: use of undeclared identifier 'CODEC_ID_MPEG4'; did you mean 'AV_CODEC_ID_MPEG4'? { AV_CODEC_ID_MPEG4, MKTAG('M', 'P', '4', 'S') }, ^~~~~~~~~~~~~~~~~ AV_CODEC_ID_MPEG4 /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:86:27: note: expanded from macro 'AV_CODEC_ID_MPEG4' #define AV_CODEC_ID_MPEG4 CODEC_ID_MPEG4 ^ /opt/homebrew/Cellar/ffmpeg/5.1-with-options_2/include/libavcodec/codec_id.h:62:5: note: 'AV_CODEC_ID_MPEG4' declared here AV_CODEC_ID_MPEG4, ^ In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg.cpp:50: In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg_impl.hpp:81: /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:167:7: error: use of undeclared identifier 'CODEC_ID_MPEG4'; did you mean 'AV_CODEC_ID_MPEG4'? { AV_CODEC_ID_MPEG4, MKTAG('M', '4', 'S', '2') }, ^~~~~~~~~~~~~~~~~ AV_CODEC_ID_MPEG4 /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:86:27: note: expanded from macro 'AV_CODEC_ID_MPEG4' #define AV_CODEC_ID_MPEG4 CODEC_ID_MPEG4 ^ /opt/homebrew/Cellar/ffmpeg/5.1-with-options_2/include/libavcodec/codec_id.h:62:5: note: 'AV_CODEC_ID_MPEG4' declared here AV_CODEC_ID_MPEG4, ^ In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg.cpp:50: In file included from /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/cap_ffmpeg_impl.hpp:81: /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:168:7: error: use of undeclared identifier 'CODEC_ID_MPEG4'; did you mean 'AV_CODEC_ID_MPEG4'? { AV_CODEC_ID_MPEG4, MKTAG(0x04, 0, 0, 0) }, /* some broken avi use this */ ^~~~~~~~~~~~~~~~~ AV_CODEC_ID_MPEG4 /var/folders/ty/hlxp4fjd4dlcm9y08gnxgtyw0000gn/T/Rtmpmy3YCG/opencv-4.6.0/modules/videoio/src/ffmpeg_codecs.hpp:86:27: note: expanded from macro 'AV_CODEC_ID_MPEG4' #define AV_CODEC_ID_MPEG4 CODEC_ID_MPEG4 ^ /opt/homebrew/Cellar/ffmpeg/5.1-with-options_2/include/libavcodec/codec_id.h:62:5: note: 'AV_CODEC_ID_MPEG4' declared here AV_CODEC_ID_MPEG4, ^ fatal error: too many errors emitted, stopping now [-ferror-limit=] 1 warning and 20 errors generated. make[2]: *** [modules/videoio/CMakeFiles/opencv_videoio.dir/src/cap_ffmpeg.cpp.o] Error 1 make[1]: *** [modules/videoio/CMakeFiles/opencv_videoio.dir/all] Error 2 make: *** [all] Error 2 </code></pre></div> <h5 dir="auto">Steps to reproduce</h5> <h5 dir="auto">Issue submission checklist</h5> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I report the issue, it's not a question </li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I checked the problem with documentation, FAQ, open issues,<br> forum.opencv.org, Stack Overflow, etc and have not found any solution </li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I updated to the latest OpenCV version and the issue is still there </li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> There is reproducer code and related data files: videos, images, onnx, etc </li> </ul>
1
<p dir="auto">I use dendrogram with the following <code class="notranslate">ndarray</code></p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; Z.shape (36951, 4) &gt;&gt;&gt; dendrogram(Z)"><pre class="notranslate">&gt;&gt;&gt; Z.shape (36951, 4) &gt;&gt;&gt; dendrogram(Z)</pre></div> <p dir="auto">It returns the following error:</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Traceback (most recent call last): File &quot;&lt;console&gt;&quot;, line 1, in &lt;module&gt; File &quot;/home/pyk/.virtualenvs/project-lisa/local/lib/python2.7/site-packages/scipy/cluster/hierarchy.py&quot;, line 2294, in dendrogram above_threshold_color=above_threshold_color) File &quot;/home/pyk/.virtualenvs/project-lisa/local/lib/python2.7/site-packages/scipy/cluster/hierarchy.py&quot;, line 2582, in _dendrogram_calculate_info .... leaf_label_func, i, labels) File &quot;/home/pyk/.virtualenvs/project-lisa/local/lib/python2.7/site-packages/scipy/cluster/hierarchy.py&quot;, line 2332, in _append_singleton_leaf_node ivl.append(str(int(i))) RuntimeError: maximum recursion depth exceeded while getting the str of an object "><pre class="notranslate">Traceback (most recent call last): File <span class="pl-s"><span class="pl-pds">"</span>&lt;console&gt;<span class="pl-pds">"</span></span>, line 1, <span class="pl-k">in</span> <span class="pl-k">&lt;</span>module<span class="pl-k">&gt;</span> File <span class="pl-s"><span class="pl-pds">"</span>/home/pyk/.virtualenvs/project-lisa/local/lib/python2.7/site-packages/scipy/cluster/hierarchy.py<span class="pl-pds">"</span></span>, line 2294, <span class="pl-k">in</span> dendrogram above_threshold_color=above_threshold_color) File <span class="pl-s"><span class="pl-pds">"</span>/home/pyk/.virtualenvs/project-lisa/local/lib/python2.7/site-packages/scipy/cluster/hierarchy.py<span class="pl-pds">"</span></span>, line 2582, <span class="pl-k">in</span> _dendrogram_calculate_info .... leaf_label_func, i, labels) File <span class="pl-s"><span class="pl-pds">"</span>/home/pyk/.virtualenvs/project-lisa/local/lib/python2.7/site-packages/scipy/cluster/hierarchy.py<span class="pl-pds">"</span></span>, line 2332, <span class="pl-k">in</span> _append_singleton_leaf_node ivl.append(str(int(i))) RuntimeError: maximum recursion depth exceeded <span class="pl-k">while</span> getting the str of an object </pre></div> <p dir="auto">Scipy version</p> <div class="highlight highlight-source-shell notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="% pip freeze scipy==0.17.0"><pre class="notranslate">% pip freeze scipy==0.17.0</pre></div>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/449558/24775834/72fa00fc-1aec-11e7-81cd-6c60eb9a294a.png"><img src="https://cloud.githubusercontent.com/assets/449558/24775834/72fa00fc-1aec-11e7-81cd-6c60eb9a294a.png" alt="image" style="max-width: 100%;"></a><br> I'm trying to do a dendrogram:</p> <blockquote> <p dir="auto">ValueError: Linkage 'Z' uses the same cluster more than once.</p> </blockquote> <p dir="auto">Am I doing something wrong here?</p>
1
<p dir="auto">It shows only "Loading". It works on Chrome. I just clicked on your live sample and was linked to github and your angular2 typescript example not working on internet explorer 11 and safari on windows 10. When I put your code in visual studio 2015 and tested the sample, it is the same problem like on your website. Please fix!!! However when I use your Java script instead of typescript version on visual studio 2015, it works on all browsers.</p>
<p dir="auto">I am unable to render AngularJS 2.0 Beta 1 in Internet Explore.</p> <p dir="auto">I have stripped down a page to as small as possible and can reproduce the issue where all I have as an empty app component that references an html page.</p> <p dir="auto">Downgrading to Angular JS 2.0 Beta 0 resolves the issue.</p> <p dir="auto">Below is the stack trace of the error:</p> <p dir="auto">HTML1300: Navigation occurred.<br> File: localhost:8000<br> EXCEPTION: SyntaxError: The use of a keyword for an identifier is invalid<br> EXCEPTION: SyntaxError: The use of a keyword for an identifier is invalid<br> STACKTRACE:<br> SyntaxError: The use of a keyword for an identifier is invalid<br> at evalExpression (<a href="http://localhost:8000/lib/js/angular2.dev.js:452:5" rel="nofollow">http://localhost:8000/lib/js/angular2.dev.js:452:5</a>)<br> at TemplateCompiler.prototype._createViewFactoryRuntime (<a href="http://localhost:8000/lib/js/angular2.dev.js:23969:9" rel="nofollow">http://localhost:8000/lib/js/angular2.dev.js:23969:9</a>)<br> at Anonymous function (<a href="http://localhost:8000/lib/js/angular2.dev.js:23924:13" rel="nofollow">http://localhost:8000/lib/js/angular2.dev.js:23924:13</a>)<br> at run (<a href="http://localhost:8000/lib/js/angular2-polyfills.js:138:7" rel="nofollow">http://localhost:8000/lib/js/angular2-polyfills.js:138:7</a>)<br> at Anonymous function (<a href="http://localhost:8000/lib/js/angular2.dev.js:13247:15" rel="nofollow">http://localhost:8000/lib/js/angular2.dev.js:13247:15</a>)<br> at zoneBoundFn (<a href="http://localhost:8000/lib/js/angular2-polyfills.js:111:7" rel="nofollow">http://localhost:8000/lib/js/angular2-polyfills.js:111:7</a>)<br> at lib$es6$promise$$internal$$tryCatch (<a href="http://localhost:8000/lib/js/angular2-polyfills.js:1511:9" rel="nofollow">http://localhost:8000/lib/js/angular2-polyfills.js:1511:9</a>)<br> at lib$es6$promise$$internal$$invokeCallback (<a href="http://localhost:8000/lib/js/angular2-polyfills.js:1523:9" rel="nofollow">http://localhost:8000/lib/js/angular2-polyfills.js:1523:9</a>)<br> at Anonymous function (<a href="http://localhost:8000/lib/js/angular2-polyfills.js:2071:13" rel="nofollow">http://localhost:8000/lib/js/angular2-polyfills.js:2071:13</a>)<br> at Anonymous function (<a href="http://localhost:8000/lib/js/angular2-polyfills.js:243:5" rel="nofollow">http://localhost:8000/lib/js/angular2-polyfills.js:243:5</a>)</p> <p dir="auto">-----async gap-----<br> Error<br> at _getStacktraceWithCaughtError (<a href="http://localhost:8000" rel="nofollow">http://localhost:8000</a></p> <p dir="auto">SyntaxError: The use of a keyword for an identifier is invalid<br> {<br> [functions]: ,<br> <strong>proto</strong>: { },<br> description: "The use of a keyword for an identifier is invalid",<br> message: "The use of a keyword for an identifier is invalid",<br> name: "SyntaxError",<br> number: -2146827240,<br> stack: "SyntaxError: The use of a keyword for an identifier is invalid<br> at evalExpression (<a href="http://localhost:8000/lib/js/angular2.dev.js:452:5" rel="nofollow">http://localhost:8000/lib/js/angular2.dev.js:452:5</a>)<br> at TemplateCompiler.prototype._createViewFactoryRuntime (<a href="http://localhost:8000/lib/js/angular2.dev.js:23969:9" rel="nofollow">http://localhost:8000/lib/js/angular2.dev.js:23969:9</a>)<br> at Anonymous function (<a href="http://localhost:8000/lib/js/angular2.dev.js:23924:13" rel="nofollow">http://localhost:8000/lib/js/angular2.dev.js:23924:13</a>)<br> at run (<a href="http://localhost:8000/lib/js/angular2-polyfills.js:138:7" rel="nofollow">http://localhost:8000/lib/js/angular2-polyfills.js:138:7</a>)<br> at Anonymous function (<a href="http://localhost:8000/lib/js/angular2.dev.js:13247:15" rel="nofollow">http://localhost:8000/lib/js/angular2.dev.js:13247:15</a>)<br> at zoneBoundFn (<a href="http://localhost:8000/lib/js/angular2-polyfills.js:111:7" rel="nofollow">http://localhost:8000/lib/js/angular2-polyfills.js:111:7</a>)<br> at lib$es6$promise$$internal$$tryCatch (<a href="http://localhost:8000/lib/js/angular2-polyfills.js:1511:9" rel="nofollow">http://localhost:8000/lib/js/angular2-polyfills.js:1511:9</a>)<br> at lib$es6$promise$$internal$$invokeCallback (<a href="http://localhost:8000/lib/js/angular2-polyfills.js:1523:9" rel="nofollow">http://localhost:8000/lib/js/angular2-polyfills.js:1523:9</a>)<br> at Anonymous function (<a href="http://localhost:8000/lib/js/angular2-polyfills.js:2071:13" rel="nofollow">http://localhost:8000/lib/js/angular2-polyfills.js:2071:13</a>)<br> at Anonymous function (<a href="http://localhost:8000/lib/js/angular2-polyfills.js:243:5" rel="nofollow">http://localhost:8000/lib/js/angular2-polyfills.js:243:5</a>)"<br> }</p>
1
<h2 dir="auto"><g-emoji class="g-emoji" alias="information_source" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2139.png">ℹ</g-emoji> Computer information</h2> <ul dir="auto"> <li>Windows build number: Version 2004 Build 19041.388</li> <li>PowerToys version: 0.20.0</li> <li>PowerToy module: Run</li> </ul> <h2 dir="auto"><g-emoji class="g-emoji" alias="memo" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f4dd.png">📝</g-emoji> Provide detailed reproduction steps (if any)</h2> <ol dir="auto"> <li>Powertoys is set to run on startup</li> <li>Use the Alt+Space shortcut which is set to bring up Powertoys Run</li> </ol> <h3 dir="auto"><g-emoji class="g-emoji" alias="heavy_check_mark" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/2714.png">✔️</g-emoji> Expected result</h3> <p dir="auto">Powertoys Run appears</p> <h3 dir="auto"><g-emoji class="g-emoji" alias="x" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/274c.png">❌</g-emoji> Actual result</h3> <p dir="auto">An error dialogue appears with the following message:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Please open new issue in: https://github.com/microsoft/PowerToys/issues 1. upload log file: C:\Users\xwang\AppData\Local\Microsoft\PowerToys\PowerToys Run\Logs\1.0.0\2020-08-05.txt 2. copy below exception message Version: 1.0.0 OS Version: Microsoft Windows NT 10.0.19041.0 IntPtr Length: 8 x64: True Date: 08/05/2020 00:31:42 Exception: System.ObjectDisposedException: Cannot access a disposed object. Object name: 'Timer'. at System.Timers.Timer.set_Enabled(Boolean value) at System.Timers.Timer.Start() at PowerLauncher.MainWindow.OnVisibilityChanged(Object sender, DependencyPropertyChangedEventArgs e) at System.Windows.UIElement.RaiseDependencyPropertyChanged(EventPrivateKey key, DependencyPropertyChangedEventArgs args) at System.Windows.UIElement.OnIsVisibleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e) at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e) at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args) at System.Windows.UIElement.UpdateIsVisibleCache() at System.Windows.PresentationSource.RootChanged(Visual oldRoot, Visual newRoot) at System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value) at System.Windows.Interop.HwndSource.set_RootVisual(Visual value) at System.Windows.Window.SetRootVisual() at System.Windows.Window.SetRootVisualAndUpdateSTC() at System.Windows.Window.SetupInitialState(Double requestedTop, Double requestedLeft, Double requestedWidth, Double requestedHeight) at System.Windows.Window.CreateSourceWindow(Boolean duringShow) at System.Windows.Window.CreateSourceWindowDuringShow() at System.Windows.Window.SafeCreateWindowDuringShow() at System.Windows.Window.ShowHelper(Object booleanBox) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)"><pre class="notranslate"><code class="notranslate">Please open new issue in: https://github.com/microsoft/PowerToys/issues 1. upload log file: C:\Users\xwang\AppData\Local\Microsoft\PowerToys\PowerToys Run\Logs\1.0.0\2020-08-05.txt 2. copy below exception message Version: 1.0.0 OS Version: Microsoft Windows NT 10.0.19041.0 IntPtr Length: 8 x64: True Date: 08/05/2020 00:31:42 Exception: System.ObjectDisposedException: Cannot access a disposed object. Object name: 'Timer'. at System.Timers.Timer.set_Enabled(Boolean value) at System.Timers.Timer.Start() at PowerLauncher.MainWindow.OnVisibilityChanged(Object sender, DependencyPropertyChangedEventArgs e) at System.Windows.UIElement.RaiseDependencyPropertyChanged(EventPrivateKey key, DependencyPropertyChangedEventArgs args) at System.Windows.UIElement.OnIsVisibleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e) at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e) at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args) at System.Windows.UIElement.UpdateIsVisibleCache() at System.Windows.PresentationSource.RootChanged(Visual oldRoot, Visual newRoot) at System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value) at System.Windows.Interop.HwndSource.set_RootVisual(Visual value) at System.Windows.Window.SetRootVisual() at System.Windows.Window.SetRootVisualAndUpdateSTC() at System.Windows.Window.SetupInitialState(Double requestedTop, Double requestedLeft, Double requestedWidth, Double requestedHeight) at System.Windows.Window.CreateSourceWindow(Boolean duringShow) at System.Windows.Window.CreateSourceWindowDuringShow() at System.Windows.Window.SafeCreateWindowDuringShow() at System.Windows.Window.ShowHelper(Object booleanBox) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler) </code></pre></div> <h2 dir="auto">Attempted troubleshooting</h2> <ol dir="auto"> <li>Quit Powertoys from tray icon</li> <li>Start Powertoys again</li> <li>Powertoys Run still fails to start, shows the same error</li> </ol> <hr> <ol dir="auto"> <li>Quit Powertoys from tray icon</li> <li><strong>End Powertoys Launcher in Task Manager</strong></li> <li>Start Powertoys again</li> <li>Powertoys functions as expected<br> <a href="https://github.com/microsoft/PowerToys/files/5022112/2020-08-05.txt">2020-08-05.txt</a></li> </ol> <h2 dir="auto"><g-emoji class="g-emoji" alias="camera" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f4f7.png">📷</g-emoji> Screenshots</h2> <p dir="auto"><em>Are there any useful screenshots? WinKey+Shift+S and then just paste them directly into the form</em></p>
<p dir="auto">Popup tells me to give y'all this.</p> <p dir="auto"><a href="https://github.com/microsoft/PowerToys/files/5009460/2020-07-31.txt">2020-07-31.txt</a></p> <p dir="auto">Version: 1.0.0<br> OS Version: Microsoft Windows NT 10.0.19041.0<br> IntPtr Length: 8<br> x64: True<br> Date: 07/31/2020 17:29:59<br> Exception:<br> System.ObjectDisposedException: Cannot access a disposed object.<br> Object name: 'Timer'.<br> at System.Timers.Timer.set_Enabled(Boolean value)<br> at System.Timers.Timer.Start()<br> at PowerLauncher.MainWindow.OnVisibilityChanged(Object sender, DependencyPropertyChangedEventArgs e)<br> at System.Windows.UIElement.RaiseDependencyPropertyChanged(EventPrivateKey key, DependencyPropertyChangedEventArgs args)<br> at System.Windows.UIElement.OnIsVisibleChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)<br> at System.Windows.DependencyObject.OnPropertyChanged(DependencyPropertyChangedEventArgs e)<br> at System.Windows.FrameworkElement.OnPropertyChanged(DependencyPropertyChangedEventArgs e)<br> at System.Windows.DependencyObject.NotifyPropertyChange(DependencyPropertyChangedEventArgs args)<br> at System.Windows.UIElement.UpdateIsVisibleCache()<br> at System.Windows.PresentationSource.RootChanged(Visual oldRoot, Visual newRoot)<br> at System.Windows.Interop.HwndSource.set_RootVisualInternal(Visual value)<br> at System.Windows.Interop.HwndSource.set_RootVisual(Visual value)<br> at System.Windows.Window.SetRootVisual()<br> at System.Windows.Window.SetRootVisualAndUpdateSTC()<br> at System.Windows.Window.SetupInitialState(Double requestedTop, Double requestedLeft, Double requestedWidth, Double requestedHeight)<br> at System.Windows.Window.CreateSourceWindow(Boolean duringShow)<br> at System.Windows.Window.CreateSourceWindowDuringShow()<br> at System.Windows.Window.SafeCreateWindowDuringShow()<br> at System.Windows.Window.ShowHelper(Object booleanBox)<br> at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)<br> at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)</p>
1
<p dir="auto">Application crashed on startup only with electron 1.3.3 and 1.3.4, electron 1.3.2 works good.<br> OS: ubuntu 16.04 64bit<br> Error log:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="# # Fatal error in ../../v8/src/objects.cc, line 2631 # Check failed: receiver-&gt;IsJSFunction(). # ==== C stack trace =============================== 1: V8_Fatal 2: 0x7fb76fac8906 3: v8::Object::CreationContext() 4: atom::V8ValueConverter::FromV8Object(v8::Local&lt;v8::Object&gt;, atom::V8ValueConverter::FromV8ValueState*, v8::Isolate*) const 5: atom::V8ValueConverter::FromV8ValueImpl(atom::V8ValueConverter::FromV8ValueState*, v8::Local&lt;v8::Value&gt;, v8::Isolate*) const 6: atom::V8ValueConverter::FromV8Object(v8::Local&lt;v8::Object&gt;, atom::V8ValueConverter::FromV8ValueState*, v8::Isolate*) const 7: atom::V8ValueConverter::FromV8ValueImpl(atom::V8ValueConverter::FromV8ValueState*, v8::Local&lt;v8::Value&gt;, v8::Isolate*) const 8: atom::V8ValueConverter::FromV8Object(v8::Local&lt;v8::Object&gt;, atom::V8ValueConverter::FromV8ValueState*, v8::Isolate*) const 9: atom::V8ValueConverter::FromV8ValueImpl(atom::V8ValueConverter::FromV8ValueState*, v8::Local&lt;v8::Value&gt;, v8::Isolate*) const 10: atom::V8ValueConverter::FromV8Object(v8::Local&lt;v8::Object&gt;, atom::V8ValueConverter::FromV8ValueState*, v8::Isolate*) const 11: atom::V8ValueConverter::FromV8ValueImpl(atom::V8ValueConverter::FromV8ValueState*, v8::Local&lt;v8::Value&gt;, v8::Isolate*) const 12: atom::V8ValueConverter::FromV8Object(v8::Local&lt;v8::Object&gt;, atom::V8ValueConverter::FromV8ValueState*, v8::Isolate*) const 13: atom::V8ValueConverter::FromV8ValueImpl(atom::V8ValueConverter::FromV8ValueState*, v8::Local&lt;v8::Value&gt;, v8::Isolate*) const 14: atom::V8ValueConverter::FromV8Array(v8::Local&lt;v8::Array&gt;, atom::V8ValueConverter::FromV8ValueState*, v8::Isolate*) const 15: atom::V8ValueConverter::FromV8ValueImpl(atom::V8ValueConverter::FromV8ValueState*, v8::Local&lt;v8::Value&gt;, v8::Isolate*) const 16: atom::V8ValueConverter::FromV8Value(v8::Local&lt;v8::Value&gt;, v8::Local&lt;v8::Context&gt;) const 17: mate::Converter&lt;base::ListValue, void&gt;::FromV8(v8::Isolate*, v8::Local&lt;v8::Value&gt;, base::ListValue*) 18: mate::internal::ArgumentHolder&lt;3ul, base::ListValue const&amp;&gt;::ArgumentHolder(mate::Arguments*, int) 19: mate::internal::Invoker&lt;mate::internal::IndicesHolder&lt;0ul, 1ul, 2ul, 3ul&gt;, atom::api::WebContents*, bool, std::basic_string&lt;unsigned short, base::string16_char_traits, std::allocator&lt;unsigned short&gt; &gt; const&amp;, base::ListValue const&amp;&gt;::Invoker(mate::Arguments*, int) 20: mate::internal::Dispatcher&lt;bool (atom::api::WebContents*, bool, std::basic_string&lt;unsigned short, base::string16_char_traits, std::allocator&lt;unsigned short&gt; &gt; const&amp;, base::ListValue const&amp;)&gt;::DispatchToCallback(v8::FunctionCallbackInfo&lt;v8::Value&gt; const&amp;) 21: v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo&lt;v8::Value&gt; const&amp;)) 22: 0x7fb76f72b1b7 23: 0x7fb76f72cf86 24: 0x3faa24408ba7 "><pre class="notranslate"><code class="notranslate"># # Fatal error in ../../v8/src/objects.cc, line 2631 # Check failed: receiver-&gt;IsJSFunction(). # ==== C stack trace =============================== 1: V8_Fatal 2: 0x7fb76fac8906 3: v8::Object::CreationContext() 4: atom::V8ValueConverter::FromV8Object(v8::Local&lt;v8::Object&gt;, atom::V8ValueConverter::FromV8ValueState*, v8::Isolate*) const 5: atom::V8ValueConverter::FromV8ValueImpl(atom::V8ValueConverter::FromV8ValueState*, v8::Local&lt;v8::Value&gt;, v8::Isolate*) const 6: atom::V8ValueConverter::FromV8Object(v8::Local&lt;v8::Object&gt;, atom::V8ValueConverter::FromV8ValueState*, v8::Isolate*) const 7: atom::V8ValueConverter::FromV8ValueImpl(atom::V8ValueConverter::FromV8ValueState*, v8::Local&lt;v8::Value&gt;, v8::Isolate*) const 8: atom::V8ValueConverter::FromV8Object(v8::Local&lt;v8::Object&gt;, atom::V8ValueConverter::FromV8ValueState*, v8::Isolate*) const 9: atom::V8ValueConverter::FromV8ValueImpl(atom::V8ValueConverter::FromV8ValueState*, v8::Local&lt;v8::Value&gt;, v8::Isolate*) const 10: atom::V8ValueConverter::FromV8Object(v8::Local&lt;v8::Object&gt;, atom::V8ValueConverter::FromV8ValueState*, v8::Isolate*) const 11: atom::V8ValueConverter::FromV8ValueImpl(atom::V8ValueConverter::FromV8ValueState*, v8::Local&lt;v8::Value&gt;, v8::Isolate*) const 12: atom::V8ValueConverter::FromV8Object(v8::Local&lt;v8::Object&gt;, atom::V8ValueConverter::FromV8ValueState*, v8::Isolate*) const 13: atom::V8ValueConverter::FromV8ValueImpl(atom::V8ValueConverter::FromV8ValueState*, v8::Local&lt;v8::Value&gt;, v8::Isolate*) const 14: atom::V8ValueConverter::FromV8Array(v8::Local&lt;v8::Array&gt;, atom::V8ValueConverter::FromV8ValueState*, v8::Isolate*) const 15: atom::V8ValueConverter::FromV8ValueImpl(atom::V8ValueConverter::FromV8ValueState*, v8::Local&lt;v8::Value&gt;, v8::Isolate*) const 16: atom::V8ValueConverter::FromV8Value(v8::Local&lt;v8::Value&gt;, v8::Local&lt;v8::Context&gt;) const 17: mate::Converter&lt;base::ListValue, void&gt;::FromV8(v8::Isolate*, v8::Local&lt;v8::Value&gt;, base::ListValue*) 18: mate::internal::ArgumentHolder&lt;3ul, base::ListValue const&amp;&gt;::ArgumentHolder(mate::Arguments*, int) 19: mate::internal::Invoker&lt;mate::internal::IndicesHolder&lt;0ul, 1ul, 2ul, 3ul&gt;, atom::api::WebContents*, bool, std::basic_string&lt;unsigned short, base::string16_char_traits, std::allocator&lt;unsigned short&gt; &gt; const&amp;, base::ListValue const&amp;&gt;::Invoker(mate::Arguments*, int) 20: mate::internal::Dispatcher&lt;bool (atom::api::WebContents*, bool, std::basic_string&lt;unsigned short, base::string16_char_traits, std::allocator&lt;unsigned short&gt; &gt; const&amp;, base::ListValue const&amp;)&gt;::DispatchToCallback(v8::FunctionCallbackInfo&lt;v8::Value&gt; const&amp;) 21: v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo&lt;v8::Value&gt; const&amp;)) 22: 0x7fb76f72b1b7 23: 0x7fb76f72cf86 24: 0x3faa24408ba7 </code></pre></div>
<ul dir="auto"> <li>Electron version: 1.3.3 +</li> <li>Operating system: Windows 7<br> After version 1.3.3 of electron when using webContents.send and sending the request variable, from an http listening server, as a parameter, the application will crash with the following npm errors:<br> npm ERR! Windows_NT 6.1.7601<br> npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:<br> npm ERR! node v4.4.7<br> npm ERR! npm v2.15.8<br> npm ERR! code ELIFECYCLE<br> npm ERR! [email protected] start: <code class="notranslate">electron server.js</code><br> npm ERR! Exit status 3221225477<br> npm ERR!<br> npm ERR! Failed at the [email protected] start script 'elect<br> npm ERR! This is most likely a problem with the test-app<br> npm ERR! not with npm itself.<br> npm ERR! Tell the author that this fails on your system:<br> npm ERR! electron server.js<br> npm ERR! You can get information on how to open an issue<br> npm ERR! npm bugs test-app<br> npm ERR! Or if that isn't available, you can get their in<br> npm ERR!<br> npm ERR! npm owner ls test-app<br> npm ERR! There is likely additional logging output above.</li> </ul> <p dir="auto">I have tested this for most versions prior to 1.3.3 with no issues. Only 1.3.3 and 1.3.4 are currently showing the issue above.</p> <p dir="auto">A quick example script to try is:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="// electron main var app = require('electron').app; var BrowserWindow = require('electron').BrowserWindow; //var app = require(&quot;app&quot;); app.on(&quot;ready&quot;, function () { var ipc = require(&quot;electron&quot;).ipcMain; var window = new BrowserWindow({show: true}); window.loadURL(&quot;file://&quot; + __dirname + &quot;/window.html&quot;); window.webContents.once(&quot;did-finish-load&quot;, function () { var http = require(&quot;http&quot;); var crypto = require(&quot;crypto&quot;); var port = crypto.randomBytes(16).toString(&quot;hex&quot;); var server = http.createServer(function(req,res) { ipc.once(port, function(ev, status, head, body) { res.writeHead(status, head); res.end(body); }); window.webContents.send(&quot;ping&quot;, req, &quot;two&quot;); }); server.listen(9021); console.log(&quot;http://localhost:9021/&quot;); }); });"><pre class="notranslate"><code class="notranslate">// electron main var app = require('electron').app; var BrowserWindow = require('electron').BrowserWindow; //var app = require("app"); app.on("ready", function () { var ipc = require("electron").ipcMain; var window = new BrowserWindow({show: true}); window.loadURL("file://" + __dirname + "/window.html"); window.webContents.once("did-finish-load", function () { var http = require("http"); var crypto = require("crypto"); var port = crypto.randomBytes(16).toString("hex"); var server = http.createServer(function(req,res) { ipc.once(port, function(ev, status, head, body) { res.writeHead(status, head); res.end(body); }); window.webContents.send("ping", req, "two"); }); server.listen(9021); console.log("http://localhost:9021/"); }); }); </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="//RenderProcess var ipc = require(&quot;electron&quot;).ipcRenderer; console.log(&quot;second&quot;); // server handler window.addEventListener(&quot;load&quot;, function () { console.log(&quot;start&quot;); var ipc = require(&quot;electron&quot;).ipcRenderer; ipc.on(&quot;ping&quot;, function(event, reg, port) { console.log(reg); console.log(port); }); }, false);"><pre class="notranslate"><code class="notranslate">//RenderProcess var ipc = require("electron").ipcRenderer; console.log("second"); // server handler window.addEventListener("load", function () { console.log("start"); var ipc = require("electron").ipcRenderer; ipc.on("ping", function(event, reg, port) { console.log(reg); console.log(port); }); }, false); </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="//HTML &lt;!doctype html&gt; &lt;html&gt;&lt;head&gt;&lt;script src=&quot;window.js&quot;&gt;&lt;/script&gt;&lt;/head&gt;&lt;body&gt;&lt;/body&gt;&lt;/html&gt; "><pre class="notranslate"><code class="notranslate">//HTML &lt;!doctype html&gt; &lt;html&gt;&lt;head&gt;&lt;script src="window.js"&gt;&lt;/script&gt;&lt;/head&gt;&lt;body&gt;&lt;/body&gt;&lt;/html&gt; </code></pre></div>
1
<p dir="auto">I believe that it's a better choice to have the std library on crates.io, instead of in /usr/local. It makes it easier to have alternative standard libraries, and the compilers shouldn't really link with it automatically anyway. It also makes it easier to build for new targets, making cross compilation multiple grades of magnitude easier.</p> <p dir="auto">The standard library requires on a rust version, but implementing a rustc version requirement shouldn't be too hard.</p> <p dir="auto">The only argument I've so far heard against this, is that it'd require people to update their Cargo.lock if they are using cargo, or manually update the std if they are not. While this is true, most people <em>will</em> be using cargo or a dependency manager, and updating the lock file shouldn't be an issue.</p> <p dir="auto">Today I heard rust prefers explicit over implicit. Not implicitly linking against all the standard libraries would follow this.</p>
<p dir="auto">This is somewhat related to issue <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="49827422" data-permission-text="Title is private" data-url="https://github.com/rust-lang/rust/issues/19240" data-hovercard-type="issue" data-hovercard-url="/rust-lang/rust/issues/19240/hovercard" href="https://github.com/rust-lang/rust/issues/19240">#19240</a>.</p> <p dir="auto">By putting the standard libraries all in one seperate repository, or even each one in their own, it'd make porting rust conciderably easier. It would remove the need to work inside the rustc file tree, and it would make the build process way easier.</p>
1
<p dir="auto">I had to download them from netdna.bootstrapcdn.com/bootstrap/3.0.0/fonts/glyphicons-halflings-regular.XXX</p>
<p dir="auto">When using a customized version of Bootstrap 3.0 the Glyph icons don't work. The font file sizes differ from the "normal" version.</p>
1
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/zeit/next.js/issues">issues</a> of this repository and believe that this is not a duplicate.</li> </ul> <h2 dir="auto">In short</h2> <p dir="auto">Using with-apollo with <code class="notranslate">url</code> or <code class="notranslate">query</code> params in pages leads to strange behaviour.</p> <h2 dir="auto">What works:</h2> <p dir="auto">I extended the <code class="notranslate">index.js</code> in the <em>with-apollo</em>-example, just to print the current query:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export default withData(props =&gt; ( &lt;Main&gt; {(props.url) &amp;&amp; console.log(props.url.query)} // THIS WILL BECOME IMPORTANT! &lt;Header /&gt; &lt;Submit /&gt; &lt;PostList /&gt; &lt;/Main&gt; ))"><pre class="notranslate"><span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-en">withData</span><span class="pl-kos">(</span><span class="pl-s1">props</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">(</span> <span class="pl-c1">&lt;</span><span class="pl-ent">Main</span><span class="pl-c1">&gt;</span> <span class="pl-kos">{</span><span class="pl-kos">(</span><span class="pl-s1">props</span><span class="pl-kos">.</span><span class="pl-c1">url</span><span class="pl-kos">)</span> <span class="pl-c1">&amp;&amp;</span> <span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">props</span><span class="pl-kos">.</span><span class="pl-c1">url</span><span class="pl-kos">.</span><span class="pl-c1">query</span><span class="pl-kos">)</span><span class="pl-kos">}</span> // THIS WILL BECOME IMPORTANT! <span class="pl-c1">&lt;</span><span class="pl-ent">Header</span> <span class="pl-c1">/</span><span class="pl-c1">&gt;</span> <span class="pl-c1">&lt;</span><span class="pl-ent">Submit</span> <span class="pl-c1">/</span><span class="pl-c1">&gt;</span> <span class="pl-c1">&lt;</span><span class="pl-ent">PostList</span> <span class="pl-c1">/</span><span class="pl-c1">&gt;</span> <span class="pl-c1">&lt;</span><span class="pl-c1">/</span><span class="pl-ent">Main</span><span class="pl-c1">&gt;</span> <span class="pl-kos">)</span><span class="pl-kos">)</span></pre></div> <p dir="auto">The apollo data (the posts) are fetched correctly <strong>on the server</strong> and on the client i get them baked into <code class="notranslate">__NEXT_DATA__ as </code>apollo store`.</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content=" __NEXT_DATA__ = {&quot;props&quot;:{&quot;serverState&quot;:{&quot;apollo&quot;:{&quot;data&quot;:{&quot;Post:cjcq65k4ua4h801287p9h0rw9&quot;:{&quot;id&quot;:&quot;cjcq65k4ua4h801287p9h0rw9&quot;,&quot;titl"><pre class="notranslate"> <span class="pl-c1">__NEXT_DATA__</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span><span class="pl-s">"props"</span>:<span class="pl-kos">{</span><span class="pl-s">"serverState"</span>:<span class="pl-kos">{</span><span class="pl-s">"apollo"</span>:<span class="pl-kos">{</span><span class="pl-s">"data"</span>:<span class="pl-kos">{</span><span class="pl-s">"Post:cjcq65k4ua4h801287p9h0rw9"</span>:<span class="pl-kos">{</span><span class="pl-s">"id"</span>:<span class="pl-s">"cjcq65k4ua4h801287p9h0rw9"</span><span class="pl-kos">,</span>"titl</pre></div> <h2 dir="auto">What does not work:</h2> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export default withData(props =&gt; ( &lt;Main&gt; {console.log(props.url.query)} // JUST A MINOR CHANGE..? &lt;Header /&gt; &lt;Submit /&gt; &lt;PostList /&gt; &lt;/Main&gt; ))"><pre class="notranslate"><span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-en">withData</span><span class="pl-kos">(</span><span class="pl-s1">props</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">(</span> <span class="pl-c1">&lt;</span><span class="pl-ent">Main</span><span class="pl-c1">&gt;</span> <span class="pl-kos">{</span><span class="pl-smi">console</span><span class="pl-kos">.</span><span class="pl-en">log</span><span class="pl-kos">(</span><span class="pl-s1">props</span><span class="pl-kos">.</span><span class="pl-c1">url</span><span class="pl-kos">.</span><span class="pl-c1">query</span><span class="pl-kos">)</span><span class="pl-kos">}</span> // JUST A MINOR CHANGE..? <span class="pl-c1">&lt;</span><span class="pl-ent">Header</span> <span class="pl-c1">/</span><span class="pl-c1">&gt;</span> <span class="pl-c1">&lt;</span><span class="pl-ent">Submit</span> <span class="pl-c1">/</span><span class="pl-c1">&gt;</span> <span class="pl-c1">&lt;</span><span class="pl-ent">PostList</span> <span class="pl-c1">/</span><span class="pl-c1">&gt;</span> <span class="pl-c1">&lt;</span><span class="pl-c1">/</span><span class="pl-ent">Main</span><span class="pl-c1">&gt;</span> <span class="pl-kos">)</span><span class="pl-kos">)</span></pre></div> <p dir="auto">Now on the client the apollo store is <strong>empty</strong> and data gets fetched <strong>on the client</strong>:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="__NEXT_DATA__ = {&quot;props&quot;:{&quot;serverState&quot;:{&quot;apollo&quot;:{&quot;data&quot;:{}}}},"><pre class="notranslate"><span class="pl-c1">__NEXT_DATA__</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span><span class="pl-s">"props"</span>:<span class="pl-kos">{</span><span class="pl-s">"serverState"</span>:<span class="pl-kos">{</span><span class="pl-s">"apollo"</span>:<span class="pl-kos">{</span><span class="pl-s">"data"</span>:<span class="pl-kos">{</span><span class="pl-kos">}</span><span class="pl-kos">}</span><span class="pl-kos">}</span><span class="pl-kos">}</span><span class="pl-kos">,</span></pre></div> <h2 dir="auto">Steps to Reproduce (for bugs)</h2> <ol dir="auto"> <li>Get an Apollo next repo like <a href="https://github.com/ads1018/next-apollo-example">https://github.com/ads1018/next-apollo-example</a></li> <li><code class="notranslate">console.log()</code> the query like above</li> <li>See loading state on client</li> </ol> <h2 dir="auto">What am i trying to accomplish?</h2> <p dir="auto">I want to <strong>export a static</strong> app with routes like:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="/posts/My-first-post /posts/My-other-post"><pre class="notranslate"><code class="notranslate">/posts/My-first-post /posts/My-other-post </code></pre></div> <p dir="auto">where posts are known at compile time. For that i fetch all post ids at export-time/compile-time in <code class="notranslate">next.config.js</code> and map them to pages with variables, in the <code class="notranslate">exportPathMap</code>-function, like this:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// ... routes[`/posts/${slug(post.title)}`] = {page: '/posts', query: {post_id: post.id}} // ... return routes"><pre class="notranslate"><span class="pl-c">// ...</span> <span class="pl-s1">routes</span><span class="pl-kos">[</span><span class="pl-s">`/posts/<span class="pl-s1"><span class="pl-kos">${</span><span class="pl-en">slug</span><span class="pl-kos">(</span><span class="pl-s1">post</span><span class="pl-kos">.</span><span class="pl-c1">title</span><span class="pl-kos">)</span><span class="pl-kos">}</span></span>`</span><span class="pl-kos">]</span> <span class="pl-c1">=</span> <span class="pl-kos">{</span><span class="pl-c1">page</span>: <span class="pl-s">'/posts'</span><span class="pl-kos">,</span> <span class="pl-c1">query</span>: <span class="pl-kos">{</span><span class="pl-c1">post_id</span>: <span class="pl-s1">post</span><span class="pl-kos">.</span><span class="pl-c1">id</span><span class="pl-kos">}</span><span class="pl-kos">}</span> <span class="pl-c">// ...</span> <span class="pl-k">return</span> <span class="pl-s1">routes</span></pre></div> <p dir="auto">I use graphql wrappers and use the query parameter to fetch the actual data, and the <code class="notranslate">next-apollo</code> package to get the data in <code class="notranslate">getInitialProps</code>:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="graphql( PostDataQuery, { options: ({url}) =&gt; { return {variables: {id: url.query.post_id}} } )(MyPostComponent)"><pre class="notranslate"><span class="pl-en">graphql</span><span class="pl-kos">(</span> <span class="pl-v">PostDataQuery</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-en">options</span>: <span class="pl-kos">(</span><span class="pl-kos">{</span>url<span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-kos">{</span><span class="pl-c1">variables</span>: <span class="pl-kos">{</span><span class="pl-c1">id</span>: <span class="pl-s1">url</span><span class="pl-kos">.</span><span class="pl-c1">query</span><span class="pl-kos">.</span><span class="pl-c1">post_id</span><span class="pl-kos">}</span><span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos"></span> <span class="pl-kos">)</span><span class="pl-kos">(</span><span class="pl-v">MyPostComponent</span><span class="pl-kos">)</span></pre></div> <p dir="auto">But as described above, the data i loaded on the client and not on the server if <strong>i use query parameters</strong>, and the apollo store is not created or not sent to the client.</p> <p dir="auto">For example this works:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// ... return {variables: {id: 'some-hard-coded-id'}} // ..."><pre class="notranslate"><span class="pl-c">// ... </span> <span class="pl-k">return</span> <span class="pl-kos">{</span><span class="pl-c1">variables</span>: <span class="pl-kos">{</span><span class="pl-c1">id</span>: <span class="pl-s">'some-hard-coded-id'</span><span class="pl-kos">}</span><span class="pl-kos">}</span> <span class="pl-c">// ...</span></pre></div> <h2 dir="auto">Your Environment</h2> <table role="table"> <thead> <tr> <th>Tech</th> <th>Version</th> </tr> </thead> <tbody> <tr> <td>next</td> <td>v4.2.3</td> </tr> <tr> <td>node</td> <td>v9.2.0</td> </tr> <tr> <td>OS</td> <td>MacOS</td> </tr> <tr> <td>browser</td> <td>Chrome</td> </tr> <tr> <td>etc</td> <td></td> </tr> </tbody> </table>
<p dir="auto">First off, thanks for the with-react-intl example! It was very helpful for me in setting up localization in my app.</p> <p dir="auto">Currently, the example uses a custom script to generate a JSON of the default messages at <code class="notranslate">lang/en.json</code>. The README explains that you can send this file to your translator for translation.</p> <p dir="auto">The react-intl-translations-manager library already does something very similar: it generates JSON files of the default messages for the languages that you specify. It's a bit nicer, though, because it's easily configurable, outputs useful command line messages, and most importantly will insert missing messages into the lang/locale.json files.</p> <p dir="auto">Maybe it would be better to replace the default-lang script with react-intl-translations-manager? If so, I'll submit a pull request with this change.</p>
0
<p dir="auto">Hi,<br> is there any plan to implement the inverse short-time fourier transform (ISTFT)? I saw that STFT is already implemented, but I cannot find the inverse transform. This would be a very important feature for people working on audio and speech.</p> <p dir="auto">Thank you!</p> <p dir="auto">Mirco</p>
<p dir="auto">They would be super useful as fundamental ops (and autograd ops).</p> <p dir="auto">STFT can be implemented in terms of ConvTranspose, see github.com/pseeth/pytorch-stft</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> stft</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> istft</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> window functions: bartlett, hann, hamming, blackman</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> fft, ifft, irfft, rfft</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> fftshift, ifftshift</li> </ul> <p dir="auto">cc <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/mruberry/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/mruberry">@mruberry</a></p>
1
<p dir="auto"><strong>Describe the bug</strong><br> I have a query which worked in sqlalchemy version 1.3.9, and after upgrading to 1.4.4 It started throwing exception of "Missing property _is_subquery". the query purpose is to count how many shared indexes are between 2 tables.</p> <p dir="auto"><strong>Expected behavior</strong><br> return a number.</p> <p dir="auto"><strong>Code to Reproduce</strong><br> attached a code I pieced from my unit testing:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="table_a = Table(...) table_b = select( [col for col in table_a.c if col.name != 'index'] + [(func.row_number().over()).label('index')] ) index_a = table_a.c['index'] index_b = table_b.c['index'] count = select([func.count()])\ .where(index_a.in_(select([index_b])))\ .execute().scalar()"><pre class="notranslate"><span class="pl-s1">table_a</span> <span class="pl-c1">=</span> <span class="pl-v">Table</span>(...) <span class="pl-s1">table_b</span> <span class="pl-c1">=</span> <span class="pl-en">select</span>( [<span class="pl-s1">col</span> <span class="pl-k">for</span> <span class="pl-s1">col</span> <span class="pl-c1">in</span> <span class="pl-s1">table_a</span>.<span class="pl-s1">c</span> <span class="pl-k">if</span> <span class="pl-s1">col</span>.<span class="pl-s1">name</span> <span class="pl-c1">!=</span> <span class="pl-s">'index'</span>] <span class="pl-c1">+</span> [(<span class="pl-s1">func</span>.<span class="pl-en">row_number</span>().<span class="pl-en">over</span>()).<span class="pl-en">label</span>(<span class="pl-s">'index'</span>)] ) <span class="pl-s1">index_a</span> <span class="pl-c1">=</span> <span class="pl-s1">table_a</span>.<span class="pl-s1">c</span>[<span class="pl-s">'index'</span>] <span class="pl-s1">index_b</span> <span class="pl-c1">=</span> <span class="pl-s1">table_b</span>.<span class="pl-s1">c</span>[<span class="pl-s">'index'</span>] <span class="pl-s1">count</span> <span class="pl-c1">=</span> <span class="pl-en">select</span>([<span class="pl-s1">func</span>.<span class="pl-en">count</span>()])\ .<span class="pl-en">where</span>(<span class="pl-s1">index_a</span>.<span class="pl-en">in_</span>(<span class="pl-en">select</span>([<span class="pl-s1">index_b</span>])))\ .<span class="pl-en">execute</span>().<span class="pl-en">scalar</span>()</pre></div> <p dir="auto">I've tried adding to the subquery <code class="notranslate">.subquery()</code> or <code class="notranslate">.alias('something')</code> but it didn't help</p> <p dir="auto"><strong>Error</strong></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="../tests.py:59: in run count = select([func.count()]).where( &lt;string&gt;:2: in execute ??? ../../../.virtualenvs/myvirtualenv/lib/python3.8/site-packages/sqlalchemy/util/deprecations.py:390: in warned return fn(*args, **kwargs) ../../../.virtualenvs/myvirtualenv/lib/python3.8/site-packages/sqlalchemy/sql/base.py:932: in execute return e._execute_clauseelement( ../../../.virtualenvs/myvirtualenv/lib/python3.8/site-packages/sqlalchemy/engine/base.py:3064: in _execute_clauseelement return connection._execute_clauseelement( ../../../.virtualenvs/myvirtualenv/lib/python3.8/site-packages/sqlalchemy/engine/base.py:1381: in _execute_clauseelement compiled_sql, extracted_params, cache_hit = elem._compile_w_cache( ../../../.virtualenvs/myvirtualenv/lib/python3.8/site-packages/sqlalchemy/sql/elements.py:535: in _compile_w_cache compiled_sql = self._compiler( ../../../.virtualenvs/myvirtualenv/lib/python3.8/site-packages/sqlalchemy/sql/elements.py:568: in _compiler return dialect.statement_compiler(dialect, self, **kw) ../../../.virtualenvs/myvirtualenv/lib/python3.8/site-packages/sqlalchemy/sql/compiler.py:766: in __init__ Compiled.__init__(self, dialect, statement, **kwargs) ../../../.virtualenvs/myvirtualenv/lib/python3.8/site-packages/sqlalchemy/sql/compiler.py:455: in __init__ self.string = self.process(self.statement, **compile_kwargs) ../../../.virtualenvs/myvirtualenv/lib/python3.8/site-packages/sqlalchemy/sql/compiler.py:490: in process return obj._compiler_dispatch(self, **kwargs) ../../../.virtualenvs/myvirtualenv/lib/python3.8/site-packages/sqlalchemy/sql/visitors.py:81: in _compiler_dispatch return meth(self, **kw) ../../../.virtualenvs/myvirtualenv/lib/python3.8/site-packages/sqlalchemy/sql/compiler.py:2964: in visit_select compile_state = select_stmt._compile_state_factory( ../../../.virtualenvs/myvirtualenv/lib/python3.8/site-packages/sqlalchemy/sql/base.py:492: in create_for_statement return klass.create_for_statement(statement, compiler, **kw) ../../../.virtualenvs/myvirtualenv/lib/python3.8/site-packages/sqlalchemy/sql/base.py:490: in create_for_statement return cls(statement, compiler, **kw) ../../../.virtualenvs/myvirtualenv/lib/python3.8/site-packages/sqlalchemy/sql/selectable.py:4065: in __init__ self.froms = self._get_froms(statement) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = &lt;sqlalchemy.sql.selectable.SelectState object at 0x7fb64a4c2680&gt; statement = &lt;sqlalchemy.sql.selectable.Select object at 0x7fb62a881400&gt; def _get_froms(self, statement): seen = set() froms = [] for item in itertools.chain( itertools.chain.from_iterable( [element._from_objects for element in statement._raw_columns] ), itertools.chain.from_iterable( [ element._from_objects for element in statement._where_criteria ] ), self.from_clauses, ): &gt; if item._is_subquery and item.element is statement: E AttributeError: 'Select' object has no attribute '_is_subquery'"><pre class="notranslate"><code class="notranslate">../tests.py:59: in run count = select([func.count()]).where( &lt;string&gt;:2: in execute ??? ../../../.virtualenvs/myvirtualenv/lib/python3.8/site-packages/sqlalchemy/util/deprecations.py:390: in warned return fn(*args, **kwargs) ../../../.virtualenvs/myvirtualenv/lib/python3.8/site-packages/sqlalchemy/sql/base.py:932: in execute return e._execute_clauseelement( ../../../.virtualenvs/myvirtualenv/lib/python3.8/site-packages/sqlalchemy/engine/base.py:3064: in _execute_clauseelement return connection._execute_clauseelement( ../../../.virtualenvs/myvirtualenv/lib/python3.8/site-packages/sqlalchemy/engine/base.py:1381: in _execute_clauseelement compiled_sql, extracted_params, cache_hit = elem._compile_w_cache( ../../../.virtualenvs/myvirtualenv/lib/python3.8/site-packages/sqlalchemy/sql/elements.py:535: in _compile_w_cache compiled_sql = self._compiler( ../../../.virtualenvs/myvirtualenv/lib/python3.8/site-packages/sqlalchemy/sql/elements.py:568: in _compiler return dialect.statement_compiler(dialect, self, **kw) ../../../.virtualenvs/myvirtualenv/lib/python3.8/site-packages/sqlalchemy/sql/compiler.py:766: in __init__ Compiled.__init__(self, dialect, statement, **kwargs) ../../../.virtualenvs/myvirtualenv/lib/python3.8/site-packages/sqlalchemy/sql/compiler.py:455: in __init__ self.string = self.process(self.statement, **compile_kwargs) ../../../.virtualenvs/myvirtualenv/lib/python3.8/site-packages/sqlalchemy/sql/compiler.py:490: in process return obj._compiler_dispatch(self, **kwargs) ../../../.virtualenvs/myvirtualenv/lib/python3.8/site-packages/sqlalchemy/sql/visitors.py:81: in _compiler_dispatch return meth(self, **kw) ../../../.virtualenvs/myvirtualenv/lib/python3.8/site-packages/sqlalchemy/sql/compiler.py:2964: in visit_select compile_state = select_stmt._compile_state_factory( ../../../.virtualenvs/myvirtualenv/lib/python3.8/site-packages/sqlalchemy/sql/base.py:492: in create_for_statement return klass.create_for_statement(statement, compiler, **kw) ../../../.virtualenvs/myvirtualenv/lib/python3.8/site-packages/sqlalchemy/sql/base.py:490: in create_for_statement return cls(statement, compiler, **kw) ../../../.virtualenvs/myvirtualenv/lib/python3.8/site-packages/sqlalchemy/sql/selectable.py:4065: in __init__ self.froms = self._get_froms(statement) _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ self = &lt;sqlalchemy.sql.selectable.SelectState object at 0x7fb64a4c2680&gt; statement = &lt;sqlalchemy.sql.selectable.Select object at 0x7fb62a881400&gt; def _get_froms(self, statement): seen = set() froms = [] for item in itertools.chain( itertools.chain.from_iterable( [element._from_objects for element in statement._raw_columns] ), itertools.chain.from_iterable( [ element._from_objects for element in statement._where_criteria ] ), self.from_clauses, ): &gt; if item._is_subquery and item.element is statement: E AttributeError: 'Select' object has no attribute '_is_subquery' </code></pre></div> <p dir="auto"><strong>Versions.</strong></p> <ul dir="auto"> <li>OS: Mac BigSur</li> <li>Python: 3.8.6</li> <li>SQLAlchemy: 1.4.4</li> <li>Database: PrestoDB</li> <li>DBAPI:</li> </ul> <p dir="auto">Thanks</p>
<p dir="auto">I use a <code class="notranslate">.in_(select([...]))</code> construction: something like <code class="notranslate">select(scan.xxx).where(scan.id.in_(select(port.scan.id.where(...))))</code> (the exact code is <a href="https://github.com/cea-sec/ivre/blob/master/ivre/db/sql/__init__.py#L1955">here</a>).</p> <p dir="auto">this code used to work (1.3.23) and no longer works (1.4.4). I would like to understand whether my code was wrong in the first place or if the API has changed, and how I should code that.</p> <p dir="auto">Using <code class="notranslate">git bisect</code>, <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/sqlalchemy/sqlalchemy/commit/a9b62055bfa61c11e9fe0b2984437e2c3e32bf0e/hovercard" href="https://github.com/sqlalchemy/sqlalchemy/commit/a9b62055bfa61c11e9fe0b2984437e2c3e32bf0e"><tt>a9b6205</tt></a> seems to be the "guilty" commit.</p> <p dir="auto">With the current SQLAchemy code, I get the following stacktrace:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Traceback (most recent call last): File &quot;&lt;string&gt;&quot;, line 1, in &lt;module&gt; File &quot;/VENV/lib/python3.9/site-packages/ivre/db/sql/__init__.py&quot;, line 1497, in count return self.db.execute( File &quot;&lt;string&gt;&quot;, line 2, in execute File &quot;/VENV/lib/python3.9/site-packages/sqlalchemy/util/deprecations.py&quot;, line 390, in warned return fn(*args, **kwargs) File &quot;/VENV/lib/python3.9/site-packages/sqlalchemy/engine/base.py&quot;, line 3009, in execute return connection.execute(statement, *multiparams, **params) File &quot;/VENV/lib/python3.9/site-packages/sqlalchemy/engine/base.py&quot;, line 1200, in execute return meth(self, multiparams, params, _EMPTY_EXECUTION_OPTS) File &quot;/VENV/lib/python3.9/site-packages/sqlalchemy/sql/elements.py&quot;, line 313, in _execute_on_connection return connection._execute_clauseelement( File &quot;/VENV/lib/python3.9/site-packages/sqlalchemy/engine/base.py&quot;, line 1381, in _execute_clauseelement compiled_sql, extracted_params, cache_hit = elem._compile_w_cache( File &quot;/VENV/lib/python3.9/site-packages/sqlalchemy/sql/elements.py&quot;, line 533, in _compile_w_cache compiled_sql = self._compiler( File &quot;/VENV/lib/python3.9/site-packages/sqlalchemy/sql/elements.py&quot;, line 566, in _compiler return dialect.statement_compiler(dialect, self, **kw) File &quot;/VENV/lib/python3.9/site-packages/sqlalchemy/sql/compiler.py&quot;, line 766, in __init__ Compiled.__init__(self, dialect, statement, **kwargs) File &quot;/VENV/lib/python3.9/site-packages/sqlalchemy/sql/compiler.py&quot;, line 455, in __init__ self.string = self.process(self.statement, **compile_kwargs) File &quot;/VENV/lib/python3.9/site-packages/sqlalchemy/sql/compiler.py&quot;, line 490, in process return obj._compiler_dispatch(self, **kwargs) File &quot;/VENV/lib/python3.9/site-packages/sqlalchemy/sql/visitors.py&quot;, line 81, in _compiler_dispatch return meth(self, **kw) File &quot;/VENV/lib/python3.9/site-packages/sqlalchemy/sql/compiler.py&quot;, line 2964, in visit_select compile_state = select_stmt._compile_state_factory( File &quot;/VENV/lib/python3.9/site-packages/sqlalchemy/sql/base.py&quot;, line 492, in create_for_statement return klass.create_for_statement(statement, compiler, **kw) File &quot;/VENV/lib/python3.9/site-packages/sqlalchemy/orm/context.py&quot;, line 603, in create_for_statement SelectState.__init__(self, self.statement, compiler, **kw) File &quot;/VENV/lib/python3.9/site-packages/sqlalchemy/sql/selectable.py&quot;, line 4065, in __init__ self.froms = self._get_froms(statement) File &quot;/VENV/lib/python3.9/site-packages/sqlalchemy/sql/selectable.py&quot;, line 4145, in _get_froms if item._is_subquery and item.element is statement: AttributeError: 'Select' object has no attribute '_is_subquery'"><pre class="notranslate"><code class="notranslate">Traceback (most recent call last): File "&lt;string&gt;", line 1, in &lt;module&gt; File "/VENV/lib/python3.9/site-packages/ivre/db/sql/__init__.py", line 1497, in count return self.db.execute( File "&lt;string&gt;", line 2, in execute File "/VENV/lib/python3.9/site-packages/sqlalchemy/util/deprecations.py", line 390, in warned return fn(*args, **kwargs) File "/VENV/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 3009, in execute return connection.execute(statement, *multiparams, **params) File "/VENV/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1200, in execute return meth(self, multiparams, params, _EMPTY_EXECUTION_OPTS) File "/VENV/lib/python3.9/site-packages/sqlalchemy/sql/elements.py", line 313, in _execute_on_connection return connection._execute_clauseelement( File "/VENV/lib/python3.9/site-packages/sqlalchemy/engine/base.py", line 1381, in _execute_clauseelement compiled_sql, extracted_params, cache_hit = elem._compile_w_cache( File "/VENV/lib/python3.9/site-packages/sqlalchemy/sql/elements.py", line 533, in _compile_w_cache compiled_sql = self._compiler( File "/VENV/lib/python3.9/site-packages/sqlalchemy/sql/elements.py", line 566, in _compiler return dialect.statement_compiler(dialect, self, **kw) File "/VENV/lib/python3.9/site-packages/sqlalchemy/sql/compiler.py", line 766, in __init__ Compiled.__init__(self, dialect, statement, **kwargs) File "/VENV/lib/python3.9/site-packages/sqlalchemy/sql/compiler.py", line 455, in __init__ self.string = self.process(self.statement, **compile_kwargs) File "/VENV/lib/python3.9/site-packages/sqlalchemy/sql/compiler.py", line 490, in process return obj._compiler_dispatch(self, **kwargs) File "/VENV/lib/python3.9/site-packages/sqlalchemy/sql/visitors.py", line 81, in _compiler_dispatch return meth(self, **kw) File "/VENV/lib/python3.9/site-packages/sqlalchemy/sql/compiler.py", line 2964, in visit_select compile_state = select_stmt._compile_state_factory( File "/VENV/lib/python3.9/site-packages/sqlalchemy/sql/base.py", line 492, in create_for_statement return klass.create_for_statement(statement, compiler, **kw) File "/VENV/lib/python3.9/site-packages/sqlalchemy/orm/context.py", line 603, in create_for_statement SelectState.__init__(self, self.statement, compiler, **kw) File "/VENV/lib/python3.9/site-packages/sqlalchemy/sql/selectable.py", line 4065, in __init__ self.froms = self._get_froms(statement) File "/VENV/lib/python3.9/site-packages/sqlalchemy/sql/selectable.py", line 4145, in _get_froms if item._is_subquery and item.element is statement: AttributeError: 'Select' object has no attribute '_is_subquery' </code></pre></div> <p dir="auto">Thanks in advance!</p>
1
<h3 dir="auto">System info</h3> <ul dir="auto"> <li>Playwright Version: <code class="notranslate">@playwright/[email protected]</code></li> <li>Operating System: OpenSUSE Leap 15.4</li> <li>Browser: Electron</li> <li>Other info:</li> </ul> <p dir="auto"></p><div class="Box Box--condensed my-2"> <div class="Box-header f6"> <p class="mb-0 text-bold"> <a href="https://github.com/microsoft/playwright/blob/6db64985656b5a536b9aa8f1405356380dbc5d58/packages/playwright-core/src/server/trace/recorder/tracing.ts#L176">playwright/packages/playwright-core/src/server/trace/recorder/tracing.ts</a> </p> <p class="mb-0 color-fg-muted"> Line 176 in <a data-pjax="true" class="commit-tease-sha" href="/microsoft/playwright/commit/6db64985656b5a536b9aa8f1405356380dbc5d58">6db6498</a> </p> </div> <div itemprop="text" class="Box-body p-0 blob-wrapper blob-wrapper-embedded data"> <table class="highlight tab-size mb-0 js-file-line-container" data-tab-size="8" data-paste-markdown-skip=""> <tbody><tr class="border-0"> <td id="L176" class="blob-num border-0 px-3 py-0 color-bg-default" data-line-number="176"></td> <td id="LC176" class="blob-code border-0 px-3 py-0 color-bg-default blob-code-inner js-file-line"> <span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-en">_changeTraceName</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">.</span><span class="pl-c1">_state</span><span class="pl-kos">,</span> <span class="pl-s1">options</span><span class="pl-kos">.</span><span class="pl-c1">name</span><span class="pl-kos">)</span><span class="pl-kos">;</span> </td> </tr> </tbody></table> </div> </div> <br> That line needs an <code class="notranslate">await</code>.<p></p> <h3 dir="auto">Source code</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I provided exact source code that allows reproducing the issue locally.</li> </ul> <p dir="auto"><strong>Link to the GitHub repository with the repro</strong></p> <p dir="auto">Unfortunately, I am having difficulty producing a minimal test case.<br> I am seeing errors along the lines of:</p> <blockquote> <p dir="auto">tracing.stop: ENOENT: no such file or directory, open '/tmp/playwright-artifacts-GZT396/0ff296554d68f4361c8d9ce7c529610f-pwnetcopy-1.network'</p> </blockquote> <p dir="auto">This happens when there's a test failure, and on per-describe <code class="notranslate">afterAll</code> I'm calling (effectively) <code class="notranslate">_electron.launch().context().tracing.stop()</code>. This also produces truncated trace zip files (which are unusable). Manually hacking the installed <code class="notranslate">playwright-core</code> to add an <code class="notranslate">await</code> at the indicated position fixes the issue.</p> <p dir="auto">While my repository is at <a href="https://github.com/mook-as/rd/">https://github.com/mook-as/rd/</a> I doubt that will be useful in reproducing the bug.</p> <p dir="auto"><strong>Steps</strong></p> <ul dir="auto"> <li>Run the test (<code class="notranslate">npm run test:e2e e2e/preferences.spec.ts</code> in my repo).</li> <li>When it fails, try to use the produced trace file (<code class="notranslate">e2e/reports/*.zip</code> in my case) at <a href="https://trace.playwright.dev/" rel="nofollow">https://trace.playwright.dev/</a></li> </ul> <p dir="auto"><strong>Expected</strong></p> <p dir="auto">The trace zip file works correctly.</p> <p dir="auto"><strong>Actual</strong></p> <p dir="auto">The trace zip file is truncated, because an exception was thrown in the middle of writing it.</p> <p dir="auto"><strong>Additional Information</strong></p> <p dir="auto">I'm not certain I can deal with the CLA, so I'm not producing a PR directly. Sorry about that.</p>
<h3 dir="auto">System info</h3> <ul dir="auto"> <li>Playwright Version: [v1.32.3]</li> <li>Operating System: [Windows]</li> <li>Browser: [All]</li> <li>Other info: I don't have this issue on Mac OS this is Windows only!<br> in .gitignore tests dir is ignored but with exclusions: <a href="https://github.com/tagspaces/tagspaces/blob/execute-playwright-without-jest/.gitignore#L94">https://github.com/tagspaces/tagspaces/blob/execute-playwright-without-jest/.gitignore#L94</a></li> </ul> <h3 dir="auto">Source code</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I provided exact source code that allows reproducing the issue locally.</li> </ul> <p dir="auto"><strong>Steps</strong></p> <ul dir="auto"> <li>clone tagspaces repo: git clone <a href="https://github.com/tagspaces/tagspaces">https://github.com/tagspaces/tagspaces</a></li> <li>npm install &amp;&amp; npm run build-e2e</li> <li>You can repeat this issue removing 'cross-env' from this command line:<br> <a href="https://github.com/tagspaces/tagspaces/blob/execute-playwright-without-jest/package.json#L122">https://github.com/tagspaces/tagspaces/blob/execute-playwright-without-jest/package.json#L122</a><br> and run <code class="notranslate">npm run test-playwright</code></li> </ul> <p dir="auto"><strong>Expected</strong></p> <p dir="auto">Playwright to find tests in testing dir defined in config:<br> <a href="https://github.com/tagspaces/tagspaces/blob/execute-playwright-without-jest/playwright.config.js#L13">https://github.com/tagspaces/tagspaces/blob/execute-playwright-without-jest/playwright.config.js#L13</a></p> <p dir="auto"><strong>Actual</strong></p> <p dir="auto">[Describe actual behavior]</p> <p dir="auto"><a href="https://github.com/tagspaces/tagspaces/actions/runs/4809491601/jobs/8560812420">https://github.com/tagspaces/tagspaces/actions/runs/4809491601/jobs/8560812420</a></p> <p dir="auto">No tests found error in github actions</p>
0
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=janders" rel="nofollow">Jon Anderson</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-186?redirect=false" rel="nofollow">SPR-186</a></strong> and commented</p> <p dir="auto">Attached is patch to Errors, EscapedErrors, and BindException that allows the nested path used for validation to be manipulated like a stack with a popNestedPath and a pushNestedPath methods.</p> <p dir="auto">Being able to nest forms together can save a lot of time and development effort. Nesting validators has the same effect. However, it's difficult to nest validators because the path used in errors needs to be set absolutely. So if a Validator makes use of a SubValidator for a portion of it's work, it might need to modify the nestedPath and return it to it's previous state before leaving the validate() method. For example. A PersonForm has a AddressForm, and is validated with a PersonValidator that makes use of a AddressValidator. The validate method for PersonValidator would be as follows:</p> <p dir="auto">public void validate() {<br> //other field validation here.<br> pushNestedPath("address");<br> addressValidator().validate();<br> popNestedPath();<br> }</p> <p dir="auto">This way the PersonForm can be nested into other forms, such as CompanyForm, ApplicationForm, etc, without code changes.</p> <hr> <p dir="auto"><strong>Attachments:</strong></p> <ul dir="auto"> <li><a href="https://jira.spring.io/secure/attachment/10116/nestedPath.patch" rel="nofollow">nestedPath.patch</a> (<em>2.86 kB</em>)</li> </ul>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=alankstewart" rel="nofollow">Alan Stewart (personal account)</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-4683?redirect=false" rel="nofollow">SPR-4683</a></strong> and commented</p> <p dir="auto">Since upgrading from 2.5.2 to 2.5.3 I am getting a NullPointerException when attempting to load a org.springframework.context.support.ResourceBundleMessageSource in a context file that is imported by a parent context file, eg.</p> <p dir="auto">&lt;beans ....<br> &lt;import resource="classpath:applicationContext-core.xml" /&gt;<br> ...<br> &lt;/beans&gt;</p> <p dir="auto">where the "messageSource" bean is contained in the imported resource.</p> <p dir="auto">This did not happen with 2.5.2. After doing a search in the changelog for 2.5.3 here in JIRA, I can't seem to find an explanation why.</p> <p dir="auto">The following stack trace is generated on startup of the container:<br> Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'messageSource' defined in class path resource [applicationContext-core.xml]: Initialization of bean failed; nested exception is java.lang.NullPointerException<br> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:478)<br> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)<br> at java.security.AccessController.doPrivileged(Native Method)<br> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)<br> at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)<br> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:217)<br> at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)<br> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)<br> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:168)<br> at org.springframework.context.support.AbstractApplicationContext.initMessageSource(AbstractApplicationContext.java:628)<br> at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:369)<br> at org.springframework.context.support.ClassPathXmlApplicationContext.&lt;init&gt;(ClassPathXmlApplicationContext.java:139)<br> at org.springframework.context.support.ClassPathXmlApplicationContext.&lt;init&gt;(ClassPathXmlApplicationContext.java:83)<br> at au.com.woolworths.pap.server.PapTcpServer.main(PapTcpServer.java:82)<br> Caused by: java.lang.NullPointerException<br> at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.getCacheKey(AbstractAutoProxyCreator.java:322)<br> at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.predictBeanType(AbstractAutoProxyCreator.java:245)<br> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.predictBeanType(AbstractAutowireCapableBeanFactory.java:531)<br> at org.springframework.beans.factory.support.AbstractBeanFactory.isFactoryBean(AbstractBeanFactory.java:1174)<br> at org.springframework.beans.factory.support.DefaultListableBeanFactory.getBeanNamesForType(DefaultListableBeanFactory.java:222)<br> at org.springframework.beans.factory.BeanFactoryUtils.beanNamesForTypeIncludingAncestors(BeanFactoryUtils.java:187)<br> at org.springframework.aop.framework.autoproxy.BeanFactoryAdvisorRetrievalHelper.findAdvisorBeans(BeanFactoryAdvisorRetrievalHelper.java:73)<br> at org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.findCandidateAdvisors(AbstractAdvisorAutoProxyCreator.java:98)<br> at org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.findEligibleAdvisors(AbstractAdvisorAutoProxyCreator.java:84)<br> at org.springframework.aop.framework.autoproxy.AbstractAdvisorAutoProxyCreator.getAdvicesAndAdvisorsForBean(AbstractAdvisorAutoProxyCreator.java:66)<br> at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.wrapIfNecessary(AbstractAutoProxyCreator.java:345)<br> at org.springframework.aop.framework.autoproxy.AbstractAutoProxyCreator.postProcessAfterInitialization(AbstractAutoProxyCreator.java:309)<br> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyBeanPostProcessorsAfterInitialization(AbstractAutowireCapableBeanFactory.java:361)<br> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1342)<br> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:471)<br> ... 13 more</p> <p dir="auto">Alan</p> <hr> <p dir="auto"><strong>Affects:</strong> 2.5.3</p> <p dir="auto"><strong>Issue Links:</strong></p> <ul dir="auto"> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398087407" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/9381" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/9381/hovercard" href="https://github.com/spring-projects/spring-framework/issues/9381">#9381</a> Use of factory-method caused application to fail in 2.5.3 but worked under all other previous 2.5 versions. (<em><strong>"is duplicated by"</strong></em>)</li> </ul> <p dir="auto">3 votes, 2 watchers</p>
0
<p dir="auto">It's useful for editors &amp; data files to be able to enumerate constants. So instead of having <code class="notranslate">"wrapS" : 1000</code> you can write <code class="notranslate">"wrapS" : "RepeatWrapping"</code>, or if you want to construct a drop down for all the different texture filter modes etc. What seems to be the best approach at the moment is to copy &amp; paste <code class="notranslate">TEXTURE_FILTER</code>, I think it would be better if they were just exported as is instead. Not only is it a whole lot cleaner than copy &amp; paste, but it also guarantees that they're in sync if new ones ever gets added or if it's changed.</p>
<p dir="auto">Next to <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="271087991" data-permission-text="Title is private" data-url="https://github.com/mrdoob/three.js/issues/12574" data-hovercard-type="issue" data-hovercard-url="/mrdoob/three.js/issues/12574/hovercard" href="https://github.com/mrdoob/three.js/issues/12574">#12574</a> part 2</p> <p dir="auto">The proposal is to use "enum like" object instead of wild constantes, this will prevent user against change them by error. And gain in readability about what values are usable in the same 'enum'</p> <p dir="auto">Example:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// RENDERER var CullFace = Object.freeze( { None: 0, Back: 1, ... } ); // MATERIALS var MaterialSide = Object.freeze( { Front: 0, Back: 1, ... } ); // TEXTURES var TextureMapping = Object.freeze( { UV: 0, CubeReflection: 1, ... } ); ..."><pre class="notranslate"><span class="pl-c">// RENDERER</span> <span class="pl-k">var</span> <span class="pl-v">CullFace</span> <span class="pl-c1">=</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">freeze</span><span class="pl-kos">(</span> <span class="pl-kos">{</span> <span class="pl-c1">None</span>: <span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-c1">Back</span>: <span class="pl-c1">1</span><span class="pl-kos">,</span> ... <span class="pl-kos">}</span> <span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// MATERIALS</span> <span class="pl-k">var</span> <span class="pl-v">MaterialSide</span> <span class="pl-c1">=</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">freeze</span><span class="pl-kos">(</span> <span class="pl-kos">{</span> <span class="pl-c1">Front</span>: <span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-c1">Back</span>: <span class="pl-c1">1</span><span class="pl-kos">,</span> ... <span class="pl-kos">}</span> <span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// TEXTURES</span> <span class="pl-k">var</span> <span class="pl-v">TextureMapping</span> <span class="pl-c1">=</span> <span class="pl-v">Object</span><span class="pl-kos">.</span><span class="pl-en">freeze</span><span class="pl-kos">(</span> <span class="pl-kos">{</span> <span class="pl-c1">UV</span>: <span class="pl-c1">0</span><span class="pl-kos">,</span> <span class="pl-c1">CubeReflection</span>: <span class="pl-c1">1</span><span class="pl-kos">,</span> ... <span class="pl-kos">}</span> <span class="pl-kos">)</span><span class="pl-kos">;</span> ...</pre></div> <p dir="auto">instead of</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export var RepeatWrapping = 1000; export var ClampToEdgeWrapping = 1001; export var MirroredRepeatWrapping = 1002; &lt;= dude ! I need a new wrapping type export var NearestFilter = 1003; export var NearestMipMapNearestFilter = 1004; export var NearestMipMapLinearFilter = 1005; export var LinearFilter = 1006; export var LinearMipMapNearestFilter = 1007; export var LinearMipMapLinearFilter = 1008; &lt;= Or damned, i need a new filter type, i will need to increase all type bellow... export var UnsignedByteType = 1009; export var ByteType = 1010; export var ShortType = 1011; export var UnsignedShortType = 1012;"><pre class="notranslate"><span class="pl-k">export</span> <span class="pl-k">var</span> <span class="pl-v">RepeatWrapping</span> <span class="pl-c1">=</span> <span class="pl-c1">1000</span><span class="pl-kos">;</span> <span class="pl-k">export</span> <span class="pl-k">var</span> <span class="pl-v">ClampToEdgeWrapping</span> <span class="pl-c1">=</span> <span class="pl-c1">1001</span><span class="pl-kos">;</span> <span class="pl-k">export</span> <span class="pl-k">var</span> <span class="pl-v">MirroredRepeatWrapping</span> <span class="pl-c1">=</span> <span class="pl-c1">1002</span><span class="pl-kos">;</span> <span class="pl-c1">&lt;</span><span class="pl-c1">=</span> <span class="pl-s1">dude</span> <span class="pl-c1">!</span> <span class="pl-c1">I</span> <span class="pl-c1">need</span> <span class="pl-c1">a</span> <span class="pl-c1">new</span> <span class="pl-c1">wrapping</span> <span class="pl-c1">type</span> <span class="pl-c1">export</span> <span class="pl-c1">var</span> <span class="pl-c1">NearestFilter</span> <span class="pl-c1">=</span> <span class="pl-c1">1003</span><span class="pl-kos">;</span> <span class="pl-k">export</span> <span class="pl-k">var</span> <span class="pl-c1">NearestMipMapNearestFilter</span> <span class="pl-c1">=</span> <span class="pl-c1">1004</span><span class="pl-kos">;</span> <span class="pl-k">export</span> <span class="pl-k">var</span> <span class="pl-c1">NearestMipMapLinearFilter</span> <span class="pl-c1">=</span> <span class="pl-c1">1005</span><span class="pl-kos">;</span> <span class="pl-k">export</span> <span class="pl-k">var</span> <span class="pl-c1">LinearFilter</span> <span class="pl-c1">=</span> <span class="pl-c1">1006</span><span class="pl-kos">;</span> <span class="pl-k">export</span> <span class="pl-k">var</span> <span class="pl-c1">LinearMipMapNearestFilter</span> <span class="pl-c1">=</span> <span class="pl-c1">1007</span><span class="pl-kos">;</span> <span class="pl-k">export</span> <span class="pl-k">var</span> <span class="pl-c1">LinearMipMapLinearFilter</span> <span class="pl-c1">=</span> <span class="pl-c1">1008</span><span class="pl-kos">;</span> <span class="pl-c1">&lt;=</span> <span class="pl-c1">Or</span> <span class="pl-c1">damned</span><span class="pl-kos">,</span> <span class="pl-c1">i</span> <span class="pl-c1">need</span> <span class="pl-c1">a</span> <span class="pl-c1">new</span> <span class="pl-c1">filter</span> <span class="pl-c1">type</span><span class="pl-kos">,</span> <span class="pl-c1">i</span> <span class="pl-c1">will</span> <span class="pl-c1">need</span> <span class="pl-c1">to</span> <span class="pl-c1">increase</span> <span class="pl-c1">all</span> <span class="pl-c1">type</span> <span class="pl-c1">bellow</span><span class="pl-kos">.</span><span class="pl-kos">.</span><span class="pl-kos">.</span> <span class="pl-k">export</span> <span class="pl-k">var</span> <span class="pl-c1">UnsignedByteType</span> <span class="pl-c1">=</span> <span class="pl-c1">1009</span><span class="pl-kos">;</span> <span class="pl-k">export</span> <span class="pl-k">var</span> <span class="pl-c1">ByteType</span> <span class="pl-c1">=</span> <span class="pl-c1">1010</span><span class="pl-kos">;</span> <span class="pl-k">export</span> <span class="pl-k">var</span> <span class="pl-c1">ShortType</span> <span class="pl-c1">=</span> <span class="pl-c1">1011</span><span class="pl-kos">;</span> <span class="pl-k">export</span> <span class="pl-k">var</span> <span class="pl-v">UnsignedShortType</span> <span class="pl-c1">=</span> <span class="pl-c1">1012</span><span class="pl-kos">;</span></pre></div> <p dir="auto">and the call become:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="material.blending = THREE.Blending.Normal"><pre class="notranslate"><span class="pl-s1">material</span><span class="pl-kos">.</span><span class="pl-c1">blending</span> <span class="pl-c1">=</span> <span class="pl-c1">THREE</span><span class="pl-kos">.</span><span class="pl-c1">Blending</span><span class="pl-kos">.</span><span class="pl-c1">Normal</span></pre></div> <p dir="auto">instead of</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="material.blending = THREE.NormalBlending"><pre class="notranslate"><span class="pl-s1">material</span><span class="pl-kos">.</span><span class="pl-c1">blending</span> <span class="pl-c1">=</span> <span class="pl-c1">THREE</span><span class="pl-kos">.</span><span class="pl-c1">NormalBlending</span></pre></div>
1
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I tried using the <code class="notranslate">@types/react-redux</code> package and had problems.</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I tried using the latest stable version of tsc. <a href="https://www.npmjs.com/package/typescript" rel="nofollow">https://www.npmjs.com/package/typescript</a></li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have a question that is inappropriate for <a href="https://stackoverflow.com/" rel="nofollow">StackOverflow</a>. (Please ask any appropriate questions there).</li> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> <a href="https://github.com/blog/821-mention-somebody-they-re-notified">Mention</a> the authors (see <code class="notranslate">Definitions by:</code> in <code class="notranslate">index.d.ts</code>) so they can respond. <ul dir="auto"> <li>Authors: <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/tkqubo/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tkqubo">@tkqubo</a>, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/seansfkelley/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/seansfkelley">@seansfkelley</a> <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/thasner/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/thasner">@thasner</a></li> </ul> </li> </ul> <p dir="auto">When using <code class="notranslate">connect()</code> in a React.Component, it loses its props when creating the element using TSX.</p> <p dir="auto">for example:</p> <div class="highlight highlight-source-tsx notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import React from 'react' import { connect } from 'react-redux' import { State } from '../actions' export interface RemoteFilterProps { name: string; access: string; group: string; onSelect: FilterProps['onSelect']; } export class RemoteFilter extends React.Component&lt;RemoteFilterProps, RemoteFilterState&gt; { /* ... */ } export default connect((state: State): Partial&lt;RemoteFilterProps&gt; =&gt; { return { access: state.access } })(RemoteFilter)"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-smi">React</span> <span class="pl-k">from</span> <span class="pl-s">'react'</span> <span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">connect</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'react-redux'</span> <span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-smi">State</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'../actions'</span> <span class="pl-k">export</span> <span class="pl-k">interface</span> <span class="pl-smi">RemoteFilterProps</span> <span class="pl-kos">{</span> <span class="pl-c1">name</span>: <span class="pl-smi">string</span><span class="pl-kos">;</span> <span class="pl-c1">access</span>: <span class="pl-smi">string</span><span class="pl-kos">;</span> <span class="pl-c1">group</span>: <span class="pl-smi">string</span><span class="pl-kos">;</span> <span class="pl-c1">onSelect</span>: <span class="pl-smi">FilterProps</span><span class="pl-kos">[</span><span class="pl-s">'onSelect'</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">export</span> <span class="pl-k">class</span> <span class="pl-smi">RemoteFilter</span> <span class="pl-k">extends</span> <span class="pl-smi">React</span><span class="pl-kos">.</span><span class="pl-c1">Component</span><span class="pl-kos">&lt;</span><span class="pl-smi">RemoteFilterProps</span><span class="pl-kos">,</span> <span class="pl-smi">RemoteFilterState</span><span class="pl-kos">&gt;</span> <span class="pl-kos">{</span> <span class="pl-c">/* ... */</span> <span class="pl-kos">}</span> <span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-en">connect</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-s1">state</span>: <span class="pl-smi">State</span><span class="pl-kos">)</span>: <span class="pl-smi">Partial</span><span class="pl-kos">&lt;</span><span class="pl-smi">RemoteFilterProps</span><span class="pl-kos">&gt;</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-kos">{</span> <span class="pl-c1">access</span>: <span class="pl-s1">state</span><span class="pl-kos">.</span><span class="pl-c1">access</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">(</span><span class="pl-smi">RemoteFilter</span><span class="pl-kos">)</span></pre></div> <p dir="auto">when using it, it shows no props:</p> <div class="highlight highlight-source-tsx notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import RemoteFilter from './remotefilter' export default (&lt;RemoteFilter /&gt;) // nothing is enforced"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-smi">RemoteFilter</span> <span class="pl-k">from</span> <span class="pl-s">'./remotefilter'</span> <span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-kos">(</span><span class="pl-c1">&lt;</span><span class="pl-smi">RemoteFilter</span> <span class="pl-c1">/</span><span class="pl-c1">&gt;</span><span class="pl-kos">)</span> <span class="pl-c">// nothing is enforced</span></pre></div> <p dir="auto">my work around is using:</p> <div class="highlight highlight-source-tsx notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="export default connect((state: State) =&gt; { return { access: state.access } })(RemoteFilter) as React.ComponentClass&lt;RemoteFilterProps&gt;"><pre class="notranslate"><span class="pl-k">export</span> <span class="pl-k">default</span> <span class="pl-en">connect</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-s1">state</span>: <span class="pl-smi">State</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-kos">{</span> <span class="pl-c1">access</span>: <span class="pl-s1">state</span><span class="pl-kos">.</span><span class="pl-c1">access</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">(</span><span class="pl-smi">RemoteFilter</span><span class="pl-kos">)</span> <span class="pl-k">as</span> <span class="pl-smi">React</span><span class="pl-kos">.</span><span class="pl-smi">ComponentClass</span><span class="pl-kos">&lt;</span><span class="pl-smi">RemoteFilterProps</span><span class="pl-kos">&gt;</span></pre></div>
<p dir="auto">There is an issue with the react-redux typings such that if you leave out the <code class="notranslate">TOwnProps</code> parameters to both <code class="notranslate">mapStateToProps</code> and <code class="notranslate">mapDispatchToProps</code>, you can end up with a wrapped component that will freely accept any set of props (literally anything). This issue is with the newest version of react-redux as of this writing; which were last touched <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/DefinitelyTyped/DefinitelyTyped/commit/56295f5058cac7ae458540423c50ac2dcf9fc711/hovercard" href="https://github.com/DefinitelyTyped/DefinitelyTyped/commit/56295f5058cac7ae458540423c50ac2dcf9fc711"><tt>56295f5</tt></a>.</p> <p dir="auto">So here's a snippet that erroneously compiles fine:</p> <div class="highlight highlight-source-tsx notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="interface OwnProps { foo: string; } interface ConnectedProps { bar: string; } class FooComponent extends React.Component&lt;OwnProps &amp; ConnectedProps, {}&gt; { render() { return &lt;div/&gt;; } } function mapStateToProps(state: any): ConnectedProps { return { bar: 'baz' }; } const WrappedFoo = connect(mapStateToProps)(FooComponent); // Missing `foo` but also specifying unknown property `quux`; this compiles fine. React.createElement(WrappedFoo, { quux: 10 });"><pre class="notranslate"><span class="pl-k">interface</span> <span class="pl-smi">OwnProps</span> <span class="pl-kos">{</span> <span class="pl-c1">foo</span>: <span class="pl-smi">string</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">interface</span> <span class="pl-smi">ConnectedProps</span> <span class="pl-kos">{</span> <span class="pl-c1">bar</span>: <span class="pl-smi">string</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">class</span> <span class="pl-smi">FooComponent</span> <span class="pl-k">extends</span> <span class="pl-smi">React</span><span class="pl-kos">.</span><span class="pl-c1">Component</span><span class="pl-kos">&lt;</span><span class="pl-smi">OwnProps</span> <span class="pl-c1">&amp;</span> <span class="pl-smi">ConnectedProps</span><span class="pl-kos">,</span> <span class="pl-kos">{</span><span class="pl-kos">}</span><span class="pl-kos">&gt;</span> <span class="pl-kos">{</span> <span class="pl-en">render</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-c1">&lt;</span><span class="pl-ent">div</span><span class="pl-c1">/</span><span class="pl-c1">&gt;</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-kos">}</span> <span class="pl-k">function</span> <span class="pl-en">mapStateToProps</span><span class="pl-kos">(</span><span class="pl-s1">state</span>: <span class="pl-smi">any</span><span class="pl-kos">)</span>: <span class="pl-smi">ConnectedProps</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-kos">{</span> <span class="pl-c1">bar</span>: <span class="pl-s">'baz'</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">const</span> <span class="pl-smi">WrappedFoo</span> <span class="pl-c1">=</span> <span class="pl-en">connect</span><span class="pl-kos">(</span><span class="pl-s1">mapStateToProps</span><span class="pl-kos">)</span><span class="pl-kos">(</span><span class="pl-smi">FooComponent</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// Missing `foo` but also specifying unknown property `quux`; this compiles fine.</span> <span class="pl-smi">React</span><span class="pl-kos">.</span><span class="pl-en">createElement</span><span class="pl-kos">(</span><span class="pl-smi">WrappedFoo</span><span class="pl-kos">,</span> <span class="pl-kos">{</span> <span class="pl-c1">quux</span>: <span class="pl-c1">10</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">You can work around it by typecasting the result of <code class="notranslate">connect</code>, and everything works as expected:</p> <div class="highlight highlight-source-tsx notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="const WrappedFoo = connect(mapStateToProps)(FooComponent) as React.ComponentClass&lt;OwnProps&gt;;"><pre class="notranslate"><span class="pl-k">const</span> <span class="pl-smi">WrappedFoo</span> <span class="pl-c1">=</span> <span class="pl-en">connect</span><span class="pl-kos">(</span><span class="pl-s1">mapStateToProps</span><span class="pl-kos">)</span><span class="pl-kos">(</span><span class="pl-smi">FooComponent</span><span class="pl-kos">)</span> <span class="pl-k">as</span> <span class="pl-smi">React</span><span class="pl-kos">.</span><span class="pl-smi">ComponentClass</span><span class="pl-kos">&lt;</span><span class="pl-smi">OwnProps</span><span class="pl-kos">&gt;</span><span class="pl-kos">;</span></pre></div> <p dir="auto">Or you can mention <code class="notranslate">OwnProps</code> in <code class="notranslate">mapStateToProps</code>:</p> <div class="highlight highlight-source-tsx notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="function mapStateToProps(state: any, ownProps: OwnProps): ConnectedProps { return { bar: 'baz' }; } const WrappedFoo = connect(mapStateToProps)(FooComponent);"><pre class="notranslate"><span class="pl-k">function</span> <span class="pl-en">mapStateToProps</span><span class="pl-kos">(</span><span class="pl-s1">state</span>: <span class="pl-smi">any</span><span class="pl-kos">,</span> <span class="pl-s1">ownProps</span>: <span class="pl-smi">OwnProps</span><span class="pl-kos">)</span>: <span class="pl-smi">ConnectedProps</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-kos">{</span> <span class="pl-c1">bar</span>: <span class="pl-s">'baz'</span> <span class="pl-kos">}</span><span class="pl-kos">;</span> <span class="pl-kos">}</span> <span class="pl-k">const</span> <span class="pl-smi">WrappedFoo</span> <span class="pl-c1">=</span> <span class="pl-en">connect</span><span class="pl-kos">(</span><span class="pl-s1">mapStateToProps</span><span class="pl-kos">)</span><span class="pl-kos">(</span><span class="pl-smi">FooComponent</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">A couple definitions:</p> <ul dir="auto"> <li><code class="notranslate">OwnProps</code>: This is the type of the parameters that the connected version of the component accepts. That is, those that the parent must provide that aren’t auto-injected.</li> <li><code class="notranslate">ConnectedProps</code>: This is the type of the parameters that are selected by <code class="notranslate">mapStateToProps</code>. It’s not strictly necessary to the typings or the workaround, but it helps clarify when debugging since it allows you to properly type <code class="notranslate">mapStateToProps</code>.</li> </ul> <p dir="auto">What I think is happening here is that when the optional <code class="notranslate">TOwnProps</code> seen in the signature of <code class="notranslate">mapStateToProps</code> and <code class="notranslate">mapDispatchToProps</code> is absent (as it is in the example), Typescript falls back on inferring <code class="notranslate">TOwnProps</code> as <code class="notranslate">{}</code>. The output of the whole process (after running <code class="notranslate">connect</code>) thus ends up as <code class="notranslate">React.ComponentClass&lt;{}&gt;</code>, at which point all bets are off, since <code class="notranslate">{}</code> accepts anything and everything.</p> <p dir="auto">For similar reasons, you also shouldn't specify something very lenient for <code class="notranslate">OwnProps</code>, such as the empty interface, which is functionally identical to <code class="notranslate">{}</code>. The only workaround for explicitly specifying "no own props" as far as I can tell is to use the typecast method to cast it to <code class="notranslate">React.ComponentClass&lt;void&gt;</code> (though probably with an intermediate <code class="notranslate">any</code> cast, since Typescript doesn't accept the <code class="notranslate">void</code> cast).</p> <p dir="auto">I tried to tweak the typings to fix this, but I wasn't able to find a better way to define <code class="notranslate">TOwnProps</code>. Thoughts, <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/tkqubo/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/tkqubo">@tkqubo</a> (as the listed maintainer)?</p>
1
<p dir="auto"><strong>What keywords did you search in Kubernetes issues before filing this one?</strong> (If you have found any duplicates, you should instead reply there.): GKE, GCE, volume timeout</p> <hr> <p dir="auto"><strong>Is this a BUG REPORT or FEATURE REQUEST?</strong> (choose one): BUG REPORT</p> <p dir="auto"><strong>Kubernetes version</strong> (use <code class="notranslate">kubectl version</code>):</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Client Version: version.Info{Major:&quot;1&quot;, Minor:&quot;4&quot;, GitVersion:&quot;v1.4.4&quot;, GitCommit:&quot;3b417cc4ccd1b8f38ff9ec96bb50a81ca0ea9d56&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;2016-10-21T02:48:38Z&quot;, GoVersion:&quot;go1.6.3&quot;, Compiler:&quot;gc&quot;, Platform:&quot;linux/amd64&quot;} Server Version: version.Info{Major:&quot;1&quot;, Minor:&quot;4&quot;, GitVersion:&quot;v1.4.5&quot;, GitCommit:&quot;5a0a696437ad35c133c0c8493f7e9d22b0f9b81b&quot;, GitTreeState:&quot;clean&quot;, BuildDate:&quot;2016-10-29T01:32:42Z&quot;, GoVersion:&quot;go1.6.3&quot;, Compiler:&quot;gc&quot;, Platform:&quot;linux/amd64&quot;}"><pre class="notranslate"><code class="notranslate">Client Version: version.Info{Major:"1", Minor:"4", GitVersion:"v1.4.4", GitCommit:"3b417cc4ccd1b8f38ff9ec96bb50a81ca0ea9d56", GitTreeState:"clean", BuildDate:"2016-10-21T02:48:38Z", GoVersion:"go1.6.3", Compiler:"gc", Platform:"linux/amd64"} Server Version: version.Info{Major:"1", Minor:"4", GitVersion:"v1.4.5", GitCommit:"5a0a696437ad35c133c0c8493f7e9d22b0f9b81b", GitTreeState:"clean", BuildDate:"2016-10-29T01:32:42Z", GoVersion:"go1.6.3", Compiler:"gc", Platform:"linux/amd64"} </code></pre></div> <p dir="auto"><strong>Environment</strong>:</p> <ul dir="auto"> <li><strong>Cloud provider or hardware configuration</strong>: GKE</li> <li><strong>OS</strong> (e.g. from /etc/os-release): GCI</li> <li><strong>Kernel</strong> (e.g. <code class="notranslate">uname -a</code>): whatever GCI uses</li> <li><strong>Install tools</strong>:</li> <li><strong>Others</strong>:</li> </ul> <p dir="auto"><strong>What happened</strong>: Pods cannot start/restart because the volume will not mount. The volume cannot mount indefinitely (I have had pods in a ContainerCreating state for weeks in some cases).</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="21s 2m 2 camlistored-2824072653-3p1t7 Pod Warning FailedMount {kubelet gke-asia-east1-b-ianlewis-org-pool-1-c77d950d-jt7d} Unable to mount volumes for pod &quot;camlistored-2824072653-3p1t7_prod(bd1cbbe3-b380-11e6-9d1b-42010af000ba)&quot;: timeout expired waiting for volumes to attach/mount for pod &quot;camlistored-2824072653-3p1t7&quot;/&quot;prod&quot;. list of unattached/unmounted volumes=[camlistore-blobs] 21s 2m 2 camlistored-2824072653-3p1t7 Pod Warning FailedSync {kubelet gke-asia-east1-b-ianlewis-org-pool-1-c77d950d-jt7d} Error syncing pod, skipping: timeout expired waiting for volumes to attach/mount for pod &quot;camlistored-2824072653-3p1t7&quot;/&quot;prod&quot;. list of unattached/unmounted volumes=[camlistore-blobs]"><pre class="notranslate"><code class="notranslate">21s 2m 2 camlistored-2824072653-3p1t7 Pod Warning FailedMount {kubelet gke-asia-east1-b-ianlewis-org-pool-1-c77d950d-jt7d} Unable to mount volumes for pod "camlistored-2824072653-3p1t7_prod(bd1cbbe3-b380-11e6-9d1b-42010af000ba)": timeout expired waiting for volumes to attach/mount for pod "camlistored-2824072653-3p1t7"/"prod". list of unattached/unmounted volumes=[camlistore-blobs] 21s 2m 2 camlistored-2824072653-3p1t7 Pod Warning FailedSync {kubelet gke-asia-east1-b-ianlewis-org-pool-1-c77d950d-jt7d} Error syncing pod, skipping: timeout expired waiting for volumes to attach/mount for pod "camlistored-2824072653-3p1t7"/"prod". list of unattached/unmounted volumes=[camlistore-blobs] </code></pre></div> <p dir="auto">I sometimes notice other errors when errors first start occurring. Here is one example:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="15s 4m 11 camlistored-2824072653-3p1t7 Pod Warning FailedMount {kubelet gke-asia-east1-b-ianlewis-org-pool-1-c77d950d-jt7d} MountVolume.SetUp failed for volume &quot;kubernetes.io/gce-pd/camlistore-blobs-prod&quot; (spec.Name: &quot;camlistore-blobs-prod&quot;) pod &quot;bd1cbbe3-b380-11e6-9d1b-42010af000ba&quot; (UID: &quot;bd1cbbe3-b380-11e6-9d1b-42010af000ba&quot;) with: mount failed: exit status 32 Mounting arguments: /var/lib/kubelet/plugins/kubernetes.io/gce-pd/mounts/camlistore-blobs-prod /var/lib/kubelet/pods/bd1cbbe3-b380-11e6-9d1b-42010af000ba/volumes/kubernetes.io~gce-pd/camlistore-blobs-prod [remount] Output: mount: cannot remount /var/lib/kubelet/plugins/kubernetes.io/gce-pd/mounts/camlistore-blobs-prod read-write, is write-protected"><pre class="notranslate"><code class="notranslate">15s 4m 11 camlistored-2824072653-3p1t7 Pod Warning FailedMount {kubelet gke-asia-east1-b-ianlewis-org-pool-1-c77d950d-jt7d} MountVolume.SetUp failed for volume "kubernetes.io/gce-pd/camlistore-blobs-prod" (spec.Name: "camlistore-blobs-prod") pod "bd1cbbe3-b380-11e6-9d1b-42010af000ba" (UID: "bd1cbbe3-b380-11e6-9d1b-42010af000ba") with: mount failed: exit status 32 Mounting arguments: /var/lib/kubelet/plugins/kubernetes.io/gce-pd/mounts/camlistore-blobs-prod /var/lib/kubelet/pods/bd1cbbe3-b380-11e6-9d1b-42010af000ba/volumes/kubernetes.io~gce-pd/camlistore-blobs-prod [remount] Output: mount: cannot remount /var/lib/kubelet/plugins/kubernetes.io/gce-pd/mounts/camlistore-blobs-prod read-write, is write-protected </code></pre></div> <p dir="auto">Deleting and recreating a deployment sometimes works to allow me to remount the volume but it's rare.</p> <p dir="auto"><strong>What you expected to happen</strong>: I expect that volumes will be able to be re-mounted to pods within a reasonable time period. e.g. a few minutes.</p> <p dir="auto"><strong>How to reproduce it</strong> (as minimally and precisely as possible):</p> <p dir="auto">I don't know the specific circumstances that this happens but I notice that this happens often when a container with the volume attached crashes. The container will crash and cannot be restarted because the volume will not mount.</p> <p dir="auto"><strong>Anything else do we need to know</strong>:</p> <p dir="auto">This happens <em>very frequently</em> for certain types of pods that use the disk often like camlistore or MySQL when the pod is stopped and restarted, via deleting the pod, cluster upgrades etc. It's extremely frustrating.</p>
<p dir="auto"><strong>Is this a request for help?</strong> (If yes, you should use our troubleshooting guide and community support channels, see <a href="http://kubernetes.io/docs/troubleshooting/" rel="nofollow">http://kubernetes.io/docs/troubleshooting/</a>.):</p> <p dir="auto"><strong>What keywords did you search in Kubernetes issues before filing this one?</strong> (If you have found any duplicates, you should instead reply there.):</p> <hr> <p dir="auto"><strong>Is this a BUG REPORT or FEATURE REQUEST?</strong> (choose one):</p> <p dir="auto"><strong>Kubernetes version</strong> (use <code class="notranslate">kubectl version</code>):</p> <p dir="auto"><strong>Environment</strong>:</p> <ul dir="auto"> <li><strong>Cloud provider or hardware configuration</strong>:</li> <li><strong>OS</strong> (e.g. from /etc/os-release):</li> <li><strong>Kernel</strong> (e.g. <code class="notranslate">uname -a</code>):</li> <li><strong>Install tools</strong>:</li> <li><strong>Others</strong>:</li> </ul> <p dir="auto"><strong>What happened</strong>:</p> <p dir="auto"><strong>What you expected to happen</strong>:</p> <p dir="auto"><strong>How to reproduce it</strong> (as minimally and precisely as possible):</p> <p dir="auto"><strong>Anything else do we need to know</strong>:</p>
0
<p dir="auto">Currently, "historical node" accepts such configuration:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="druid.segmentCache.locations=[{&quot;path&quot;: &quot;/disk2/druidUser/indexCache&quot;, &quot;maxSize&quot;\: 10000000000}] druid.server.maxSize=30000000000"><pre class="notranslate"><code class="notranslate">druid.segmentCache.locations=[{"path": "/disk2/druidUser/indexCache", "maxSize"\: 10000000000}] druid.server.maxSize=30000000000 </code></pre></div> <p dir="auto">When space need exceeds 10GB, we cannot see error in "coordinator Web UI".<br> And the usage of space is 33% in coordinator Web UI, which is misleading.</p> <p dir="auto">I found the space problem only when I looked into "historical" node's log, and use debugger to trace the code nearby.</p> <p dir="auto">I suggest: refuse to start historical node when sum of "indexCache" in all locations &lt; durid.server.maxSize.</p>
<p dir="auto">The rules for determining available space on a historical node for a segment seem to include both druid.server.maxSize and druid.segmentCache.locations:maxSize.</p> <p dir="auto">However, the Coordinator Console shows the Max Size and Percent Used based only on druid.server.maxSize.</p> <p dir="auto">It would be useful if the console showed both values to help diagnose "segment too large" errors thrown by the OmniSegmentLoader (when people accidentally set them to different values).</p> <p dir="auto">See <a href="https://groups.google.com/forum/#!searchin/druid-development/segment$20too$20large/druid-development/w8Q65ZRusi4/kN0JybUtUfAJ" rel="nofollow">https://groups.google.com/forum/#!searchin/druid-development/segment$20too$20large/druid-development/w8Q65ZRusi4/kN0JybUtUfAJ</a></p>
1
<p dir="auto">I suspect these are related to recent tokenizer changes:</p> <p dir="auto"><a href="https://github.com/huggingface/transformers/runs/1236753957?check_suite_focus=true">https://github.com/huggingface/transformers/runs/1236753957?check_suite_focus=true</a></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="FAILED tests/test_tokenization_deberta.py::DebertaTokenizationTest::test_torch_encode_plus_sent_to_model FAILED tests/test_modeling_deberta.py::DebertaModelIntegrationTest::test_inference_classification_head"><pre class="notranslate"><code class="notranslate">FAILED tests/test_tokenization_deberta.py::DebertaTokenizationTest::test_torch_encode_plus_sent_to_model FAILED tests/test_modeling_deberta.py::DebertaModelIntegrationTest::test_inference_classification_head </code></pre></div>
<p dir="auto"><a href="https://github.com/huggingface/transformers/runs/1204063498?check_suite_focus=true">https://github.com/huggingface/transformers/runs/1204063498?check_suite_focus=true</a></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="FAILED tests/test_modeling_deberta.py::DebertaModelIntegrationTest::test_inference_classification_head FAILED tests/test_tokenization_deberta.py::DebertaTokenizationTest::test_torch_encode_plus_sent_to_model"><pre class="notranslate"><code class="notranslate">FAILED tests/test_modeling_deberta.py::DebertaModelIntegrationTest::test_inference_classification_head FAILED tests/test_tokenization_deberta.py::DebertaTokenizationTest::test_torch_encode_plus_sent_to_model </code></pre></div> <p dir="auto"><a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/LysandreJik/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/LysandreJik">@LysandreJik</a> I think ?</p>
1
<p dir="auto">If I use <code class="notranslate">read_csv</code> to load a datafile with the default index_col, but the first column does not have unique values, it succeeds at first, but when I try to select rows later, I get <code class="notranslate">Exception: Index cannot contain duplicate values!</code>. This raises a couple of points:</p> <ol dir="auto"> <li>Should the default be to use an index column? My data often doesn't have one. <a href="http://pinard.progiciels-bpi.ca/libR/library/base/html/read.table.html" rel="nofollow">Apparently</a> R takes the first column as an index if it doesn't have a header, and otherwise does an integer index.</li> <li>Non-unique values should be detected when we're creating the index, and either leave that column as a regular column (falling back to an integer index), or raise an exception at that point.</li> </ol>
<p dir="auto">Hello<br> I am not sure, maybe this is the expected behaviour, but it was a big surprise for me (and a source of some bugs).</p> <p dir="auto">As the title states, dropping rows (whether inplace or not) does not delete corresponding index entries (when the frame has a multiIndex). If one later uses index values directly it causes really unexpected behaviour.</p> <p dir="auto">An obvious work-around is to reset index and re-build it, but it is not really elegant code...<br> Simple example:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&gt;&gt;&gt; import pandas as pd &gt;&gt;&gt; df = pd.DataFrame([['A', 'a', 1], ['B', 'b', 2], ['C', 'c', 3]], columns=['upper', 'lower', 'num']) &gt;&gt;&gt; df = df.set_index(['upper', 'lower']) &gt;&gt;&gt; df = df.drop('A') &gt;&gt;&gt; df.index MultiIndex(levels=[['A', 'B', 'C'], ['a', 'b', 'c']], labels=[[1, 2], [1, 2]], names=['upper', 'lower']) &gt;&gt;&gt; df.index.levels[0] Index(['A', 'B', 'C'], dtype='object', name='upper')"><pre class="notranslate"><span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-k">import</span> <span class="pl-s1">pandas</span> <span class="pl-k">as</span> <span class="pl-s1">pd</span> <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>([[<span class="pl-s">'A'</span>, <span class="pl-s">'a'</span>, <span class="pl-c1">1</span>], [<span class="pl-s">'B'</span>, <span class="pl-s">'b'</span>, <span class="pl-c1">2</span>], [<span class="pl-s">'C'</span>, <span class="pl-s">'c'</span>, <span class="pl-c1">3</span>]], <span class="pl-s1">columns</span><span class="pl-c1">=</span>[<span class="pl-s">'upper'</span>, <span class="pl-s">'lower'</span>, <span class="pl-s">'num'</span>]) <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-s1">df</span>.<span class="pl-en">set_index</span>([<span class="pl-s">'upper'</span>, <span class="pl-s">'lower'</span>]) <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-s1">df</span>.<span class="pl-en">drop</span>(<span class="pl-s">'A'</span>) <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">df</span>.<span class="pl-s1">index</span> <span class="pl-v">MultiIndex</span>(<span class="pl-s1">levels</span><span class="pl-c1">=</span>[[<span class="pl-s">'A'</span>, <span class="pl-s">'B'</span>, <span class="pl-s">'C'</span>], [<span class="pl-s">'a'</span>, <span class="pl-s">'b'</span>, <span class="pl-s">'c'</span>]], <span class="pl-s1">labels</span><span class="pl-c1">=</span>[[<span class="pl-c1">1</span>, <span class="pl-c1">2</span>], [<span class="pl-c1">1</span>, <span class="pl-c1">2</span>]], <span class="pl-s1">names</span><span class="pl-c1">=</span>[<span class="pl-s">'upper'</span>, <span class="pl-s">'lower'</span>]) <span class="pl-c1">&gt;&gt;</span><span class="pl-c1">&gt;</span> <span class="pl-s1">df</span>.<span class="pl-s1">index</span>.<span class="pl-s1">levels</span>[<span class="pl-c1">0</span>] <span class="pl-v">Index</span>([<span class="pl-s">'A'</span>, <span class="pl-s">'B'</span>, <span class="pl-s">'C'</span>], <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s">'object'</span>, <span class="pl-s1">name</span><span class="pl-c1">=</span><span class="pl-s">'upper'</span>)</pre></div> <p dir="auto">Even though the row was deleted correctly.</p> <p dir="auto">show_versions():</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" INSTALLED VERSIONS ------------------ commit: None python: 3.4.3.final.0 python-bits: 64 OS: Linux OS-release: 4.2.0-18-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 pandas: 0.17.1 nose: 1.3.7 pip: None setuptools: 18.4 Cython: 0.23.3 numpy: 1.10.1 scipy: 0.14.1 statsmodels: 0.6.1 IPython: 4.0.0 sphinx: 1.3.1 patsy: 0.4.1 dateutil: 2.4.2 pytz: 2015.7 blosc: None bottleneck: None tables: None numexpr: 2.4.4 matplotlib: 1.5.0 openpyxl: None xlrd: None xlwt: None xlsxwriter: 0.7.3 lxml: 3.4.4 bs4: 4.3.2 html5lib: 0.999 httplib2: 0.9 apiclient: None sqlalchemy: None pymysql: None psycopg2: None Jinja2: None "><pre class="notranslate"><code class="notranslate"> INSTALLED VERSIONS ------------------ commit: None python: 3.4.3.final.0 python-bits: 64 OS: Linux OS-release: 4.2.0-18-generic machine: x86_64 processor: x86_64 byteorder: little LC_ALL: None LANG: en_US.UTF-8 pandas: 0.17.1 nose: 1.3.7 pip: None setuptools: 18.4 Cython: 0.23.3 numpy: 1.10.1 scipy: 0.14.1 statsmodels: 0.6.1 IPython: 4.0.0 sphinx: 1.3.1 patsy: 0.4.1 dateutil: 2.4.2 pytz: 2015.7 blosc: None bottleneck: None tables: None numexpr: 2.4.4 matplotlib: 1.5.0 openpyxl: None xlrd: None xlwt: None xlsxwriter: 0.7.3 lxml: 3.4.4 bs4: 4.3.2 html5lib: 0.999 httplib2: 0.9 apiclient: None sqlalchemy: None pymysql: None psycopg2: None Jinja2: None </code></pre></div>
0
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=jpd9808" rel="nofollow">Jason Day</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-9801?redirect=false" rel="nofollow">SPR-9801</a></strong> and commented</p> <p dir="auto">It appears the migration of the <a href="https://jira.springsource.org/browse/SPR-8116" rel="nofollow">build to use Gradle</a> dropped the OSGi manifest headers from getting added.</p> <hr> <p dir="auto"><strong>Affects:</strong> 3.2 M1, 3.2 M2</p> <p dir="auto"><strong>Issue Links:</strong></p> <ul dir="auto"> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398115932" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/13543" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/13543/hovercard" href="https://github.com/spring-projects/spring-framework/issues/13543">#13543</a> Users of the SpringSource EBR need Spring framework bundles to continue to be published there for Spring 3.2 (<em><strong>"duplicates"</strong></em>)</li> </ul> <p dir="auto">3 votes, 4 watchers</p>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=rwinch" rel="nofollow">Rob Winch</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-9858?redirect=false" rel="nofollow">SPR-9858</a></strong> and commented</p> <p dir="auto">This is related to <a href="https://jira.spring.io/browse/SEC-2064" rel="nofollow">SEC-2064</a> which states:</p> <blockquote> <p dir="auto">It strikes me that <a href="http://static.springsource.org/spring-security/site/docs/3.0.x/apidocs/org/springframework/security/web/util/ThrowableAnalyzer.html" rel="nofollow">ThrowableAnalyzer</a> is not only suitable for its current role in Spring Security and is more generally useful. I've found a need for something along the lines of ThrowableAnalyzer in Spring Social, but do not wish to force a dependency on Spring Security. As things stand currently, I must duplicate ThrowableAnalyzer to avoid the otherwise unnecessary dependency on Spring Security.<br> I wonder if ThrowableAnalyzer might be better suited for Spring Core's org.springframework.util package? I already depend on Spring Core, so I wouldn't have the same dependency concerns there and would be able to get rid of my duplicate ThrowableAnalyzer.</p> </blockquote> <p dir="auto">Let me know if this is something that is acceptable and I can put a pull request together.</p> <hr> <p dir="auto"><strong>Issue Links:</strong></p> <ul dir="auto"> <li><a href="https://jira.spring.io/browse/SEC-2064" rel="nofollow">SEC-2064</a> Extract ThrowableAnalyzer, perhaps to Spring Core (<em><strong>"is depended on by"</strong></em>)</li> </ul>
0
<p dir="auto">I need to use some external modules without .d.ts files, but, I do not want to use the corresponding third party .d.ts files. Please tell me how to just suppress the errors - "Cannot find the module ...", thinks.</p>
<p dir="auto">When compiling a script (main.ts) that imports another module (dependency.ts):</p> <ul dir="auto"> <li>typescript 0.9.5 used to take as input the definition file (dependency.d.ts) when available.</li> <li>since 1.0.x, it seems like typescript always compiles dependency.ts even when a definition file is available.</li> </ul> <p dir="auto">This significantly slows down compilation for most projects. Is there a workaround? A compilation argument to opt for the old behavior?</p>
0
<h1 dir="auto">Context and Rationale</h1> <p dir="auto">At the moment, <code class="notranslate">flutter create --template=plugin</code> (<a href="https://flutter.io/docs/development/packages-and-plugins/developing-packages#step-1-create-the-package-1" rel="nofollow">ref</a>) defaults to Objective C and Java. It is my suggestion that the we switch the default to Swift and Kotlin respectively instead.</p> <p dir="auto">Kotlin is first-class language supported by Android, and officially preferred by Android rather than Java (<a href="https://developer.android.com/kotlin/" rel="nofollow">ref</a>) even if Kotlin adds a little bit overhead (<a href="https://developer.android.com/kotlin/faq" rel="nofollow">ref</a>)</p> <p dir="auto">When it comes to Swift, the case is even stronger. While Kotlin is officially endorsed and preferred by Android team, it's still developed by another entity, JetBrain. Meanwhile, Swift is developed by Apple specifically for iOS, macOS and tvOS development. In the first quarter of 2018 Swift surpassed Objective-C in measured popularity (<a href="https://redmonk.com/sogrady/2018/03/07/language-rankings-1-18/" rel="nofollow">ref</a>). The runtime overhead will no longer be an issue for Swift 5, according to wwdc 2018</p> <blockquote> <p dir="auto">And we also have another release coming up for you in the language, Swift 5. The focus of Swift 5 is greater adoption by delivering Swift as part of the OS. Apps will no longer need to include the Swift runtime when delivering on our newer OS releases, resulting in smaller downloads and faster launches. We're very excited about this, too, and we have made great progress toward this goal. And you'll see it in a release coming early next year.</p> </blockquote> <h1 dir="auto">Proposed actions</h1> <ul dir="auto"> <li>Change <a href="https://github.com/flutter/flutter/blob/master/packages/flutter_tools/lib/src/commands/create.dart">https://github.com/flutter/flutter/blob/master/packages/flutter_tools/lib/src/commands/create.dart</a> to switch the default language to Swift and Kotlin. <ul dir="auto"> <li>Change <a href="https://github.com/flutter/flutter-intellij">https://github.com/flutter/flutter-intellij</a> accordingly <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/358585/50044829-24a2a000-00bc-11e9-9495-bfe80f3637e2.png"><img width="665" alt="screen shot 2018-12-15 at 10 51 52 pm" src="https://user-images.githubusercontent.com/358585/50044829-24a2a000-00bc-11e9-9495-bfe80f3637e2.png" style="max-width: 100%;"></a></li> </ul> </li> <li>Convert all "first-party" plugins <a href="https://github.com/flutter/plugins">https://github.com/flutter/plugins</a> to Swift and Kotlin. <ul dir="auto"> <li>Write platform unit test in Swift (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="229396990" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/10141" data-hovercard-type="issue" data-hovercard-url="/flutter/flutter/issues/10141/hovercard" href="https://github.com/flutter/flutter/issues/10141">#10141</a>) and Kotlin (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="229395387" data-permission-text="Title is private" data-url="https://github.com/flutter/flutter/issues/10140" data-hovercard-type="issue" data-hovercard-url="/flutter/flutter/issues/10140/hovercard" href="https://github.com/flutter/flutter/issues/10140">#10140</a>)</li> </ul> </li> </ul>
<p dir="auto">UI nodes require a unique key for arrays of homogeneous children. They key is nominally Object but internally it seems to be converted to String. This causes the surprising behavior that custom objects are rejected as keys:</p> <p dir="auto">[0612/154234:ERROR:dart_error.cc(20)] Unhandled exception:<br> Uncaught Error: If multiple non-interchangeable nodes of the same type exist as children<br> of another node, they must have unique keys.<br> Duplicate: </p> <p dir="auto">The current workaround is to add a custom .toString() method to any custom class used as key</p> <p dir="auto">For example</p> <p dir="auto">class Cell {<br> final int posX;<br> final int posY;<br> Cell(this.posX, this.posY);<br> String toString() =&gt; 'Cell($posX, $posY)';<br> }</p> <p dir="auto">without the toString() method, it cannot be used as a key.</p>
0
<p dir="auto">This code fails to compile:</p> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="fn main() { let x = vec![1i, 2, 3]; let _x = x; println!(&quot;{}&quot;, x); }"><pre class="notranslate"><span class="pl-k">fn</span> <span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">let</span> x = <span class="pl-en">vec</span><span class="pl-en">!</span><span class="pl-kos">[</span><span class="pl-c1">1</span>i, <span class="pl-c1">2</span>, <span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-k">let</span> _x = x<span class="pl-kos">;</span> <span class="pl-en">println</span><span class="pl-en">!</span><span class="pl-kos">(</span><span class="pl-s">"{}"</span>, x<span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p dir="auto"><a href="http://is.gd/Lsa68z" rel="nofollow">Error</a>:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;anon&gt;:4:20: 4:21 error: use of moved value: `x` &lt;anon&gt;:4 println!(&quot;{}&quot;, x); ^ note: in expansion of format_args! &lt;std macros&gt;:2:23: 2:77 note: expansion site &lt;std macros&gt;:1:1: 3:2 note: in expansion of println! &lt;anon&gt;:4:5: 4:23 note: expansion site &lt;anon&gt;:3:9: 3:11 note: `x` moved here because it has type `collections::vec::Vec&lt;int&gt;`, which is moved by default (use `ref` to override) &lt;anon&gt;:3 let _x = x; ^~"><pre class="notranslate"><code class="notranslate">&lt;anon&gt;:4:20: 4:21 error: use of moved value: `x` &lt;anon&gt;:4 println!("{}", x); ^ note: in expansion of format_args! &lt;std macros&gt;:2:23: 2:77 note: expansion site &lt;std macros&gt;:1:1: 3:2 note: in expansion of println! &lt;anon&gt;:4:5: 4:23 note: expansion site &lt;anon&gt;:3:9: 3:11 note: `x` moved here because it has type `collections::vec::Vec&lt;int&gt;`, which is moved by default (use `ref` to override) &lt;anon&gt;:3 let _x = x; ^~ </code></pre></div> <p dir="auto">Where as this compiles with no error:</p> <div class="highlight highlight-source-rust notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="fn main() { let x = vec![1i, 2, 3]; let _ = x; println!(&quot;{}&quot;, x); }"><pre class="notranslate"><span class="pl-k">fn</span> <span class="pl-en">main</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">let</span> x = <span class="pl-en">vec</span><span class="pl-en">!</span><span class="pl-kos">[</span><span class="pl-c1">1</span>i, <span class="pl-c1">2</span>, <span class="pl-c1">3</span><span class="pl-kos">]</span><span class="pl-kos">;</span> <span class="pl-k">let</span> _ = x<span class="pl-kos">;</span> <span class="pl-en">println</span><span class="pl-en">!</span><span class="pl-kos">(</span><span class="pl-s">"{}"</span>, x<span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span></pre></div> <p dir="auto"><a href="http://is.gd/DYLy8u" rel="nofollow">Output</a>:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="[1, 2, 3]"><pre class="notranslate"><code class="notranslate">[1, 2, 3] </code></pre></div>
<p dir="auto">(Using rustc 1.0.0-nightly (<a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/rust-lang/rust/commit/1d00c545ede609b9d43fdf9f252c15da5a66dac7/hovercard" href="https://github.com/rust-lang/rust/commit/1d00c545ede609b9d43fdf9f252c15da5a66dac7"><tt>1d00c54</tt></a> 2015-01-30 19:56:34 +0000))</p> <p dir="auto">Program using an external crate which uses "regex!" builds normally, but upon execution:<br> "target/rss_client: error while loading shared libraries: libregex_macros-fdf5a2d7af19fd78.so: cannot open shared object file: No such file or directory"</p> <p dir="auto">The desired .so file is in target/deps, and the executable doesn't look there unless I set LD_LIBRARY_PATH. Then the program runs.</p> <p dir="auto">But why is "regex" in a .so file? Here's my target/deps directory:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="libchrono-2760812556f7a811.rlib libcookie-4a08a2c06bb5c4fc.rlib libgcc-3361713823cacea0.rlib libhyper-9e6a74d72671a096.rlib liblibc-6b537f2898b2a028.rlib liblog-b7487854e865255d.rlib libmatches-68db25b520030534.rlib libmime-115ca8125c42dc12.rlib libmucell-178e4fc583386697.rlib libopenssl-ff2380beb920b0db.rlib libopenssl-sys-1d498ee6f4e8d500.rlib libpkg-config-be6313c85913bcf0.rlib libregex-50925f1e98b93309.rlib libregex_macros-fdf5a2d7af19fd78.so &lt;---- How did that get in there? librustc-serialize-181d5959361aa206.rlib libtime-2215e3ac75eaa2c7.rlib libunicase-88de2458e97b894d.rlib libunsafe-any-3f018797a3613438.rlib liburl-4c384fb33b0bde93.rlib libxml-25cb934bf93db2fd.rlib"><pre class="notranslate"><code class="notranslate">libchrono-2760812556f7a811.rlib libcookie-4a08a2c06bb5c4fc.rlib libgcc-3361713823cacea0.rlib libhyper-9e6a74d72671a096.rlib liblibc-6b537f2898b2a028.rlib liblog-b7487854e865255d.rlib libmatches-68db25b520030534.rlib libmime-115ca8125c42dc12.rlib libmucell-178e4fc583386697.rlib libopenssl-ff2380beb920b0db.rlib libopenssl-sys-1d498ee6f4e8d500.rlib libpkg-config-be6313c85913bcf0.rlib libregex-50925f1e98b93309.rlib libregex_macros-fdf5a2d7af19fd78.so &lt;---- How did that get in there? librustc-serialize-181d5959361aa206.rlib libtime-2215e3ac75eaa2c7.rlib libunicase-88de2458e97b894d.rlib libunsafe-any-3f018797a3613438.rlib liburl-4c384fb33b0bde93.rlib libxml-25cb934bf93db2fd.rlib </code></pre></div> <p dir="auto">Everything else is statically linked, and normally nothing in the "deps" directory is needed for execution. Why did "cargo build" generate a ".so" file? Did someone build "regex" as a dynamic library by mistake? I've been looking at the relevant .toml files for something that would cause this, but I'm not finding it.</p> <p dir="auto">Where is static vs. dynamic library generation under Cargo control documented, anyway? Not finding anything in "<a href="http://doc.crates.io/guide.html" rel="nofollow">http://doc.crates.io/guide.html</a>". Obviously there's something somewhere which says "make this a shared library". But where?</p> <p dir="auto">Again, the program works if LD_LIBRARY_PATH includes the directory with that .so file.</p>
0
<p dir="auto">As Atom is based on Node it seems it should be able to be run via <a href="http://jxcore.com/" rel="nofollow">JXCore</a> and if so, it seems it might help with some of the sluggishness. Is this possible?</p>
<p dir="auto">Is there any potential of using <a href="http://jxcore.com/" rel="nofollow">JXcore</a> to produce a compiled version of atom?</p>
1
<p dir="auto">Just saw this, haven't looked yet</p> <table role="table"> <thead> <tr> <th>test</th> <th>pass</th> <th>skip</th> <th>xfail</th> </tr> </thead> <tbody> <tr> <td>Interval</td> <td>551</td> <td>640</td> <td>0</td> </tr> <tr> <td>Period</td> <td>472</td> <td>0</td> <td>1</td> </tr> <tr> <td>Both</td> <td>789</td> <td>829</td> <td>1</td> </tr> </tbody> </table> <p dir="auto">commands:</p> <ul dir="auto"> <li><code class="notranslate">pytest pandas/tests/indexes/period/</code></li> <li><code class="notranslate">pytest pandas/tests/indexes/period/</code></li> <li><code class="notranslate">pytest pandas/tests/indexes/interval/ pandas/tests/indexes/period/</code></li> </ul>
<p dir="auto">Incorrect <code class="notranslate">dt.weekofyear</code> calculation? I was expecting <code class="notranslate">weekofyear</code>/<code class="notranslate">week</code> for <code class="notranslate">20050101</code> would be <code class="notranslate">0</code></p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="In [1442]: df Out[1442]: A B 0 1 20050121 1 2 20050111 2 3 20050205 3 4 20050101 In [1443]: pd.to_datetime(df.B, format='%Y%m%d').dt.week Out[1443]: 0 3 1 2 2 5 3 53 Name: B, dtype: int64 In [1444]: pd.to_datetime(df.B, format='%Y%m%d').dt.weekofyear Out[1444]: 0 3 1 2 2 5 3 53 Name: B, dtype: int64 In [1445]: pd.to_datetime(df.B, format='%Y%m%d').dt.strftime('%W') Out[1445]: 0 03 1 02 2 05 3 00 Name: B, dtype: object"><pre class="notranslate"><span class="pl-v">In</span> [<span class="pl-c1">1442</span>]: <span class="pl-s1">df</span> <span class="pl-v">Out</span>[<span class="pl-c1">1442</span>]: <span class="pl-v">A</span> <span class="pl-v">B</span> <span class="pl-c1">0</span> <span class="pl-c1">1</span> <span class="pl-c1">20050121</span> <span class="pl-c1">1</span> <span class="pl-c1">2</span> <span class="pl-c1">20050111</span> <span class="pl-c1">2</span> <span class="pl-c1">3</span> <span class="pl-c1">20050205</span> <span class="pl-c1">3</span> <span class="pl-c1">4</span> <span class="pl-c1">20050101</span> <span class="pl-v">In</span> [<span class="pl-c1">1443</span>]: <span class="pl-s1">pd</span>.<span class="pl-en">to_datetime</span>(<span class="pl-s1">df</span>.<span class="pl-v">B</span>, <span class="pl-s1">format</span><span class="pl-c1">=</span><span class="pl-s">'%Y%m%d'</span>).<span class="pl-s1">dt</span>.<span class="pl-s1">week</span> <span class="pl-v">Out</span>[<span class="pl-c1">1443</span>]: <span class="pl-c1">0</span> <span class="pl-c1">3</span> <span class="pl-c1">1</span> <span class="pl-c1">2</span> <span class="pl-c1">2</span> <span class="pl-c1">5</span> <span class="pl-c1">3</span> <span class="pl-c1">53</span> <span class="pl-v">Name</span>: <span class="pl-v">B</span>, <span class="pl-s1">dtype</span>: <span class="pl-s1">int64</span> <span class="pl-v">In</span> [<span class="pl-c1">1444</span>]: <span class="pl-s1">pd</span>.<span class="pl-en">to_datetime</span>(<span class="pl-s1">df</span>.<span class="pl-v">B</span>, <span class="pl-s1">format</span><span class="pl-c1">=</span><span class="pl-s">'%Y%m%d'</span>).<span class="pl-s1">dt</span>.<span class="pl-s1">weekofyear</span> <span class="pl-v">Out</span>[<span class="pl-c1">1444</span>]: <span class="pl-c1">0</span> <span class="pl-c1">3</span> <span class="pl-c1">1</span> <span class="pl-c1">2</span> <span class="pl-c1">2</span> <span class="pl-c1">5</span> <span class="pl-c1">3</span> <span class="pl-c1">53</span> <span class="pl-v">Name</span>: <span class="pl-v">B</span>, <span class="pl-s1">dtype</span>: <span class="pl-s1">int64</span> <span class="pl-v">In</span> [<span class="pl-c1">1445</span>]: <span class="pl-s1">pd</span>.<span class="pl-en">to_datetime</span>(<span class="pl-s1">df</span>.<span class="pl-v">B</span>, <span class="pl-s1">format</span><span class="pl-c1">=</span><span class="pl-s">'%Y%m%d'</span>).<span class="pl-s1">dt</span>.<span class="pl-en">strftime</span>(<span class="pl-s">'%W'</span>) <span class="pl-v">Out</span>[<span class="pl-c1">1445</span>]: <span class="pl-c1">0</span> <span class="pl-c1">03</span> <span class="pl-c1">1</span> <span class="pl-c1">02</span> <span class="pl-c1">2</span> <span class="pl-c1">05</span> <span class="pl-c1">3</span> <span class="pl-c1">00</span> <span class="pl-v">Name</span>: <span class="pl-v">B</span>, <span class="pl-s1">dtype</span>: <span class="pl-s1">object</span></pre></div> <h4 dir="auto">Output of <code class="notranslate">pd.show_versions()</code></h4> <details> <h2 dir="auto">INSTALLED VERSIONS</h2> <p dir="auto">commit: None<br> python: 2.7.12.final.0<br> python-bits: 64<br> OS: Windows<br> OS-release: 7<br> machine: AMD64<br> processor: Intel64 Family 6 Model 61 Stepping 4, GenuineIntel<br> byteorder: little<br> LC_ALL: None<br> LANG: None<br> LOCALE: None.None</p> <p dir="auto">pandas: 0.21.0.dev+397.g234b042<br> pytest: 3.2.0<br> pip: 9.0.1<br> setuptools: 36.2.7<br> Cython: 0.24.1<br> numpy: 1.12.1<br> scipy: 0.19.1<br> pyarrow: None<br> xarray: None<br> IPython: 5.1.0<br> sphinx: 1.4.6<br> patsy: 0.4.1<br> dateutil: 2.5.3<br> pytz: 2017.2<br> blosc: None<br> bottleneck: 1.2.0<br> tables: 3.2.2<br> numexpr: 2.6.2<br> feather: None<br> matplotlib: 2.0.2<br> openpyxl: 2.3.2<br> xlrd: 1.0.0<br> xlwt: 1.1.2<br> xlsxwriter: 0.9.3<br> lxml: 3.6.4<br> bs4: 4.5.1<br> html5lib: 0.999999999<br> sqlalchemy: 1.0.13<br> pymysql: 0.7.9.None<br> psycopg2: None<br> jinja2: 2.8<br> s3fs: None<br> fastparquet: None<br> pandas_gbq: None<br> pandas_datareader: None</p> </details>
0
<ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I have searched the <a href="https://github.com/zeit/next.js/issues?q=is%3Aissue">issues</a> of this repository and believe that this is not a duplicate.</li> </ul> <h2 dir="auto">Expected Behavior</h2> <p dir="auto">A link using <code class="notranslate">prefetch</code> and pointing to a non-existent url should show the standard 404 page.:</p> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;Link prefetch href=&quot;/bad-url&quot; /&gt;"><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-ent">Link</span> <span class="pl-c1">prefetch</span> <span class="pl-c1">href</span>="<span class="pl-s">/bad-url</span>" /&gt;</pre></div> <h2 dir="auto">Current Behavior</h2> <p dir="auto">The browser does not navigate anywhere, and so it looks like the link is unresponsive.</p> <h2 dir="auto">Steps to Reproduce (for bugs)</h2> <ol dir="auto"> <li>Add</li> </ol> <div class="highlight highlight-text-html-basic notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="&lt;Link prefetch href=&quot;/bad-url&quot; /&gt;"><pre class="notranslate"><span class="pl-kos">&lt;</span><span class="pl-ent">Link</span> <span class="pl-c1">prefetch</span> <span class="pl-c1">href</span>="<span class="pl-s">/bad-url</span>" /&gt;</pre></div> <p dir="auto">to a page</p> <ol start="2" dir="auto"> <li>Click on it, notice the browser does nothing.</li> </ol> <h2 dir="auto">Context</h2> <p dir="auto">Because this has to do with <code class="notranslate">prefetch</code>, this is production-only. Not sure if it matters, but this is a client-side only app hosted on Netlify.</p> <h2 dir="auto">Your Environment</h2> <table role="table"> <thead> <tr> <th>Tech</th> <th>Version</th> </tr> </thead> <tbody> <tr> <td>next</td> <td>4.2.3</td> </tr> <tr> <td>node</td> <td>N/A, client-side only</td> </tr> <tr> <td>OS</td> <td>OS X 10.13.4</td> </tr> <tr> <td>browser</td> <td>Chrome</td> </tr> <tr> <td>etc</td> <td></td> </tr> </tbody> </table>
<div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="// next.config.js module.exports = {distDir: 'build/local/prod'}"><pre class="notranslate"><code class="notranslate">// next.config.js module.exports = {distDir: 'build/local/prod'} </code></pre></div> <p dir="auto">Run this. Note that the <code class="notranslate">distDir</code> is being taken from the config.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="import config from './next.config.js' const {distDir} = config nextBuild(distDir, config) .then(o =&gt; { console.log('finished', o) }) .catch(e =&gt; { console.log('build error', e) })"><pre class="notranslate"><code class="notranslate">import config from './next.config.js' const {distDir} = config nextBuild(distDir, config) .then(o =&gt; { console.log('finished', o) }) .catch(e =&gt; { console.log('build error', e) }) </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="$ npm start &gt; Could not find a valid build in the 'build/local/prod' directory! Try building your app with 'next build' before starting the server."><pre class="notranslate"><code class="notranslate">$ npm start &gt; Could not find a valid build in the 'build/local/prod' directory! Try building your app with 'next build' before starting the server. </code></pre></div> <p dir="auto">In <code class="notranslate">replace.js</code>, <code class="notranslate">await replaceCurrentBuild(dir, buildDir)</code>, all the variables are as follows:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="{ dir: 'build/local/prod', buildDir: '/var/folders/kp/06ys69nn6hq9k23cv0xxn19m0000gn/T/a224b0f3-c8ea-43f5-a6dd-c6cfb73843bd', dist: '.next', _dir: 'build/local/prod/.next', _buildDir: '/var/folders/kp/06ys69nn6hq9k23cv0xxn19m0000gn/T/a224b0f3-c8ea-43f5-a6dd-c6cfb73843bd/.next', oldDir: '/var/folders/kp/06ys69nn6hq9k23cv0xxn19m0000gn/T/a224b0f3-c8ea-43f5-a6dd-c6cfb73843bd/.next.old' }"><pre class="notranslate"><code class="notranslate">{ dir: 'build/local/prod', buildDir: '/var/folders/kp/06ys69nn6hq9k23cv0xxn19m0000gn/T/a224b0f3-c8ea-43f5-a6dd-c6cfb73843bd', dist: '.next', _dir: 'build/local/prod/.next', _buildDir: '/var/folders/kp/06ys69nn6hq9k23cv0xxn19m0000gn/T/a224b0f3-c8ea-43f5-a6dd-c6cfb73843bd/.next', oldDir: '/var/folders/kp/06ys69nn6hq9k23cv0xxn19m0000gn/T/a224b0f3-c8ea-43f5-a6dd-c6cfb73843bd/.next.old' } </code></pre></div> <p dir="auto"><code class="notranslate">.next</code> is being appended to the dir. But when we try to run it it, we are not looking for the <code class="notranslate">.next</code> dir because we changed our dist dir.</p> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> I have searched the <a href="https://github.com/zeit/next.js/issues">issues</a> of this repository and believe that this is not a duplicate.</li> </ul> <h2 dir="auto">Your Environment</h2> <table role="table"> <thead> <tr> <th>Tech</th> <th>Version</th> </tr> </thead> <tbody> <tr> <td>next</td> <td>4.1.3</td> </tr> <tr> <td>node</td> <td>8.1.2</td> </tr> <tr> <td>OS</td> <td>macOS</td> </tr> <tr> <td>browser</td> <td></td> </tr> <tr> <td>etc</td> <td></td> </tr> </tbody> </table>
0
<p dir="auto">Feature request: The <em>sequence_length</em> parameter in rnn.rnn() is a convenient way to support variable length sequences. The great thing about it is that it propagates the state at an example's sequence length to the final state output. However, it doesn't similarly propagate the output at an example's sequence length. This is the feature being requested here.</p> <p dir="auto">If one is interested in the last output only, reading outputs[-1] returns zeros for all the examples that are shorter than the max sequence length. It would simplify things considerably if there was a way to get the output value at the example's sequence length.</p>
<p dir="auto">So I'm trying to figure out why my resnets are running out of memory, and it seems that there's a memory leak in Tile and zeros_like operations.</p> <p dir="auto">Those ops have memory allocated during each session run but there's no <code class="notranslate">__LOG_MEMORY__</code> deallocation messages corresponding to them. The sum of missing deallocations matches the amount of memory leaked as reported by allocator as <code class="notranslate">max_bytes_in_use</code> (accessed through <code class="notranslate">tf.contrib.memory_stats.MaxBytesInUse</code> op)</p> <p dir="auto">Here's a simplified repro, at each sess.run, the memory grows by 1.15 GB until it crashes with OOM<br> <a href="https://github.com/yaroslavvb/stuff/blob/master/resnet_leak_report2.py">https://github.com/yaroslavvb/stuff/blob/master/resnet_leak_report2.py</a></p> <p dir="auto">When I run it, I see</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Run 0, GBs in use 2.30 Run 1, GBs in use 3.60 Run 2, GBs in use 4.75 Run 3, GBs in use 5.90 2017-09-21 14:56:31.994302: W tensorflow/core/common_runtime/bfc_allocator.cc:273] Allocator (GPU_0_bfc) ran out of memory trying to allocate 137.33MiB. Current allocation summary follows...."><pre class="notranslate"><code class="notranslate">Run 0, GBs in use 2.30 Run 1, GBs in use 3.60 Run 2, GBs in use 4.75 Run 3, GBs in use 5.90 2017-09-21 14:56:31.994302: W tensorflow/core/common_runtime/bfc_allocator.cc:273] Allocator (GPU_0_bfc) ran out of memory trying to allocate 137.33MiB. Current allocation summary follows.... </code></pre></div> <p dir="auto">Offending ops:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="gradients/leaky_relu_grad/zeros_like 576MB gradients/Sum_grad/Tile 576MB"><pre class="notranslate"><code class="notranslate">gradients/leaky_relu_grad/zeros_like 576MB gradients/Sum_grad/Tile 576MB </code></pre></div> <p dir="auto">Version:<br> Ubuntu 16:04<br> official TensorFlow Linux GPU Python 3.5 nightly wheel from <a href="https://ci.tensorflow.org/view/tf-nightly/job/tf-nightly-linux/TF_BUILD_IS_OPT=OPT,TF_BUILD_IS_PIP=PIP,TF_BUILD_PYTHON_VERSION=PYTHON3.5,label=gpu-linux/lastSuccessfulBuild/artifact/pip_test/whl/tf_nightly_gpu-1.head-cp35-cp35m-linux_x86_64.whl" rel="nofollow">today</a></p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="version: 1.4.0-dev20170921 __git_version__: v1.3.0-rc1-2408-ge9d5ee1 Commit https://github.com/tensorflow/tensorflow/commit/e9d5ee1 "><pre class="notranslate"><code class="notranslate">version: 1.4.0-dev20170921 __git_version__: v1.3.0-rc1-2408-ge9d5ee1 Commit https://github.com/tensorflow/tensorflow/commit/e9d5ee1 </code></pre></div>
0
<p dir="auto">A keyboard shortcut to hide/show Title Bars of windows snapped into their zones, allowing window's content to fill the entire zone.</p> <p dir="auto">Currently, when stacking windows vertically, their Title Bars:<br> 1 - occupy significant vertical space<br> 2 - add visual clutter to the layout</p>
<h1 dir="auto">Environment</h1> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="Windows build number: Microsoft Windows [Version 10.0.17763.737] PowerToys version: 0.13.0 PowerToy module for which you are reporting the bug (if applicable): FancyZones"><pre class="notranslate"><code class="notranslate">Windows build number: Microsoft Windows [Version 10.0.17763.737] PowerToys version: 0.13.0 PowerToy module for which you are reporting the bug (if applicable): FancyZones </code></pre></div> <h1 dir="auto">Steps to reproduce</h1> <ul dir="auto"> <li>Define custom Layout for virtual desktop 1</li> <li>Place windows into zones</li> <li>Switch to virtual desktop 2 which has a different layout</li> <li>Switch back to virtual desktop 1</li> <li>Windows are placed into zones of virtual desktop 2 and not in those of desktop 1</li> </ul> <h1 dir="auto">Expected behavior</h1> <p dir="auto">Correct placement of windows</p> <p dir="auto">Did work correctly in prior version (I remember 0.12.0, but cannot check now)</p> <h1 dir="auto">Actual behavior</h1> <p dir="auto">Wrong placement of windows into layout of other virtual desktop</p> <h1 dir="auto">Screenshots</h1>
0
<p dir="auto">I have 3 application bundles (3 entrypoints) and also a bunch of vendor files. I'd like to create a bundle that has all the common code from the 3 entrypoints as well as the bundle of vendor files (or put the common code also in the vendor bundle).</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="plugins = [ new webpack.optimize.CommonsChunkPlugin(&quot;vendor&quot;, &quot;vendor.bundle.js&quot;), new webpack.NormalModuleReplacementPlugin(appModuleRegex, function(result) { result.request = result.request.replace(appModuleRegex, &quot;/web/app/$1/src/$2&quot;); }), new webpack.HotModuleReplacementPlugin(), new webpack.optimize.LimitChunkCountPlugin({maxChunks: 1}), new webpack.optimize.OccurenceOrderPlugin(true) ];"><pre class="notranslate"><code class="notranslate">plugins = [ new webpack.optimize.CommonsChunkPlugin("vendor", "vendor.bundle.js"), new webpack.NormalModuleReplacementPlugin(appModuleRegex, function(result) { result.request = result.request.replace(appModuleRegex, "/web/app/$1/src/$2"); }), new webpack.HotModuleReplacementPlugin(), new webpack.optimize.LimitChunkCountPlugin({maxChunks: 1}), new webpack.optimize.OccurenceOrderPlugin(true) ]; </code></pre></div> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="entrypoints = { framework: 'framework/app', operations: 'operations/app', platform: 'platform/app', vendor: ['babel-core', 'crypto-js', 'classnames', 'd3', 'fetch', 'lodash', 'moment', 'moment-timezone', 'react', 'react-router', 'react-select', 'zxcvbn2'] };"><pre class="notranslate"><code class="notranslate">entrypoints = { framework: 'framework/app', operations: 'operations/app', platform: 'platform/app', vendor: ['babel-core', 'crypto-js', 'classnames', 'd3', 'fetch', 'lodash', 'moment', 'moment-timezone', 'react', 'react-router', 'react-select', 'zxcvbn2'] }; </code></pre></div> <p dir="auto">Currently I'm seeing a lot of code duplicated across the app bundles. I also need to keep maxChunks at 1.</p>
<h1 dir="auto">Bug report</h1> <p dir="auto"><strong>What is the current behavior?</strong></p> <p dir="auto">When using externals while building an UMD library, each external generate a wrapper module using CommonJS, which bails out from optimization.</p> <p dir="auto">The output file looks like this:</p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="(function webpackUniversalModuleDefinition(root, factory) { // REDACTED })(this, function(__WEBPACK_EXTERNAL_MODULE__0__, __WEBPACK_EXTERNAL_MODULE__1__) { return /******/ (function(modules) { // webpackBootstrap // REDACTED /******/ }) /************************************************************************/ /******/ ([ /* 0 */ /***/ (function(module, exports) { module.exports = __WEBPACK_EXTERNAL_MODULE__0__; /***/ }), /* 1 */ /***/ (function(module, exports) { module.exports = __WEBPACK_EXTERNAL_MODULE__1__; /***/ }), /***/ (function(module, __webpack_exports__, __webpack_require__) { // REDACTED (code of the library, all concatenated together) /***/ }) /******/ ]); });"><pre class="notranslate"><span class="pl-kos">(</span><span class="pl-k">function</span> <span class="pl-en">webpackUniversalModuleDefinition</span><span class="pl-kos">(</span><span class="pl-s1">root</span><span class="pl-kos">,</span> <span class="pl-s1">factory</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-c">// REDACTED</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">(</span><span class="pl-smi">this</span><span class="pl-kos">,</span> <span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-c1">__WEBPACK_EXTERNAL_MODULE__0__</span><span class="pl-kos">,</span> <span class="pl-c1">__WEBPACK_EXTERNAL_MODULE__1__</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-k">return</span> <span class="pl-c">/******/</span> <span class="pl-kos">(</span><span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-s1">modules</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-c">// webpackBootstrap</span> <span class="pl-c">// REDACTED</span> <span class="pl-c">/******/</span> <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-c">/************************************************************************/</span> <span class="pl-c">/******/</span> <span class="pl-kos">(</span><span class="pl-kos">[</span> <span class="pl-c">/* 0 */</span> <span class="pl-c">/***/</span> <span class="pl-kos">(</span><span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-s1">module</span><span class="pl-kos">,</span> <span class="pl-s1">exports</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-s1">module</span><span class="pl-kos">.</span><span class="pl-c1">exports</span> <span class="pl-c1">=</span> <span class="pl-c1">__WEBPACK_EXTERNAL_MODULE__0__</span><span class="pl-kos">;</span> <span class="pl-c">/***/</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-c">/* 1 */</span> <span class="pl-c">/***/</span> <span class="pl-kos">(</span><span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-s1">module</span><span class="pl-kos">,</span> <span class="pl-s1">exports</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-s1">module</span><span class="pl-kos">.</span><span class="pl-c1">exports</span> <span class="pl-c1">=</span> <span class="pl-c1">__WEBPACK_EXTERNAL_MODULE__1__</span><span class="pl-kos">;</span> <span class="pl-c">/***/</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">,</span> <span class="pl-c">/***/</span> <span class="pl-kos">(</span><span class="pl-k">function</span><span class="pl-kos">(</span><span class="pl-s1">module</span><span class="pl-kos">,</span> <span class="pl-s1">__webpack_exports__</span><span class="pl-kos">,</span> <span class="pl-s1">__webpack_require__</span><span class="pl-kos">)</span> <span class="pl-kos">{</span> <span class="pl-c">// REDACTED (code of the library, all concatenated together)</span> <span class="pl-c">/***/</span> <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-c">/******/</span> <span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto"><strong>What is the expected behavior?</strong></p> <p dir="auto">Given that the generated external modules are simply re-exporting the <code class="notranslate">__WEBPACK_EXTERNAL_MODULE__*__</code> variables (which are defined based on UMD dependencies in the external wrapper), I see no benefit for them over referencing this variable directly.<br> Maybe the ExternalModule could be generated as an ES module for that case instead (exporting the <code class="notranslate">__WEBPACK_EXTERNAL_MODULE__0__</code> variable as its export) and letting the concatenation plugin optimize it, in case this is simpler to handle than removing the wrapper.</p> <p dir="auto">Note that I'm mostly interested in cases where the library source code is written entirely in ES modules, and the output uses UMD (until we get support for the ESM output in the future)</p> <p dir="auto"><strong>Other relevant information:</strong><br> webpack version: 4.41.2<br> Node.js version: 12.13.0<br> Operating System: Ubuntu 18.04<br> Additional tools:</p>
0
<h3 dir="auto">System info</h3> <ul dir="auto"> <li>Playwright Version: v1.32.3</li> <li>Operating System: macOS 13.3.1</li> <li>Browser: Chromium</li> </ul> <h3 dir="auto">Source code</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I provided exact source code that allows reproducing the issue locally</li> </ul> <p dir="auto"><strong>Link to the GitHub repository with the repro</strong></p> <p dir="auto"><a href="https://github.com/silvenon/repro/tree/379b04a1bf5111d99caf8f86e404100d77d086aa">https://github.com/silvenon/repro at 379b04a1bf5111d99caf8f86e404100d77d086aa</a></p> <p dir="auto"><strong>Test file (self-contained)</strong></p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="test('has title', async ({ page }) =&gt; { test.fail() await page.goto('https://playwright.dev/'); await expect(page).toHaveTitle(/Cypress/); });"><pre class="notranslate"><span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-s">'has title'</span><span class="pl-kos">,</span> <span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">{</span> page <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-s1">test</span><span class="pl-kos">.</span><span class="pl-en">fail</span><span class="pl-kos">(</span><span class="pl-kos">)</span> <span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">goto</span><span class="pl-kos">(</span><span class="pl-s">'https://playwright.dev/'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">await</span> <span class="pl-en">expect</span><span class="pl-kos">(</span><span class="pl-s1">page</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toHaveTitle</span><span class="pl-kos">(</span><span class="pl-pds"><span class="pl-c1">/</span>Cypress<span class="pl-c1">/</span></span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">Everything is as installed by Playwright itself, no changes to the configuration.</p> <p dir="auto"><strong>Steps</strong></p> <ul dir="auto"> <li>run <code class="notranslate">npx playwright test --ui</code></li> <li>run the test</li> </ul> <p dir="auto"><strong>Expected</strong></p> <p dir="auto">Even though the test fails, it should be marked as successful.</p> <p dir="auto"><strong>Actual</strong></p> <p dir="auto">It's marked as failed. All other forms of running Playwright tests consider this test successful:</p> <ul dir="auto"> <li>clicking on the test using VS Code extension</li> <li>running <code class="notranslate">npx playwright test</code></li> <li>even using the debug mode</li> </ul> <p dir="auto">But UI doesn't seem to recognize the <code class="notranslate">test.fail()</code> in any way (might be the same with <code class="notranslate">test.skip()</code> and others, I didn't try).</p> <p dir="auto">I'm aware that UI it's experimental, I just really like the <code class="notranslate">test.fail()</code> feature. <g-emoji class="g-emoji" alias="smiling_face_with_three_hearts" fallback-src="https://github.githubassets.com/images/icons/emoji/unicode/1f970.png">🥰</g-emoji></p>
<h3 dir="auto">System info</h3> <ul dir="auto"> <li>Playwright Version: [v1.31.1]</li> <li>Operating System: [macOS 13.2.1]</li> <li>Other info: UI Mode</li> </ul> <h3 dir="auto">Source code</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I provided exact source code that allows reproducing the issue locally.</li> </ul> <p dir="auto"><strong>Test file (self-contained)</strong></p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="test('Should be marked as passed', async ({}) =&gt; { test.fail(); expect(1).toEqual(2); });"><pre class="notranslate"><span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-s">'Should be marked as passed'</span><span class="pl-kos">,</span> <span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">{</span><span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-s1">test</span><span class="pl-kos">.</span><span class="pl-en">fail</span><span class="pl-kos">(</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-en">expect</span><span class="pl-kos">(</span><span class="pl-c1">1</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toEqual</span><span class="pl-kos">(</span><span class="pl-c1">2</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto"><strong>Steps</strong></p> <ul dir="auto"> <li>Run the test using UI Mode</li> </ul> <p dir="auto"><strong>Expected</strong></p> <p dir="auto">Test should end with pass, because <code class="notranslate">test.fail()</code> was used.</p> <p dir="auto"><strong>Actual</strong></p> <p dir="auto">Test ends with fail. The same test executed using VS Code extension ends with pass.<br> <a target="_blank" rel="noopener noreferrer nofollow" href="https://user-images.githubusercontent.com/23238398/228843558-9854beea-5879-4954-af1a-282d6fcc31b0.jpg"><img src="https://user-images.githubusercontent.com/23238398/228843558-9854beea-5879-4954-af1a-282d6fcc31b0.jpg" alt="Image 30-03-2023 at 14 59" style="max-width: 100%;"></a></p>
1
<p dir="auto">We've found a problem where repeating a row and a column in a DataFrame fails with a "Cannot create BlockManager._ref_locs" assertion error.</p> <p dir="auto">The dataframe is very simple:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="df = pd.DataFrame(np.arange(25.).reshape(5,5), index=['a', 'b', 'c', 'd', 'e'], columns=['a', 'b', 'c', 'd', 'e'])"><pre class="notranslate"><span class="pl-s1">df</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-v">DataFrame</span>(<span class="pl-s1">np</span>.<span class="pl-en">arange</span>(<span class="pl-c1">25.</span>).<span class="pl-en">reshape</span>(<span class="pl-c1">5</span>,<span class="pl-c1">5</span>), <span class="pl-s1">index</span><span class="pl-c1">=</span>[<span class="pl-s">'a'</span>, <span class="pl-s">'b'</span>, <span class="pl-s">'c'</span>, <span class="pl-s">'d'</span>, <span class="pl-s">'e'</span>], <span class="pl-s1">columns</span><span class="pl-c1">=</span>[<span class="pl-s">'a'</span>, <span class="pl-s">'b'</span>, <span class="pl-s">'c'</span>, <span class="pl-s">'d'</span>, <span class="pl-s">'e'</span>])</pre></div> <p dir="auto">And we pull the data out like this:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="z = df[['a', 'c', 'a']] z.ix[['a', 'c', 'a']] Traceback (most recent call last): File &quot;/users/is/dbew/pyenvs/timeseries/lib/python2.7/site-packages/ipython-1.1.0_1_ahl1-py2.7.egg/IPython/core/interactiveshell.py&quot;, line 2830, in run_code exec code_obj in self.user_global_ns, self.user_ns File &quot;&lt;ipython-input-87-3bdc0aacc4b5&gt;&quot;, line 1, in &lt;module&gt; z.ix[['a', 'c', 'a']] File &quot;/users/is/dbew/pyenvs/timeseries/lib/python2.7/site-packages/pandas-0.13.0_292_g4dcecb0-py2.7-linux-x86_64.egg/pandas/core/indexing.py&quot;, line 56, in __getitem__ return self._getitem_axis(key, axis=0) File &quot;/users/is/dbew/pyenvs/timeseries/lib/python2.7/site-packages/pandas-0.13.0_292_g4dcecb0-py2.7-linux-x86_64.egg/pandas/core/indexing.py&quot;, line 744, in _getitem_axis return self._getitem_iterable(key, axis=axis) File &quot;/users/is/dbew/pyenvs/timeseries/lib/python2.7/site-packages/pandas-0.13.0_292_g4dcecb0-py2.7-linux-x86_64.egg/pandas/core/indexing.py&quot;, line 816, in _getitem_iterable convert=False) File &quot;/users/is/dbew/pyenvs/timeseries/lib/python2.7/site-packages/pandas-0.13.0_292_g4dcecb0-py2.7-linux-x86_64.egg/pandas/core/generic.py&quot;, line 1164, in take new_data = self._data.take(indices, axis=baxis) File &quot;/users/is/dbew/pyenvs/timeseries/lib/python2.7/site-packages/pandas-0.13.0_292_g4dcecb0-py2.7-linux-x86_64.egg/pandas/core/internals.py&quot;, line 3366, in take ref_items=new_axes[0], axis=axis) File &quot;/users/is/dbew/pyenvs/timeseries/lib/python2.7/site-packages/pandas-0.13.0_292_g4dcecb0-py2.7-linux-x86_64.egg/pandas/core/internals.py&quot;, line 2337, in apply do_integrity_check=do_integrity_check) File &quot;/users/is/dbew/pyenvs/timeseries/lib/python2.7/site-packages/pandas-0.13.0_292_g4dcecb0-py2.7-linux-x86_64.egg/pandas/core/internals.py&quot;, line 1990, in __init__ self._set_ref_locs(do_refs=True) File &quot;/users/is/dbew/pyenvs/timeseries/lib/python2.7/site-packages/pandas-0.13.0_292_g4dcecb0-py2.7-linux-x86_64.egg/pandas/core/internals.py&quot;, line 2130, in _set_ref_locs 'have _ref_locs set' % (block, labels)) AssertionError: Cannot create BlockManager._ref_locs because block [FloatBlock: [a], 1 x 3, dtype: float64] with duplicate items [Index([u'a', u'c', u'a'], dtype='object')] does not have _ref_locs set"><pre class="notranslate"><span class="pl-s1">z</span> <span class="pl-c1">=</span> <span class="pl-s1">df</span>[[<span class="pl-s">'a'</span>, <span class="pl-s">'c'</span>, <span class="pl-s">'a'</span>]] <span class="pl-s1">z</span>.<span class="pl-s1">ix</span>[[<span class="pl-s">'a'</span>, <span class="pl-s">'c'</span>, <span class="pl-s">'a'</span>]] <span class="pl-v">Traceback</span> (<span class="pl-s1">most</span> <span class="pl-s1">recent</span> <span class="pl-s1">call</span> <span class="pl-s1">last</span>): <span class="pl-v">File</span> <span class="pl-s">"/users/is/dbew/pyenvs/timeseries/lib/python2.7/site-packages/ipython-1.1.0_1_ahl1-py2.7.egg/IPython/core/interactiveshell.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">2830</span>, <span class="pl-s1">in</span> <span class="pl-s1">run_code</span> <span class="pl-s1">exec</span> <span class="pl-s1">code_obj</span> <span class="pl-c1">in</span> <span class="pl-s1">self</span>.<span class="pl-s1">user_global_ns</span>, <span class="pl-s1">self</span>.<span class="pl-s1">user_ns</span> <span class="pl-v">File</span> <span class="pl-s">"&lt;ipython-input-87-3bdc0aacc4b5&gt;"</span>, <span class="pl-s1">line</span> <span class="pl-c1">1</span>, <span class="pl-s1">in</span> <span class="pl-c1">&lt;</span><span class="pl-s1">module</span><span class="pl-c1">&gt;</span> <span class="pl-s1">z</span>.<span class="pl-s1">ix</span>[[<span class="pl-s">'a'</span>, <span class="pl-s">'c'</span>, <span class="pl-s">'a'</span>]] <span class="pl-v">File</span> <span class="pl-s">"/users/is/dbew/pyenvs/timeseries/lib/python2.7/site-packages/pandas-0.13.0_292_g4dcecb0-py2.7-linux-x86_64.egg/pandas/core/indexing.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">56</span>, <span class="pl-s1">in</span> <span class="pl-s1">__getitem__</span> <span class="pl-k">return</span> <span class="pl-s1">self</span>.<span class="pl-en">_getitem_axis</span>(<span class="pl-s1">key</span>, <span class="pl-s1">axis</span><span class="pl-c1">=</span><span class="pl-c1">0</span>) <span class="pl-v">File</span> <span class="pl-s">"/users/is/dbew/pyenvs/timeseries/lib/python2.7/site-packages/pandas-0.13.0_292_g4dcecb0-py2.7-linux-x86_64.egg/pandas/core/indexing.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">744</span>, <span class="pl-s1">in</span> <span class="pl-s1">_getitem_axis</span> <span class="pl-k">return</span> <span class="pl-s1">self</span>.<span class="pl-en">_getitem_iterable</span>(<span class="pl-s1">key</span>, <span class="pl-s1">axis</span><span class="pl-c1">=</span><span class="pl-s1">axis</span>) <span class="pl-v">File</span> <span class="pl-s">"/users/is/dbew/pyenvs/timeseries/lib/python2.7/site-packages/pandas-0.13.0_292_g4dcecb0-py2.7-linux-x86_64.egg/pandas/core/indexing.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">816</span>, <span class="pl-s1">in</span> <span class="pl-s1">_getitem_iterable</span> <span class="pl-s1">convert</span><span class="pl-c1">=</span><span class="pl-c1">False</span>) <span class="pl-v">File</span> <span class="pl-s">"/users/is/dbew/pyenvs/timeseries/lib/python2.7/site-packages/pandas-0.13.0_292_g4dcecb0-py2.7-linux-x86_64.egg/pandas/core/generic.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">1164</span>, <span class="pl-s1">in</span> <span class="pl-s1">take</span> <span class="pl-s1">new_data</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-s1">_data</span>.<span class="pl-en">take</span>(<span class="pl-s1">indices</span>, <span class="pl-s1">axis</span><span class="pl-c1">=</span><span class="pl-s1">baxis</span>) <span class="pl-v">File</span> <span class="pl-s">"/users/is/dbew/pyenvs/timeseries/lib/python2.7/site-packages/pandas-0.13.0_292_g4dcecb0-py2.7-linux-x86_64.egg/pandas/core/internals.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">3366</span>, <span class="pl-s1">in</span> <span class="pl-s1">take</span> <span class="pl-s1">ref_items</span><span class="pl-c1">=</span><span class="pl-s1">new_axes</span>[<span class="pl-c1">0</span>], <span class="pl-s1">axis</span><span class="pl-c1">=</span><span class="pl-s1">axis</span>) <span class="pl-v">File</span> <span class="pl-s">"/users/is/dbew/pyenvs/timeseries/lib/python2.7/site-packages/pandas-0.13.0_292_g4dcecb0-py2.7-linux-x86_64.egg/pandas/core/internals.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">2337</span>, <span class="pl-s1">in</span> <span class="pl-s1">apply</span> <span class="pl-s1">do_integrity_check</span><span class="pl-c1">=</span><span class="pl-s1">do_integrity_check</span>) <span class="pl-v">File</span> <span class="pl-s">"/users/is/dbew/pyenvs/timeseries/lib/python2.7/site-packages/pandas-0.13.0_292_g4dcecb0-py2.7-linux-x86_64.egg/pandas/core/internals.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">1990</span>, <span class="pl-s1">in</span> <span class="pl-s1">__init__</span> <span class="pl-s1">self</span>.<span class="pl-en">_set_ref_locs</span>(<span class="pl-s1">do_refs</span><span class="pl-c1">=</span><span class="pl-c1">True</span>) <span class="pl-v">File</span> <span class="pl-s">"/users/is/dbew/pyenvs/timeseries/lib/python2.7/site-packages/pandas-0.13.0_292_g4dcecb0-py2.7-linux-x86_64.egg/pandas/core/internals.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">2130</span>, <span class="pl-s1">in</span> <span class="pl-s1">_set_ref_locs</span> <span class="pl-s">'have _ref_locs set'</span> <span class="pl-c1">%</span> (<span class="pl-s1">block</span>, <span class="pl-s1">labels</span>)) <span class="pl-v">AssertionError</span>: <span class="pl-v">Cannot</span> <span class="pl-s1">create</span> <span class="pl-v">BlockManager</span>.<span class="pl-s1">_ref_locs</span> <span class="pl-s1">because</span> <span class="pl-s1">block</span> [<span class="pl-v">FloatBlock</span>: [<span class="pl-s1">a</span>], <span class="pl-c1">1</span> <span class="pl-s1">x</span> <span class="pl-c1">3</span>, <span class="pl-s1">dtype</span>: <span class="pl-s1">float64</span>] <span class="pl-s1">with</span> <span class="pl-s1">duplicate</span> <span class="pl-s1">items</span> [<span class="pl-v">Index</span>([<span class="pl-s">u'a'</span>, <span class="pl-s">u'c'</span>, <span class="pl-s">u'a'</span>], <span class="pl-s1">dtype</span><span class="pl-c1">=</span><span class="pl-s">'object'</span>)] <span class="pl-s1">does</span> <span class="pl-c1">not</span> <span class="pl-s1">have</span> <span class="pl-s1">_ref_locs</span> <span class="pl-s1">set</span></pre></div> <p dir="auto">If instead we take a copy of the intermediate step, then it works:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="z = df[['a', 'c', 'a']].copy() z.ix[['a', 'c', 'a']] Out[89]: a c a a 0 2 0 c 10 12 10 a 0 2 0 [3 rows x 3 columns]"><pre class="notranslate"><span class="pl-s1">z</span> <span class="pl-c1">=</span> <span class="pl-s1">df</span>[[<span class="pl-s">'a'</span>, <span class="pl-s">'c'</span>, <span class="pl-s">'a'</span>]].<span class="pl-en">copy</span>() <span class="pl-s1">z</span>.<span class="pl-s1">ix</span>[[<span class="pl-s">'a'</span>, <span class="pl-s">'c'</span>, <span class="pl-s">'a'</span>]] <span class="pl-v">Out</span>[<span class="pl-c1">89</span>]: <span class="pl-s1">a</span> <span class="pl-s1">c</span> <span class="pl-s1">a</span> <span class="pl-s1">a</span> <span class="pl-c1">0</span> <span class="pl-c1">2</span> <span class="pl-c1">0</span> <span class="pl-s1">c</span> <span class="pl-c1">10</span> <span class="pl-c1">12</span> <span class="pl-c1">10</span> <span class="pl-s1">a</span> <span class="pl-c1">0</span> <span class="pl-c1">2</span> <span class="pl-c1">0</span> [<span class="pl-c1">3</span> <span class="pl-s1">rows</span> <span class="pl-s1">x</span> <span class="pl-c1">3</span> <span class="pl-s1">columns</span>]</pre></div> <p dir="auto">This means that if you several functions which each do a part of the data processing, you need to know the history of an object to know whether what you're doing works. I think .ix should <em>always</em> succeed on a DataFrame or Series, regardless of how it was constructed.</p> <p dir="auto">(I've read the discussion at <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="26232487" data-permission-text="Title is private" data-url="https://github.com/pandas-dev/pandas/issues/6056" data-hovercard-type="issue" data-hovercard-url="/pandas-dev/pandas/issues/6056/hovercard" href="https://github.com/pandas-dev/pandas/issues/6056">#6056</a> about chained operations - but it's not something you can avoid if you have a pipeline of small steps instead of one big step).</p> <p dir="auto">This wasn't an issue in 0.11.0 but is failing in 0.13.0 and the latest master. Here's the output of installed versions when running on the master:</p> <p dir="auto">commit: None<br> python: 2.7.3.final.0<br> python-bits: 64<br> OS: Linux<br> OS-release: 2.6.18-308.el5<br> processor: x86_64<br> byteorder: little<br> LC_ALL: None<br> LANG: en_GB</p> <p dir="auto">pandas: 0.13.0-292-g4dcecb0<br> Cython: 0.16<br> numpy: 1.7.1<br> scipy: 0.9.0<br> statsmodels: None<br> patsy: None<br> scikits.timeseries: None<br> dateutil: 1.5<br> pytz: None<br> bottleneck: 0.6.0<br> tables: 2.3.1-1<br> numexpr: 2.0.1<br> matplotlib: 1.1.1<br> openpyxl: None<br> xlrd: 0.8.0<br> xlwt: None<br> xlsxwriter: None<br> sqlalchemy: None<br> lxml: 2.3.6<br> bs4: None<br> html5lib: None<br> bq: None<br> apiclient: None</p>
<h4 dir="auto">Code Sample, a copy-pastable example if possible</h4> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="# Your code here ParserErrorTraceback (most recent call last) &lt;ipython-input-9-4892e831abe8&gt; in &lt;module&gt;() 1 import pandas as pd ----&gt; 2 data = pd.read_csv(&quot;https://github.com/vaibhaw1994kumar/MachineLearning-test-cases/blob/master/international-airline-passengers.csv&quot;,usecols=[1],engine='python',skipfooter=3) /usr/lib64/python2.7/site-packages/pandas/io/parsers.pyc in parser_f(filepath_or_buffer, sep, delimiter, header, names, index_col, usecols, squeeze, prefix, mangle_dupe_cols, dtype, engine, converters, true_values, false_values, skipinitialspace, skiprows, nrows, na_values, keep_default_na, na_filter, verbose, skip_blank_lines, parse_dates, infer_datetime_format, keep_date_col, date_parser, dayfirst, iterator, chunksize, compression, thousands, decimal, lineterminator, quotechar, quoting, escapechar, comment, encoding, dialect, tupleize_cols, error_bad_lines, warn_bad_lines, skipfooter, doublequote, delim_whitespace, low_memory, memory_map, float_precision) 676 skip_blank_lines=skip_blank_lines) 677 --&gt; 678 return _read(filepath_or_buffer, kwds) 679 680 parser_f.__name__ = name /usr/lib64/python2.7/site-packages/pandas/io/parsers.pyc in _read(filepath_or_buffer, kwds) 444 445 try: --&gt; 446 data = parser.read(nrows) 447 finally: 448 parser.close() /usr/lib64/python2.7/site-packages/pandas/io/parsers.pyc in read(self, nrows) 1034 raise ValueError('skipfooter not supported for iteration') 1035 -&gt; 1036 ret = self._engine.read(nrows) 1037 1038 # May alter columns / col_dict /usr/lib64/python2.7/site-packages/pandas/io/parsers.pyc in read(self, rows) 2237 def read(self, rows=None): 2238 try: -&gt; 2239 content = self._get_lines(rows) 2240 except StopIteration: 2241 if self._first_chunk: /usr/lib64/python2.7/site-packages/pandas/io/parsers.pyc in _get_lines(self, rows) 2969 while True: 2970 new_row = self._next_iter_line( -&gt; 2971 row_num=self.pos + rows + 1) 2972 rows += 1 2973 /usr/lib64/python2.7/site-packages/pandas/io/parsers.pyc in _next_iter_line(self, row_num) 2715 msg += '. ' + reason 2716 -&gt; 2717 self._alert_malformed(msg, row_num) 2718 return None 2719 /usr/lib64/python2.7/site-packages/pandas/io/parsers.pyc in _alert_malformed(self, msg, row_num) 2674 2675 if self.error_bad_lines: -&gt; 2676 raise ParserError(msg) 2677 elif self.warn_bad_lines: 2678 base = 'Skipping line {row_num}: '.format(row_num=row_num) ParserError: new-line character seen in unquoted field - do you need to open the file in universal-newline mode?. Error could possibly be due to parsing errors in the skipped footer rows (the skipfooter keyword is only applied after Python's csv library has parsed all rows). "><pre class="notranslate"><span class="pl-c"># Your code here</span> <span class="pl-v">ParserErrorTraceback</span> (<span class="pl-s1">most</span> <span class="pl-s1">recent</span> <span class="pl-s1">call</span> <span class="pl-s1">last</span>) <span class="pl-c1">&lt;</span><span class="pl-s1">ipython</span><span class="pl-c1">-</span><span class="pl-s1">input</span><span class="pl-c1">-</span><span class="pl-c1">9</span><span class="pl-c1">-</span><span class="pl-c1">4892e831</span><span class="pl-s1">abe8</span><span class="pl-c1">&gt;</span> <span class="pl-s1">in</span> <span class="pl-c1">&lt;</span><span class="pl-s1">module</span><span class="pl-c1">&gt;</span>() <span class="pl-c1">1</span> <span class="pl-k">import</span> <span class="pl-s1">pandas</span> <span class="pl-k">as</span> <span class="pl-s1">pd</span> <span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">2</span> <span class="pl-s1">data</span> <span class="pl-c1">=</span> <span class="pl-s1">pd</span>.<span class="pl-en">read_csv</span>(<span class="pl-s">"https://github.com/vaibhaw1994kumar/MachineLearning-test-cases/blob/master/international-airline-passengers.csv"</span>,<span class="pl-s1">usecols</span><span class="pl-c1">=</span>[<span class="pl-c1">1</span>],<span class="pl-s1">engine</span><span class="pl-c1">=</span><span class="pl-s">'python'</span>,<span class="pl-s1">skipfooter</span><span class="pl-c1">=</span><span class="pl-c1">3</span>) <span class="pl-c1">/</span><span class="pl-s1">usr</span><span class="pl-c1">/</span><span class="pl-s1">lib64</span><span class="pl-c1">/</span><span class="pl-s1">python2</span>.<span class="pl-c1">7</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">io</span><span class="pl-c1">/</span><span class="pl-s1">parsers</span>.<span class="pl-s1">pyc</span> <span class="pl-c1">in</span> <span class="pl-en">parser_f</span>(<span class="pl-s1">filepath_or_buffer</span>, <span class="pl-s1">sep</span>, <span class="pl-s1">delimiter</span>, <span class="pl-s1">header</span>, <span class="pl-s1">names</span>, <span class="pl-s1">index_col</span>, <span class="pl-s1">usecols</span>, <span class="pl-s1">squeeze</span>, <span class="pl-s1">prefix</span>, <span class="pl-s1">mangle_dupe_cols</span>, <span class="pl-s1">dtype</span>, <span class="pl-s1">engine</span>, <span class="pl-s1">converters</span>, <span class="pl-s1">true_values</span>, <span class="pl-s1">false_values</span>, <span class="pl-s1">skipinitialspace</span>, <span class="pl-s1">skiprows</span>, <span class="pl-s1">nrows</span>, <span class="pl-s1">na_values</span>, <span class="pl-s1">keep_default_na</span>, <span class="pl-s1">na_filter</span>, <span class="pl-s1">verbose</span>, <span class="pl-s1">skip_blank_lines</span>, <span class="pl-s1">parse_dates</span>, <span class="pl-s1">infer_datetime_format</span>, <span class="pl-s1">keep_date_col</span>, <span class="pl-s1">date_parser</span>, <span class="pl-s1">dayfirst</span>, <span class="pl-s1">iterator</span>, <span class="pl-s1">chunksize</span>, <span class="pl-s1">compression</span>, <span class="pl-s1">thousands</span>, <span class="pl-s1">decimal</span>, <span class="pl-s1">lineterminator</span>, <span class="pl-s1">quotechar</span>, <span class="pl-s1">quoting</span>, <span class="pl-s1">escapechar</span>, <span class="pl-s1">comment</span>, <span class="pl-s1">encoding</span>, <span class="pl-s1">dialect</span>, <span class="pl-s1">tupleize_cols</span>, <span class="pl-s1">error_bad_lines</span>, <span class="pl-s1">warn_bad_lines</span>, <span class="pl-s1">skipfooter</span>, <span class="pl-s1">doublequote</span>, <span class="pl-s1">delim_whitespace</span>, <span class="pl-s1">low_memory</span>, <span class="pl-s1">memory_map</span>, <span class="pl-s1">float_precision</span>) <span class="pl-c1">676</span> <span class="pl-s1">skip_blank_lines</span><span class="pl-c1">=</span><span class="pl-s1">skip_blank_lines</span>) <span class="pl-c1">677</span> <span class="pl-c1">-</span><span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">678</span> <span class="pl-s1">return</span> <span class="pl-en">_read</span>(<span class="pl-s1">filepath_or_buffer</span>, <span class="pl-s1">kwds</span>) <span class="pl-c1">679</span> <span class="pl-c1">680</span> <span class="pl-s1">parser_f</span>.<span class="pl-s1">__name__</span> <span class="pl-c1">=</span> <span class="pl-s1">name</span> <span class="pl-c1">/</span><span class="pl-s1">usr</span><span class="pl-c1">/</span><span class="pl-s1">lib64</span><span class="pl-c1">/</span><span class="pl-s1">python2</span>.<span class="pl-c1">7</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">io</span><span class="pl-c1">/</span><span class="pl-s1">parsers</span>.<span class="pl-s1">pyc</span> <span class="pl-c1">in</span> <span class="pl-en">_read</span>(<span class="pl-s1">filepath_or_buffer</span>, <span class="pl-s1">kwds</span>) <span class="pl-c1">444</span> <span class="pl-c1">445</span> <span class="pl-k">try</span>: <span class="pl-c1">-</span><span class="pl-c1">-&gt;</span> <span class="pl-c1">446</span> <span class="pl-s1">data</span> <span class="pl-c1">=</span> <span class="pl-s1">parser</span>.<span class="pl-en">read</span>(<span class="pl-s1">nrows</span>) <span class="pl-c1">447</span> <span class="pl-k">finally</span>: <span class="pl-c1">448</span> <span class="pl-s1">parser</span>.<span class="pl-en">close</span>() <span class="pl-c1">/</span><span class="pl-s1">usr</span><span class="pl-c1">/</span><span class="pl-s1">lib64</span><span class="pl-c1">/</span><span class="pl-s1">python2</span>.<span class="pl-c1">7</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">io</span><span class="pl-c1">/</span><span class="pl-s1">parsers</span>.<span class="pl-s1">pyc</span> <span class="pl-c1">in</span> <span class="pl-en">read</span>(<span class="pl-s1">self</span>, <span class="pl-s1">nrows</span>) <span class="pl-c1">1034</span> <span class="pl-k">raise</span> <span class="pl-v">ValueError</span>(<span class="pl-s">'skipfooter not supported for iteration'</span>) <span class="pl-c1">1035</span> <span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">1036</span> <span class="pl-s1">ret</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-s1">_engine</span>.<span class="pl-en">read</span>(<span class="pl-s1">nrows</span>) <span class="pl-c1">1037</span> <span class="pl-c1">1038</span> <span class="pl-c"># May alter columns / col_dict</span> <span class="pl-c1">/</span><span class="pl-s1">usr</span><span class="pl-c1">/</span><span class="pl-s1">lib64</span><span class="pl-c1">/</span><span class="pl-s1">python2</span>.<span class="pl-c1">7</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">io</span><span class="pl-c1">/</span><span class="pl-s1">parsers</span>.<span class="pl-s1">pyc</span> <span class="pl-c1">in</span> <span class="pl-en">read</span>(<span class="pl-s1">self</span>, <span class="pl-s1">rows</span>) <span class="pl-c1">2237</span> <span class="pl-k">def</span> <span class="pl-en">read</span>(<span class="pl-s1">self</span>, <span class="pl-s1">rows</span><span class="pl-c1">=</span><span class="pl-c1">None</span>): <span class="pl-c1">2238</span> <span class="pl-k">try</span>: <span class="pl-c1">-&gt;</span> <span class="pl-c1">2239</span> <span class="pl-s1">content</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-en">_get_lines</span>(<span class="pl-s1">rows</span>) <span class="pl-c1">2240</span> <span class="pl-k">except</span> <span class="pl-v">StopIteration</span>: <span class="pl-c1">2241</span> <span class="pl-k">if</span> <span class="pl-s1">self</span>.<span class="pl-s1">_first_chunk</span>: <span class="pl-c1">/</span><span class="pl-s1">usr</span><span class="pl-c1">/</span><span class="pl-s1">lib64</span><span class="pl-c1">/</span><span class="pl-s1">python2</span>.<span class="pl-c1">7</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">io</span><span class="pl-c1">/</span><span class="pl-s1">parsers</span>.<span class="pl-s1">pyc</span> <span class="pl-c1">in</span> <span class="pl-en">_get_lines</span>(<span class="pl-s1">self</span>, <span class="pl-s1">rows</span>) <span class="pl-c1">2969</span> <span class="pl-s1">while</span> <span class="pl-c1">True</span>: <span class="pl-c1">2970</span> <span class="pl-s1">new_row</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-en">_next_iter_line</span>( <span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">2971</span> <span class="pl-s1">row_num</span><span class="pl-c1">=</span><span class="pl-s1">self</span>.<span class="pl-s1">pos</span> <span class="pl-c1">+</span> <span class="pl-s1">rows</span> <span class="pl-c1">+</span> <span class="pl-c1">1</span>) <span class="pl-c1">2972</span> <span class="pl-s1">rows</span> <span class="pl-c1">+=</span> <span class="pl-c1">1</span> <span class="pl-c1">2973</span> <span class="pl-c1">/</span><span class="pl-s1">usr</span><span class="pl-c1">/</span><span class="pl-s1">lib64</span><span class="pl-c1">/</span><span class="pl-s1">python2</span>.<span class="pl-c1">7</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">io</span><span class="pl-c1">/</span><span class="pl-s1">parsers</span>.<span class="pl-s1">pyc</span> <span class="pl-c1">in</span> <span class="pl-en">_next_iter_line</span>(<span class="pl-s1">self</span>, <span class="pl-s1">row_num</span>) <span class="pl-c1">2715</span> <span class="pl-s1">msg</span> <span class="pl-c1">+=</span> <span class="pl-s">'. '</span> <span class="pl-c1">+</span> <span class="pl-s1">reason</span> <span class="pl-c1">2716</span> <span class="pl-c1">-</span><span class="pl-c1">&gt;</span> <span class="pl-c1">2717</span> <span class="pl-s1">self</span>.<span class="pl-en">_alert_malformed</span>(<span class="pl-s1">msg</span>, <span class="pl-s1">row_num</span>) <span class="pl-c1">2718</span> <span class="pl-k">return</span> <span class="pl-c1">None</span> <span class="pl-c1">2719</span> <span class="pl-c1">/</span><span class="pl-s1">usr</span><span class="pl-c1">/</span><span class="pl-s1">lib64</span><span class="pl-c1">/</span><span class="pl-s1">python2</span>.<span class="pl-c1">7</span><span class="pl-c1">/</span><span class="pl-s1">site</span><span class="pl-c1">-</span><span class="pl-s1">packages</span><span class="pl-c1">/</span><span class="pl-s1">pandas</span><span class="pl-c1">/</span><span class="pl-s1">io</span><span class="pl-c1">/</span><span class="pl-s1">parsers</span>.<span class="pl-s1">pyc</span> <span class="pl-c1">in</span> <span class="pl-en">_alert_malformed</span>(<span class="pl-s1">self</span>, <span class="pl-s1">msg</span>, <span class="pl-s1">row_num</span>) <span class="pl-c1">2674</span> <span class="pl-c1">2675</span> <span class="pl-k">if</span> <span class="pl-s1">self</span>.<span class="pl-s1">error_bad_lines</span>: <span class="pl-c1">-&gt;</span> <span class="pl-c1">2676</span> <span class="pl-k">raise</span> <span class="pl-v">ParserError</span>(<span class="pl-s1">msg</span>) <span class="pl-c1">2677</span> <span class="pl-s1">elif</span> <span class="pl-s1">self</span>.<span class="pl-s1">warn_bad_lines</span>: <span class="pl-c1">2678</span> <span class="pl-s1">base</span> <span class="pl-c1">=</span> <span class="pl-s">'Skipping line {row_num}: '</span>.<span class="pl-en">format</span>(<span class="pl-s1">row_num</span><span class="pl-c1">=</span><span class="pl-s1">row_num</span>) <span class="pl-v">ParserError</span>: <span class="pl-s1">new</span><span class="pl-c1">-</span><span class="pl-s1">line</span> <span class="pl-s1">character</span> <span class="pl-s1">seen</span> <span class="pl-c1">in</span> <span class="pl-s1">unquoted</span> <span class="pl-s1">field</span> <span class="pl-c1">-</span> <span class="pl-s1">do</span> <span class="pl-s1">you</span> <span class="pl-s1">need</span> <span class="pl-s1">to</span> <span class="pl-s1">open</span> <span class="pl-s1">the</span> <span class="pl-s1">file</span> <span class="pl-c1">in</span> <span class="pl-s1">universal</span><span class="pl-c1">-</span><span class="pl-s1">newline</span> <span class="pl-s1">mode</span>?. <span class="pl-v">Error</span> <span class="pl-s1">could</span> <span class="pl-s1">possibly</span> <span class="pl-s1">be</span> <span class="pl-s1">due</span> <span class="pl-s1">to</span> <span class="pl-s1">parsing</span> <span class="pl-s1">errors</span> <span class="pl-c1">in</span> <span class="pl-s1">the</span> <span class="pl-s1">skipped</span> <span class="pl-s1">footer</span> <span class="pl-en">rows</span> (<span class="pl-s1">the</span> <span class="pl-s1">skipfooter</span> <span class="pl-s1">keyword</span> <span class="pl-c1">is</span> <span class="pl-s1">only</span> <span class="pl-s1">applied</span> <span class="pl-s1">after</span> <span class="pl-v">Python</span>'<span class="pl-s1">s</span> <span class="pl-s1">csv</span> <span class="pl-s1">library</span> <span class="pl-s1">has</span> <span class="pl-s1">parsed</span> <span class="pl-s1">all</span> <span class="pl-s1">rows</span>).</pre></div> <h4 dir="auto">Problem description</h4> <p dir="auto">[this should explain <strong>why</strong> the current behaviour is a problem and why the expected output is a better solution.]</p> <p dir="auto"><strong>Note</strong>: We receive a lot of issues on our GitHub tracker, so it is very possible that your issue has been posted before. Please check first before submitting so that we do not have to handle and close duplicates!</p> <p dir="auto"><strong>Note</strong>: Many problems can be resolved by simply upgrading <code class="notranslate">pandas</code> to the latest version. Before submitting, please check if that solution works for you. If possible, you may want to check if <code class="notranslate">master</code> addresses this issue, but that is not necessary.</p> <p dir="auto">For documentation-related issues, you can check the latest versions of the docs on <code class="notranslate">master</code> here:</p> <p dir="auto"><a href="https://pandas-docs.github.io/pandas-docs-travis/" rel="nofollow">https://pandas-docs.github.io/pandas-docs-travis/</a></p> <p dir="auto">If the issue has not been resolved there, go ahead and file it in the issue tracker.</p> <h4 dir="auto">Expected Output</h4> <p dir="auto">data should be uploaded</p> <h4 dir="auto">Output of <code class="notranslate">pd.show_versions()</code></h4> <details> <p dir="auto">[paste the output of <code class="notranslate">pd.show_versions()</code> here below this line]</p> </details>
0
<p dir="auto">I do see the numpy package among site packages under lib directory! But it fails to import numpy. Here is the error I get when I try to import numpy on anaconda3:</p> <p dir="auto">Traceback (most recent call last):</p> <p dir="auto">File "", line 1, in <br> import matplotlib</p> <p dir="auto">File "C:\Users\Maryam\AppData\Roaming\Python\Python37\site-packages\matplotlib_<em>init</em>_.py", line 141, in <br> from . import cbook, rcsetup</p> <p dir="auto">File "C:\Users\Maryam\AppData\Roaming\Python\Python37\site-packages\matplotlib\cbook_<em>init</em>_.py", line 33, in <br> import numpy as np</p> <p dir="auto">File "C:\Users\Maryam\AppData\Roaming\Python\Python37\site-packages\numpy_<em>init</em>_.py", line 142, in <br> from . import core</p> <p dir="auto">File "C:\Users\Maryam\AppData\Roaming\Python\Python37\site-packages\numpy\core_<em>init</em>_.py", line 47, in <br> raise ImportError(msg)</p> <p dir="auto">ImportError:</p> <p dir="auto">IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!</p> <p dir="auto">Importing the multiarray numpy extension module failed. Most<br> likely you are trying to import a failed build of numpy.<br> Here is how to proceed:</p> <ul dir="auto"> <li>If you're working with a numpy git repository, try <code class="notranslate">git clean -xdf</code><br> (removes all files not under version control) and rebuild numpy.</li> <li>If you are simply trying to use the numpy version that you have installed:<br> your installation is broken - please reinstall numpy.</li> <li>If you have already reinstalled and that did not fix the problem, then: <ol dir="auto"> <li> <p dir="auto">Check that you are using the Python you expect (you're using C:\Users\Maryam\Anaconda3\pythonw.exe),<br> and that you have no directories in your PATH or PYTHONPATH that can<br> interfere with the Python and numpy versions you're trying to use.</p> </li> <li> <p dir="auto">If (1) looks fine, you can open a new issue at<br> <a href="https://github.com/numpy/numpy/issues">https://github.com/numpy/numpy/issues</a>. Please include details on:</p> <ul dir="auto"> <li>how you installed Python</li> <li>how you installed numpy</li> <li>your operating system</li> <li>whether or not you have multiple versions of Python installed</li> <li>if you built from source, your compiler versions and ideally a build log</li> </ul> <p dir="auto">Note: this error has many possible causes, so please don't comment on<br> an existing issue about this - open a new one instead.</p> </li> </ol> </li> </ul> <p dir="auto">Original error was: No module named 'numpy.core._multiarray_umath'</p>
<p dir="auto">Create fresh virtual env with Anaconda Navigator 1.9.6 under Windows 10, selecting Python 3.7, naming python37</p> <p dir="auto">In the console of VSCode:</p> <ul dir="auto"> <li>activate python37</li> <li>pip install numpy</li> </ul> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="(python37) D:\TfsProj\alphastone&gt;pip install numpy Collecting numpy Using cached https://files.pythonhosted.org/packages/41/b8/3a6b07352c2542ca1c89be7583e7ca07bf513895b6ac59ae008054f326b1/numpy-1.16.1-cp37-cp37m-win_amd64.whl Installing collected packages: numpy Successfully installed numpy-1.16.1"><pre class="notranslate"><code class="notranslate">(python37) D:\TfsProj\alphastone&gt;pip install numpy Collecting numpy Using cached https://files.pythonhosted.org/packages/41/b8/3a6b07352c2542ca1c89be7583e7ca07bf513895b6ac59ae008054f326b1/numpy-1.16.1-cp37-cp37m-win_amd64.whl Installing collected packages: numpy Successfully installed numpy-1.16.1 </code></pre></div> <p dir="auto">(same with parameter --no-cache-dir)</p> <ul dir="auto"> <li>python</li> <li>import numpy</li> </ul> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="(python37) D:\TfsProj\alphastone&gt;python Python 3.7.2 (default, Feb 11 2019, 14:11:50) [MSC v.1915 64 bit (AMD64)] :: Anaconda, Inc. on win32 Type &quot;help&quot;, &quot;copyright&quot;, &quot;credits&quot; or &quot;license&quot; for more information. &gt;&gt;&gt; import numpy Traceback (most recent call last): File &quot;C:\Users\Name\.conda\envs\python37\lib\site-packages\numpy\core\__init__.py&quot;, line 16, in &lt;module&gt; from . import multiarray File &quot;C:\Users\Name\.conda\envs\python37\lib\site-packages\numpy\core\multiarray.py&quot;, line 12, in &lt;module&gt; from . import overrides File &quot;C:\Users\Name\.conda\envs\python37\lib\site-packages\numpy\core\overrides.py&quot;, line 6, in &lt;module&gt; from numpy.core._multiarray_umath import ( ImportError: DLL load failed: Das angegebene Modul wurde nicht gefunden. During handling of the above exception, another exception occurred: Traceback (most recent call last): File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt; File &quot;C:\Users\Name\.conda\envs\python37\lib\site-packages\numpy\__init__.py&quot;, line 142, in &lt;module&gt; from . import core File &quot;C:\Users\Name\.conda\envs\python37\lib\site-packages\numpy\core\__init__.py&quot;, line 47, in &lt;module&gt; raise ImportError(msg) ImportError: IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE!"><pre class="notranslate"><code class="notranslate">(python37) D:\TfsProj\alphastone&gt;python Python 3.7.2 (default, Feb 11 2019, 14:11:50) [MSC v.1915 64 bit (AMD64)] :: Anaconda, Inc. on win32 Type "help", "copyright", "credits" or "license" for more information. &gt;&gt;&gt; import numpy Traceback (most recent call last): File "C:\Users\Name\.conda\envs\python37\lib\site-packages\numpy\core\__init__.py", line 16, in &lt;module&gt; from . import multiarray File "C:\Users\Name\.conda\envs\python37\lib\site-packages\numpy\core\multiarray.py", line 12, in &lt;module&gt; from . import overrides File "C:\Users\Name\.conda\envs\python37\lib\site-packages\numpy\core\overrides.py", line 6, in &lt;module&gt; from numpy.core._multiarray_umath import ( ImportError: DLL load failed: Das angegebene Modul wurde nicht gefunden. During handling of the above exception, another exception occurred: Traceback (most recent call last): File "&lt;stdin&gt;", line 1, in &lt;module&gt; File "C:\Users\Name\.conda\envs\python37\lib\site-packages\numpy\__init__.py", line 142, in &lt;module&gt; from . import core File "C:\Users\Name\.conda\envs\python37\lib\site-packages\numpy\core\__init__.py", line 47, in &lt;module&gt; raise ImportError(msg) ImportError: IMPORTANT: PLEASE READ THIS FOR ADVICE ON HOW TO SOLVE THIS ISSUE! </code></pre></div> <p dir="auto">All advices, reinstallations via pip and conda, or different numpy versions (e.g. 1.15.4) didn't solve this issue for me.</p> <p dir="auto">If I do multiple pip uninstall numpy until there is no numpy left, and then do a conda install numpy, importing numpy interestingly works (in 1.15.4).</p> <p dir="auto">A conda install numpy does the following:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="The following NEW packages will be INSTALLED: blas pkgs/main/win-64::blas-1.0-mkl icc_rt pkgs/main/win-64::icc_rt-2019.0.0-h0cc432a_1 intel-openmp pkgs/main/win-64::intel-openmp-2019.1-144 mkl pkgs/main/win-64::mkl-2019.1-144 mkl_fft pkgs/main/win-64::mkl_fft-1.0.10-py37h14836fe_0 mkl_random pkgs/main/win-64::mkl_random-1.0.2-py37h343c172_0 numpy pkgs/main/win-64::numpy-1.15.4-py37h19fb1c0_0 numpy-base pkgs/main/win-64::numpy-base-1.15.4-py37hc3f5095_0"><pre class="notranslate"><code class="notranslate">The following NEW packages will be INSTALLED: blas pkgs/main/win-64::blas-1.0-mkl icc_rt pkgs/main/win-64::icc_rt-2019.0.0-h0cc432a_1 intel-openmp pkgs/main/win-64::intel-openmp-2019.1-144 mkl pkgs/main/win-64::mkl-2019.1-144 mkl_fft pkgs/main/win-64::mkl_fft-1.0.10-py37h14836fe_0 mkl_random pkgs/main/win-64::mkl_random-1.0.2-py37h343c172_0 numpy pkgs/main/win-64::numpy-1.15.4-py37h19fb1c0_0 numpy-base pkgs/main/win-64::numpy-base-1.15.4-py37hc3f5095_0 </code></pre></div> <p dir="auto">What's missing for the pip way?<br> Any ideas?</p>
1
<p dir="auto"><strong>Context:</strong></p> <ul dir="auto"> <li>GOOD Playwright Version: 1.15.0</li> <li>BAD Playwright Version: 1.16.0</li> <li>Operating System: macOS</li> <li>Extra: Node.js v16.15.0</li> </ul> <p dir="auto"><strong>Code Snippet</strong></p> <div class="highlight highlight-source-ts notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="import { expect, test } from '@playwright/test'; test('toHaveJSProperty', async ({ page }) =&gt; { await page.setContent('&lt;video muted /&gt;'); const video = page.locator('video'); await expect(video).toHaveJSProperty('muted', true); // ✅ passed await video.evaluate&lt;unknown, HTMLVideoElement&gt;((node) =&gt; (node.muted = false)); await expect(video).toHaveJSProperty('muted', false); // ❌ failed });"><pre class="notranslate"><span class="pl-k">import</span> <span class="pl-kos">{</span> <span class="pl-s1">expect</span><span class="pl-kos">,</span> <span class="pl-s1">test</span> <span class="pl-kos">}</span> <span class="pl-k">from</span> <span class="pl-s">'@playwright/test'</span><span class="pl-kos">;</span> <span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-s">'toHaveJSProperty'</span><span class="pl-kos">,</span> <span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">{</span> page <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">setContent</span><span class="pl-kos">(</span><span class="pl-s">'&lt;video muted /&gt;'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-s1">video</span> <span class="pl-c1">=</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">locator</span><span class="pl-kos">(</span><span class="pl-s">'video'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">await</span> <span class="pl-en">expect</span><span class="pl-kos">(</span><span class="pl-s1">video</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toHaveJSProperty</span><span class="pl-kos">(</span><span class="pl-s">'muted'</span><span class="pl-kos">,</span> <span class="pl-c1">true</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// ✅ passed</span> <span class="pl-k">await</span> <span class="pl-s1">video</span><span class="pl-kos">.</span><span class="pl-c1">evaluate</span><span class="pl-kos">&lt;</span><span class="pl-smi">unknown</span><span class="pl-kos">,</span> <span class="pl-smi">HTMLVideoElement</span><span class="pl-kos">&gt;</span><span class="pl-kos">(</span><span class="pl-kos">(</span><span class="pl-s1">node</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">(</span><span class="pl-s1">node</span><span class="pl-kos">.</span><span class="pl-c1">muted</span> <span class="pl-c1">=</span> <span class="pl-c1">false</span><span class="pl-kos">)</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">await</span> <span class="pl-en">expect</span><span class="pl-kos">(</span><span class="pl-s1">video</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toHaveJSProperty</span><span class="pl-kos">(</span><span class="pl-s">'muted'</span><span class="pl-kos">,</span> <span class="pl-c1">false</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// ❌ failed</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto"><strong>Describe the bug</strong></p> <p dir="auto">The second assertion shows "expect.toHaveJSProperty: expectedValue: expected object, got boolean".</p> <p dir="auto">But if I change it to <code class="notranslate">expect(video).toHaveJSProperty('muted', {})</code>,<br> the error became:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" Error: expect(received).toHaveJSProperty(expected) // deep equality Expected: {} Received: false"><pre class="notranslate"><code class="notranslate"> Error: expect(received).toHaveJSProperty(expected) // deep equality Expected: {} Received: false </code></pre></div>
<p dir="auto"><strong>Context:</strong></p> <ul dir="auto"> <li>Playwright Version: 1.21.1 And <a href="mailto:[email protected]">[email protected]</a></li> <li>Operating System: Mac</li> <li>Node.js version: v16.15.0</li> <li>Browser: All</li> <li>Extra: -</li> </ul> <p dir="auto">When pass false as expected value of toHaveJSProperty,<br> Playwright throws <code class="notranslate">expect.toHaveJSProperty: expectedValue: expected object, got boolean</code> error.</p> <p dir="auto"><strong>Code Snippet</strong></p> <div class="highlight highlight-source-js notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="// This test is pass test('pass true to toHaveJSProperty', async ({ page }) =&gt; { await page.setContent('&lt;div&gt;&lt;/div&gt;'); await page.$eval('div', e =&gt; e.foo = true); const locator = page.locator('div'); // Pass true as expected value await expect(locator).toHaveJSProperty('foo', true); }); // But this test is failed test('pass false to toHaveJSProperty', async ({ page }) =&gt; { await page.setContent('&lt;div&gt;&lt;/div&gt;'); await page.$eval('div', e =&gt; e.foo = false); const locator = page.locator('div'); // Pass false as expected value await expect(locator).toHaveJSProperty('foo', false); });"><pre class="notranslate"><span class="pl-c">// This test is pass</span> <span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-s">'pass true to toHaveJSProperty'</span><span class="pl-kos">,</span> <span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">{</span> page <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">setContent</span><span class="pl-kos">(</span><span class="pl-s">'&lt;div&gt;&lt;/div&gt;'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">$eval</span><span class="pl-kos">(</span><span class="pl-s">'div'</span><span class="pl-kos">,</span> <span class="pl-s1">e</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">e</span><span class="pl-kos">.</span><span class="pl-c1">foo</span> <span class="pl-c1">=</span> <span class="pl-c1">true</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-s1">locator</span> <span class="pl-c1">=</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">locator</span><span class="pl-kos">(</span><span class="pl-s">'div'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// Pass true as expected value</span> <span class="pl-k">await</span> <span class="pl-en">expect</span><span class="pl-kos">(</span><span class="pl-s1">locator</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toHaveJSProperty</span><span class="pl-kos">(</span><span class="pl-s">'foo'</span><span class="pl-kos">,</span> <span class="pl-c1">true</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// But this test is failed</span> <span class="pl-en">test</span><span class="pl-kos">(</span><span class="pl-s">'pass false to toHaveJSProperty'</span><span class="pl-kos">,</span> <span class="pl-k">async</span> <span class="pl-kos">(</span><span class="pl-kos">{</span> page <span class="pl-kos">}</span><span class="pl-kos">)</span> <span class="pl-c1">=&gt;</span> <span class="pl-kos">{</span> <span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">setContent</span><span class="pl-kos">(</span><span class="pl-s">'&lt;div&gt;&lt;/div&gt;'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">await</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">$eval</span><span class="pl-kos">(</span><span class="pl-s">'div'</span><span class="pl-kos">,</span> <span class="pl-s1">e</span> <span class="pl-c1">=&gt;</span> <span class="pl-s1">e</span><span class="pl-kos">.</span><span class="pl-c1">foo</span> <span class="pl-c1">=</span> <span class="pl-c1">false</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-k">const</span> <span class="pl-s1">locator</span> <span class="pl-c1">=</span> <span class="pl-s1">page</span><span class="pl-kos">.</span><span class="pl-en">locator</span><span class="pl-kos">(</span><span class="pl-s">'div'</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-c">// Pass false as expected value</span> <span class="pl-k">await</span> <span class="pl-en">expect</span><span class="pl-kos">(</span><span class="pl-s1">locator</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">toHaveJSProperty</span><span class="pl-kos">(</span><span class="pl-s">'foo'</span><span class="pl-kos">,</span> <span class="pl-c1">false</span><span class="pl-kos">)</span><span class="pl-kos">;</span> <span class="pl-kos">}</span><span class="pl-kos">)</span><span class="pl-kos">;</span></pre></div> <p dir="auto">I got below error when run "pass false to toHaveJSProperty" test.</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content=" 1) [playwright-test] › playwright.expect.misc.spec.ts:187:1 › pass boolean as false ============== expect.toHaveJSProperty: expectedValue: expected object, got boolean 189 | await page.$eval('div', e =&gt; e.foo = false); 190 | const locator = page.locator('div'); &gt; 191 | await expect(locator).toHaveJSProperty('foo', false); | ^ 192 | });"><pre class="notranslate"><code class="notranslate"> 1) [playwright-test] › playwright.expect.misc.spec.ts:187:1 › pass boolean as false ============== expect.toHaveJSProperty: expectedValue: expected object, got boolean 189 | await page.$eval('div', e =&gt; e.foo = false); 190 | const locator = page.locator('div'); &gt; 191 | await expect(locator).toHaveJSProperty('foo', false); | ^ 192 | }); </code></pre></div>
1
<p dir="auto">See detailed build log at: <a href="http://ci.tensorflow.org/view/Experimental/job/experimental-cais-tensorflow-mac-python3-copt_pip_install-test/1/consoleFull" rel="nofollow">http://ci.tensorflow.org/view/Experimental/job/experimental-cais-tensorflow-mac-python3-copt_pip_install-test/1/consoleFull</a></p> <blockquote> <p dir="auto">In file included from tensorflow/core/kernels/conv_ops.cc:22:<br> In file included from ./tensorflow/core/framework/numeric_op.h:19:<br> In file included from ./tensorflow/core/framework/op_kernel.h:22:<br> In file included from ./tensorflow/core/framework/allocator.h:25:<br> In file included from ./tensorflow/core/framework/type_traits.h:22:<br> In file included from ./tensorflow/core/framework/types.h:23:<br> In file included from third_party/eigen3/unsupported/Eigen/CXX11/Tensor:2:<br> In file included from external/eigen_archive/eigen-eigen-8cd7c2c6e9e1/unsupported/Eigen/CXX11/Tensor:92:<br> external/eigen_archive/eigen-eigen-8cd7c2c6e9e1/unsupported/Eigen/CXX11/src/Tensor/TensorContractionBlocking.h:29:31: error: no type named 'Scalar' in 'Eigen::internal::TensorContractionInputMapper&lt;float, long, 0, Eigen::TensorEvaluator&lt;const Eigen::TensorReshapingOp&lt;const Eigen::DSizes&lt;long, 2&gt;, const Eigen::TensorImagePatchOp&lt;-1, -1, const Eigen::TensorMap&lt;Eigen::Tensor&lt;const float, 4, 1, long&gt;, 16&gt; &gt; &gt;, Eigen::ThreadPoolDevice&gt;, Eigen::array&lt;long, 1&gt;, Eigen::array&lt;long, 1&gt;, 4, false, false, 0&gt;'<br> typedef typename RhsMapper::Scalar RhsScalar;<br> ~~~~~~~~~~~~~~~~~~~~^~~~~~</p> </blockquote> <p dir="auto">This error doesn't occur if Python2 is used on Mac.</p>
<p dir="auto">There are some errors while handling exception <code class="notranslate">tf.errors.OutOfRangeError</code>:<br> On python2 no issues with handling <code class="notranslate">tf.errors.OutOfRangeError</code>.</p> <p dir="auto">During handling of the above exception, another exception occurred.<br> log:</p> <div class="highlight highlight-source-python notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Traceback (most recent call last): File &quot;fully_connected_preloaded.py&quot;, line 158, in &lt;module&gt; tf.app.run() File &quot;/Users/home/tensorflow_python3/lib/python3.5/site-packages/tensorflow/python/platform/default/_app.py&quot;, line 30, in run sys.exit(main(sys.argv)) File &quot;fully_connected_preloaded.py&quot;, line 154, in main run_training() File &quot;fully_connected_preloaded.py&quot;, line 120, in run_training _, loss_value = sess.run([train_op, loss]) File &quot;/Users/home/tensorflow_python3/lib/python3.5/site-packages/tensorflow/python/client/session.py&quot;, line 368, in run results = self._do_run(target_list, unique_fetch_targets, feed_dict_string) File &quot;/Users/home/tensorflow_python3/lib/python3.5/site-packages/tensorflow/python/client/session.py&quot;, line 428, in _do_run target_list) SystemError: &lt;built-in function delete_Status&gt; returned a result with an error set"><pre class="notranslate"><span class="pl-v">Traceback</span> (<span class="pl-s1">most</span> <span class="pl-s1">recent</span> <span class="pl-s1">call</span> <span class="pl-s1">last</span>): <span class="pl-v">File</span> <span class="pl-s">"fully_connected_preloaded.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">158</span>, <span class="pl-s1">in</span> <span class="pl-c1">&lt;</span><span class="pl-s1">module</span><span class="pl-c1">&gt;</span> <span class="pl-s1">tf</span>.<span class="pl-s1">app</span>.<span class="pl-en">run</span>() <span class="pl-v">File</span> <span class="pl-s">"/Users/home/tensorflow_python3/lib/python3.5/site-packages/tensorflow/python/platform/default/_app.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">30</span>, <span class="pl-s1">in</span> <span class="pl-s1">run</span> <span class="pl-s1">sys</span>.<span class="pl-en">exit</span>(<span class="pl-en">main</span>(<span class="pl-s1">sys</span>.<span class="pl-s1">argv</span>)) <span class="pl-v">File</span> <span class="pl-s">"fully_connected_preloaded.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">154</span>, <span class="pl-s1">in</span> <span class="pl-s1">main</span> <span class="pl-en">run_training</span>() <span class="pl-v">File</span> <span class="pl-s">"fully_connected_preloaded.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">120</span>, <span class="pl-s1">in</span> <span class="pl-s1">run_training</span> <span class="pl-s1">_</span>, <span class="pl-s1">loss_value</span> <span class="pl-c1">=</span> <span class="pl-s1">sess</span>.<span class="pl-en">run</span>([<span class="pl-s1">train_op</span>, <span class="pl-s1">loss</span>]) <span class="pl-v">File</span> <span class="pl-s">"/Users/home/tensorflow_python3/lib/python3.5/site-packages/tensorflow/python/client/session.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">368</span>, <span class="pl-s1">in</span> <span class="pl-s1">run</span> <span class="pl-s1">results</span> <span class="pl-c1">=</span> <span class="pl-s1">self</span>.<span class="pl-en">_do_run</span>(<span class="pl-s1">target_list</span>, <span class="pl-s1">unique_fetch_targets</span>, <span class="pl-s1">feed_dict_string</span>) <span class="pl-v">File</span> <span class="pl-s">"/Users/home/tensorflow_python3/lib/python3.5/site-packages/tensorflow/python/client/session.py"</span>, <span class="pl-s1">line</span> <span class="pl-c1">428</span>, <span class="pl-s1">in</span> <span class="pl-s1">_do_run</span> <span class="pl-s1">target_list</span>) <span class="pl-v">SystemError</span>: <span class="pl-c1">&lt;</span><span class="pl-s1">built</span><span class="pl-c1">-</span><span class="pl-s1">in</span> <span class="pl-s1">function</span> <span class="pl-s1">delete_Status</span><span class="pl-c1">&gt;</span> <span class="pl-s1">returned</span> <span class="pl-s1">a</span> <span class="pl-s1">result</span> <span class="pl-k">with</span> <span class="pl-s1">an</span> <span class="pl-s1">error</span> <span class="pl-s1">set</span></pre></div>
1
<p dir="auto">Hi,</p> <p dir="auto">is there currently a way or is it planned for the future that we can access the electron shell API from VS-Code extensions ?</p> <p dir="auto">I would like to implement an extension using the <a href="http://electron.atom.io/docs/v0.36.7/api/browser-window/#class-browserwindow" rel="nofollow">BrowserWindow API of electron</a> (more specifically the <a href="http://electron.atom.io/docs/v0.36.7/api/browser-window/#browserwindowgetallwindows" rel="nofollow">BrowserWindow.getAllWindows() API</a>), but I can't find any way to get access to that from the scope of an extension.</p> <p dir="auto">Thanks</p>
<p dir="auto">It's changed to horizontal and now consumes 40% of my editor space automatically every time I run my program. Extremely annoying, and impossible to get rid of: closing it just reopens it the moment something logs to the console.</p> <p dir="auto">How can I get the previous "vertical" debugger? Or better yet, how can I pull the debug console out into its own window?</p>
0
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=david_syer" rel="nofollow">Dave Syer</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-2804?redirect=false" rel="nofollow">SPR-2804</a></strong> and commented</p> <p dir="auto">Here are some docos I wrote for an implementation that I was considering for springmodules. It seems more like a core feature, when I think about it, so I thought I'd see what people think here...</p> <p dir="auto">1.2. Target Chains</p> <p dir="auto">Use the factory bean to create a composite service that delegates to a chain of existing services, all with the same interface. The chain is terminated according to some simple rules depending on the return type of the method being called. Thus:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="* If the method returns Void, then all targets are executed. * If the method returns Boolean (or boolean), then execution stops with the first target that returns true. * If the method returns Object, then execution stops with the first target that returns not null."><pre class="notranslate"><code class="notranslate">* If the method returns Void, then all targets are executed. * If the method returns Boolean (or boolean), then execution stops with the first target that returns true. * If the method returns Object, then execution stops with the first target that returns not null. </code></pre></div> <p dir="auto">Once the chain has finished executing the composite method returns the object returned by the last executed target. A Target Chain can itself take part in a chain as a target, and the behaviour remains the same.</p> <p dir="auto">If any part of the chain throws an exception the chain terminates and the exception is re-thrown by the composite. No clean up is attempted.</p> <p dir="auto">1.2.1. Example of Target Chain</p> <p dir="auto">To configure a Target Chain all that is needed is a chain of targets (a List), and an object type (which must be an Interface).</p> <p dir="auto">&lt;bean id="compositeResourceLocator"<br> class="org.springmodules.aop.framework.TargetChainProxyFactoryBean"&gt;<br> &lt;property name="objectType" value="com.mycompany.ResourceLocator"/&gt;</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="&lt;property name=&quot;target&quot;&gt; &lt;list&gt; &lt;ref bean=&quot;localResourceLocator&quot;/&gt; &lt;ref bean=&quot;remoteResourceLocator&quot;/&gt; &lt;/list&gt; &lt;/property&gt;"><pre class="notranslate"><code class="notranslate">&lt;property name="target"&gt; &lt;list&gt; &lt;ref bean="localResourceLocator"/&gt; &lt;ref bean="remoteResourceLocator"/&gt; &lt;/list&gt; &lt;/property&gt; </code></pre></div> <p dir="auto">&lt;/bean&gt;<br> This exposes a bean called compositeResourceLocator which implements the interface com.mycompany.ResourceLocator. Calls to (e.g.) a method URL locate(String) will be delegated first to the localResourceLocator, and if nothing is found (null returned), it will move on to the remoteResourceLocator.</p> <hr> <p dir="auto"><strong>Issue Links:</strong></p> <ul dir="auto"> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398063305" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/6382" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/6382/hovercard" href="https://github.com/spring-projects/spring-framework/issues/6382">#6382</a> ChainOfResponsibilityFactoryBean; factoryBean which creates a proxy that acts as a COR over a list of objects (<em><strong>"duplicates"</strong></em>)</li> </ul>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=yatesco" rel="nofollow">Colin Yates</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-1684?redirect=false" rel="nofollow">SPR-1684</a></strong> and commented</p> <p dir="auto"><a href="http://forum.springframework.org/showthread.php?t=21986" rel="nofollow">http://forum.springframework.org/showthread.php?t=21986</a></p> <p dir="auto">I keep writing a number of implementations of a single interface and then needing to wrap all those implementations so they are all called.</p> <p dir="auto">For example, I might have an ErrorHandler interface and a Log4J implementation, then a Mailing implementation etc. and I want them all to fire when invoked. I would then write a Composite implementation which traversed them all. This was tiresome so I decided to write a FactoryBean which would do the same thing.</p> <p dir="auto">Attached is the source code. It may be helpful to others, it might not :)</p> <hr> <p dir="auto"><strong>Attachments:</strong></p> <ul dir="auto"> <li><a href="https://jira.spring.io/secure/attachment/11458/Copy+of+spring-utils.zip" rel="nofollow">Copy of spring-utils.zip</a> (<em>2.55 MB</em>)</li> <li><a href="https://jira.spring.io/secure/attachment/11457/cor.zip" rel="nofollow">cor.zip</a> (<em>2.27 MB</em>)</li> </ul> <p dir="auto"><strong>Issue Links:</strong></p> <ul dir="auto"> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398072544" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/7491" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/7491/hovercard" href="https://github.com/spring-projects/spring-framework/issues/7491">#7491</a> Target Chains: factory bean for a proxy that builds up a composite service from a list of targets (<em><strong>"is duplicated by"</strong></em>)</li> </ul> <p dir="auto">4 votes, 3 watchers</p>
1
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=simpor" rel="nofollow">Simon Rydberg</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-2925?redirect=false" rel="nofollow">SPR-2925</a></strong> and commented</p> <p dir="auto">Using this Sessionfactory:</p> <p dir="auto">&lt;!-- Hibernate SessionFactory --&gt;<br> &lt;bean id="sessionFactory" class="org.springframework.orm.hibernate3.LocalSessionFactoryBean"&gt;<br> &lt;property name="dataSource" ref="dataSource"/&gt;<br> &lt;property name="mappingResources"&gt;<br> &lt;value&gt;library.hbm.xml&lt;/value&gt;<br> &lt;/property&gt;<br> &lt;property name="hibernateProperties"&gt;<br> &lt;props&gt;<br> &lt;prop key="hibernate.dialect"&gt;${hibernate.dialect}&lt;/prop&gt;<br> &lt;!-- &lt;prop key="hibernate.show_sql"&gt;true&lt;/prop&gt;--&gt;<br> &lt;!-- &lt;prop key="hibernate.generate_statistics"&gt;true&lt;/prop&gt;--&gt;<br> &lt;prop key="hibernate.query.substitutions"&gt;true 1, false 0, yes 'Y', no 'N'&lt;/prop&gt;<br> &lt;prop key="hibernate.cache.use_second_level_cache"&gt;false&lt;/prop&gt;<br> &lt;prop key="hibernate.cache.use_query_cache"&gt;false&lt;/prop&gt;<br> &lt;/props&gt;<br> &lt;/property&gt;<br> &lt;property name="eventListeners"&gt;<br> &lt;map&gt;<br> &lt;entry key="merge"&gt;<br> &lt;bean class="org.springframework.orm.hibernate3.support.IdTransferringMergeEventListener"/&gt;<br> &lt;/entry&gt;<br> &lt;/map&gt;<br> &lt;/property&gt;<br> &lt;property name="schemaUpdate"&gt;<br> &lt;value&gt;true&lt;/value&gt;<br> &lt;/property&gt;<br> &lt;/bean&gt;<br> and setting the property schemaUpdate=true, causes the error message below. This worked perfectly in Spring 1.2.8 but after the upgrade I can't set the property to true. It's no problem when schemaUpdate=false.<br> Exception in thread "main" org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'sessionFactory' defined in file [/home/simonrydberg/projects/trains/web/WEB-INF/applicationContext-hibernate.xml]: Invocation of init method failed; nested exception is java.lang.IllegalStateException: SessionFactory not initialized yet<br> Caused by: java.lang.IllegalStateException: SessionFactory not initialized yet<br> at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.getSessionFactory(AbstractSessionFactoryBean.java:175)<br> at org.springframework.orm.hibernate3.LocalSessionFactoryBean.updateDatabaseSchema(LocalSessionFactoryBean.java:918)<br> at org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:762)<br> at org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:131)<br> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1062)<br> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1029)<br> at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:420)<br> at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)<br> at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141)<br> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)<br> at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156)<br> at org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:287)<br> at org.springframework.context.support.AbstractApplicationContext.refresh(AbstractApplicationContext.java:348)<br> at org.springframework.context.support.FileSystemXmlApplicationContext.&lt;init&gt;(FileSystemXmlApplicationContext.java:89)<br> at org.springframework.context.support.FileSystemXmlApplicationContext.&lt;init&gt;(FileSystemXmlApplicationContext.java:74)<br> at se.transrail.trains.domain.railway.RailwayImport2.createDatabaseFromFile(RailwayImport2.java:44)<br> at se.transrail.trains.domain.railway.RailwayImport2.main(RailwayImport2.java:36)<br> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)<br> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)<br> at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)<br> at java.lang.reflect.Method.invoke(Method.java:585)<br> at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90)</p> <hr> <p dir="auto"><strong>Affects:</strong> 2.0.1</p> <p dir="auto"><strong>Issue Links:</strong></p> <ul dir="auto"> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398071453" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/7358" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/7358/hovercard" href="https://github.com/spring-projects/spring-framework/issues/7358">#7358</a> LocalSessionFactoryBean initialization fails with "java.lang.IllegalStateException: SessionFactory not initialized yet " when schemaUpdate is set to true (<em><strong>"duplicates"</strong></em>)</li> </ul>
<p dir="auto"><strong><a href="https://jira.spring.io/secure/ViewProfile.jspa?name=kdonald" rel="nofollow">Keith Donald</a></strong> opened <strong><a href="https://jira.spring.io/browse/SPR-2569?redirect=false" rel="nofollow">SPR-2569</a></strong> and commented</p> <p dir="auto">This particularly complicates life for Web Flow users who like the convenience of putting BindException in flow scope with "alwaysRedirectOnPause" turned on... (validation errors are preserved beyond one request but property editors are lost).</p> <hr> <p dir="auto"><strong>Affects:</strong> 2.0 RC3</p> <p dir="auto"><strong>Issue Links:</strong></p> <ul dir="auto"> <li><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="398071502" data-permission-text="Title is private" data-url="https://github.com/spring-projects/spring-framework/issues/7363" data-hovercard-type="issue" data-hovercard-url="/spring-projects/spring-framework/issues/7363/hovercard" href="https://github.com/spring-projects/spring-framework/issues/7363">#7363</a> Implementations of AbstractPropertyBindingResult do not preserve the custom property editors (<em><strong>"is duplicated by"</strong></em>)</li> </ul>
0
<h3 dir="auto">Apache Airflow version</h3> <p dir="auto">2.5.1</p> <h3 dir="auto">What happened</h3> <p dir="auto">when using a dynamically generated task that gets the expand data from xcom after a branch_task the graph doesn't render.<br> It reappears once the dag run is finished.<br> tried with BashOperator and a KubernetesPodOperator.</p> <p dir="auto">the developer console in the browser shows the error:<br> <code class="notranslate">Uncaught TypeError: Cannot read properties of undefined (reading 'length') at z (graph.1c0596dfced26c638bfe.js:2:17499) at graph.1c0596dfced26c638bfe.js:2:17654 at Array.map (&lt;anonymous&gt;) at z (graph.1c0596dfced26c638bfe.js:2:17646) at graph.1c0596dfced26c638bfe.js:2:26602 at graph.1c0596dfced26c638bfe.js:2:26655 at graph.1c0596dfced26c638bfe.js:2:26661 at graph.1c0596dfced26c638bfe.js:2:222 at graph.1c0596dfced26c638bfe.js:2:227 z @ graph.1c0596dfced26c638bfe.js:2 (anonymous) @ graph.1c0596dfced26c638bfe.js:2 z @ graph.1c0596dfced26c638bfe.js:2 (anonymous) @ graph.1c0596dfced26c638bfe.js:2 (anonymous) @ graph.1c0596dfced26c638bfe.js:2 (anonymous) @ graph.1c0596dfced26c638bfe.js:2 (anonymous) @ graph.1c0596dfced26c638bfe.js:2 (anonymous) @ graph.1c0596dfced26c638bfe.js:2 </code></p> <p dir="auto">grid view renders fine.</p> <h3 dir="auto">What you think should happen instead</h3> <p dir="auto">graph should be rendered.</p> <h3 dir="auto">How to reproduce</h3> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="def branch_dynamic_flow(): @branch_task def choose_path(): return 'b' @task def a(): print('a') @task def get_args(): return ['echo 1', 'echo 2'] b = BashOperator.partial(task_id=&quot;b&quot;).expand(bash_command=get_args()) path = choose_path() path &gt;&gt; a() path &gt;&gt; b "><pre lang="@dag('branch_dynamic'," class="notranslate"><code class="notranslate">def branch_dynamic_flow(): @branch_task def choose_path(): return 'b' @task def a(): print('a') @task def get_args(): return ['echo 1', 'echo 2'] b = BashOperator.partial(task_id="b").expand(bash_command=get_args()) path = choose_path() path &gt;&gt; a() path &gt;&gt; b </code></pre></div> <h3 dir="auto">Operating System</h3> <p dir="auto">red hat</p> <h3 dir="auto">Versions of Apache Airflow Providers</h3> <p dir="auto">apache-airflow-providers-cncf-kubernetes | 5.1.1 | Kubernetes</p> <h3 dir="auto">Deployment</h3> <p dir="auto">Official Apache Airflow Helm Chart</p> <h3 dir="auto">Deployment details</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Anything else</h3> <p dir="auto"><em>No response</em></p> <h3 dir="auto">Are you willing to submit PR?</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Yes I am willing to submit a PR!</li> </ul> <h3 dir="auto">Code of Conduct</h3> <ul class="contains-task-list"> <li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> I agree to follow this project's <a href="https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md">Code of Conduct</a></li> </ul>
<p dir="auto">I am trying to install three node airflow cluster. Each node has airflow scheduler, airflow worker, airflow webserver, also it has celery, RabbitMQ cluster and Postgres multi master cluster(implemented with Bucardo). Versions of software:</p> <ul dir="auto"> <li>Airflow 2.0.1</li> <li>Postregsql 13.2</li> <li>Ubuntu 20.04</li> <li>pyhton 3.8.5</li> <li>celery 4.4.7</li> <li>bucardo 5.6.0</li> <li>RabbitMQ 3.8.2</li> </ul> <p dir="auto">And I occur the problem starting airflow scheduler.</p> <p dir="auto">When I launch the first one(database is empty), it successfully starts. When scheduler is running on the machine, then when I launch another scheduler on another machine(I tried to launch on the same machine too), it fails with the following:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="sqlalchemy.exc.IntegrityError: (psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint &quot;job_pkey&quot; DETAIL: Key (id)=(25) already exists. [SQL: INSERT INTO job (dag_id, state, job_type, start_date, end_date, latest_heartbeat, executor_class, hostname, unixname) VALUES (%(dag_id)s, %(state)s, %(job_type)s, %(start_date)s, %(end_date)s, %(latest_heartbeat)s, %(executor_class)s, %(hostname)s, %(unixname)s) RETURNING job.id] [parameters: {'dag_id': None, 'state': 'running', 'job_type': 'SchedulerJob', 'start_date': datetime.datetime(2021, 4, 21, 7, 39, 20, 429478, tzinfo=Timezone('UTC')), 'end_date': None, 'latest_heartbeat': datetime.datetime(2021, 4, 21, 7, 39, 20, 429504, tzinfo=Timezone('UTC')), 'executor_class': 'CeleryExecutor', 'hostname': 'hostname', 'unixname': 'root'}] (Background on this error at: http://sqlalche.me/e/13/gkpj) "><pre class="notranslate"><code class="notranslate">sqlalchemy.exc.IntegrityError: (psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint "job_pkey" DETAIL: Key (id)=(25) already exists. [SQL: INSERT INTO job (dag_id, state, job_type, start_date, end_date, latest_heartbeat, executor_class, hostname, unixname) VALUES (%(dag_id)s, %(state)s, %(job_type)s, %(start_date)s, %(end_date)s, %(latest_heartbeat)s, %(executor_class)s, %(hostname)s, %(unixname)s) RETURNING job.id] [parameters: {'dag_id': None, 'state': 'running', 'job_type': 'SchedulerJob', 'start_date': datetime.datetime(2021, 4, 21, 7, 39, 20, 429478, tzinfo=Timezone('UTC')), 'end_date': None, 'latest_heartbeat': datetime.datetime(2021, 4, 21, 7, 39, 20, 429504, tzinfo=Timezone('UTC')), 'executor_class': 'CeleryExecutor', 'hostname': 'hostname', 'unixname': 'root'}] (Background on this error at: http://sqlalche.me/e/13/gkpj) </code></pre></div> <p dir="auto">After trying to launch a few times eventually scheduler is working. I am assuming id is incremented and then data is successfully added into database:</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="airflow=&gt; select * from job order by state; id | dag_id | state | job_type | start_date | end_date | latest_heartbeat | executor_class | hostname | unixname ----+--------+---------+--------------+-------------------------------+-------------------------------+-------------------------------+----------------+------------------------------+---------- 26 | | running | SchedulerJob | 2021-04-21 07:39:22.243721+00 | | 2021-04-21 07:39:22.243734+00 | CeleryExecutor | machine name | root 25 | | running | SchedulerJob | 2021-04-21 07:39:14.515009+00 | | 2021-04-21 07:39:19.632811+00 | CeleryExecutor | machine name | root "><pre class="notranslate"><code class="notranslate">airflow=&gt; select * from job order by state; id | dag_id | state | job_type | start_date | end_date | latest_heartbeat | executor_class | hostname | unixname ----+--------+---------+--------------+-------------------------------+-------------------------------+-------------------------------+----------------+------------------------------+---------- 26 | | running | SchedulerJob | 2021-04-21 07:39:22.243721+00 | | 2021-04-21 07:39:22.243734+00 | CeleryExecutor | machine name | root 25 | | running | SchedulerJob | 2021-04-21 07:39:14.515009+00 | | 2021-04-21 07:39:19.632811+00 | CeleryExecutor | machine name | root </code></pre></div> <p dir="auto">There is a warning with log tables as well(If the second and subsequent schedulers successfully started):</p> <div class="snippet-clipboard-content notranslate position-relative overflow-auto" data-snippet-clipboard-copy-content="WARNING - Failed to log action with (psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint &quot;log_pkey&quot; DETAIL: Key (id)=(40) already exists."><pre class="notranslate"><code class="notranslate">WARNING - Failed to log action with (psycopg2.errors.UniqueViolation) duplicate key value violates unique constraint "log_pkey" DETAIL: Key (id)=(40) already exists. </code></pre></div> <p dir="auto">If I succeeded in launching scheduler on another node(i.e. schedulers are working on two mahines), attempt to launch another instance on one of those machine will fail with the same error.</p> <p dir="auto">I understand why scheduler cannot insert data into table, but I assume something's wrong with architecture or table structure.</p>
0
<h3 dir="auto">Version</h3> <p dir="auto">2.6.11</p> <h3 dir="auto">Reproduction link</h3> <p dir="auto"><a href="https://jsfiddle.net/mqr85hg2/" rel="nofollow">https://jsfiddle.net/mqr85hg2/</a></p> <h3 dir="auto">Steps to reproduce</h3> <p dir="auto">Open the link and view the console output.</p> <h3 dir="auto">What is expected?</h3> <p dir="auto">"message"</p> <h3 dir="auto">What is actually happening?</h3> <p dir="auto">""</p> <hr> <p dir="auto">If you change Vue to a development environment, such as <a href="https://jsfiddle.net/072nxuzt/" rel="nofollow">https://jsfiddle.net/072nxuzt/</a>, it is normal.</p> <p dir="auto">I have such a usage scenario. Register a universal watcher with vm$.watcher in mixins. Non-universal watchers will be written directly to the watcher in the *.vue file. So when I register watchers with vm$.watcher in mixins logic, I need to exclude watchers in *.vue files to avoid duplication of registration. I found that I can use watcher.expression to judge. But after my actual test, this is no problem in the development environment, but all the watcher.expression in the production environment are empty strings.</p>
<h3 dir="auto">Vue.js version</h3> <p dir="auto">Latest dist</p> <h3 dir="auto">Reproduction Link</h3> <p dir="auto"><a href="http://jsfiddle.net/up5prrnp/" rel="nofollow">http://jsfiddle.net/up5prrnp/</a></p> <h3 dir="auto">Steps to reproduce</h3> <p dir="auto">Have a component rendered conditionally with <code class="notranslate">v-if</code> directive, and in the <code class="notranslate">ready</code> hook appended elsewhere with <code class="notranslate">this.$appendTo()</code>.</p> <h3 dir="auto">What is Expected?</h3> <p dir="auto">The element to be removed when condition is no longer met; basically the same behavior when <code class="notranslate">this.$appendTo()</code> or any of the other similar methods isn't used.</p> <h3 dir="auto">What is actually happening?</h3> <p dir="auto">Element persists and can potentially cause duplicates. The fiddle isn't the greatest example as I know that it's preferable to use <code class="notranslate">v-show</code> in that case, but in a nested component structure, a child component's moved element will not be removed even if the parent component is removed.</p>
0