XCode Linker Warnings

Hi,
Just implementing the latest MobFox framework for iOS and have a number of Linker warnings being displayed.
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(MobFoxAd.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/13YMOEXMMUFIO/UIKit-2LM3EQU7VVY4O.pcm: No such file or directory
note: Linking a static library that was built with -gmodules, but the module cache was not found.  Redistributable static libraries should never be built with module debugging enabled.  The debug experience will be degraded due to incomplete debug information.
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(MobFoxAd.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/13YMOEXMMUFIO/Foundation-A3SOD99KJ0S9.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(MobFoxAd.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/13YMOEXMMUFIO/CoreLocation-DJ7O04274VT4.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(MobFoxAd.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/13YMOEXMMUFIO/Darwin-MI6WZSG1PNOM.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(MobFoxAd.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/13YMOEXMMUFIO/AdSupport-1YQ59ILDR3NYI.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(MobFoxAd.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/13YMOEXMMUFIO/ObjectiveC-2CD0WTQVXITO7.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(MobFoxAd.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/13YMOEXMMUFIO/CoreGraphics-1TH4RJJRQVFOC.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(MobFoxAd.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/13YMOEXMMUFIO/Dispatch-12O7S7HHQXK9N.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(MobFoxTagAd.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/13YMOEXMMUFIO/WebKit-191TQZL5YBZQL.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(GCDWebServerFileRequest.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/13YMOEXMMUFIO/os_object-MI6WZSG1PNOM.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(GCDWebServer.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/13YMOEXMMUFIO/dnssd-MI6WZSG1PNOM.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(GCDWebServer.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/13YMOEXMMUFIO/CoreFoundation-10I2D2XL7L7X9.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(GCDWebServer.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/13YMOEXMMUFIO/CFNetwork-929P33Y1WR7E.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(GCDWebServerFunctions.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/13YMOEXMMUFIO/MobileCoreServices-1YQ59ILDR3NYI.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(MobFoxAd.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/2PCL1S0HYLTF2/UIKit-2LM3EQU7VVY4O.pcm: No such file or directory
note: Linking a static library that was built with -gmodules, but the module cache was not found.  Redistributable static libraries should never be built with module debugging enabled.  The debug experience will be degraded due to incomplete debug information.
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(MobFoxAd.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/2PCL1S0HYLTF2/Foundation-A3SOD99KJ0S9.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(MobFoxAd.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/2PCL1S0HYLTF2/CoreLocation-DJ7O04274VT4.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(MobFoxAd.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/2PCL1S0HYLTF2/Darwin-MI6WZSG1PNOM.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(MobFoxAd.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/2PCL1S0HYLTF2/AdSupport-1YQ59ILDR3NYI.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(MobFoxAd.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/2PCL1S0HYLTF2/ObjectiveC-2CD0WTQVXITO7.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(MobFoxAd.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/2PCL1S0HYLTF2/CoreGraphics-1TH4RJJRQVFOC.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(MobFoxAd.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/2PCL1S0HYLTF2/Dispatch-12O7S7HHQXK9N.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(MobFoxTagAd.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/2PCL1S0HYLTF2/WebKit-191TQZL5YBZQL.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(GCDWebServerFileRequest.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/2PCL1S0HYLTF2/os_object-MI6WZSG1PNOM.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(GCDWebServer.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/2PCL1S0HYLTF2/dnssd-MI6WZSG1PNOM.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(GCDWebServer.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/2PCL1S0HYLTF2/CoreFoundation-10I2D2XL7L7X9.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(GCDWebServer.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/2PCL1S0HYLTF2/CFNetwork-929P33Y1WR7E.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(GCDWebServerFunctions.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/2PCL1S0HYLTF2/MobileCoreServices-1YQ59ILDR3NYI.pcm: No such file or directory

I am using the MobFoxSDKCore.framework on XCode 8.3.2
Regards,
iWare Designs.

Hi,
I just checked back to a closed issue #36 from April 2017 which reported the same issue.
Regards,
iWare Designs.

Hi,
Yes, we are checking if there was a regression on this.
Regards,
Itamar

MobFox-iOS-SDK.zip
I changed something in project settings. let me know if the warnings have disappeared.
Regards,
Shimi

Hi,
Warnings are still there.
Regards,
iWare Designs.

Hi,
Can please post the current warnings log? I want so see if there is any difference.
Thanks,
Itamar

Hi,
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(MobFoxAd.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/16WABJEZMFAVE/UIKit-2LM3EQU7VVY4O.pcm: No such file or directory
note: Linking a static library that was built with -gmodules, but the module cache was not found.  Redistributable static libraries should never be built with module debugging enabled.  The debug experience will be degraded due to incomplete debug information.
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(MobFoxAd.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/16WABJEZMFAVE/Foundation-A3SOD99KJ0S9.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(MobFoxAd.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/16WABJEZMFAVE/CoreLocation-DJ7O04274VT4.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(MobFoxAd.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/16WABJEZMFAVE/Darwin-MI6WZSG1PNOM.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(MobFoxAd.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/16WABJEZMFAVE/AdSupport-1YQ59ILDR3NYI.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(MobFoxAd.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/16WABJEZMFAVE/ObjectiveC-2CD0WTQVXITO7.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(MobFoxAd.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/16WABJEZMFAVE/CoreGraphics-1TH4RJJRQVFOC.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(MobFoxAd.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/16WABJEZMFAVE/Dispatch-12O7S7HHQXK9N.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(MobFoxTagAd.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/16WABJEZMFAVE/WebKit-191TQZL5YBZQL.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(GCDWebServerFileRequest.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/16WABJEZMFAVE/os_object-MI6WZSG1PNOM.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(GCDWebServer.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/16WABJEZMFAVE/dnssd-MI6WZSG1PNOM.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(GCDWebServer.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/16WABJEZMFAVE/CoreFoundation-10I2D2XL7L7X9.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(GCDWebServer.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/16WABJEZMFAVE/CFNetwork-929P33Y1WR7E.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(GCDWebServerFunctions.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/16WABJEZMFAVE/MobileCoreServices-1YQ59ILDR3NYI.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(MobFoxAd.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/3G9D2G1NIQ7L4/UIKit-2LM3EQU7VVY4O.pcm: No such file or directory
note: Linking a static library that was built with -gmodules, but the module cache was not found.  Redistributable static libraries should never be built with module debugging enabled.  The debug experience will be degraded due to incomplete debug information.
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(MobFoxAd.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/3G9D2G1NIQ7L4/Foundation-A3SOD99KJ0S9.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(MobFoxAd.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/3G9D2G1NIQ7L4/CoreLocation-DJ7O04274VT4.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(MobFoxAd.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/3G9D2G1NIQ7L4/Darwin-MI6WZSG1PNOM.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(MobFoxAd.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/3G9D2G1NIQ7L4/AdSupport-1YQ59ILDR3NYI.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(MobFoxAd.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/3G9D2G1NIQ7L4/ObjectiveC-2CD0WTQVXITO7.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(MobFoxAd.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/3G9D2G1NIQ7L4/CoreGraphics-1TH4RJJRQVFOC.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(MobFoxAd.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/3G9D2G1NIQ7L4/Dispatch-12O7S7HHQXK9N.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(MobFoxTagAd.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/3G9D2G1NIQ7L4/WebKit-191TQZL5YBZQL.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(GCDWebServerFileRequest.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/3G9D2G1NIQ7L4/os_object-MI6WZSG1PNOM.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(GCDWebServer.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/3G9D2G1NIQ7L4/dnssd-MI6WZSG1PNOM.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(GCDWebServer.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/3G9D2G1NIQ7L4/CoreFoundation-10I2D2XL7L7X9.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(GCDWebServer.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/3G9D2G1NIQ7L4/CFNetwork-929P33Y1WR7E.pcm: No such file or directory
while processing /Users/GavinHarwood/Projects/MyBowling/IOS/../../Advertising/MobFox/MobFox-iOS-SDK-3.1.7/MobFoxSDKCore.embeddedframework/MobFoxSDKCore.framework/MobFoxSDKCore(GCDWebServerFunctions.o):
warning: /var/folders/vg/r7vmtsyj4gb5g6lxzynpdnf80000gn/C/org.llvm.clang.shimisheetrit/ModuleCache/3G9D2G1NIQ7L4/MobileCoreServices-1YQ59ILDR3NYI.pcm: No such file or directory

Screenshot also...

In addition to the warnings, I have noticed that since implemented the SDK and AdMob Adapter I have never seen a test banner advert.  I am getting interstitial test adverts, but not a single banner advert.  We are using kGADAdSizeSmartBannerPortrait and this is on an iPad Air 2 running iOS 10.3.1.
I also tried kGADAdSizeBanner and kGADAdSizeLeaderboard and I receive live adverts from our other advert networks even though MobFox is at the top of the AdMob mediation list using the appropriate test hash.
Regards,
iWare Designs.

Hi,
I just noticed that a new iOS SDK was on GitHu so I thought that I would try it.
As you probably know, the warning messages are still present .
I am also unable to see any test banner adverts using the AdMob Adapter.  Unless they are live adverts coming through?  Interstitial test adverts are working perfectly.
Regards,
iWare Designs.

Hi,
For which MobFox hash are you not getting ads through AdMob?
Regards,
Itamar

MobFox-iOS-SDK.zip
Hi,
Please try the attached file for solving the warnings. I'll respond tomorrow regarding the issue of AdMob Adapter.
Regards,
Shimi

Hi,
This is a screen grab from the AdMob mediation website for our banner placement.

I have stepped through the adapter in the debugger and it is calling the getBannerWithSize function / method.  The debugger steps through the banner creation and banner advert request.
We see a live advert, but don't know if that is MobFox or one of our other networks.
I have also tried another one of our Apps and it experiences the same problem, but I did notice that straight after the MobFox log entry there is another log entry complaining about App Transport Security.
2017-07-19 17:01:53.798396+0100 My Golf 3D[6526:345464] WF: _userSettingsForUser mobile: {
    filterBlacklist =     (
    );
    filterWhitelist =     (
    );
    restrictWeb = 1;
    useContentFilter = 0;
    useContentFilterOverrides = 0;
    whitelistEnabled = 0;
}
2017-07-19 17:01:53.798463+0100 My Golf 3D[6526:345464] WF: _WebFilterIsActive returning: NO
2017-07-19 17:01:54.077622+0100 My Golf 3D[6526:345468] <Google:HTML> You are currently using version 7.20.0 of the SDK. Please consider updating your SDK to the most recent SDK version to get the latest features and bug fixes. The latest SDK can be downloaded from http://goo.gl/iGzfsP. A full list of release notes is available at https://developers.google.com/admob/ios/rel-notes.
2017-07-19 17:01:54.317872+0100 My Golf 3D[6526:345469] <Google> Cannot find an ad network adapter with the name(s): GADMAdapterInMobi. Remember to link all required ad network adapters and SDKs, and set -ObjC in the 'Other Linker Flags' setting of your build target.
2017-07-19 17:01:54.321638+0100 My Golf 3D[6526:345209] MobFox >> GADMAdapterMobFox >> Ad Request
2017-07-19 17:01:54.352800+0100 My Golf 3D[6526:345505] App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app's Info.plist file.

We are running on an iOS 10.3.1 device, and we have the entries in the info.plist for the ATS as described here https://developers.google.com/admob/ios/app-transport-security
We have just tested on an iOS 9.2.1 device and we get the same problem.
Regards,
iWare Designs.

Hi,
With regards to the warnings at link time, they are displayed when XCode is "Generating the dSym file" which is after the link process.
Regards,
iWare Designs.

Hi,
I have tried the new SDK and the warnings are still there,
This probably does not help but I did find the following on the internet:
https://github.com/realm/realm-cocoa/pull/4209
"austionzheng" refers to a similar problem and refers to stackoverflow.
Do you have the following setting set to "Yes"?  This may be the problem, then again it may not.

Regards,
iWare Designs.

Hi,
I attached files for solving the issue of AdMob adapter, and for the warnings 'Enable Clang Module Debugging' now set to 'No' (use the core in the attached files).
Use the following in .plist file to solving the ATS warning:
NSAppTransportSecurity

NSAllowsArbitraryLoads

Regards,
Shimi
MobFox-iOS-SDK.zip
AdMob.zip

Use the following in .plist file to solving the ATS warning (only NSAllowsArbitraryLoads defined under  NSAppTransportSecurity):

Regards,
Shimi

Hi,
The MobFox SDK causes the following linker error:

I used the GitHub MobFox SDK and the new adapter is working, I now have banner adverts.
I also changed my info.plist and removed the fine tune ATS setting as mentioned above and I do not get any App Transport Security messages, thank you.
Don't know what is going on with the linker error, is the framework compiled with armv7, armv7s and arm64?
Regards,
iWare Designs.

Hi,
The Architectures are the "Standard Architectures" - armv7 and arm64. The Valid Architectures are amrv7, armv7s and armv64.
Also, we don't use IOSurface, at least not directly.
Regards,
Itamar

Hi,
Something strange is going on, if I use any of the previous SDK's or the one on GitHub it compiles fine, if I use the last SDK that should fix the warnings then that link error pops up.  I will investigate more in the morning.
Regards,
iWare Designs.

Hi,
I have been looking into this IOSurface linker error.  The IOSurface framework does not exist in the XCode iOS 10.3 SDK, which is why the linker is failing.  While on the Apple Developer Forums I came across the following question from a developer and the response from Apple Dev.

Question: "Is it possible to get the screen shot from background mode of application using IOSurface framework in iOS 10 for both app store and enterprise applications?"

Response: "IOSurface is not public API on iOS and, as such, is not an appropriate topic of conversation for DevForums."

Something in your last SDK seems to be referencing this IOSurface framework, which is throwing a linker error.  All other versions of your SDK link perfectly (Apart from the warnings).
Regards,
iWare Designs.

Hi, Update to my previous post.
I thought that I would add the latest MobFox SDK to a different App that we last modified in May 2017 before uploading to the Apple App Store.
I added in the MobFox framework and the when I compiled got a similar linker error for a different framework.

As I mentioned before, this is the only MobFox SDK that is giving these problems.
It is a long shot, but is it worth trying a complete clean and a rebuild of the framework just in case something is corrupted in the version I downloaded?
I am going to delete XCode and re-install just in case...
Regards,
iWare Designs.

Hi,
We will review our compile settings, purge our env and send you another build on Sunday.
As you a have a strong indication this is because of the build we sent, I would not want you to waste any more your time on this.
Regards,
Itamar

MobFox-iOS-SDK.zip
Hi,
This attached core should be solve the linker error. verify Bitcode is set to 'No' in build settings, and if you would like to see MobFox SDK logs in console define 'MFLogs' variable and set it to '1' in 'Environment Variables'.
Regards,
Shimi

Hi,
Job done.
Link error has been fixed.  No warnings when generating dSYM.
Everything is good in the world of advertising.
Will these changes be in future releases of the MobFox SDK?
Thank you.
Regards,
iWare Designs.

Hi,
Yes, of course. We didn't want to do an official release at the end of the week but we'll definitely release this as a bug fix version this week.
Regards,
Itamar

Hi, any update with this fix for build in cocoapods?

Hi,
Yes, we are releasing it early next week. Will close this issue when we do.

fixed in 3.1.8

@nabriski confirm, fixed. Thank you for your job!

@nabriski would you mind sharing how did you solve the issue? Did setting Enable Clang Module Debugging as NO solve the problem?
Thanks.

Right, the warning of '.pcm: No such file or directory' solved by setting 'Enable Clang Module Debugging' to No.


Underscore and integer being appended to localIdentName.

I'm loving CSS Modules with Vue.js but am having an issue dealing with a static export for server side rendering. I've been using the following for my localIdentName in webpack config:
  cssModules: {     localIdentName: '[name]-[local]'   },
However, all of my classnames are generating with an _0 at the end and I cannot figure out how to remove it. Any help would be greatly appreciated. Please refer to the attached image:

As it turns out this appears to be a symptom of having the styles in Vue single file components. If I import the style from an external file, the _int goes away. Any idea whether this is an issue that needs to be addressed on the Vue end or the Webpack / PostCSS end? Thanks!


Bump min compatibility to  PHP 7.1.3 and PS 1.7.7, module version to 6.0.0

Questions
Answers

Description?
Please check the related issue.

Type?
improvement

BC breaks?
Does it break backward compatibility? yes

Deprecations?
Does it deprecate an existing feature? no

Fixed ticket?
Fixes PrestaShop/Prestashop#32841

How to test?
CI green. Module works as usual on PS 1.7.7 and newer versions.

@leemyongpakvn it's all good, but I think we will wait for the release of 5.1.3 to let people use improvements you've made earlier on previous PrestaShop versions as well, sounds good?

@kpodemski OK. I'm not in rush.

@leemyongpakvn finally it's time 😄

@matks Rebased

Thanks all ;)


What does "You may now chown /usr/local back to root:wheel" and what should I do?

It is shown after I updated Homebrew.

Well, exactly as said "you may now chown /usr/local back to root:wheel".

Congratulations on a successful migration.

Yes but I don't know how to do that.

sudo chown root:wheel /usr/local

You don't have to do that though, it just doesn't matter anymore.

I did it anyway. Thank you.

I just got the same message. While I do know how to do it, it'd like to know why. Was the owner changed in the migration process? And as it says "may", I assume it's not necessary?

Thanks @zmwangx. Can you provide some more background? Why is that message shown and why is it so ambiguous?

@pbregener Homebrew used to require writing access to /usr/local. Now it no longer writes to /usr/local, only subdirectories of /usr/local.

Was the owner changed in the migration process?

No, but Apple likes seeing /usr/local being owned by root:wheel, and major macOS upgrades do that.

And as it says "may", I assume it's not necessary?

It's not.

Thanks for the quick reply and good and short explanation @zmwangx 👍

Improved this message in https://github.com/Homebrew/brew/commit/a2f19f0a675f7cb384b48bad773d31366c6b258d

Just throwing this here in case somebody else runs into the issue.  I ran sudo chown root:wheel #{HOMEBREW_PREFIX} and everything appeared fine.  Then ran brew cask list which returned
$ brew cask list
==> Moving Caskroom from HOMEBREW_REPOSITORY to HOMEBREW_PREFIX
Error: Permission denied - (/usr/local/Homebrew/Caskroom, /usr/local/Caskroom)Most likely, this means you have an outdated version of Homebrew-Cask. Please run:

    brew uninstall --force brew-cask; brew untap phinze/cask; brew untap caskroom/cask; brew update; brew cleanup; brew cask cleanup

If this doesn’t fix the problem, please report this bug:

    https://github.com/caskroom/homebrew-cask#reporting-bugs

/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:519:in `rename'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:519:in `block in mv'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1558:in `block in fu_each_src_dest'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1574:in `fu_each_src_dest0'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:1556:in `fu_each_src_dest'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/fileutils.rb:508:in `mv'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/caskroom.rb:8:in `migrate_caskroom_from_repo_to_prefix'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc.rb:52:in `init'
/usr/local/Homebrew/Library/Homebrew/cask/lib/hbc/cli.rb:146:in `process'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/brew-cask.rb:8:in `<top (required)>'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/System/Library/Frameworks/Ruby.framework/Versions/2.0/usr/lib/ruby/2.0.0/rubygems/core_ext/kernel_require.rb:55:in `require'
/usr/local/Homebrew/Library/Homebrew/brew.rb:23:in `require?'
/usr/local/Homebrew/Library/Homebrew/brew.rb:105:in `<main>'

Needed to run  sudo brew cask list due to the new permissions:
$ sudo brew cask list
Password:
==> Moving Caskroom from HOMEBREW_REPOSITORY to HOMEBREW_PREFIX

And now everything works fine without having to resort to sudo again.

This was messy and is getting messier. Maybe it would be good if the Homebrew devs published a FAQ: "up to version X we did this because of blah1, but since version Y the recommended practice is Z, because of blah2".

@hmijail We'll consider that in future but not at present.


[Fix/Feature] Pattern Configurator

Description
This PR:

Prevents crashes on empty YAML
Add button for creating new pattern in the UI using configurator
Adds support for adding multiple services of same type
Fixes invalid types in the pattern (by removing usage of key for generating type)
Adds name field in the pattern
Moves to random id generator in the services name rather than using literal name

Notes for Reviewers
@Abhishek-kumar09 if this PR is a pain in ... then please feel free to close this and copy the changes from here into your own branch.
Signed commits

[x] Yes, I signed my commits.

@utkarsh-pro, @Abhishek-kumar09, a merge conflict has come up.


Fixed function name spelling

Current dependencies on/for this PR:

main

PR #1106

PR #1107

PR #1108

PR #1113

PR #1114

PR #1115   👈

This comment was auto-generated by Graphite.


🐛 [BUG]: The contenteditable attribute does not allow selection within a node.

Is there an existing issue for this?

[X] I have searched the existing issues and this is a new bug.

Current Behavior
By adding the tag with "contenteditable", the HTML element doesn't put focus immediately on click. And when focused (by clicking with the right mouse button), it does not allow selecting the text.
Maybe it's because of the "user-select: none;", I tried to overwrite it but it didn't work.
Is there any way to bypass this?
Expected Behavior
The expectation is that you can perform this type of editing.
This simplifies, instead of putting an input on the card.
Other flowcharts use contenteditable as well.
Steps To Reproduce
To reproduce it is only necessary to use the contenteditable attribute inside a node.
Relevant log output
No response
Anything else?
Reproduction:
https://stackblitz.com/edit/nuxt-starter-fyfzzh?file=components%2Fcustom-node.vue
I thank you in advance for your attention and congratulations on the library, I am very surprised!

Simple solution, just add the nodrag class name to the element with contenteditable.
Here's an example.

Incredible! Thank you very much! @bcakmakoglu


User config

~Server side user config is blocked until #8 is done~ :white_check_mark:

forgot to merge this


Feat/payuk firewall rules

📲 What
Adding custom firewall rules that is going to be implemented in a project but using a toggle variable to keep it off form the generic implementation.
There is a issue as discussed here that results in tight coupling of the policy and rule groups for now, which might get remediated in future release.
https://github.com/hashicorp/terraform-provider-aws/issues/28100
https://github.com/hashicorp/terraform-provider-aws/issues/34956
🤔 Why
Add additional tls alert rule.
🛠 How
By using dynamic block and custom toggle variable to configure TLS Alert rule.
👀 Evidence
In Customer PR (i.e in the root module PR) there is an attached build log and aws snapshot for the deployment.

🕵 How to test
By toggling the variable on in the root module when enabling firewall feature
✅ Acceptance criteria Checklist

[ ] Code peer reviewed?
[ ] Documentation has been updated to reflect the changes?
[ ] Passing all automated tests, including a successful deployment?
[ ] Passing any exploratory testing?
[ ] Rebased/merged with latest changes from development and re-tested?
[ ] Meeting the Coding Standards?

Why has the PR template been cut short?
It should have th What, How, Why and evidence that things are working when it is deployed.

This is much better thanks, as now we have some control over what is happening.


feat: add dev message for nonpayable and safe math checks [APE-784]

What I did
adds custom dev message for payable sent to non-payable so it can be asserted on using ape.reverts.
How I did it
copied brownie, sorta
How to verify it
Checklist

[ ] Passes all linting checks (pre-commit and CI jobs)
[ ] New test cases have been added and are passing
[ ] Documentation has been updated
[ ] PR title follows Conventional Commit standard (will be automatically included in the changelog)

[ ] not sure about something - should add more errors to be more sure

Otherwise, it's looking good to me

Not to completely throw a monkey wrench in it, but I actually wonder if it might be better to raise a more descriptive error up the stack instead of raising as a dev assert message, like a built-in compiler plugin exception that it detects via pattern matching according to known compiler semantics

Ya definitely would be ideal, just not sure exactly how to make that work. Also, would maybe break how ape.reverts works

Also, would maybe break how ape.reverts works

Even if they subclasses ContractLogicError?

Just sketching an idea here, but it could look like taking the ContractLogicError exception, and then asking the compiler plugins if they can enrich that exception with a better error message that subclasses ContractLogicError

@fubuloubu Ya, that may be pretty cool. Let's see what we can do...
I think I still will need the pc -> error map thing tho for the source trace back / coverage stuff.

Love the enrich_error idea and have that in the works. Still need these error PCs somewhere tho, so I think for now, we should let both plans work.
Have others PRs now for enrich error but need this one to merge first.

Just sketching an idea here, but it could look like taking the ContractLogicError exception, and then asking the compiler plugins if they can enrich that exception with a better error message that subclasses ContractLogicError

Ok think I have it set up nicely here: https://github.com/ApeWorX/ape-vyper/pull/74
will be able to merge after next release.
In the mean time, I added a comment , dev prefix, and renamed the enum to try and find the best middle ground.


bzip2::Compression type does not allow arbitrary values from 1-9

The bzip2::Compression type only allows the options Fastest (1), Default (6), or Best (9).  There seems to be no way to specify a compression level of, say, 4.
Perhaps it would be better to make bzip2::Compression work like flate2::Compression (which does allow arbitrary numbers), since the two crates already have very similar APIs otherwise?

Indeed! They actually started the same way and I haven't gotten around to updating this version :(
I'll try to sync the two APIs this week and hopefully push out a 1.0 as well!

Has there been any progress on this issue?

Unfortunately no, but some assistance in implementing would be appreciated!

Opened #37.


PutObjectAsync is calling a synchronous operation

Expected Behavior

We just upgraded to asp.net core 3 and are seeing a new exception when trying to upload an image to S3 that we did not see when running in the .net core 2.X environment.
Current Behavior

When calling PutObjectAsync on the AmazonS3Client we get an InvalidOperationException (included below)
Possible Solution

Steps to Reproduce (for bugs)

public async Task<string> SaveImage(Stream stream, long streamLength)
{
            try
            {
                var imageId = Guid.NewGuid().ToString();

                var filename = GetFileName(imageId);

                var putObjRequest = new PutObjectRequest()
                {
                    BucketName = _bucketName,
                    Key = filename,
                    InputStream = stream,
                };

                putObjRequest.Headers.ContentLength = streamLength;

                await _amazonS3Client.PutObjectAsync(putObjRequest);

                return imageId;
            }
            catch
            {
                return null;
            }
}

"   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpRequestStream.Read(Byte[] buffer, Int32 offset, Int32 count)\r\n   at Amazon.Runtime.Internal.Util.WrapperStream.Read(Byte[] buffer, Int32 offset, Int32 count)\r\n   at Amazon.Runtime.Internal.Util.PartialReadOnlyWrapperStream.Read(Byte[] buffer, Int32 offset, Int32 count)\r\n   at Amazon.Runtime.Internal.Util.WrapperStream.Read(Byte[] buffer, Int32 offset, Int32 count)\r\n   at Amazon.Runtime.Internal.Util.HashStream.Read(Byte[] buffer, Int32 offset, Int32 count)\r\n   at Amazon.Runtime.Internal.Util.ChunkedUploadWrapperStream.FillInputBuffer()\r\n   at Amazon.Runtime.Internal.Util.ChunkedUploadWrapperStream.Read(Byte[] buffer, Int32 offset, Int32 count)\r\n   at Amazon.Runtime.Internal.Util.WrapperStream.Read(Byte[] buffer, Int32 offset, Int32 count)\r\n   at System.IO.Stream.<>c.<BeginReadInternal>b__43_0(Object <p0>)\r\n   at System.Threading.Tasks.Task`1.InnerInvoke()\r\n   at System.Threading.Tasks.Task.<>c.<.cctor>b__274_0(Object obj)\r\n   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Threading.ExecutionContext.RunFromThreadPoolDispatchLoop(Thread threadPoolThread, ExecutionContext executionContext, ContextCallback callback, Object state)\r\n   at System.Threading.Tasks.Task.ExecuteWithThreadLocal(Task& currentTaskSlot, Thread threadPoolThread)\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.IO.Stream.<CopyToAsyncInternal>d__30.MoveNext()\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult()\r\n   at System.Net.Http.StreamToStreamCopy.<<CopyAsync>g__DisposeSourceAsync|0_0>d.MoveNext()\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Runtime.CompilerServices.ConfiguredValueTaskAwaitable.ConfiguredValueTaskAwaiter.GetResult()\r\n   at System.Net.Http.HttpContent.<CopyToAsyncCore>d__49.MoveNext()\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult()\r\n   at System.Net.Http.HttpConnection.<SendRequestContentAsync>d__58.MoveNext()\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult()\r\n   at System.Net.Http.HttpConnection.<SendRequestContentWithExpect100ContinueAsync>d__59.MoveNext()\r\n   at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()\r\n   at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   at System.Runtime.CompilerServices.ConfiguredTaskAwaitable.ConfiguredTaskAwaiter.GetResult()\r\n   at System.Net.Http.HttpConnection.<SendAsyncCore>d__53.MoveNext()"

Context

Your Environment

AWSSDK.Core version used: AWSSDK.S3 (<IP_ADDRESS>) AWSSDK.Core (>= <IP_ADDRESS> < 3.4)
Service assembly and version used:
Operating System and version: Windows and Linux
Visual Studio version: VSCode
Targeted .NET platform: .net core 3

.NET Core Info

.NET Core version used for development: 3
.NET Core version installed in the environment where application runs: 3
Output of dotnet --info:
.NET Core SDK (reflecting any global.json):
Version:   3.0.100
Commit:    04339c3a26

Runtime Environment:
OS Name:     Windows
OS Version:  10.0.18362
OS Platform: Windows
RID:         win10-x64
Base Path:   C:\Program Files\dotnet\sdk\3.0.100\
Host (useful for support):
Version: 3.0.0
Commit:  7d57652f33
.NET Core SDKs installed:
2.1.505 [C:\Program Files\dotnet\sdk]
2.1.602 [C:\Program Files\dotnet\sdk]
2.1.700 [C:\Program Files\dotnet\sdk]
2.2.300 [C:\Program Files\dotnet\sdk]
2.2.301 [C:\Program Files\dotnet\sdk]
2.2.401 [C:\Program Files\dotnet\sdk]
3.0.100 [C:\Program Files\dotnet\sdk]
.NET Core runtimes installed:
Microsoft.AspNetCore.All 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.1.11 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.2.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.All 2.2.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
Microsoft.AspNetCore.App 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.1.11 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.2.5 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 2.2.6 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.AspNetCore.App 3.0.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
Microsoft.NETCore.App 2.1.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.1.11 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.2.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 2.2.6 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.NETCore.App 3.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
Microsoft.WindowsDesktop.App 3.0.0 [C:\Program Files\dotnet\shared\Microsoft.WindowsDesktop.App]

Contents of project.json/project.csproj:

Hi @dsarfati, what is the type of the stream you are passing to SaveImage?

@klaytaybai Here is the API controller that is calling SaveImage, we are simply pulling the body from the request
[HttpPost("{rewardId:guid}/image")]
public async Task<IActionResult> UpdateRewardImage(Guid rewardId)
{
     var file = Request.Body;
     var streamLength = Request.ContentLength;
     var imageId = await _rewardImageService.SaveImage(file, streamLength.Value);
     ...
}

We ran into this, too. To fix it I had to copy the request body stream into a MemoryStream (actually a RecyclableMemoryStream).

We also ran into this problem but with the UploadAsync method of the TransferUtility. :(
@broadbear: We do not want to copy our Stream into the memory, because we want to stream our file upload directly to S3. So we allowed sync stream with the AllowSynchronousIO Kestrel option. But this should not be a permanent solution...

Any update here?

Hi @dsarfati,
Good afternoon.
I was trying to reproduce the issue using the below code:
using System;
using System.IO;
using System.Threading.Tasks;
using Amazon.S3;
using Amazon.S3.Model;

namespace S3StreamTest
{
    class Program
    {
        private static string _bucketName = "testbucket-1452";
        private static AmazonS3Client _amazonS3Client = new AmazonS3Client();
        private static string imageFilePath = "<fullfilepath>/<filename>.png";

        static void Main(string[] args)
        {
            Stream stream = new FileStream(imageFilePath, FileMode.Open);
            SaveImage(new NonSeekableStream(stream), stream.Length, "TestImage.png").GetAwaiter().GetResult();
        }

        public static async Task<string> SaveImage(Stream stream, long streamLength, string fileName)
        {
            try
            {
                var imageId = Guid.NewGuid().ToString();

                var putObjRequest = new PutObjectRequest()
                {
                    BucketName = _bucketName,
                    Key = fileName,
                    InputStream = stream,
                };

                putObjRequest.Headers.ContentLength = streamLength;

                await _amazonS3Client.PutObjectAsync(putObjRequest);

                return imageId;
            }
            catch
            {
                return null;
            }
        }
    }

    public class NonSeekableStream : Stream
    {
        Stream m_stream;
        public NonSeekableStream(Stream baseStream)
        {
            m_stream = baseStream;
        }
        public override bool CanRead
        {
            get { return m_stream.CanRead; }
        }

        public override bool CanSeek
        {
            get { return false; }
        }

        public override bool CanWrite
        {
            get { return m_stream.CanWrite; }
        }

        public override void Flush()
        {
            m_stream.Flush();
        }

        public override long Length
        {
            get { throw new NotSupportedException(); }
        }

        public override long Position
        {
            get
            {
                return m_stream.Position;
            }
            set
            {
                throw new NotSupportedException();
            }
        }

        public override int Read(byte[] buffer, int offset, int count)
        {
            return m_stream.Read(buffer, offset, count);
        }

        public override long Seek(long offset, SeekOrigin origin)
        {
            throw new NotImplementedException();
        }

        public override void SetLength(long value)
        {
            throw new NotSupportedException();
        }

        public override void Write(byte[] buffer, int offset, int count)
        {
            m_stream.Write(buffer, offset, count);
        }
    }
}

However, the above code works fine without any issues (class NonSeekableStream is used to mimic non-seekable stream). Would it be possible for you to share sample code solution, descriptive error message and full error stack trace for us to troubleshoot the issue?
Thanks,
Ashish

Here is the code that we use to call the SaveImage method I posted at the start of the thread. This is simply a method in our ASP.NET controller.
    [ApiController]
    [Route("api/v{version:apiVersion}/rewards")]
    [V1]
    public class RewardsController : ControllerBase {

        [HttpPost("{rewardId:guid}/cover-image")]
        public async Task<IActionResult> AddCoverImage(Guid rewardId)
        {
            var file = Request.Body;
            var streamLength = Request.ContentLength;

            if (file == null || streamLength == null)
            {
                return BadRequest();
            }

            var syncIOFeature = HttpContext.Features.Get<IHttpBodyControlFeature>();

            if (syncIOFeature != null)
            {
                //This is should not be here, but is required for the AWS SDK to work correctly
                syncIOFeature.AllowSynchronousIO = true;
            }

            var imageId = await _rewardImageService.SaveImage(file, streamLength.Value);

            try
            {
                var rewardGrain = _clusterClient.GetGrain<IRewardGrain>(rewardId);
                await rewardGrain.SetCoverImage(Guid.Parse(imageId));
                return Accepted();
            }
            catch (InvalidOperationException)
            {
                return Forbid();
            }
        }
}

You'll notice that we were forced to include  syncIOFeature.AllowSynchronousIO = true; for it to work.

Hi @dsarfati,
Thanks for the code snippet. Could you also please share the exact error message (which is not included in the 1st comment above) along with stack trace? Going through some articles/forums online, there is a reported error System.InvalidOperationException: Synchronous operations are disallowed. Call ReadAsync or set AllowSynchronousIO to true instead., which has a workaround similar to what you have implemented or use asynchronous operations.
The Microsoft documentation Request and response operations in ASP.NET Core details about reading from Request.Body.
There is also an [Announcement] AllowSynchronousIO disabled in all servers in ASP.NET Core repository for the same.
Since this happens within the ASP.NET Core environment, this doesn't appear to be a bug in AWS .NET SDK, rather limitation/feature of .NET Core environment. Hope this helps.
Thanks,
Ashish

What exactly are you saying here @ashishdhingra? With all due respect, I don't want a workaround. I want an SDK that follows modern conventions of the environment it's deliberately built for.
PutObjectAsync should not use any Sync IO, in other words it should not use Stream.Read it should use Stream.ReadAsync.

Since this happens within the ASP.NET Core environment, this doesn't appear to be a bug in AWS .NET SDK, rather limitation/feature of .NET Core environment. Hope this helps.

Really? You're not going to a point a finger at a primary environment your SDK is supposed to run within?
I suggest you reconsider.

@oliverjanik Thanks for your suggestion. My initial understanding was that synchronous operations were disabled in Kestrel Server which caused existing functionality to break, not sure if there was another similar issue reported. I understand PutObjectAsync should not use synchronous I/O. I would need to discuss the issue with developer to get more insight.

Duplicate of https://github.com/aws/aws-sdk-net/issues/1534

Hi @oliverjanik, @dsarfati,
Looks like this bug is duplicate of https://github.com/aws/aws-sdk-net/issues/1534. Please review and confirm if we could close this issue since the other bug is already tracked and prioritized.
Thanks,
Ashish

Closing this as duplicate of https://github.com/aws/aws-sdk-net/issues/1534.


[CodeCompletion] Fix a crash in context type analysis

IfExpr (ternary expression) does not have the condition part until sequence folding. Add a simple guard to avoid a crash.
I haven't been able to find a reproducer for this.
rdar://problem/59344203

@swift-ci Please smoke test

@swift-ci Please smoke test Linux


focus_on_desktop not set to false when firexfox in maximized

focus_on_desktop variable in main_copy.py is not set to False when Firefox is maximized
one with to note is that taskbar is not accessible when Firefox is maximized

ok so it does not happen always
looking for exact steps to reproduce

pseudo code for fix
    1. new method

    2. check if any maximized by get_window_state
           if there is set any_maximized -> True ; return
    3. else get rect and
           check if left top corner and right bottom corner is outside monitor size or equal to it
           if yes then set any_maximized -> True ; return
    4. at last check if the current windows cover the whole current active desktop
           (can only be implemented after IVirtualDesktopManager  )


grid rapyd properties not working (orderBy, paginate)

using those lines like in the documentation doesnt change anything:
$this->grid->orderBy('name','desc');
$this->grid->paginate(100);

this should actually order the grid by name (descending) by default. but does nothing. same for paginate.

please do a composer update and let me know if you still have problem

i did an update (updated from 1.5.0 to 1.5.2) and now none of the CRUD views are working.
/panel/Permission/all (and other) just display the filter, export and import buttons and thats it. no error.
this is the all method of my PermissionController:
public function all($entity) {

		parent::all($entity);

		$this->filter = \DataFilter::source(new Permission());
		$this->filter->add('id', 'ID', 'text');
		$this->filter->add('name', 'Name', 'text');
		$this->filter->submit('search');
		$this->filter->reset('reset');
		$this->filter->build();

		$this->grid = \DataGrid::source($this->filter);
		$this->grid->add('id', 'ID', true)->style("width:100px");
		$this->grid->add('name', 'Url')->style('width:100px');
		$this->grid->add('label', 'Description');

		$this->addStylesToGrid();

		return $this->returnView();
	}

/edit views seem to work fine

new version released , do a composer update , that bug is fixed

i could now update and it works like a charm. thank you.
the orderBy issues was not solved though. it was caused by myself in the end.
$this->addStylesToGrid();
was called after
$this->grid->orderBy('label','desc');
$this->grid->paginate(100);

i checked what addStylesToGrid() actually does and turns out it overrides exactly those two settings.
it would be great if we could add a small line describing what this function does here:
http://laravelpanel.com/docs/master/crud-fields
as it's not part of rapyd but actually the CrudController of the panel.
Thank you for helping me debug this.


Cannot run Cordova hybrid app.

I get this error as soon as I do a 'view source' or find element within a Webview. There is some sort of conflict between Cordova and Selendroid WebDriver classes.
E/SELENDROID(  952): io.selendroid.server.model.SelendroidWebDriver$4#run:354 - An error occured while configuring the web view
E/SELENDROID(  952): java.lang.ClassCastException: io.selendroid.server.model.SelendroidWebDriver$SelendroidWebChromeClient cannot be cast to org.apache.cordova.CordovaChromeClient
E/SELENDROID(  952): 	at org.apache.cordova.CordovaWebView.setWebChromeClient(CordovaWebView.java:316)
E/SELENDROID(  952): 	at io.selendroid.server.model.SelendroidWebDriver$4.run(SelendroidWebDriver.java:331)
E/SELENDROID(  952): 	at android.os.Handler.handleCallback(Handler.java:615)
E/SELENDROID(  952): 	at android.os.Handler.dispatchMessage(Handler.java:92)
E/SELENDROID(  952): 	at android.os.Looper.loop(Looper.java:137)
E/SELENDROID(  952): 	at android.app.ActivityThread.main(ActivityThread.java:4745)
E/SELENDROID(  952): 	at java.lang.reflect.Method.invokeNative(Native Method)
E/SELENDROID(  952): 	at java.lang.reflect.Method.invoke(Method.java:511)
E/SELENDROID(  952): 	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:786)
E/SELENDROID(  952): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:553)
E/SELENDROID(  952): 	at dalvik.system.NativeStart.main(Native Method)
I/dalvikvm-heap(  952): Grow heap (frag case) to 8.687MB for 143314-byte allocation
D/AndroidRuntime(  952): Shutting down VM
E/SEL

This can be reproduced this way:
1/ generate the app
npm install -g cordova
cordova create helloworld com.example.hello
cd helloworld
cordova platform add android
cordova build android

The generated app is /helloworld/platforms/android/ant-build/CordovaApp-debug.apk
2/ start Selendroid server
java -jar selendroid-standalone-0.12.0-with-dependencies.jar -app <PATH>/helloworld/platforms/android/ant-build/CordovaApp-debug.apk

3/ run test:

init app
switch_to WEBVIEW_0
get page source

wd.js gist here: https://gist.github.com/sebv/ad538e1db3d6a479f847
client output:
 > CALL init({"aut":"com.example.hello:0.0.1"})
 > POST /session {"desiredCapabilities":{"deviceName":"selendroid","aut":"com.example.hello:0.0.1"}}

Driving the web on session: c5a78f00-ba52-1268-8c30-25127f45dbb4

 > RESPONSE init({"aut":"com.example.hello:0.0.1"}) "c5a78f00-ba52-1268-8c30-25127f45dbb4",{"platform":"ANY","deviceName":"selendroid","aut":"com.example.hello:0.0.1"}
 > CALL windowHandles()
 > GET /session/:sessionID/window_handles
 > RESPONSE windowHandles() ["NATIVE_APP","WEBVIEW_0"]
 > CALL window("WEBVIEW_0")
 > POST /session/:sessionID/window {"name":"WEBVIEW_0"}
 > RESPONSE window("WEBVIEW_0")
 > CALL source()
 > GET /session/:sessionID/source

/Users/baba/Documents/Work/selendroid-hack/node_modules/wd/node_modules/q/q.js:126
                    throw e;
                          ^
Error: [source()] Error response status: 13, , UnknownError - An unknown server-side error occurred while processing the command. Selenium error: Unexpected error communicating with selendroid server on the device

@aaltat Could you share your working solution? I was trying to resolve it in way which @fqlyu show, but I wasn't able to do it.

@kruchx I can't. But my code is same as @fqlyu, but if you tell what is your problem and errors you are getting, perhaps I can push you to the right direction.

@aaltat I tried to extend CordovaChromeClient and override on onJsAlert. But I'm not sure what  should be in this overridden function. I can see, that you are using chromeClient, but I don't know, what is it, and how to declare it.
What I have:
public class SelfWebChromeClient extends CordovaChromeClient{
    public SelfWebChromeClient(CordovaInterface cordova)
    {
        super(cordova);
    }

    @Override
    public boolean onJsAlert(WebView view, String url, String message, final JsResult result) {
        if (view instanceof CordovaWebView) {
            chromeClient = new SelfWebChromeClient();
        } else {
            chromeClient = new SelendroidWebChromeClient();
        }
        return true;
    }
}

Of course I know, this is not proper code, but I'm looking for some solution, how make it work. Any clue, how can I override this onJsAlert? I know what we want to achieve here, but I do not know how to do it...

OK, I have some progress, but still have one problem. How did you create standard contructor, if in CordovaChromeClient there is no such thing? It seems, that if I want to create this client, I have to pass CordovaInterface as a parameter. But I do not know, from where I can get this object.

As far I recall the code in my side looks about the same. The thing that I was missing was the runtime dependency for the Cordova library and the required library imports from cordova.
In short, I did this:

Clone the Cordova from github: https://github.com/apache/cordova-android
Build the library with Ant
Add jar to maven local repo, see this for details: http://maven.apache.org/guides/mini/guide-3rd-party-jars-local.html
Modify the selendroid-standalone pom.xml to contain the cordova jar as runtime dependency.
Build selendroid with maven and you are ready to go.

I managed to add maven Cordova dependency earlier (before my post). What I faced is fact, that when I'm trying to extend CordovaChromeClient, there is no standard constructor. In SelendroidWebDriver I  created null CordovaInterface object and pass it as parameter to extended CordoveWebDrive class, but it didn't work.
Now, when I'm starting tests on old Cordova application, everything is working fine. But when I'm trying to start it on new Cordova, and I have errors:
http://pastebin.com/NuCb4qD3

@aaltat and @fqlyu
Any chance one of you could post up the actual code you have implemented to get around this?  Sorry, I have tried to follow along with the snippets that have been posted thus far but I have to admit that I am lost.  I have the Cordova code and have compiled it into a JAR.
I have also added a dependency on that JAR to the POM file for selendroid-standalone and compiled that JAR and updated my projects POM to reference the new selendroid-standalone JAR I compiled.  I have tried to follow along with the code snippets presented in this thread and tried various means but none seem to be working.
If one of you could post the full code for any classes that you either implemented or modified (in selendroid or Cordova) that would be a great help to me and others.
Thanks for any help.

Hi all,
I worked on a possible fix. You can see the pull request here. There I provide as well a jar so that it is easy to verify the fix.
Please let me know in the PR if it works fine in your cases.
Thanks!
Dominik

Hi,
I have the same issue with the latest Selendroid version (I use Appium but I run from source to have the latest version).
Cordova change their android framework ( Apache Cordova Android 4.0.0). Does Selendroid support this version ?
Thanks.

Ok sorry to write here, but I don't think I have to make a new issue.
I found a solution. In the new framework they just change the name of classes, CordovaChromeClient became SystemWebChromeClient, Same for CordovaWebView which became SystemWebView.
Here the code I change in SelendroidWebDriver.java
if (view.getClass().getSimpleName().equalsIgnoreCase("SystemWebView")) {
            SystemWebView webview=(SystemWebView)view;
            SystemWebViewEngine webEngine= new SystemWebViewEngine(webview);
            chromeClient = new ExtendedCordovaChromeClient(webEngine);

         } else {
            chromeClient = new SelendroidWebChromeClient();
          }

public class ExtendedCordovaChromeClient extends SystemWebChromeClient {

    public ExtendedCordovaChromeClient(SystemWebViewEngine parentEngine) {
      super(parentEngine);
    }

As you can see the constructor of the SystemWebChromeClient change.
And you must add the new library of Cordova in Selendroid.
If you have any idea to implement this in Selendroid to support both version ( Maybe create one class which extend CordovaChromeClient, and an another which extend of SystemWebChromeClient).

I'm closing this issue due to inactivity.
If is a question rather than an issue, please send questions to the selendroid user group.
If you think it's an actual problem with selendroid and still experience the issue described on the latest release of selendroid feel free to file a new issue. If you do please provide a concise reproducible test case and describe what results you are seeing and what results you expect.


Gives a peerDependency warning when used in a preset

I wonder if it's a good practice to use peerDependency here. Now you get the following when including the plugin to a Babel preset:
npm WARN EPEERINVALID<EMAIL_ADDRESS>requires a peer of<EMAIL_ADDRESS>but none was installed.

For example babel-plugin-transform-decorators-legacy skips the peerDependencies declaration.
Maybe this would be a good place to use optionalDependencies. I'm not sure what's the best practice for Babel plugins. This is worth researching, though.

I will just remove it. I don't think this is necessary here.

Ok, cool.

done (2.0.3)
btw. I don't use this plugin anymore and I'm looking for a maintainer. Are you using it? Interested in maintaining it?

@stoeffel I just included it to the development version of my book. The change was triggered by MDN includes.
Do you think it would make sense to push the plugin to the Babel project? Maybe they would be interested in keeping it up to date?

@stoeffel I just included it to the development version of my book. The change was triggered by MDN includes.

Cool. Will check your book out.

Do you think it would make sense to push the plugin to the Babel project?

Could be. I will think about it.


olm-operator local run expects master image tag which is unavailable

Environment:
Using run make-local-shift,
Issue:
Saw that the olm-operator pod went into ImagePullBackOff, failing to pull the image quay.io/coreos/olm with the master tag.
Workaround
I was able to fix this by editing the pod definition to use one of the existing tags, for example 0.7.3.
Looks like this needs to be fixed somewhere in the makefile or bringup scripts. Please feel free to let me know if any further details are needed. :)

See #537 which should fix that issue.


Populate empty projects in project selection within Jupyter extension

Currently, the way that we populate the projects list in the Jupyter extension is by taking the repos list and getting all projects from each of the repos. The issue with this is that projects with no repos can exist, and it can cause confusion if a user creates a new project without repos since it won't show up in the extension. This change adds a /projects endpoint to the mount server and makes the extension query it to retrieve all projects, including those without any repos.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.Kevin Yang seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


⚠ Samsung has degraded performance

In bb43ef8, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2491 ms

Resolved: Samsung performance has improved in 65a82b8.


Hardcoded Credential

Hi,
It seems that you left a clear text credential here https://github.com/GoogleCloudPlatform/sap-deployment-automation/blob/4f56409825f69613cce8f9604b8e97d7bd72e039/stacks/HANA-HA/vars/deploy-vars.yml#L45
Thank you

Also here https://github.com/GoogleCloudPlatform/sap-deployment-automation/blob/501e663427c4d1c862f362453193869233d2024e/stacks/netweaver-aas-ha/vars/deploy-vars.yml#L64

@SlimTrabelsi Thank you for pointing it. The default password is specified in clear text on purpose. This provides the flexibility  for anyone using the code to expand its capability to integrate with a secrets management tool/service. And it is advised to change the default password to the password of your choice before any deployment. Also ansible-vault can help with encrypting secrets data as well.

Thank you for the reply


[now-cli] (Major) Remove now alias without arguments

Remove now alias without arguments.
PRODUCT-556

Codecov Report

Merging #3318 into master will increase coverage by 0.03%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master    #3318      +/-   ##
==========================================
+ Coverage    11.7%   11.73%   +0.03%
==========================================
  Files         267      266       -1
  Lines       10154    10128      -26
  Branches     1338     1333       -5
==========================================
  Hits         1189     1189
+ Misses       8868     8842      -26
  Partials       97       97

Impacted Files
Coverage Δ

src/commands/alias/set.ts
0% <0%> (ø)
:arrow_up:

src/util/alias/get-targets-for-alias.ts
0% <0%> (ø)
:arrow_up:

src/util/alias/get-inferred-targets.ts

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 2a59db3...2005637. Read the comment docs.


Add storage helper to ZHA and use it for the device node descriptor

This PR adds storage to ZHA and leverages it for storing the zigbee node descriptor so that we have the device specific power profile and the manufacturer code available for us to use. Eventually it will house the group id's and tables for multicast transmissions (real zigbee light groups) and the neighbor and rousing tables that we can use for network visualization among other things.
@balloob looking for your feedback on the storage usage if you don't mind... want to make sure I did this correctly.

@balloob are we good when the build passes?

Hi @dmulcahey,
Since the addition of the storage helper my ZigBee USB stick no longer works with ZHA. It works fine up to 0.89.2. But as soon as I upgrade to any 0.9x release Zigbee stops working with an error related to store.py. It looks like it is having an issue accessing or storing the power_source and manufacturer code of my stick.
I use the Bitronvideo AV2010/10 (http://bvsite.smabit.eu/index.php/produkte/smart-home-produkte/zb-funkstick/ - site is in German bit the specs are there).
This is the error that HA throws when starting:
2019-06-25 15:54:38 INFO (MainThread) [homeassistant.setup] Setting up zha 2019-06-25 15:54:38 INFO (MainThread) [homeassistant.setup] Setup of domain zha took 0.0 seconds. 2019-06-25 15:54:38 ERROR (MainThread) [homeassistant.config_entries] Error setting up entry /dev/ttyUSB0 for zha Traceback (most recent call last):   File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/config_entries.py", line 302, in async_setup     result = await component.async_setup_entry(hass, self)   File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/zha/__init__.py", line 150, in async_setup_entry     zha_storage = await async_get_registry(hass)   File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/zha/core/store.py", line 160, in async_get_registry     return cast(ZhaDeviceStorage, await task)   File "/usr/lib/python3.5/asyncio/futures.py", line 380, in __iter__     yield self  # This tells Task to wait for completion.   File "/usr/lib/python3.5/asyncio/tasks.py", line 304, in _wakeup     future.result()   File "/usr/lib/python3.5/asyncio/futures.py", line 293, in result     raise self._exception   File "/usr/lib/python3.5/asyncio/tasks.py", line 239, in _step     result = coro.send(None)   File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/zha/core/store.py", line 155, in _load_reg     await registry.async_load()   File "/srv/homeassistant/lib/python3.5/site-packages/homeassistant/components/zha/core/store.py", line 112, in async_load     power_source=device['power_source'], KeyError: 'power_source'
I have went back to HA 0.89.2 where everything works. But I would like to upgrade HA at some point. Would be nice we could fix this. Thanks.

Please open an issue if you suspect a bug.
If you want to suggest an enhancement please open a feature request in the Feature Requests section of our community forum.
Merged PRs should not be used for enhancement discussion or bug reports. If you've found a bug it's ok to make a review with inline comments and link to an issue that reports the bug.
Thanks!


Unable querying on type-safe references

Describe the bug
Seems it is unable to query entity by any Ref property even with primary ref key.
To Reproduce
Define any entity with type-safe reference. For example,
@Entity()
export class Cat {
  @PrimaryKey()
  public id!: number;

  @ManyToOne(() => User, { ref: true })
  public owner: Ref<User>
}

try to find any entity using Ref property. For example,
 const cat = await em.findOne(
        Cat,
        {
            id: 1,
            owner: {
                id: 1
            }
        }
    )

The code can't be compiled. tsc complains on missed Ref properties
Argument of type '{ id: number; owner: { id: number; }; }' is not assignable to parameter of type 'FilterQuery<Cat>'.
  Types of property 'owner' are incompatible.
    Type '{ id: number; }' is not assignable to type '{ id: number; } & Reference<User>'.
      Type '{ id: number; }' is missing the following properties from type 'Reference<User>': entity, load, set, unwrap, and 5 more.ts(2345)

Expected behavior
Code compiles and executes fine
Versions

Dependency
Version

node
19.1.0

typescript
4.9.4

mikro-orm
5.6.4

your-driver
doesn't matter

Even more strange. I created very simple entity
@Entity()
export class Cat {
  @PrimaryKey()
  id!: string

  @Property()
  name!: string
}

And try just fetch all
const cat = await em.find(
        Cat,
        {},
    )

compiler says
Argument of type '{}' is not assignable to parameter of type 'FilterQuery<Cat>'.
 Type '{}' is not assignable to type 'string'.ts(2345)

Query like this says
const cat = await em.find(
      Cat,
      {
          name: 'test'
      },
  )
  ```

Argument of type '{ name: string; }' is not assignable to parameter of type 'FilterQuery<Cat>'.

Type '{ name: string; }' is not assignable to type 'string'.ts(2345)

similarly query as complains on type of FilterQuery<Cat>

```typescript
const cat = await em.find(
      Cat,
      {
          name: {
              $eq: 'test'
          }
      },
  )

For some reason  FilterQuery inference don't work in my environment or i don't understand something.

Provide complete repro, none of the above is reproducible. Here is a passing test case, lets reopen with a failing one.
import { Entity, ManyToOne, PrimaryKey, Property, Ref } from '@mikro-orm/core';
import { MikroORM } from '@mikro-orm/sqlite';

@Entity()
class User {

  @PrimaryKey()
  id!: number;

  @Property()
  name!: string;

}

@Entity()
export class Cat {

  @PrimaryKey()
  public id!: number;

  @ManyToOne(() => User, { ref: true })
  public owner!: Ref<User>;

}

describe('GH issue 1346', () => {

  let orm: MikroORM;

  beforeAll(async () => {
    orm = await MikroORM.init({
      entities: [User, Cat],
      dbName: `:memory:`,
    });

    await orm.schema.ensureDatabase();
  });

  beforeEach(async () => {
    await orm.schema.dropSchema();
    await orm.schema.createSchema();
  });

  afterAll(() => orm.close(true));

  test('preserve data fields that match pivot field', async () => {
    const cat = await orm.em.findOne(
      Cat,
      {
        id: 1,
        owner: {
          id: 1,
        },
      },
    );
  });

});

@B4nan here is a ready to run gist that fails compilation https://gist.github.com/vimmerru/82987a42a264f2054c412abd853c9867
It looks quite similar to your code. Maybe there is something related to typescript version or so.

The very same code works fine when put inside the ORM repository, this is rather about your tsconfig, TS version is the same.

knex relies on node types without explicit dependency and d.ts gives wrong types without @types/node installation

I see, maybe they should specify it as a regular dependency then, cc @kibertoad


Unknown error: (400, u'Bad Request') with Axis P7214

I enabled ONVIF and set up a user account for full admin rights on an Axis P7214 IP encoder, when I try to connect however I see:
mycam = ONVIFCamera('<IP_ADDRESS>', 80, 'root', 'password', '/etc/onvif/wsdl/')
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "onvif/client.py", line 225, in __init__
    self.update_xaddrs()
  File "onvif/client.py", line 235, in update_xaddrs
    services = self.devicemgmt.GetServices({'IncludeCapability': False})
  File "onvif/client.py", line 30, in wrapped
    raise ONVIFError(err)
onvif.exceptions.ONVIFError: Unknown error: (400, u'Bad Request')

Any ideas?

I have the same issue and i think it might be because of a bad security token. Im currently looking into it.


x/tools/cmd/godoc: ExampleABC functions not matching a suffix rule are not displayed

When viewing examples in godoc, a function called ExampleABC that doesn't match any of the suffix patterns described here
http://golang.org/pkg/testing/#hdr-Examples
is silently excluded.  I would have expected it to be associated with the package.
The -ex flag makes no difference.
You can see an example in the x/tools repo, if you sync to 9c57c19a58835b00c0e3e283952087842242e49b and look at golang.org/x/tools/go/loader.  The follow-up change, 41d9a0e7b2d60d52ef1caf232b081c16af220b44, renames the examples to make them visible.

This seems to be intended functionality -
name := stripExampleSuffix(e.Name)
if name == "" || globals[name] {
	examples = append(examples, e)
} else if c.Verbose {
	log.Printf("skipping example 'Example%s' because '%s' is not a known function or type", e.Name, e.Name)
}

https://github.com/golang/tools/blob/master/godoc/server.go#L434
It strips the suffix and checks whether it matches with a global name or not. Do we want to remove it ?

let's close as working as intended.


Outdated serialization information

The paragraph

In fact, none of the fields that contain private key information can be serialized. If you try to serialize an RSAParameters structure with a remoting call or by using one of the serializers, you will receive only public key information. If you want to pass private key information, you will have to manually send that data. In all cases, if anyone can derive the parameters, the key that you transmit becomes useless.

is outdated. The [NonSerialized] attribute has been removed with pull request 22862, merged back in corefx with commit 7eed79f on 2017-08-02, as of today the attribute is missing. The paragraph should be removed.

Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

ID: cec592a3-82b8-f4d5-ddfa-9e113209f113
Version Independent ID: 8cb9de04-a0fb-f27a-a848-68bbd52f0396
Content: RSAParameters Struct (System.Security.Cryptography)
Content Source: xml/System.Security.Cryptography/RSAParameters.xml
Product: .net
GitHub Login: @mairaw
Microsoft Alias: mairaw

When will the information be outdated for the full framework? The attributes are present for .NET Framework 4.7.2.

The attributes are present for .NET Framework 4.7.2.

Right, I forgot to specify that the change applies only to .NET Core ≥ 2.1.0.


Integrate jtreceval into anserini

Add TrecEval.java along with the required resources

are the binaries just copied over, or have you recompiled? we should recompile...
also, please change formatting to "house style" - i.e., two space indent.

are the binaries just copied over, or have you recompiled? we should recompile... also, please change formatting to "house style" - i.e., two space indent.

Binaries are copied. Will recompile and change the indent!

While you're at it, please upgrade to 9.0.8: https://github.com/usnistgov/trec_eval/releases
okay to drop latest binary here: https://github.com/castorini/anserini-tools/tree/77b8e58afc461d56f951c77cd9d3650378e121dd/eval


[Feature] Multiple windows

Drag-drop "Side Bar", "Panel" or file tab to space outside main window will create new window with will host dropped object - same as in visual studio.
(Maily for ability to move some parts to second display.)

This issue has already been reported. Please use the search function next time before reporting an issue and/or this time if you are curious about the progress of the issue.


Translation of disconnect reason to described reason

Hi,
Using your library I encounter a problem. Disconnects from an MQTT server with reason 5 and 7. Can you explain where these integers refer to? Something like 5 = authentication fail.
Using: void onMqttDisconnect(espMqttClientTypes::DisconnectReason reason)
Regards,
Richard

There are defined in the espMqttclient library: https://github.com/bertmelis/espMqttClient/blob/main/src/TypeDefs.h#L20
You can convert the errro code to const char* so you can print them to Serial: https://github.com/bertmelis/espMqttClient/blob/main/src/TypeDefs.h#L50

void myDisconnectHandler(espMqttClientTypes::DisconnectReason reason) {
  Serial.print("MQTT disconnected, reason: ");
  Serial.println(espMqttClientTypes::errorToString(reason));
  startReconnectLogic();
}


Command cw does not work but instead it works like w command.

It looks like, in this plugin, we have overridden Vim's key.
:nmap gives me this result,
n  c  *@:call tagalong#Trigger()<CR><SNR>80_yank_with_key("c")

My friend helped me to find out this issue and shared the following note with me.
Leader key prefix exists for this kind of remap, is for plugins authors or yourself don't map keybindings over vim keys

It looks like, in this plugin, we have overridden Vim's key.

Yes, that's intentional. The goal of the plugin is to provide automatic updates of closing tags, which is why it overrides built-in mappings. If it used leader keys, it wouldn't really that big of an improvement over just using vim-surround. You can find more details on how this works in the README.
The built-in mappings it changes are the following: ['c', 'C', 'v', 'i', 'a']. If you'd like to disable the c and C keys in particular, you could put this in your vimrc:
let g:tagalong_mappings = ['v', 'i', 'a']

There is currently no way to change the mappings, so maybe it could be convenient to provide that for people that still prefer using it, even if it's not hooking to the built-ins. What do you think of something like this:
let g:tagalong_mappings = [{'c': '<leader>c'}, {'C': '<leader>C'}, 'v', 'i', 'a']

Now, in this particular case, the problem is there seems to be another plugin attaching itself to a built-in. Tagalong tries to attach other mappings as well, so this seems to be breaking in this case. Could you try to figure out where this is coming from: <SNR>80_yank_with_key("c")? The first part, <SNR>80_ is just a script-local identifier, so you could try grepping your vimfiles for s:yank_with_key or just yank_with_key. Let me know what you find. I could be able to work around the problem if I can see what that function is doing.

@AndrewRadev I will go through my vim files to search yank_with_key and will update you.

@AndrewRadev yank_with_key definition comes from this plugin https://github.com/maxbrunsfeld/vim-yankstack,
Also, after adding that line,
let g:tagalong_mappings = [{'c': '<leader>c'}, {'C': '<leader>C'}, 'v', 'i', 'a']
I get these errors,

Also, I do want to use this plugin https://github.com/maxbrunsfeld/vim-yankstack as well.

Also, after adding that line,
let g:tagalong_mappings = [{'c': 'c'}, {'C': 'C'}, 'v', 'i', 'a']
I get these errors,

Yes, I was only asking what you thought of that interface, I hadn't implemented it yet. I've pushed some commits to implement it now. With this setting, the <leader>c and <leader>C keys should activate tagalong and, I think also yankstack. But either way, the native c and C keys will activate yankstack, so you should be fine either way.
Unfortunately, there's no way that I can see for me to have the native c and C keys work with both, for technical reasons (yankstack uses an <expr> mapping that I can't combine tagalong's mapping with).
But given you yourself suggest to use the leader key, this should be good enough for you?

@AndrewRadev I just updated this plugin, and it is working fine now with <leader>c. Even Yankstack plugin is also working fine. I appreciate your help 👍.  Thanks.


docpress api key is exposed

Description
Hey while going through the repo I saw that the api key is exposed in docs/docpress.confgi.ts:18. I just wasn't sure if this is fine wanted to point that out.

Doesn't it end being public anyways because it's included in the client-side JS? Let's re-open if I'm wrong.


Rename HeaderButton now that it is used for other purposes

The HeaderButton used primarily for header buttons with an icon, is now used for other purposes as of hyperledger/aries-mobile-agent-react-native#1093. It should be refactored with a better name.

Tested with the newly named component, works well in latest build. Done


Waiting to be reachable

See it. and please help mee

I believe you missing some files

All file is..


Should platforms always send deprovision request when failed to update the service instance?

Background
As the spec says:
If the successful response includes a state of failed then the Platform MUST send a deprovision request to the Service Broker to prevent an orphan being created on the Service Broker.
Problem
Here is a use case below:
Service Broker A is published for providing volume service. After user B provisioned a volume service instance, he wants to resize the volume by calling UpdateInstance method. Then for some reasons A fails to complete update operation and it has to return failed state in the response of polling last operation. According to current spec definition, platform will deprovision the volume service instance automatically, but it is unacceptable for B because it would cause data loss.
Proposed solution
For this specific scenario, I think both platform and service brokers could do some work to avoid the problem:

Add a state of rolled back with the response of polling last operaion to indicate the repair work of service brokers
Any service broker which supports rolling back feature MAY return this state to inform platforms everything is fine even though the update operation fails
Platform should  perceive this state and keep the original parameter of service instance

@duglin @n3wscott Please take a look at this issue, thanks!

Hi @duglin , I got your point but IMO there is still some missing parts int the spec to indicate it. I can explain what I found in async update operation.
Firstly, there is no word to explain how platform would treat 5xx, from what I can see, the platform will try to deprovision the instance as long as it detects the state of failed.
Secondly, 5xx is normally returned for indicating server errors and it could be used for some internal errors occured in service broker. It's a bit odd to express it as rolled back meaning, one of the problems is those sevice brokers which doesn't support rolled back may return 5xx and then how can platform treat them differently?
I know it is kind of too big change to add another state, but it's the best option to fix the issue if the problem can not be solved the hole.

On today's call we talked about removing:
If the successful response includes a state of failed then the Platform MUST send a deprovision request to the Service Broker to prevent an orphan being created on the Service Broker. from the spec since we believe this was done in error. This was added back when we only had async provision, and we missed that the text would then apply to async binding - that was a mistake.
Everyone ok with removing it and treating it as  "fix" to the spec even though technical its a breaking change?

@duglin It ok to me, thx!

SGTM

@leonwanghui did you want to open a PR for this?  I'm not hearing any objection


[WIP] Add eth visualising to IPLD explorer

Add ipld resolve to the Explore page; giving it exotic ipld type support!

TODO:

[x] Figure out why IPLD links aren't being discovered in IPLD representation of ETH blocks
[ ] Test with git and other types supported by ipld, see https://github.com/ipld/js-ipld/blob/fdb957ec707db2a34a8fac416f15f4398538af32/src/index.js#L64-L115
[ ] Pull codec full names from js-mutlicodecs and add shortnames and colors in a re-useable module.

License: MIT
Signed-off-by: Oli Evans<EMAIL_ADDRESS>

Links aren't being found in ETH blocks due to issues with how js-ipld handles calls to get without a path. See: https://github.com/ipld/js-ipld-ethereum/issues/25#issuecomment-411816876

This PR is superceeded by https://github.com/ipfs-shipyard/ipld-explorer
...and the issue now becomes, how best to reuse ipld-explorer from the webui https://github.com/ipfs-shipyard/ipld-explorer/issues/6