gym could not work now

In the past, I used fastlane gym working well，my script is：
PROVISIONING_PROFILE_SPECIFIER='${PROVISIONING_PROFILE_SPECIFIER}' fastlane gym --workspace ${workspace_path} --scheme ${scheme} --clean true --configuration ${configuration} --xcargs "PRODUCT_BUNDLE_IDENTIFIER='${bundle_id}' DEVELOPMENT_TEAM='${DEVELOPMENT_TEAM}'" --export_method ${export_method} --archive_path ${archive_path} --codesigning_identity "${rightDistributionSign}" --xcpretty_report_json "${json_path}" --export_options ${ExoptionPlist} --output_directory ${ipa_path} --output_name ${ipa_name} || exit

And when our iOS developer added different targets ,my script could not work now，and it reported:
[19:46:59]: $ set -o pipefail && xcodebuild -workspace /Users/diaojunxian/Documents/MIFit2-iOS/MiFit.xcworkspace -scheme MiFit -configuration Release -destination 'generic/platform=iOS' -archivePath /Users/diaojunxian/Documents/MIFit2-iOS/APP/2017_01_23_19_46_out/MiFit_2017_01_23_19_46.xcarchive PRODUCT_BUNDLE_IDENTIFIER='HM.wristband2' DEVELOPMENT_TEAM='SZWFVCN5DB' clean archive CODE_SIGN_IDENTITY=iPhone\ Distribution:\ Anhui\ Huami\ Information\ Technology\ Co.,\ Ltd. | tee /Users/diaojunxian/Library/Logs/gym/MiFit-MiFit.log | xcpretty  --report json-compilation-database --output  /Users/diaojunxian/Documents/MIFit2-iOS/APP/2017_01_23_19_46_out/compile_commands.json
[19:47:01]: ▸ 2017-01-23 19:47:01.102 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
[19:47:01]: ▸ Details:  Failed to expand identifiers "{(
[19:47:01]: ▸ "group.com.huami.ag"
[19:47:01]: ▸ )}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
[19:47:01]: ▸ Object:   <Xcode3TargetCapabilitiesContext: 0x7fe1852a1110>
[19:47:01]: ▸ Method:   -_appIDFeatureStateIncludingEntitlements:
[19:47:01]: ▸ Thread:   <NSThread: 0x7fe181713ba0>{number = 1, name = main}
[19:47:01]: ▸ Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
[19:47:01]: ▸ 2017-01-23 19:47:01.105 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
[19:47:01]: ▸ Details:  Failed to expand identifiers "{(
[19:47:01]: ▸ "group.com.huami.ag"
[19:47:01]: ▸ )}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
[19:47:01]: ▸ Object:   <Xcode3TargetCapabilitiesContext: 0x7fe1852a1110>
[19:47:01]: ▸ Method:   -_appIDFeatureStateIncludingEntitlements:
[19:47:01]: ▸ Thread:   <NSThread: 0x7fe181713ba0>{number = 1, name = main}
[19:47:01]: ▸ Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
[19:47:01]: ▸ 2017-01-23 19:47:01.944 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
[19:47:01]: ▸ Details:  Failed to expand identifiers "{(
[19:47:01]: ▸ "group.com.huami.ag"
[19:47:01]: ▸ )}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
[19:47:01]: ▸ Object:   <Xcode3TargetCapabilitiesContext: 0x7fe187cd0420>
[19:47:01]: ▸ Method:   -_appIDFeatureStateIncludingEntitlements:
[19:47:01]: ▸ Thread:   <NSThread: 0x7fe181713ba0>{number = 1, name = main}
[19:47:01]: ▸ Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
[19:47:01]: ▸ 2017-01-23 19:47:01.947 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
[19:47:01]: ▸ Details:  Failed to expand identifiers "{(
[19:47:01]: ▸ "group.com.huami.ag"
[19:47:01]: ▸ )}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
[19:47:01]: ▸ Object:   <Xcode3TargetCapabilitiesContext: 0x7fe187cd0420>
[19:47:01]: ▸ Method:   -_appIDFeatureStateIncludingEntitlements:
[19:47:01]: ▸ Thread:   <NSThread: 0x7fe181713ba0>{number = 1, name = main}
[19:47:01]: ▸ Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
[19:47:02]: ▸ Cleaning MiFit/MifitSiri [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:02]: ▸ Cleaning Pods/AHEasing [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:02]: ▸ Cleaning Pods/AFNetworking [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:02]: ▸ Cleaning MiFit/MifitWidget [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:02]: ▸ Cleaning Pods/CAAnimationBlocks [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:02]: ▸ Cleaning Pods/CocoaLumberjack [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:02]: ▸ Cleaning Pods/DDTouchCircleButton [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:02]: ▸ Cleaning Pods/Bolts [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:02]: ▸ Cleaning Pods/FLEX [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:02]: ▸ Cleaning Pods/FMDB [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:02]: ▸ Cleaning Pods/FXBlurView [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:02]: ▸ Cleaning Pods/GBDeviceInfo [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:02]: ▸ Cleaning Pods/FBSDKCoreKit [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:02]: ▸ Cleaning Pods/FBSDKLoginKit [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:02]: ▸ Cleaning Pods/FBSDKShareKit [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:02]: ▸ Cleaning Pods/HMAlgoLib [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:02]: ▸ Cleaning Pods/HMSportSDK [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:02]: ▸ Cleaning Pods/MBProgressHUD [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:02]: ▸ Cleaning Pods/MJRefresh [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:02]: ▸ Cleaning Pods/MagicalRecord [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:02]: ▸ Cleaning Pods/Mantle [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:02]: ▸ Cleaning Pods/Masonry [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:02]: ▸ Cleaning Pods/RSKImageCropper [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:02]: ▸ Cleaning Pods/ReactiveCocoa [Release]
[19:47:02]: ▸ Check Dependencies
[19:47:03]: ▸ Cleaning Pods/Realm [Release]
[19:47:03]: ▸ Check Dependencies
[19:47:03]: ▸ Cleaning Pods/SDWebImage [Release]
[19:47:03]: ▸ Check Dependencies
[19:47:03]: ▸ Cleaning Pods/SSKeychain [Release]
[19:47:03]: ▸ Check Dependencies
[19:47:03]: ▸ Cleaning Pods/SVPullToRefresh [Release]
[19:47:03]: ▸ Check Dependencies
[19:47:03]: ▸ Cleaning Pods/UICKeyChainStore [Release]
[19:47:03]: ▸ Check Dependencies
[19:47:03]: ▸ Cleaning Pods/WebViewJavascriptBridge [Release]
[19:47:03]: ▸ Check Dependencies
[19:47:03]: ▸ Cleaning Pods/objc-geohash [Release]
[19:47:03]: ▸ Check Dependencies
[19:47:03]: ▸ Cleaning Pods/pop [Release]
[19:47:03]: ▸ Check Dependencies
[19:47:03]: ▸ Cleaning Pods/zipzap [Release]
[19:47:03]: ▸ Check Dependencies
[19:47:03]: ▸ Cleaning XMNativeLogin/XMNativeLogin [Release]
[19:47:03]: ▸ Check Dependencies
[19:47:03]: ▸ Cleaning XMNativeLogin/XMNativeLoginResources [Release]
[19:47:03]: ▸ Check Dependencies
[19:47:03]: ▸ Cleaning Pods/Pods-MiFit [Release]
[19:47:03]: ▸ Check Dependencies
[19:47:03]: ▸ Cleaning MiFit/MiFit [Release]
[19:47:03]: ▸ Check Dependencies
[19:47:08]: ▸ 2017-01-23 19:47:08.602 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
[19:47:08]: ▸ Details:  Failed to expand identifiers "{(
[19:47:08]: ▸ "group.com.huami.ag"
[19:47:08]: ▸ )}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
[19:47:08]: ▸ Object:   <Xcode3TargetCapabilitiesContext: 0x7fe187cd0420>
[19:47:08]: ▸ Method:   -_appIDFeatureStateIncludingEntitlements:
[19:47:08]: ▸ Thread:   <NSThread: 0x7fe181713ba0>{number = 1, name = main}
[19:47:08]: ▸ Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
[19:47:08]: ▸ 2017-01-23 19:47:08.604 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
[19:47:08]: ▸ Details:  Failed to expand identifiers "{(
[19:47:08]: ▸ "group.com.huami.ag"
[19:47:08]: ▸ )}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
[19:47:08]: ▸ Object:   <Xcode3TargetCapabilitiesContext: 0x7fe187cd0420>
[19:47:08]: ▸ Method:   -_appIDFeatureStateIncludingEntitlements:
[19:47:08]: ▸ Thread:   <NSThread: 0x7fe181713ba0>{number = 1, name = main}
[19:47:08]: ▸ Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
[19:47:08]: ▸ 2017-01-23 19:47:08.649 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
[19:47:08]: ▸ Details:  Failed to expand identifiers "{(
[19:47:08]: ▸ "group.com.huami.ag"
[19:47:08]: ▸ )}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
[19:47:08]: ▸ Object:   <Xcode3TargetCapabilitiesContext: 0x7fe1852a1110>
[19:47:08]: ▸ Method:   -_appIDFeatureStateIncludingEntitlements:
[19:47:08]: ▸ Thread:   <NSThread: 0x7fe181713ba0>{number = 1, name = main}
[19:47:08]: ▸ Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
[19:47:08]: ▸ 2017-01-23 19:47:08.650 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
[19:47:08]: ▸ Details:  Failed to expand identifiers "{(
[19:47:08]: ▸ "group.com.huami.ag"
[19:47:08]: ▸ )}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
[19:47:08]: ▸ Object:   <Xcode3TargetCapabilitiesContext: 0x7fe1852a1110>
[19:47:08]: ▸ Method:   -_appIDFeatureStateIncludingEntitlements:
[19:47:08]: ▸ Thread:   <NSThread: 0x7fe181713ba0>{number = 1, name = main}
[19:47:08]: ▸ Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
[19:47:08]: ▸ Clean Succeeded
[19:47:08]: ▸ 2017-01-23 19:47:08.855 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
[19:47:08]: ▸ Details:  Failed to expand identifiers "{(
[19:47:08]: ▸ "group.com.huami.ag"
[19:47:08]: ▸ )}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
[19:47:08]: ▸ Object:   <Xcode3TargetCapabilitiesContext: 0x7fe1852a1110>
[19:47:08]: ▸ Method:   -_appIDFeatureStateIncludingEntitlements:
[19:47:08]: ▸ Thread:   <NSThread: 0x7fe181713ba0>{number = 1, name = main}
[19:47:08]: ▸ Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
[19:47:08]: ▸ 2017-01-23 19:47:08.859 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
[19:47:08]: ▸ Details:  Failed to expand identifiers "{(
[19:47:08]: ▸ "group.com.huami.ag"
[19:47:08]: ▸ )}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
[19:47:08]: ▸ Object:   <Xcode3TargetCapabilitiesContext: 0x7fe1852a1110>
[19:47:08]: ▸ Method:   -_appIDFeatureStateIncludingEntitlements:
[19:47:08]: ▸ Thread:   <NSThread: 0x7fe181713ba0>{number = 1, name = main}
[19:47:08]: ▸ Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
[19:47:09]: ▸ 2017-01-23 19:47:09.036 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
[19:47:09]: ▸ Details:  Failed to expand identifiers "{(
[19:47:09]: ▸ "group.com.huami.ag"
[19:47:09]: ▸ )}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
[19:47:09]: ▸ Object:   <Xcode3TargetCapabilitiesContext: 0x7fe187cd0420>
[19:47:09]: ▸ Method:   -_appIDFeatureStateIncludingEntitlements:
[19:47:09]: ▸ Thread:   <NSThread: 0x7fe181713ba0>{number = 1, name = main}
[19:47:09]: ▸ Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
[19:47:09]: ▸ 2017-01-23 19:47:09.038 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
[19:47:09]: ▸ Details:  Failed to expand identifiers "{(
[19:47:09]: ▸ "group.com.huami.ag"
[19:47:09]: ▸ )}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
[19:47:09]: ▸ Object:   <Xcode3TargetCapabilitiesContext: 0x7fe187cd0420>
[19:47:09]: ▸ Method:   -_appIDFeatureStateIncludingEntitlements:
[19:47:09]: ▸ Thread:   <NSThread: 0x7fe181713ba0>{number = 1, name = main}
[19:47:09]: ▸ Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
[19:47:09]: ▸ Building MiFit/MifitWidget [Release]
[19:47:09]: ▸ Check Dependencies
[19:47:09]: ▸ ❌  Code signing is required for product type 'App Extension' in SDK 'iOS 10.2'
[19:47:09]: ▸ Building Pods/AFNetworking [Release]
[19:47:09]: ▸ Check Dependencies
[19:47:09]: ▸ Building XMNativeLogin/XMNativeLogin [Release]
[19:47:09]: ▸ Check Dependencies
[19:47:09]: ▸ Building MiFit/MifitSiri [Release]
[19:47:09]: ▸ Check Dependencies
[19:47:09]: ▸ ❌  Code signing is required for product type 'App Extension' in SDK 'iOS 10.2'
[19:47:09]: ▸ 2017-01-23 19:47:09.370 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
[19:47:09]: ▸ Details:  Failed to expand identifiers "{(
[19:47:09]: ▸ "group.com.huami.ag"
[19:47:09]: ▸ )}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
[19:47:09]: ▸ Object:   <Xcode3TargetCapabilitiesContext: 0x7fe187cd0420>
[19:47:09]: ▸ Method:   -_appIDFeatureStateIncludingEntitlements:
[19:47:09]: ▸ Thread:   <NSThread: 0x7fe181713ba0>{number = 1, name = main}
[19:47:09]: ▸ Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
[19:47:09]: ▸ 2017-01-23 19:47:09.371 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
[19:47:09]: ▸ Details:  Failed to expand identifiers "{(
[19:47:09]: ▸ "group.com.huami.ag"
[19:47:09]: ▸ )}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
[19:47:09]: ▸ Object:   <Xcode3TargetCapabilitiesContext: 0x7fe187cd0420>
[19:47:09]: ▸ Method:   -_appIDFeatureStateIncludingEntitlements:
[19:47:09]: ▸ Thread:   <NSThread: 0x7fe181713ba0>{number = 1, name = main}
[19:47:09]: ▸ Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
[19:47:09]: ▸ ** ARCHIVE FAILED **
[19:47:09]: ▸ The following build commands failed:
[19:47:09]: ▸ Check dependencies
[19:47:09]: ▸ Check dependencies
[19:47:09]: ▸ (2 failures)
2017-01-23 19:47:01.102 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
Details:  Failed to expand identifiers "{(
"group.com.huami.ag"
)}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
Object:   <Xcode3TargetCapabilitiesContext: 0x7fe1852a1110>
Method:   -_appIDFeatureStateIncludingEntitlements:
Thread:   <NSThread: 0x7fe181713ba0>{number = 1, name = main}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
2017-01-23 19:47:01.105 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
Details:  Failed to expand identifiers "{(
"group.com.huami.ag"
)}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
Object:   <Xcode3TargetCapabilitiesContext: 0x7fe1852a1110>
Method:   -_appIDFeatureStateIncludingEntitlements:
Thread:   <NSThread: 0x7fe181713ba0>{number = 1, name = main}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
2017-01-23 19:47:01.944 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
Details:  Failed to expand identifiers "{(
"group.com.huami.ag"
)}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
Object:   <Xcode3TargetCapabilitiesContext: 0x7fe187cd0420>
Method:   -_appIDFeatureStateIncludingEntitlements:
Thread:   <NSThread: 0x7fe181713ba0>{number = 1, name = main}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
2017-01-23 19:47:01.947 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
Details:  Failed to expand identifiers "{(
"group.com.huami.ag"
)}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
Object:   <Xcode3TargetCapabilitiesContext: 0x7fe187cd0420>
Method:   -_appIDFeatureStateIncludingEntitlements:
Thread:   <NSThread: 0x7fe181713ba0>{number = 1, name = main}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
▸ Cleaning MiFit/MifitSiri [Release]
▸ Check Dependencies
▸ Cleaning Pods/AHEasing [Release]
▸ Check Dependencies
▸ Cleaning Pods/AFNetworking [Release]
▸ Check Dependencies
▸ Cleaning MiFit/MifitWidget [Release]
▸ Check Dependencies
▸ Cleaning Pods/CAAnimationBlocks [Release]
▸ Check Dependencies
▸ Cleaning Pods/CocoaLumberjack [Release]
▸ Check Dependencies
▸ Cleaning Pods/DDTouchCircleButton [Release]
▸ Check Dependencies
▸ Cleaning Pods/Bolts [Release]
▸ Check Dependencies
▸ Cleaning Pods/FLEX [Release]
▸ Check Dependencies
▸ Cleaning Pods/FMDB [Release]
▸ Check Dependencies
▸ Cleaning Pods/FXBlurView [Release]
▸ Check Dependencies
▸ Cleaning Pods/GBDeviceInfo [Release]
▸ Check Dependencies
▸ Cleaning Pods/FBSDKCoreKit [Release]
▸ Check Dependencies
▸ Cleaning Pods/FBSDKLoginKit [Release]
▸ Check Dependencies
▸ Cleaning Pods/FBSDKShareKit [Release]
▸ Check Dependencies
▸ Cleaning Pods/HMAlgoLib [Release]
▸ Check Dependencies
▸ Cleaning Pods/HMSportSDK [Release]
▸ Check Dependencies
▸ Cleaning Pods/MBProgressHUD [Release]
▸ Check Dependencies
▸ Cleaning Pods/MJRefresh [Release]
▸ Check Dependencies
▸ Cleaning Pods/MagicalRecord [Release]
▸ Check Dependencies
▸ Cleaning Pods/Mantle [Release]
▸ Check Dependencies
▸ Cleaning Pods/Masonry [Release]
▸ Check Dependencies
▸ Cleaning Pods/RSKImageCropper [Release]
▸ Check Dependencies
▸ Cleaning Pods/ReactiveCocoa [Release]
▸ Check Dependencies
▸ Cleaning Pods/Realm [Release]
▸ Check Dependencies
▸ Cleaning Pods/SDWebImage [Release]
▸ Check Dependencies
▸ Cleaning Pods/SSKeychain [Release]
▸ Check Dependencies
▸ Cleaning Pods/SVPullToRefresh [Release]
▸ Check Dependencies
▸ Cleaning Pods/UICKeyChainStore [Release]
▸ Check Dependencies
▸ Cleaning Pods/WebViewJavascriptBridge [Release]
▸ Check Dependencies
▸ Cleaning Pods/objc-geohash [Release]
▸ Check Dependencies
▸ Cleaning Pods/pop [Release]
▸ Check Dependencies
▸ Cleaning Pods/zipzap [Release]
▸ Check Dependencies
▸ Cleaning XMNativeLogin/XMNativeLogin [Release]
▸ Check Dependencies
▸ Cleaning XMNativeLogin/XMNativeLoginResources [Release]
▸ Check Dependencies
▸ Cleaning Pods/Pods-MiFit [Release]
▸ Check Dependencies
▸ Cleaning MiFit/MiFit [Release]
▸ Check Dependencies
2017-01-23 19:47:08.602 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
Details:  Failed to expand identifiers "{(
"group.com.huami.ag"
)}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
Object:   <Xcode3TargetCapabilitiesContext: 0x7fe187cd0420>
Method:   -_appIDFeatureStateIncludingEntitlements:
Thread:   <NSThread: 0x7fe181713ba0>{number = 1, name = main}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
2017-01-23 19:47:08.604 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
Details:  Failed to expand identifiers "{(
"group.com.huami.ag"
)}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
Object:   <Xcode3TargetCapabilitiesContext: 0x7fe187cd0420>
Method:   -_appIDFeatureStateIncludingEntitlements:
Thread:   <NSThread: 0x7fe181713ba0>{number = 1, name = main}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
2017-01-23 19:47:08.649 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
Details:  Failed to expand identifiers "{(
"group.com.huami.ag"
)}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
Object:   <Xcode3TargetCapabilitiesContext: 0x7fe1852a1110>
Method:   -_appIDFeatureStateIncludingEntitlements:
Thread:   <NSThread: 0x7fe181713ba0>{number = 1, name = main}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
2017-01-23 19:47:08.650 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
Details:  Failed to expand identifiers "{(
"group.com.huami.ag"
)}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
Object:   <Xcode3TargetCapabilitiesContext: 0x7fe1852a1110>
Method:   -_appIDFeatureStateIncludingEntitlements:
Thread:   <NSThread: 0x7fe181713ba0>{number = 1, name = main}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
▸ Clean Succeeded
2017-01-23 19:47:08.855 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
Details:  Failed to expand identifiers "{(
"group.com.huami.ag"
)}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
Object:   <Xcode3TargetCapabilitiesContext: 0x7fe1852a1110>
Method:   -_appIDFeatureStateIncludingEntitlements:
Thread:   <NSThread: 0x7fe181713ba0>{number = 1, name = main}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
2017-01-23 19:47:08.859 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
Details:  Failed to expand identifiers "{(
"group.com.huami.ag"
)}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
Object:   <Xcode3TargetCapabilitiesContext: 0x7fe1852a1110>
Method:   -_appIDFeatureStateIncludingEntitlements:
Thread:   <NSThread: 0x7fe181713ba0>{number = 1, name = main}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
2017-01-23 19:47:09.036 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
Details:  Failed to expand identifiers "{(
"group.com.huami.ag"
)}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
Object:   <Xcode3TargetCapabilitiesContext: 0x7fe187cd0420>
Method:   -_appIDFeatureStateIncludingEntitlements:
Thread:   <NSThread: 0x7fe181713ba0>{number = 1, name = main}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
2017-01-23 19:47:09.038 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
Details:  Failed to expand identifiers "{(
"group.com.huami.ag"
)}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
Object:   <Xcode3TargetCapabilitiesContext: 0x7fe187cd0420>
Method:   -_appIDFeatureStateIncludingEntitlements:
Thread:   <NSThread: 0x7fe181713ba0>{number = 1, name = main}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
▸ Building MiFit/MifitWidget [Release]
▸ Check Dependencies

❌  Code signing is required for product type 'App Extension' in SDK 'iOS 10.2'

▸ Building Pods/AFNetworking [Release]
▸ Check Dependencies
▸ Building XMNativeLogin/XMNativeLogin [Release]
▸ Check Dependencies
▸ Building MiFit/MifitSiri [Release]
▸ Check Dependencies

❌  Code signing is required for product type 'App Extension' in SDK 'iOS 10.2'

2017-01-23 19:47:09.370 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
Details:  Failed to expand identifiers "{(
"group.com.huami.ag"
)}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
Object:   <Xcode3TargetCapabilitiesContext: 0x7fe187cd0420>
Method:   -_appIDFeatureStateIncludingEntitlements:
Thread:   <NSThread: 0x7fe181713ba0>{number = 1, name = main}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
2017-01-23 19:47:09.371 xcodebuild[5961:92623] [MT] DVTAssertions: Warning in /Library/Caches/com.apple.xbs/Sources/IDEXcode3ProjectSupport/IDEXcode3ProjectSupport-11758/Xcode3Core/LegacyProjects/Frameworks/DevToolsCore/DevToolsCore/ProjectModel/Capabilities/Xcode3TargetCapabilitiesContext.m:292
Details:  Failed to expand identifiers "{(
"group.com.huami.ag"
)}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}
Object:   <Xcode3TargetCapabilitiesContext: 0x7fe187cd0420>
Method:   -_appIDFeatureStateIncludingEntitlements:
Thread:   <NSThread: 0x7fe181713ba0>{number = 1, name = main}
Please file a bug at http://bugreport.apple.com with this warning message and any useful information you can provide.
** ARCHIVE FAILED **

The following build commands failed:
Check dependencies
Check dependencies
(2 failures)
[19:47:09]: Exit status: 65
[19:47:09]: 📋  For a more detailed error log, check the full log at:
[19:47:09]: 📋  /Users/diaojunxian/Library/Logs/gym/MiFit-MiFit.log

+-------------+-------------------------+
|           Build environment           |
+-------------+-------------------------+
| xcode_path  | /Applications/Xcode.app |
| gym_version | 2.9.0                   |
| sdk         | iPhoneOS10.2.sdk        |
+-------------+-------------------------+

[!] Error building the application - see the log above

Who can help me?

@fastlane-bot
I had ran fastlane env,it worked well
[21:29:13]: Generating fastlane environment output, this might take a few seconds...
<details><summary>✅ fastlane environment ✅</summary>

### Stack

| Key                 | Value                                       |
| ------------------- | ------------------------------------------- |
| OS                  | 10.12.2                                     |
| Ruby                | 2.3.1                                       |
| Bundler?            | false                                       |
| Git                 | git version 2.10.1 (Apple Git-78)           |
| Installation Source | ~/.rvm/rubies/ruby-2.3.1/bin/fastlane       |
| Host                | Mac OS X 10.12.2 (16C67)                    |
| Ruby Lib Dir        | ~/.rvm/rubies/ruby-2.3.1/lib                |
| OpenSSL Version     | OpenSSL 1.0.2j  26 Sep 2016                 |
| Is contained        | false                                       |
| Xcode Path          | /Applications/Xcode.app/Contents/Developer/ |
| Xcode Version       | 8.2.1                                       |

### System Locale

| Variable | Value       |   |
| -------- | ----------- | - |
| LANG     | zh_CN.UTF-8 | ✅ |
| LC_ALL   |             |   |
| LANGUAGE |             |   |

### fastlane files:

**No Fastfile found**

**No Appfile found**

### fastlane gems

| Gem      | Version | Update-Status |
| -------- | ------- | ------------- |
| fastlane | 2.9.0   | ✅ Up-To-Date  |

### Loaded fastlane plugins:

**No plugins Loaded**

<details><summary><b>Loaded gems</b></summary>

| Gem                       | Version      |
| ------------------------- | ------------ |
| did_you_mean              | 1.0.0        |
| executable-hooks          | 1.3.2        |
| bundler-unload            | 1.0.2        |
| rubygems-bundler          | 1.4.4        |
| bundler                   | 1.13.6       |
| io-console                | 0.4.5        |
| slack-notifier            | 1.5.1        |
| CFPropertyList            | 2.3.3        |
| claide                    | 1.0.1        |
| colored                   | 1.2          |
| nanaimo                   | 0.2.2        |
| xcodeproj                 | 1.4.1        |
| rouge                     | 1.11.1       |
| xcpretty                  | 0.2.4        |
| terminal-notifier         | 1.7.1        |
| terminal-table            | 1.4.5        |
| plist                     | 3.2.0        |
| public_suffix             | 2.0.4        |
| addressable               | 2.5.0        |
| multipart-post            | 2.0.0        |
| word_wrap                 | 1.0.0        |
| babosa                    | 1.0.2        |
| highline                  | 1.7.8        |
| commander                 | 4.4.0        |
| excon                     | 0.54.0       |
| faraday                   | 0.10.0       |
| unf_ext                   | <IP_ADDRESS>      |
| unf                       | 0.1.4        |
| domain_name               | 0.5.20161021 |
| http-cookie               | 1.0.3        |
| faraday-cookie_jar        | 0.0.6        |
| fastimage                 | 1.6.8        |
| gh_inspector              | 1.0.2        |
| uber                      | 0.0.15       |
| representable             | 2.3.0        |
| retriable                 | 2.1.0        |
| mime-types-data           | 3.2016.0521  |
| mime-types                | 3.1          |
| hurley                    | 0.2          |
| little-plugger            | 1.1.4        |
| multi_json                | 1.12.1       |
| logging                   | 2.1.0        |
| jwt                       | 1.5.6        |
| memoist                   | 0.15.0       |
| os                        | 0.9.6        |
| signet                    | 0.7.3        |
| googleauth                | 0.5.1        |
| httpclient                | <IP_ADDRESS>      |
| google-api-client         | 0.9.20       |
| mini_magick               | 4.5.1        |
| multi_xml                 | 0.5.5        |
| rubyzip                   | 1.1.7        |
| security                  | 0.1.3        |
| xcpretty-travis-formatter | 0.0.4        |
| dotenv                    | 2.1.1        |
| faraday_middleware        | 0.10.1       |
| json                      | 2.0.2        |
</details>

*generated on:* **2017-01-23**
</details>
🙄  Wow, that's a lot of markdown text... should fastlane put it into your clipboard, so you can easily
paste it on GitHub? (y/n)
y
[21:29:31]: Successfully copied markdown into your clipboard

We are also having a code signing issue with OS X Sierra and fastlane. The build works fine in xcode but not when ran through fastlane. Let me look into it a bit more to get more details.

it would be nice to know with which version of fastlane the build was working?

I just found https://github.com/fastlane/fastlane/issues/7950#issuecomment-274267469. It seems you were correct, running the command while VNC'd into the box works.

@diaojunxian have you had a look inside actual "raw" xcodebuild log?
Sometimes xcpretty may be not displaying some errors, like this one https://github.com/supermarin/xcpretty/pull/265 for example.
You could find a more descriptive error inside xcodebuild log, which will point you in the right direction.
Also have a look at https://github.com/fastlane/fastlane/issues/7950#issuecomment-274267469 as mentioned above 👍

@lacostej fastlane gym 2.9.0

@mgrebenets can you help me where can I look the xcodebuild log? I only could look the gym log?

@lacostej  Can you help me?I could not solve it

)}": Error Domain=IDECapabilitiesErrorDomain Code=1 "The operation requires a selected developer portal team." UserInfo={NSLocalizedDescription=The operation requires a selected developer portal team., NSLocalizedRecoverySuggestion=}

Make sure to be logged in into Xcode and select a team in the Xcode project settings

@diaojunxian gym has buildlog_path option, which can be used to specify output directory path for build logs. It will be then named like Project-Scheme.log. This is the "raw" xcodebuild log, which may contain more information.
xcpretty can filter out some useful bits. So it would make sense to have a look under Check dependencies section in xcodebuild log.
It could be also related to https://github.com/supermarin/xcpretty/pull/265

@KrauseFx You had recommanded https://github.com/fastlane/fastlane/issues/5066，as our project have multiple targets, and I only used fastlane gymshell script，how can I do now?

@mgrebenets As our project have multiple targets,and I had look the log
=== BUILD TARGET MifitSiri OF PROJECT MiFit WITH CONFIGURATION Release ===

Check dependencies
Provisioning profile "MifitSiri Distribution Profile" has app ID "HM.wristband.MifitSiri", which does not match the bundle ID "HM.wristband".
Code signing is required for product type 'App Extension' in SDK 'iOS 10.2'

=== BUILD TARGET MifitWidget OF PROJECT MiFit WITH CONFIGURATION Release ===

Check dependencies
Provisioning profile "MifitWidget Distribution Profile" has app ID "HM.wristband.MifitWidget", which does not match the bundle ID "HM.wristband".
Code signing is required for product type 'App Extension' in SDK 'iOS 10.2'

the HM.wristband is the primary target，and then?

@KrauseFx When I try it xcodebuild like this
xcodebuild archive -workspace MiFit.xcworkspace -scheme MiFit -configuration Release -sdk iphoneos -archivePath myapp.xcarchive PROVISIONING_PROFILE="XC iOS Ad Hoc" DEVELOPMENT_TEAM="123BBB" CODE_SIGN_IDENTITY="iPhone Distribution"

it achived success，but when I used fastlane gym command,
fastlane gym --workspace MiFit.xcworkspace --scheme MiFit --configuration Release  --clean true --xcargs "PRODUCT_BUNDLE_IDENTIFIER='HM.wristband' DEVELOPMENT_TEAM='123BBB' CODE_SIGN_IDENTITY='iPhone Distribution' PROVISIONING_PROFILE='XC iOS Ad Hoc'" --archive_path myapp.xcarchive

it check dependencies error,as our project is multiple target,and HM.wristband is the primary target,the error log is
=== BUILD TARGET MifitWidget OF PROJECT MiFit WITH CONFIGURATION Release ===

Check dependencies
Provisioning profile "XC iOS Ad Hoc: HM.wristband.MifitWidget" has app ID "HM.wristband.MifitWidget", which does not match the bundle ID "HM.wristband".
Code signing is required for product type 'App Extension' in SDK 'iOS 10.2'

Check dependencies
Provisioning profile "XC iOS Ad Hoc: HM.wristband.MifitSiri" has app ID "HM.wristband.MifitSiri", which does not match the bundle ID "HM.wristband".
Code signing is required for product type 'App Extension' in SDK 'iOS 10.2'

@lacostej @KrauseFx can you help me?thanks a lot. you can see above comments.

@diaojunxian
Your project has multiple targets, I'd assume you have app extensions, right?
When you set PROVISIONING_PROFILE from command line like in your example, this build setting will apply for all targets, including nested apps and extensions.
So in your case profile for HM.wristband.MifitWidget will be applied to all targets and that's why you have this error.
The best approach is to set exact provisioning profile build setting for each target as part of Xcode project. I would also recommend to start using PROVISIONING_PROFILE_SPECIFIER instead of deprecated PROVISIONING_PROFILE if you are using Xcode 8.
You can use custom defined build settings to like so:

Then you could define these vars when running scripts from command line or in xcconfig files:

and specify this xcconfig on project level:

There are other ways to achieve it, e.g. creating new build configurations with different build settings, etc.

@mgrebenets thanks,I would have a try.

@mgrebenets thanks a lot，I had solve my problem like your method.
And now can I ask you a question about pilot?
As I usually try the commands and it worked well，but after I update fastlane to 2.14.2,it told this:
 Successfully uploaded the new binary to iTunes Connect
INFO [2017-02-07 20:35:32.69]: If you want to skip waiting for the processing to be finished, use the `skip_waiting_for_build_processing` option
INFO [2017-02-07 20:35:32.69]: Waiting for iTunes Connect to process the new build
INFO [2017-02-07 20:36:05.05]: New application; waiting for build train to appear on iTunes Connect
INFO [2017-02-07 20:36:36.97]: New application; waiting for build train to appear on iTunes Connect
INFO [2017-02-07 20:37:08.67]: New application; waiting for build train to appear on iTunes Connect
INFO [2017-02-07 20:37:40.14]: New application; waiting for build train to appear on iTunes Connect
INFO [2017-02-07 20:38:11.59]: New application; waiting for build train to appear on iTunes Connect
INFO [2017-02-07 20:38:43.34]: New application; waiting for build train to appear on iTunes Connect
INFO [2017-02-07 20:39:15.29]: New application; waiting for build train to appear on iTunes Connect
INFO [2017-02-07 20:39:47.20]: New application; waiting for build train to appear on iTunes Connect
INFO [2017-02-07 20:40:19.35]: New application; waiting for build train to appear on iTunes Connect
INFO [2017-02-07 20:40:51.05]: New application; waiting for build train to appear on iTunes Connect
INFO [2017-02-07 20:41:23.39]: New application; waiting for build train to appear on iTunes Connect
INFO [2017-02-07 20:41:54.83]: New application; waiting for build train to appear on iTunes Connect
INFO [2017-02-07 20:42:26.74]: New application; waiting for build train to appear on iTunes Connect
INFO [2017-02-07 20:42:58.23]: New application; waiting for build train to appear on iTunes Connect
INFO [2017-02-07 20:43:29.99]: New application; waiting for build train to appear on iTunes Connect
INFO [2017-02-07 20:44:01.64]: New application; waiting for build train to appear on iTunes Connect
INFO [2017-02-07 20:44:33.18]: New application; waiting for build train to appear on iTunes Connect
INFO [2017-02-07 20:45:04.72]: New application; waiting for build train to appear on iTunes Connect
INFO [2017-02-07 20:45:36.17]: New application; waiting for build train to appear on iTunes Connect
INFO [2017-02-07 20:46:08.38]: New application; waiting for build train to appear on iTunes Connect
INFO [2017-02-07 20:46:39.88]: New application; waiting for build train to appear on iTunes Connect
INFO [2017-02-07 20:47:12.11]: New application; waiting for build train to appear on iTunes Connect
INFO [2017-02-07 20:47:43.54]: New application; waiting for build train to appear on iTunes Connect

and my commands is:
DELIVER_ITMSTRANSPORTER_ADDITIONAL_UPLOAD_PARAMETERS="-t DAV" PILOT_WAIT_FOR_NEW_BUILD_TRAINS_ON_ITUNES_CONNECT=1 fastlane pilot upload --verbose --username ${username} --app_identifier ${bundle_id} --changelog ${changelog} -d ${beta_app_description} --ipa ${ipa_path} --distribute_external ${distribute_external} --apple_id ${apple_id} --team_id ${team_id} --team_name "${team_name}" --dev_portal_team_id ${dev_portal_team_id} --itc_provider "${itc_provider}" || exit

why it append?

@diaojunxian  your app id is wrong : --app_identifier ${bundle_id}
I faced this too...
app id should written in format team_id.bundle_id.
example on iTunes Connect, in deployed app info (deployed manually by xcode):

some read on Apple: https://developer.apple.com/library/content/documentation/General/Conceptual/DevPedia-CocoaCore/AppID.html


Firebase TestLab does not run test case

Hi,
I am trying to get a simple integration test running on Firebase Test Lab. I have followed all of the set up instructions in here and here.
I have been able to build the apks and upload them to Firebase Test Lab. However my tests always fail and the logs do not show any error messages.
From watching the video on Test Lab it look like the app is being launch correctly (the splash screen and login page are displayed), however it looks like the test case is not running at all because I cannot see any taps or interactions with the app.
I have also added prints at the start of my test case and I can see from the logs that they are never being printed. This leads me to assume that my app is being launched but the test case is not being run.
I have contacted Firebase support about this issue and they said that I should come and report an issue here.
My last test run was: matrix-1pm7y0wdx9sl2
Steps to Reproduce

Set up app with an integration test
Build app apk and test suite apk:

pushd android
# flutter build generates files in android/ for building the app
flutter build apk
./gradlew app:assembleAndroidTest
./gradlew app:assembleDebug -Ptarget=<path_to_test>.dart
popd

Upload to Firebase Test Lab

gcloud auth activate-service-account --key-file=<PATH_TO_KEY_FILE>
gcloud --quiet config set project <PROJECT_NAME>
gcloud firebase test android run --type instrumentation \
  --app build/app/outputs/apk/debug/app-debug.apk \
  --test build/app/outputs/apk/androidTest/debug/app-debug-androidTest.apk\
  --timeout 2m \
  --results-bucket=<RESULTS_BUCKET> \
  --results-dir=<RESULTS_DIRECTORY>

Observe that the test case is not being run

https://user-images.githubusercontent.com/112476079/227163353-bd059548-74f1-4e9b-a1f1-1d7bdfb61ba5.mp4

Hi @jakeBrightHR
Which Flutter version are you using? (Please provide the output of flutter doctor -v). Also, can you check if the issue can reproduce with a simple project (flutter counter app for eg)?

Hi @huycozy,
I'm on version 3.3.10. Here is my Flutter doctor:
[✓] Flutter (Channel stable, 3.3.10, on macOS 12.5.1 21G83 darwin-arm, locale
    en-GB)
    • Flutter version 3.3.10 on channel stable at
      /Users/jake.kinglee/.asdf/installs/flutter/3.3.10-stable
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision 135454af32 (3 months ago), 2022-12-15 07:36:55 -0800
    • Engine revision 3316dd8728
    • Dart version 2.18.6
    • DevTools version 2.15.0

[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.0)
    • Android SDK at /Users/jake.kinglee/Library/Android/sdk
    • Platform android-33, build-tools 33.0.0
    • ANDROID_HOME = /Users/jake.kinglee/Library/Android/sdk
    • Java binary at: /Applications/Android
      Studio.app/Contents/jre/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build
      11.0.12+0-b1504.28-7817840)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 14.2)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Build 14C18
    • CocoaPods version 1.11.3

[✓] Chrome - develop for the web
    • Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome

[✓] Android Studio (version 2021.2)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
      🔨 https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build
      11.0.12+0-b1504.28-7817840)

[✓] VS Code (version 1.76.2)
    • VS Code at /Applications/Visual Studio Code.app/Contents
    • Flutter extension version 3.60.0

[✓] Connected device (3 available)
    • sdk gphone arm64 (mobile) • emulator-5554 • android-arm64  • Android 11
      (API 30) (emulator)
    • macOS (desktop)           • macos         • darwin-arm64   • macOS 12.5.1
      21G83 darwin-arm
    • Chrome (web)              • chrome        • web-javascript • Google Chrome
      111.0.5563.64

[✓] HTTP Host Availability
    • All required HTTP hosts are available

• No issues found!

I have tried the example counter app and integration test from the Flutter docs and it was able to run the test fine.
I'm assuming it's an issue with how my app is set up but I'm not sure what it could be?

Unfortunately, we are not sure how to resolve this issue with your production code and your setup. But you may follow below my recommendations:

Make sure the integration tests can run well in the local environment with gradlew with the same device as in Firebase Test Lab.
You also may temporarily truncate other implementation codes, keep only one screen for eg and then run the Firebase Test Lab again.
Re-check with the latest Flutter stable and master channels

By the above explanation, I'm reluctantly going to close this issue for now. If you see any clues that may be Flutter framework bug, please write a comment and I will reopen this for further investigation.
Please also see https://flutter.dev/community for resources and ask questions like this. And you may also get some help if you post it on Stack Overflow and if you need help with your code, please see https://www.reddit.com/r/flutterhelp.
Thank you!


Goroutine issue in multi-tenancy environment

I get failed when I go through these test cases.
func (s *DockerSuite) TestLogsFollowGoroutinesWithStdout(c *check.C)
func (s *DockerSuite) TestLogsFollowGoroutinesNoOutput(c *check.C)

@carmark


tests(build) add test cases to ngx_wasm_rs_linking.t

Remove a duplicated test and add 2 more tests with static libwee8 + dynamic ngx-wasm-rs.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 91.123%

Totals

Change from base Build<PHONE_NUMBER>:
0.0%

Covered Lines:
7586

Relevant Lines:
8325

💛  - Coveralls


feat(theme-default): image alt option and set aria hidden on title if same as image alt (close #20)

Before submitting the PR, please make sure you do the following

[X] Read the Contributing Guidelines.
[X] Provide a description in this PR that addresses what the PR is solving. If this PR is going to solve an existing issue, please reference the issue (e.g. close #123).

What is the purpose of this pull request?

[ ] Bug fix
[X] New feature
[ ] Other

Description
Dequeue/Axe recommends not to include alt text on an image that is also already displayed next to it. A screen reader will then read it twice.
https://dequeuniversity.com/rules/axe/4.8/image-redundant-alt?application=AxeChrome
Currently the brand image in the default theme will also use the site title it displays as the alt text of the brand image.
This PR adds an option to set the brand image alt text to be different from the site title and default to the site title if not set. If the logo alt text and site title are the same then aria-hidden is set on the site title so its not read by screen readers.
Also, Dequeue recommends all HTML landmarks have a unique role, title or aria-label. If the page is using the auto link page nav there are two nav elements on the page with the same landmark role.
https://dequeuniversity.com/rules/axe/4.8/landmark-unique?application=AxeChrome
This PR adds unique labels to differentiate the navs.

Screenshots

Before
After
closes #20
closes #21

Also one more thing I would like to declare, we should definitely provide the best a11y support for the visually impaired people and body impaired people, i.e.:

Screen readers should read every page easily
All major contents should be interacted with keyboard

And SEO is important for documentation sites, so that we'd better made every SEO improvement if we can.

And in my mind, it doesn't mean we should try to fit every "best practice" given by different tools and website. For most of the part, edge built-in issue reporter and lighthouse for Chrome is enough, and we may omit the rest or even some of the rules in the above 2 tools.
For adding aria-label for <nav>, it sounds good, but it has little improvement about he 3 things I mentioned earlier. Body impaired people doesn't need the label and so is search engine. For visually impaired people, they obviously understand the page-nav from the text in my theme:

And if you want to improve it, a unvisible label with text "prev" and "next" which can be picked by the screen reader is actually more useful then a aria-label="page navigation" (by default the screen reader won't read it!)

Also one more thing I would like to declare, we should definitely provide the best a11y support for the visually impaired people and body impaired people, i.e.:

Screen readers should read every page easily
All major contents should be interacted with keyboard

And SEO is important for documentation sites, so that we'd better made every SEO improvement if we can.
And in my mind, it doesn't mean we should try to fit every "best practice" given by different tools and website. For most of the part, edge built-in issue reporter and lighthouse for Chrome is enough, and we may omit the rest or even some of the rules in the above 2 tools.
For adding aria-label for <nav>, it sounds good, but it has little improvement about the 3 things I mentioned earlier. Body impaired people doesn't need the label and so is search engine. For visually impaired people, they obviously understand the page-nav from the text in my theme:

And if you want to improve it, a unvisible label with text "prev" and "next" which can be picked by the screen reader is actually more useful then a `aria-label="page navigation"` (by default the screen reader won't read it!) A best practice which only benefits people when they are reading the html source code is obviously useless. The "best practice score" given by tools is far away comparing with impaired people's experience.

I disagree that built-in accessibility scanners is all that should be used. Deque does a vast larger amount of testing and research then Google or Microsoft does. They are setting the standards that Google and Microsoft use and so will appear to be pushing the standard, because they are. When they add best practices its because they think and are trying to make it a standard.
In the case of landmarks not being unique it is a problem for screen readers, not just a best practice. You can see an example here where when a screen reader is performing landmark navigation there are multiple landmarks that just say "navigation". This is before getting into any contents of each navigation instance. Yes, the nest page and previous page links should have screen readable labels but that is a separate concern.

Also I believe yoh should send a pr to docs repo.

Actually, now I remember what the big advantage was having the logo alt read instead of the site title. When viewing the site in a mobile width, the site title is not displayed and thus hidden by screen readers. By having the alt text always on the logo we avoid having to address that scenario explicitly.

Documentation PR created at https://github.com/vuepress/docs/pull/10

@Mister-Hope Actually, now I remember what the big advantage was having the logo alt read instead of the site title. When viewing the site in a mobile width, the site title is not displayed and thus hidden by screen readers. By having the alt text always on the logo we avoid having to address that scenario explicitly.

Good point, that makes sense


Expected 3 streams, got 1

Here is a screenshot. What should I do?

This code is over a year old and doesn't support the tdata format used by recent versions of Telegram Desktop

Thanks


Allow  admins to interact with event's expenses

User story
Our collective created an event on the OC platform, but only one admin(the creator) had access to comment and interact with the expenses.
Best solution for this problem
It will be great if all admin have access to event page.

@samswag could you provide the name of the collective and a URL to the event? Thanks!

URL of the event
Collective name:
Open Source Community Africa

@piamancini seems you understood what that was well. can you provide input?

Yep. Essentially what happenes is that the admins of a collective do not automatically become admins of the event. The person that creates the event becomes an admin but needs to add everyone else. This I think was done since we expected a larger collective group to manage events separately, but in truth it's confusing.
@samswag the workaround is to manually add everyone else as admins of the event collective.
@znarf the solution is to make all collective admins event admins by default?

This lead to another bug recently where an admin of a collective wasn't able to empty the event's balance because the person wasn't recognized as an admin of it.


Adding the potloc version of tap-hubspot (using meltano sdk) to the meltano hub

Added the potloc project to the meltano-hub -> Tap-Hubspot. It is by no means complete, but I think it's a good start to showing how to use the meltano sdk

@tayloramurphy I confirm that is actively maintained. It's currently one of our main taps

Preview looks good https://deploy-preview-604--meltano-hub.netlify.app/extractors/tap-hubspot--potloc - merging!


Unfamiliar Syntax

Sorry for my ignorance, but could someone explain how the syntax on line 38 of StocksActor.java works?
.<Iterable<ActorRef>>map(Collections::singletonList)
How can there be a Generic Type <Iterable<ActorRef>> after the dot operator and before the map call?

@bmzhao If you have questions you can ask on the mailing list. This tracker is for bugs.
The Optional#map function is generic on the new type held by the mapped Optional. It is needed because the inferred type from singletonList() would be a List<ActorRef>, and in the following orElse call getChildren() returns an Iterable<ActorRef>.


Fix error with domain "."

If I enter a dot in the "Blacklist" field, the template is not generated.

configd.py: [2827e8c5-d25e-4dd0-929e-5a499c33e498] Inline action failed with OPNsense/Proxy OPNsense/Proxy/squid.conf label empty or too long at Traceback (most recent call last): File "/usr/local/opnsense/service/modules/processhandler.py", line 507, in execute return ph_inline_actions.execute(self, inline_act_parameters) File "/usr/local/opnsense/service/modules/ph_inline_actions.py", line 51, in execute filenames = tmpl.generate(parameters) File "/usr/local/opnsense/service/modules/template.py", line 326, in generate raise render_exception Exception: OPNsense/Proxy OPNsense/Proxy/squid.conf label empty or too long

fix doesn't look complete .something will likely also fail


RKManagedObjectStore initWithStoreFilename "can't merge models with two different entities."

When setting up setting up the managed object store with the object manager, eventually
RKManagedObjectStore initWithStoreFilename:inDirectory:usingSeedDatabaseName:managedObjectModel:delegate gets called. There:
...
if (nilOrManagedObjectModel == nil) {
    nilOrManagedObjectModel = [NSManagedObjectModel mergedModelFromBundles:[NSBundle allBundles]];
}
...

Causes an error for me:

Can't merge models with two different entities named 'EntityName'

According to Core Data Programming Guide: Using a Managed Object Model Instead of mergedModelFromBundles:, use initWithContentsOfURL: to initialize the model. So I replaced that line with:
NSString *withoutExtension = [[storeFilename<EMAIL_ADDRESS>objectAtIndex:0];
NSString *modelPath = [[NSBundle mainBundle] pathForResource:withoutExtension ofType:@"momd"];
NSURL *modelURL = [NSURL fileURLWithPath:modelPath];
nilOrManagedObjectModel = [[NSManagedObjectModel alloc] initWithContentsOfURL:modelURL];

Is initWithContentsOfURL: functionally equivalent to mergedModelFromBundles:? This seems to have resolved the issue for me, but I'm not sure what the implications are, which is why I'm submitting this.

mergedModelFromBundles pulls in all of the mom and momd model files included in your app bundle.
So if you include the RestKitCoreData bundle (or restkitresources perhaps?) your MOM contains all the entities you might use, not just the ones you created yourself.
The other option you mention only pulls in the one
However, I always see this error when the model in the simulator or on the device differs sufficiently from the model I'm building in Xcode. In other words, you still have an old model in place after you update the installed app
Either set up migration or delete that old model file and SQLite store (or the whole app on the simulator) before creating your core data stack
gsc
Sent from my iPhone.
On Mar 7, 2012, at 8:16 AM, Jinyoung<EMAIL_ADDRESS>wrote:

When setting up setting up the managed object store with the object manager, eventually
RKManagedObjectStore initWithStoreFilename:inDirectory:usingSeedDatabaseName:managedObjectModel:delegate gets called. There:
...
if (nilOrManagedObjectModel == nil) {
   nilOrManagedObjectModel = [NSManagedObjectModel mergedModelFromBundles:[NSBundle allBundles]];
}
...

Causes an error for me:

Can't merge models with two different entities named 'EntityName'

According to Core Data Programming Guide: Using a Managed Object Model Instead of mergedModelFromBundles:, use initWithContentsOfURL: to initialize the model. So I replaced that line with:
NSString *withoutExtension = [[storeFilename<EMAIL_ADDRESS>objectAtIndex:0];
NSString *modelPath = [[NSBundle mainBundle] pathForResource:withoutExtension ofType:@"momd"];
NSURL *modelURL = [NSURL fileURLWithPath:modelPath];
nilOrManagedObjectModel = [[NSManagedObjectModel alloc] initWithContentsOfURL:modelURL];

Is initWithContentsOfURL: functionally equivalent to mergedModelFromBundles:? This seems to have resolved the issue for me, but I'm not sure what the implications are, which is why I'm submitting this.

Reply to this email directly or view it on GitHub:
https://github.com/RestKit/RestKit/issues/585

Hmm, why would RestKit need to know about other models in the other bundles I might include? I'm very new to iOS development so pardon me if this is a dumb question. I'm having a hard time imagining using RestKit to update data in entities I didn't create myself.
Anyway, regardless, it seems this is due to my app using model versioning so I can do auto migrations. Cleaning, deleting the app from the simulator, resetting the content and settings, all failed to resolve this. A couple places seems to indicate that mergedModelFromBundles simply cannot handle different versions of a model.
http://augustl.com/blog/2011/unit_testing_ios_core_data_versioned_or_multiple_models
http://stackoverflow.com/questions/3773915/core-data-migration-cant-merge-models-with-two-different-entities-named-foo
Ultimately, it seems like there should be RKManagedObjectStore objectStoreWithModelURL:(NSURL *)modelURL for folks using versioned models. Again, in all honestly, I'm fairly new to iOS development and Core Data so I could very well be missing something.

Shoot I just read the comment right above that mentions using allBundles so you can do unit tests... hmm.


pdf is not loading which stored in firebase storage

I wanted to load a pdf from firebase storage in my android app using this library.
But it's showing blank screen .
How to solve this ?

You have to download the file first, then render it once it is in your SD. See #60


docs: Add missed import in code sample

It's important to import FetchError from ofetch, not from ohmyfetch

Thanks!


MissinModules Error for "https", "crypto"

By the way, I have them installed in my project but I dont think I should have need to do that manually rght? I'm just not able get my head around this issue. Please help!

It looks like you are trying to use the package in a frontend node application.
Webpack can't bundle the https and crypto packages because these are native nodejs packages.
You shouldn't use this package from a frontend as the storage/bucket keys will be exposed. But if you must then you can use the REST APIs directly.


Decorators

Seems like decorators don't work on results, but I don't care about this much. We might want to basically remove results, or at least de-emphasize them, at some point.

I realized that there's not auto-complete for decorators yet. I assume we could add this later, but it's not a big priority now.

Seems like decorators don't work on results

Yep, this PR only implements decorators on statements (x = ... or f(...) = ...), not on values.
Decorators on all values are confusing syntactically (x = @name("foo") 5 + @name("bar") 6) and are rarely/never useful, so I don't want to add them.
Decorators on end expressions in blocks will be necessary in the future (see "Tagging return values" in https://quri.notion.site/Tagging-values-vs-variables-f2b661e82e254002b8c168eeb697bf23), even if we remove program-level results.

I realized that there's not auto-complete for decorators yet.

Thanks for flagging! This reminds me that this PR might break autocomplete for other variables, I need to check it before we merge it.


Reported Accuracy

Can you confirm that the following splits are used for reporting the final accuracies in the paper?
CIFAR100-LT: Val Split
ImageNet-LT: Test Split
iNaturalist18: Val Split
Do all the earlier works follow the same, that is report final accuracies for CIFAR100-LT and iNaturalist18 only for validation splits and not test splits?

Yes,  all the earlier papers follow the same setting. The accuracies of CIFAR-LT and iNaturalist18 only for validation splits. Moreover, the test set of  ImageNet-LT is the validation set of ImageNet (ILSVRC 12).


OpenSCAD translator doesn't support d in cylinder

Steps to Reproduce the Problem
cylinder(d=50, h=10);

Expected Behavior
should work
Actual Behavior
d is ignored
OpenJSCAD seems to have support of d

hi @KOLANICH ! thanks for the bug report, sadly I can only re-iterate what has been said in #370 : ie the OpenSCAD => Openjscad translator is outdated , and for now not in our priorities until the next major release of JSCAD: you are more than welcome to fix that if you have the time/ capability :)

OpenSCAD => Openjscad translator is outdated

I don't understand how can it be outdated when implemented right. Why doesn't it just blindly translate OpenSCAD to OpenJSCAD?

LISP != JavaScript
Basically, a translation layer is require.

typescript allows to compile to a certain version of javascript and a certain module system using just --target and --module arguments to the command line interface (or same parameters defined in tsconfig.json)
same code in typescript
// input.ts
import { Polygon3D } from './Polygon3D';

will compile to the following javascript depending on the --target and --module arguments
// output.js with --target esnext --module commonjs
import { Polygon3D } from './Polygon3D';

or
// output.js with --target es3 --module commonjs
const { Polygon3D } require('./Polygon3D');

or
// output.js --target es3 --module amd
define(["require", "exports", "./Polygon3D"], function (require, exports, Polygon3D) {
});

@KOLANICH
Openjscad and Openscad are totally different pieces of software , with different implementations and capabilities,  based on different languages it is not as trivial as it might seem, but as always , everybody is welcome to contribute
@aleksey-bykov : I do not see the relevance of typescript in this type of conversion

then what is the point of 100% mimicking interfaces of OpenSCAD if these are 2 completely different systems?

If you wanna separate OpenJSCAD API from OpenSCAD one, I guess there should be an intermediate layer: JavaScript API mimicking OpenSCAD API perfectly, to keep the transpiler as simple and as stable as possible.

@KOLANICH we honestly do not have the intention,  time or resources to maintain multiple APIs, (single api, easier for all :) )  the scad=>jscad converter should deal with the differences, since we are re-writing pretty much every aspect of jscad, a lot of things are currently in flux, but that will quiet down once we have V2.0 out, then we can deal with updating the converter


Hello World - 开心小站

https://itvita.cn/2022/11/27/hello-world/?
开心小站,it,java,vue,Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any pr,

策士


feat/capitalize-events

I have custom resources: kibanas and elasticsearches
they both have green, yellow or red on their status.
not capitalized.
I figured we better capitalize anyway to get the colors right.
before:

after:

There is a capitalization method in the utils/string.lua, do we do something different here?

didn't know about it. now it's using it

Love it!

didn't know about it. now it's using it

Yeah figured but my git diff on phone is sometimes hard to read 😅


feat: new query api

I have a proposal for a new query API for postgrest-py. The objective is to be more strict with respect to the order in that the different methods can be chained like the SQL statements keeping the full type annotation.
In select:

single and maybe_single can't be chained
limit and range only can be chained with a single, or a maybe_single
order only can be chained with a limit, a range, a single, a maybe_single, or other order
where only can be chained with a limit, a range, a single, a maybe_single, order, or other where
from_ only can be chained with a where, a limit, a range, a single, a maybe_single, or an order
select only can be chained with a from_

In update:

values can't be chained
where only can be chained with other where, or a values
update only can be chained with a where, or a values

In delete:

where only can be chained with other where
delete only can be chained with a where

The statements are independents of the client execution way following the idea of other ORM like the new API of SQLALchemy
I think that is a good option to implement this proposal as an addition, not a substitution of the actual implementation.
The code below like a proof of concept only shows the typing annotations:
from typing import Generic, Iterable, Type, TypeVar

class Filter:
    def ne(self, key, value) -> "Filter":
        ...

    def eq(self, key, value) -> "Filter":
        ...

ne = Filter().ne
eq = Filter().eq

T = TypeVar("T")

class WhereStatement(Generic[T]):
    def __init__(self, type: Type[T]) -> None:
        self.__type = type

    def where(self, filter: Filter) -> T:
        return self.__type()

class Statement:
    ...

class ValuesStatement:
    def values(self, data: dict) -> Statement:
        ...

class SingleStatement:
    def single(self) -> Statement:
        ...

class MaybeSingleStatement:
    def maybe_single(self) -> Statement:
        ...

class UnionSingleStatement(SingleStatement, MaybeSingleStatement):
    ...

class LimitOrRangeStatement(UnionSingleStatement):
    def limit(self) -> UnionSingleStatement:
        ...

    def range(self) -> UnionSingleStatement:
        ...

class OrderStatement(LimitOrRangeStatement):
    def order(self) -> "OrderStatement":
        ...

class FromStatement(WhereStatement["FromStatement"], OrderStatement):
    def __init__(self) -> None:
        WhereStatement.__init__(self, type(self))

class SelectStatement:
    def __init__(self, *colums: Iterable[str]) -> None:
        pass

    def from_(self, table: str) -> FromStatement:
        ...

class UpdateStatement(WhereStatement["UpdateStatement"], ValuesStatement):
    def __init__(self, table: str) -> None:
        WhereStatement.__init__(self, type(self))

class DeleteStatement(WhereStatement["DeleteStatement"], Statement):
    def __init__(self, table: str) -> None:
        WhereStatement.__init__(self, type(self))

select = SelectStatement
update = UpdateStatement
delete = DeleteStatement

class PostgrestClient:
    def exec(self, statement: Statement):
        ...

client = PostgrestClient()

filter = ne("key1", "value1").eq("key2", "value2")

select_query = select("column1", "column2").from_("table").where(filter).single()
result_select_query = client.exec(select_query)

update_query = update("table").where(filter).values({"key1": "new_value"})
result_update_query = client.exec(update_query)

delete_query = delete("table").where(filter)
result_delete_query = client.exec(delete_query)

Closing this one out as it has been in draft for over a year now. I'm also not sure about changing the API design as we are following the JavaScript library closely and some of these changes would shift us away from that.


Add From Cookiecutter sometimes reverts to global mode

Start VS
Ensure that the cookiecutter tool window is NOT created
Create New Project
Right-click, Add From Cookiecutter
Double-click on a template
Result: Cookiecutter is not in the desired "Add to Project" mode.
Edit: Put in proper repro steps.

Fixed.


Portable .exe can't load pages from subfolder

[x ] I have read the contribution documentation for this project.
[x ] I agree to follow the code of conduct that this project follows, as appropriate.
[x ] I have searched the issue tracker for an issue that matches the one I want to file, without success.

Please describe your issue:
I am building an electron application (of course)
I have a portable windows package being built.
The main window loads fine but when I select a menu item (bcrypt/encrypt) that points to the sub-folder item (bcrypt/encrypt.html), the window is empty.  When I run the application from npm start everything works as expected.
I have the unpacked the arar and the sub-folder and the folder for bcrypt and the included files are there.
My application structure is
bcryptdesktoptool
----app
--------package.json
--------main.js
--------main.html
--------assets
----------global.css
----------variables.css
--------bcrypt
----------encrypt.js
----------encrypt.html
----------validate.js
----------validate.html
----node_modules
----package.json
Here is my development package.json
{   "//" :"based upon this tutorial http://electron.rocks/electron-builder-explained/",   "name": "bcryptdesktoptool",   "productName": "Bcrypt Desktop Tool",   "version": "0.0.1",   "description": "An Electron Desktop tool to encrypt passwords and validate them using bcrypt",   "main": "main.js",   "scripts": {     "start": "electron ./app/main.js",     "test": "standard",     "package-win": "build"   },   "repository": {     "type": "git",     "url": "git+https://github.com/biomade/BcryptDesktopTool.git"   },   "keywords": [     "Electron",     "bcrypt",     "node"   ],   "author": "laurie k",   "license": "ISC",   "bugs": {     "url": "https://github.com/biomade/BcryptDesktopTool/issues"   },   "homepage": "https://github.com/biomade/BcryptDesktopTool#readme",   "devDependencies": {     "devtron": "^1.4.0",     "electron": "^1.6.3",     "electron-builder": "^15.4.3",     "standard": "^9.0.1"   },   "dependencies": {     "bcryptjs": "^2.4.3"   },   "config": {     "debug": "false"   },   "build": {     "appId": "com.kernology.bcryptdesktoptool",     "productName": "Bcrypt Desktop Tool",     "artifactName": "BcryptTool.exe",     "files": "**/*",     "asar": true,     "asarUnpack":"**/*",     "win": {       "target": "portable"     }   } }

oops, close this, it is in the wrong repo. Sorry about that


add support for postgresql_db 'target'; resolves #5

Signed-off-by: Mario Kozjak<EMAIL_ADDRESS>

This one still needs a solution where the state param would be set to restore if the schema is provided!

Ok, looking good. Done!

@volodymyr-mykhailyk: Can you merge this, maybe?

Thanks for help and sorry for delay with merge @mkozjak


Add backend + plugin support for calendars other than Gregorian

This requires refactoring the internals to consume a Calendar protocol, moving calendar-specific code into protocol implementations, and figuring out the best way to work with multiple calendars in the API.
Should probably prototype this with the Julian calendar so that I can get a feel for how the API works.

[x] Implement Calendar behaviour
[x] Implement Gregorian calendar (aliased as ISO)
[x] Implement Julian calendar
[ ] Implement another calendar (probably Hebrew), to prove out the API
[ ] Use module names in :calendar field instead of an atom name
[ ] Set default calendar to Calendar.ISO for Dates/DateTimes
[ ] Update API to support specifying calendar, and to handle delegating calendar-specific functions

This is deprecated as the standard library now supports this, and there are other libraries handling calendar conversion.


Add specification for explicitly casting an array to a specified dtype

This PR

specifies an astype API for explicitly casting an array to a specified dtype.
adds a functional API rather than an array object method following conventions set forth in this specification to maintain a minimal array object API.
uses the astype name to mirror the NumPy array object method x.astype().
includes a copy kwarg to allow returning the input array iff copy is False and the specified dtype matches the data type of the input array. Every library except TensorFlow supports this kwarg. During the consortium meeting on 21 October 2021, TF supported including the copy kwarg in the specification.
updates conversion guidance for asarray to only require support for conversions following type promotion rules described in this specification. With the addition of astype, overloading asarray with comprehensive casting semantics for input arrays is not necessary.
resolves https://github.com/data-apis/array-api/issues/264.

Prior Art

TF cast: only supports providing a dtype argument.
NumPy x.astype: supports order, casting, and copy kwargs.
CuPy x.astype: supports order and copy kwargs.
Dask x.astype: supports casting and copy kwargs.
Torch to: supports copy and device kwargs.
MXNet x.astype: supports copy kwarg.

This change was discussed and agreed upon during the consortium meeting held on 21 October 2021. Merging...


Link Static Pod Task page with Static Pod Concept

Description
Page updated: kubernetes.io/docs/concepts/workloads/pods/#static-pods
Changd kubernetes.io/docs/concepts/workloads/pods/#static-pods to link to kubernetes.io/docs/tasks/configure-pod-container/static-pod
Resolves: https://github.com/kubernetes/website/issues/42195

/easycla


Machine win-6 went dead from monitoring website.

Machine win-6 went dead from monitoring website.

Machine win-6 is back online and ready for service, Heathcheck batch job was hung and required to restart.


Lamps + Tile Ents = Performance Issue

hey,
is there any way that the lamps get changed that they no longer spawn tile ents to create the light. Thaumcraft also changed the arcane lamps to improve the performance.
Quote out of the Thaumcraft Changelog:

<IP_ADDRESS>

glimmers of light produced by arcane lamps are no longer tile entities and do not produce particle FX anymore.

The powered lights have already been rewritten - which version are you using?

Currently EnderIO-1.7.10-<IP_ADDRESS>7

they have been rewritten in 2.3 beta build 377

Oh ok, great. Do you know where I can find the dev builds?

Ah ok thanks.


Make create table test rely on wider supported type

@kokosing cancelled checks are not related to code.

Automation failed with: https://github.com/prestosql/presto/issues/5422


_opentime cannot be found in Windows

Incorrect Functionality and General Questions
_opentime cannot be found in Windows, Python 2.7.16, otio 0.13.0 installed with pip.
And cannot find how to solve it in issue #681 and #667 .
Logs
import opentimelineio as otio

File "l:\packages\pg\third_party\plugin\otio\0.13.0\platform-windows\python-2.7.16\opentimelineio_init_.py", line 35, in
from . import (
File "l:\packages\pg\third_party\plugin\otio\0.13.0\platform-windows\python-2.7.16\opentimelineio\opentime.py", line 1, in
from . _opentime import ( # noqa
ImportError: DLL load failed: 找不到指定的模块。
Additional Context
Add any other context about the problem here.

Same issue here on windows x64 python3 in virtualenv.
I found a workaround that copy all the dll files under Libs/site-packages/opentimelineio/cxx-libs/bin/ to  Libs/site-packages/opentimelineio. Then the _opentime.dll can be found.

We're working on getting wheels created regularly for Windows, things will be smoother when that's up and running. Keep an eye on this PR: https://github.com/PixarAnimationStudios/OpenTimelineIO/pull/1099

Same issue here on windows x64 python3 in virtualenv.
I found a workaround that copy all the dll files under Libs/site-packages/opentimelineio/cxx-libs/bin/ to Libs/site-packages/opentimelineio. Then the _opentime.dll can be found.

I have no .opentimelineio/cxx-libs folder.


Crashing Server while interacting with other mods it seems.

Minecraft Version - 1.19.2
Forge Version - 43.1.25
Mod Version - 1.0.0  -1.19.2
Custom Mod Pack and Server : https://www.curseforge.com/minecraft/modpacks/friends-united
Added the mod to my custom mod pack and server yesterday in a update. Since that update we have had nothing but crashes from the the server involving "It Takes A Pillage" I'll post one or multiple reports. The Crash reports indicate Both a mod named "The BumbleZone"
This mod wasn't causing any issues prior to the update of adding "It Takes A Pillage". I will also be posting this same crash information on their issue tracker to see if the issue is tracked on their end as well.
I do not know how to recreate this issue. Players are saying they aren't interacting with anything to do with Pillagers. I hate to remove this mod so soon after adding it but if it continues I will have to remove it permanently
crash-2022-09-15_12.34.15-server.txt
crash-2022-09-15_12.06.50-server.txt
crash-2022-09-15_10.22.02-server.txt

Looks like the mob effect event forge fires may have a null effect instance under certain situations. A null check is needed here in takes a pillage mod to prevent a crash with vanilla or other mods. I suspect drinking milk without any status effect will also cause this crash
https://github.com/izofar/takes-a-pillage/blob/a76c99a1b2c1c831a9c0c4e718a3880dc4665956/src/main/java/com/izofar/takesapillage/event/ModEntityEvents.java#L58

Looks like the mob effect event forge fires may have a null effect instance under certain situations. A null check is needed here in takes a pillage mod to prevent a crash with vanilla or other mods. I suspect drinking milk without any status effect will also cause this crash
https://github.com/izofar/takes-a-pillage/blob/a76c99a1b2c1c831a9c0c4e718a3880dc4665956/src/main/java/com/izofar/takesapillage/event/ModEntityEvents.java#L58
It’s also why vanilla Honey Bottle will also cause this crash because Honey Bottle calls removeEffects to remove poison. A null effect instance in the event is a valid case

That's right, good catch

Fixed on branch 1.19.x by commit b04c5dc


Best approach - Zip file uploads from Client to Server (plus hash value check)

Hello Everyone, and Happy New Year when it comes at your local time zone! :)
I am asking for advice for best approach how I should use this WatsonTcp package.
I need to upload ZIP files, one file per day from a Client application to a Server application. At both ends I would like to use WatsonTcp. The size of the Zip files varies between 50-150 MBytes.
I am thinking about the following:

I create a FileStream from the zip file in the following way at the Client side (i only show part of the code):

using (FileStream fss = new FileStream(zipFilePath, FileMode.Open, FileAccess.Read))
                                    {
                                        using (SHA256 mySHA256 = SHA256.Create())
                                        {
                                            byte[] hashValue = mySHA256.ComputeHash(fss);
                                            Dictionary<object, object> metadata = new Dictionary<object, object>();
                                            metadata.Add(MetaData.FileName, Path.GetFileName(zipFilePath));
                                            metadata.Add(MetaData.FileSize, length);
                                            metadata.Add(MetaData.UploadStarted, DateTime.Now);
                                            metadata.Add(MetaData.CheckSum, hashValue);

                                            SyncResponse resp = Client.SendAndWait(ClientTimeout, fss.Length, fss, metadata);

                                            bool repliedHashOK = (bool)resp.Metadata[MetaData.CheckSumOK];
                                            if (repliedHashOK)  {}
                                            else {}
                                         }
                                    }

At the server side, I register for the Callback "private static SyncResponse SyncRequestReceived(SyncRequest req)". Inside this, I should recalculate the hash value of the FileStream, compare to the Value of the MetaData.CheckSum Key, then set the MetaData.CheckSumOK accordingly before sending the SyncResponse back to the Client.

Question:
I need to create the ZIP file at the Server side if the hash values match. For this, what data element can I use in the "private static SyncResponse SyncRequestReceived(SyncRequest req)" callback method? The "req.Data" is a byte array, I guess this array contains the same data what was sent by the Client.SendAndWait() method in the form of a FileStream? So I can calculate hash on this byte array, and I should be able to create the zip file from the byte array, yes?
Thanks very much for help, and any suggestions how I should do this file transfer better!
Best Regards,

Hi @bukkideme thanks for your note.  The main reason for the payload field Data within SyncRequest being a byte array is that it is meant for synchronous messaging.  I've considered adding a Stream variant, but had not gotten to it yet.  Seems like now I might have a good reason to do that :)
For your implementation, I'd create a MemoryStream from the data, i.e.
MemoryStream ms = new MemoryStream();
ms.Write(args.Data, 0, args.Data.Length);
ms.Seek(0, SeekOrigin.Begin);

Then run the hash computation over the MemoryStream, and if valid, write it out to a FileStream.
Something you may want to consider doing: when you run your hash function over a stream, it would be good to confirm whether or not the hash function resets the stream's position.  Otherwise after you run the hash, the position may be at the end of the stream, and when you pass it off to Watson, it may be unable to read the specified number of bytes.  You should consider doing a .Seek(0, SeekOrigin.Begin) before passing it into Watson.
Leaving this open in case you have any other questions etc!
Cheers and Happy New Year!  Joel

Hi @jchristn !
Thanks very much for your suggestions, also regarding how to be careful with the stream position and the MemoryStream!
I will test some cases in my implementation.
Before that, I have another question:
I was playing a bit with the TestServerStream and the TestClientStream examples. In the Server example, inside the "private static SyncResponse SyncRequestReceived(SyncRequest req)" method, the last line creates and sends the reply back to the Client. At this place I would like to send the hash compare result back inside the meta data. But I do not need to send the file data back though.
This line:
return new SyncResponse(req, retMetadata, "Here is your response!");
Am I right about that, in this very example we just send back the whole SyncRequest object, so also including the Data part? In the case of a larger file, this is not really efficient, since I do not want the whole file data in the response back, yes?
So I guess I would create the following reply:
SyncRequest myReply = req;
myReply.Data = null;
return new SyncResponse(req, retMetadata, "Here is your response!");

The problem is that, SyncRequest is Read only property. How can i work around this?
Thanks again for your help!
Best Regards,

Hi @bukkideme returning the original SyncRequest back is only to allow for efficient access to metadata used to send the response.  The original data is not sent.  Since it is a reference, you shouldn't need to worry about nulling out the Data property.  For the implementation, please feel free to check out the DataReceiver method within WatsonTcpServer, specifically line 1073 in the current HEAD.
SyncResponse syncResp = _Callbacks.HandleSyncRequestReceived(syncReq);
if (syncResp != null)
{
    WatsonCommon.BytesToStream(syncResp.Data, out long contentLength, out Stream stream);
    WatsonMessage respMsg = new WatsonMessage(
        syncResp.Metadata,
        contentLength,
        stream,
        false,
        true,
        msg.Expiration.Value,
        msg.ConversationGuid,
        (_Settings.DebugMessages ? _Settings.Logger : null));
    SendInternal(client, respMsg, contentLength, stream);
}

Cheers, Joel

Thanks! So if I understood you well, I can simply call the method like this with the received SyncRequest req parameter unmodified, and only insert my own metadata variable with my Bool result info:
return new SyncResponse(req, retMetadata, "Here is your response!");
I will test the communication in this way, I am still working on other parts of the code.
Thanks again! :)

Exactly :)

Now I will also need to figure out a proper structure and logic for a 3 PCs case.
I will need to use my application in three different configurations (I will use config files for easy setup), running on three different PCs. PC#1 can see PC#2, PC#2 can see PC#3, but PC#1 cannot reach PC#3 directly via TCP (some security restrictions which I do not have admin right to change).
So one idea what I could do:
PC#1: running a WatsonTcpClient.
PC#2: running a WatsonTcpServer to get data from PC#1, and a WatsonTcpClient to send data to PC#3 server.
PC#3: running a WatsonTcpServer.

PC#1: here I create the zip file, then via a FileStream, I send it to PC#2 using Sendandwait(). I wait for metadata response, handle errors, handle Timeout case, handle hash mismatch. Logging, setup retry frequency if needed.
At PC#2, If the data arrived OK, hash values match, then I use again a Sendandwait from the SyncRequestReceivedServer() method, and handle again those error/timeout cases what I did at PC#1.
At PC#3 gets the data OK from PC#2, then I can recreate the ZIP file and store it at local HDD. Again, I need to handle errors, etc...

I feel this approach is a bit cumbersome, due to the numerous hash values and other timeout/error checks. My knowledge quite limited (also) in TCP-IP things, I wonder if there could be a more elegant solution is such cases which I have to deal with. Maybe a kind of "TCP-IP tunnel", which could run in the middle-PC (PC#2), and would only re-direct the incoming TCP-messages back and forth between PC#1 and #3. Maybe this is even possible at the operation system level, but for that I need to figure out what configuration changes I am allowed to make at PC#2...
Thanks for any suggestions! :)

Hi @bukkideme definitely nothing wrong with running your code controlling both a server instance and a client instance like you would need to do on PC #2.  The nice thing is that most of the underlying TCP work is already taken care of for you.  You could very easily just implement a proxy of sorts in #2 that would listen for incoming streams and send them to #3.  The hard part will be dealing with errors, i.e. #3 goes down prior to a response being fully sent back to #2 (that would be sent back to #1).  Best of luck to you.

Hi @bukkideme definitely nothing wrong with running your code controlling both a server instance and a client instance like you would need to do on PC #2.  The nice thing is that most of the underlying TCP work is already taken care of for you.  You could very easily just implement a proxy of sorts in #2 that would listen for incoming streams and send them to #3.  The hard part will be dealing with errors, i.e. #3 goes down prior to a response being fully sent back to #2 (that would be sent back to #1).  Best of luck to you.


[master] Upgrade to latest dependencies

Cron. -knative-prow-robot
/cc knative-sandbox/source-wg-leads lberk
/assign knative-sandbox/source-wg-leads lberk
Produced via:
./hack/update-deps.sh --upgrade --release v0.21
./hack/update-codegen.sh

Details:
bumping knative.dev/eventing a4a9f48...fd2688d:
  > fd2688d Use SHOULD for TriggerSpec to keep compatibility (# 4838)
  > 1fa597e [# 4796] Bump golang lint timeout to 10m (# 4830)
bumping knative.dev/pkg ca02ef7...6045ed4:
  > 6045ed4 Allow setting DisableCompression in NewAutoTransport (# 2007)
bumping knative.dev/hack 8d623a0...8368e1f:
  > 8368e1f guard against set -o unset (# 49)
  > 2b4f6fc disable go's proxy and sumdb only for knative deps (# 47)

/ok-to-test
/lgtm
/approve


Fix off-by-one palette index problem:

The code was adding a black (0, 0, 0) palette entry in front of all the quantised colour entries when in fact this shouldn’t be done.
This means that in the resulting Vox model, everything that should have the first (index 0) palette colour actually has the black colour, then everything that should have the 2nd (index 1) palette colour has the 1st palette colour, and so on.
Note: The spec for the Vox format says that the indexes of your palette entries end up getting +1’d, due to the ‘empty’ reserved value, but doesn’t say that you should put any kind of dummy value at index 0.

Btw, if you'd like to keep the original behaviour for backwards compatibility and have my fix here activated by an optional parameter to from_dense, let me know.


Upgrade to wro4j 1.9.0

@piyush-garg Please sign the Contributor License Agreement!
Click here to manually synchronize the status of this Pull Request.
See the FAQ for frequently asked questions.

@pivotal-issuemaster this is an obvious fix.

@piyush-garg This Pull Request contains an obvious fix. Signing the Contributor License Agreement is not necessary.


example using php cUrl

would you have an example of using your service with PHP cUrl? I am having a lot of trouble getting it to work. normally getting a blank pdf file back.

I'm sorry. I have not used php in a very long time :-(
If you are in an environment where you can test the cUrl example from the README you would be able to confirm that the service works as expected. If it does you know there's something in your code, if it doesn't I have to dig deeper.
Btw I just found this the other day: https://github.com/thecodingmachine/gotenberg I think they offer a PHP-client.

@zrrrzzt thank you for the reference. Looks like a good php-client.

I wrote a simple PHP client for the API. It's available on GitHub and Packagist under the MIT license.
You can install the client using Composer:
composer require codeinc/unoconv-webservice-client