AzureReader2 gives me a 400 Bad request when enabled - azure
My website is running on Azure with ImageResizer, AzureReader2 and DiskCache turned on. When I edit and deploy changes to the live website I get 400 Bad request errors on the website. If I disable AzureReader2 in Web.config the pages show up perfectly but obviously with the images missing. When I enable AzureReader2 the pages that I browsed earlier with AzureReader2 turned off work perfectly with the images being resized as expected, however the pages that weren't browsed give me a 400 Bad request. I've searched for a good day and a half for a solution but I haven't found anything that addresses this problem. Any idea on how I could resolve this for good would be awesome! Thanks.
Here's the test website: http://iwktest.azurewebsites.net/
Here's my diagnostics page:
Image resizer diagnostic sheet 6/23/2015 11:16:33 AM
0 Issues detected:
You are using plugins from the Performance Edition: DiskCache (Performance Edition), AzureReader2Plugin (Performance Edition)
Registered plugins:
ImageResizer.Plugins.Basic.DefaultEncoder
ImageResizer.Plugins.Basic.NoCache
ImageResizer.Plugins.Basic.ClientCache
ImageResizer.Plugins.Basic.Diagnostic
ImageResizer.Plugins.Basic.SizeLimiting
ImageResizer.Plugins.DiskCache.DiskCache
ImageResizer.Plugins.AzureReader2.AzureReader2Plugin
Configuration:
<resizer>
<pipeline fakeExtensions=".ashx" />
<plugins>
<add name="DiskCache" />
<add name="AzureReader2" connectionString="[redacted]" endpoint="http://iwkimages.blob.core.windows.net/" prefix="~/" />
</plugins>
</resizer>
Accepted querystring keys:
quality, format, thumbnail, maxwidth, maxheight, width, height, w, h, scale, stretch, crop, cropxunits, cropyunits, page, bgcolor, rotate, flip, sourceFlip, sFlip, sRotate, borderWidth, borderColor, paddingWidth, paddingColor, ignoreicc, frame, useresizingpipeline, cache, process, margin, anchor, dpi, mode, zoom,
Accepted file extensions:
bmp, gif, exif, png, tif, tiff, tff, jpg, jpeg, jpe, jif, jfif, jfi,
Environment information:
Running Microsoft-IIS/8.0 on Microsoft Windows NT 6.2.9200.0 and CLR 4.0.30319.36213
Trust level: Unrestricted
OS bitness: x86 !! Warning, running as 32-bit on a 64-bit OS(AMD64). This will limit ram usage !!
Executing assembly: D:\Windows\SysWOW64\inetsrv\w3wp.exe
IntegratedPipeline: True
Loaded assemblies:
mscorlib Assembly: 4.0.0.0 File: 4.0.30319.36213 Info: 4.0.30319.36213
System.Web Assembly: 4.0.0.0 File: 4.0.30319.36283 Info: 4.0.30319.36283
System Assembly: 4.0.0.0 File: 4.0.30319.34239 Info: 4.0.30319.34239
System.Core Assembly: 4.0.0.0 File: 4.0.30319.36213 Info: 4.0.30319.36213
System.Web.ApplicationServices Assembly: 4.0.0.0 File: 4.0.30319.34248 Info: 4.0.30319.34248
System.Configuration Assembly: 4.0.0.0 File: 4.0.30319.34209 Info: 4.0.30319.34209
System.Xml Assembly: 4.0.0.0 File: 4.0.30319.36241 Info: 4.0.30319.36241
System.Runtime.Caching Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
Microsoft.Build.Utilities.v4.0 Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
Microsoft.Web.Compilation.Snapshots Assembly: 1.0.0.0 File: 1.1.0.0
Microsoft.JScript Assembly: 10.0.0.0 File: 11.0.50709.17929 Info: 11.0.50709.17929
EnvSettings Assembly: 1.0.0.0 File: 46.0.8598.1007 Info: 46.0.8598.1007 (rd_websites_stable.150620-0845)
System.Web.WebPages.Deployment Assembly: 1.0.0.0 File: 1.0.20105.407
App_Code.tneplgwm Assembly: 0.0.0.0
System.Data Assembly: 4.0.0.0 File: 4.0.30319.34209 Info: 4.0.30319.34209
App_global.asax.wwlyy9nh Assembly: 0.0.0.0
System.Web.Extensions Assembly: 4.0.0.0 File: 4.0.30319.34248 Info: 4.0.30319.34248
System.ServiceModel.Activation Assembly: 4.0.0.0 File: 4.0.30319.34209 Info: 4.0.30319.34209
Microsoft.CSharp Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Web.Services Assembly: 4.0.0.0 File: 4.0.30319.34209 Info: 4.0.30319.34209
System.Drawing Assembly: 4.0.0.0 File: 4.0.30319.34209 Info: 4.0.30319.34209
System.EnterpriseServices Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.IdentityModel Assembly: 4.0.0.0 File: 4.0.30319.34230 Info: 4.0.30319.34230
System.Runtime.Serialization Assembly: 4.0.0.0 File: 4.0.30319.34230 Info: 4.0.30319.34230
System.ServiceModel Assembly: 4.0.0.0 File: 4.0.30319.36241 Info: 4.0.30319.36241
System.ServiceModel.Web Assembly: 4.0.0.0 File: 4.0.30319.34209 Info: 4.0.30319.34209
System.Activities Assembly: 4.0.0.0 File: 4.0.30319.34230 Info: 4.0.30319.34230
System.ServiceModel.Activities Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.WorkflowServices Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Data.DataSetExtensions Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Xml.Linq Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.ComponentModel.DataAnnotations Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Web.DynamicData Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
ASPnetPagerV2_8 Assembly: 2.8.3227.25225 File: 2.8.0.0
Hyak.Common Assembly: 1.0.0.0 File: 1.0.2.0
ImageResizer Assembly: 3.4.3.103 File: 3.4.3.103 Info: 3-4-3 Commit: bf92fd7
ImageResizer.Plugins.AzureReader Assembly: 3.4.3.103 File: 3.4.3.103 Info: 3-4-3 Commit: bf92fd7
ImageResizer.Plugins.AzureReader2 Assembly: 3.4.3.103 File: 3.4.3.103 Info: 3-4-3 Commit: bf92fd7
ImageResizer.Plugins.DiskCache Assembly: 3.4.3.103 File: 3.4.3.103 Info: 3-4-3 Commit: bf92fd7
Microsoft.Azure.Common Assembly: 2.0.0.0 File: 2.1.0.0
Microsoft.Azure.Common.NetFramework Assembly: 2.0.0.0 File: 2.1.0.0
Microsoft.Azure.KeyVault.Core Assembly: 0.9.0.0 File: 0.9.1.0
Microsoft.Azure.Management.Sql Assembly: 0.9.0.0 File: 0.29.0.0
Microsoft.Data.Edm Assembly: 5.6.2.0 File: 5.6.2.61936 Info: 5.6.2.61936
Microsoft.Data.OData Assembly: 5.6.2.0 File: 5.6.2.61936 Info: 5.6.2.61936
Microsoft.Data.Services.Client Assembly: 5.6.2.0 File: 5.6.2.61936 Info: 5.6.2.61936
Microsoft.Threading.Tasks Assembly: 1.0.12.0 File: 1.0.168.0 Info: 1.0.168.0
Microsoft.Threading.Tasks.Extensions.Desktop Assembly: 1.0.168.0 File: 1.0.168.0 Info: 1.0.168.0
Microsoft.Threading.Tasks.Extensions Assembly: 1.0.12.0 File: 1.0.168.0 Info: 1.0.168.0
Microsoft.WindowsAzure.Configuration Assembly: 2.0.0.0 File: 2.0.2.0
Microsoft.WindowsAzure.Storage Assembly: 2.1.0.3 File: 2.1.0.3
Microsoft.WindowsAzure.StorageClient Assembly: 1.7.0.0 File: 6.0.6002.18488
Newtonsoft.Json Assembly: 6.0.0.0 File: 6.0.8.18111
System.IO Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Net.Http Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Net.Http.Extensions Assembly: 2.2.22.0 File: 2.2.22.0 Info: 2.2.22.0
System.Net.Http.Primitives Assembly: 2.2.22.0 File: 2.2.22.0 Info: 2.2.22.0
System.Net.Http.WebRequest Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Runtime Assembly: 4.0.0.0 File: 4.0.30319.34209 Info: 4.0.30319.34209
System.Spatial Assembly: 5.6.2.0 File: 5.6.2.61936 Info: 5.6.2.61936
System.Threading.Tasks Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Net Assembly: 4.0.0.0 File: 4.0.30319.34209 Info: 4.0.30319.34209
System.Transactions Assembly: 4.0.0.0 File: 4.0.30319.34209 Info: 4.0.30319.34209
System.ServiceModel.Internals Assembly: 4.0.0.0 File: 4.0.30319.34230 Info: 4.0.30319.34230
Microsoft.WindowsAzure.ServiceRuntime Assembly: 2.6.0.0 File: 2.6.1198.712 Info: 2.6.1198.712 (rd_art_stable.150223-1353)
msshrtmi Assembly: 2.6.0.0
Microsoft.WindowsAzure.WebSites.Diagnostics Assembly: 1.0.0.0 File: 46.0.8598.1007 Info: 46.0.8598.1007 (rd_websites_stable.150620-0845)
Microsoft.Azure.Websites.StorageSdk Assembly: 4.1.0.0 File: 4.1.0.0
System.Web.RegularExpressions Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
SMDiagnostics Assembly: 4.0.0.0 File: 4.0.30319.34230 Info: 4.0.30319.34230
System.Xaml.Hosting Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
System.Xaml Assembly: 4.0.0.0 File: 4.0.30319.34209 Info: 4.0.30319.34209
App_Web_3ugoikon Assembly: 0.0.0.0
App_Web_hb2au1pk Assembly: 0.0.0.0
App_Web_g5nsnuqc Assembly: 0.0.0.0
App_Web_dzoq4fux Assembly: 0.0.0.0
App_Web_wikwjgud Assembly: 0.0.0.0
App_Web_jpawolt0 Assembly: 0.0.0.0
App_Web_i1ekkccj Assembly: 0.0.0.0
App_Web_xk1ukx11 Assembly: 0.0.0.0
App_Web_iciotjon Assembly: 0.0.0.0
App_Web_io0d5en1 Assembly: 0.0.0.0
System.Web.Mobile Assembly: 4.0.0.0 File: 4.0.30319.34248 Info: 4.0.30319.34248
App_Web_fldm00ds Assembly: 0.0.0.0
App_Web_jmu24pv1 Assembly: 0.0.0.0
System.Data.Services.Client Assembly: 4.0.0.0 File: 4.0.30319.17929 Info: 4.0.30319.17929
The following plugin assemblies are loaded but do not seem to be in use. You should remove them (and especially their dependencies (unless used elsewhere)) from the /bin folder to improve application load times:
ImageResizer.Plugins.AzureReader Assembly: 3.4.3.103 File: 3.4.3.103 Info: 3-4-3 Commit: bf92fd7
Reference list of plugin dependencies - so you know what additional dlls to remove when removing a plugin. (may not be up-to-date, see plugin docs):
The FreeImage plugin has the following dependencies: FreeImage.dll and FreeImageNET.dll
The Logging plugin depends on: NLog.dll
The AdvancedFilters, RedEye, and WhitespaceTrimmer plugins depend on: AForge.dll, AForge.Math.dll, and AForge.Imaging.dll
The PsdReader and PsdComposer plugins depend on: PsdFile.dll
The S3Reader plugin depends on: LitS3.dll
The BatchZipper plugin depends on: Ionic.Zip.Reduced.dll
The PdfRenderer plugin depends on gsdll32.dll or gdsll32.dll
The RedEye plugin depends on several dozen files... see the plugin docs.
This is a glimpse of the web.config file
<plugins>
<!-- For Image resizer image caching -->
<add name="DiskCache" />
<!-- Azure Blob reader -->
<add name="AzureReader2" connectionString="DefaultEndpointsProtocol=https;AccountName=iwkimages;AccountKey=******" endpoint="http://iwkimages.blob.core.windows.net/" prefix="~/" />
</plugins>
This error means that Microsoft.WindowsAzure.StorageClient 1.7.0.0 is producing invalid requests to the Azure server. You should upgrade to a version 2.1 or higher, as older Azure libraries are no longer supported by Microsoft.
Related
Add-AzMetricAlertRuleV2 throw "Couldn't find a metric named..."
Description I'm trying to create new Azure Monitor Alert using PS script. I'm using MS documentation here: https://learn.microsoft.com/en-us/powershell/module/az.monitor/add-azmetricalertrulev2?view=azps-5.9.0 Steps to reproduce $condition = New-AzMetricAlertRuleV2Criteria -MetricName "SqlDbDtuUsageMetric" -MetricNameSpace "Microsoft.Sql/servers/databases" -TimeAggregation Average -Operator GreaterThan -Threshold 5 $act = New-AzActionGroup -ActionGroupId /subscriptions/{subscription_id}/resourceGroups/{resource_group}/providers/microsoft.insights/actionGroups/SqlDbDtuUsageAction Add-AzMetricAlertRuleV2 -Name "SqlDbDtuUsageAlertGt5" -ResourceGroupName {resource_group} -WindowSize 00:05:00 -Frequency 00:05:00 -TargetResourceId "/subscriptions/{subscription_id}/resourceGroups/{resource_group}/providers/Microsoft.Sql/servers/{sql_server}/databases/vi{sql_db}" -Description "Alerting when max used DTU is > 20" -Severity 3 -ActionGroup $act -Condition $condition Error output WARNING: 09:04:18 - *** The namespace for all the model classes will change from Microsoft.Azure.Management.Monitor.Management.Models to Microsoft.Azure.Management.Monitor.Models in future releases. WARNING: 09:04:18 - *** The namespace for output classes will be uniform for all classes in future releases to make it independent of modifications in the model classes. VERBOSE: Performing the operation "Create/update an alert rule" on target "Create/update an alert rule: SqlDbDtuUsageAlertGt5 from resource group: vi-prod-be-cin-rg". Add-AzMetricAlertRuleV2 : Exception type: ErrorResponseException, Message: Couldn't find a metric named metric1. Make sure the name is correct. Activity ID: 3e7e537e-43fc-40ad-8a84-745df33e1668., Code: BadRequest, Status code:BadRequest, Reason phrase: BadRequest At line:1 char:1 Add-AzMetricAlertRuleV2 -Name "SqlDbDtuUsageAlertGt5" -ResourceGroupN ... + CategoryInfo : CloseError: (:) [Add-AzMetricAlertRuleV2], PSInvalidOperationException + FullyQualifiedErrorId : Microsoft.Azure.Commands.Insights.Alerts.AddAzureRmMetricAlertRuleV2Command Module versions Directory: C:\Program Files\WindowsPowerShell\Modules ModuleType Version Name ExportedCommands Script 2.2.5 Az.Accounts {Disable-AzDataCollection, Disable-AzContextAutosave, Enable-AzDataCollection, Enable-AzContextAutosave...} Script 1.6.3 Az.Accounts {Disable-AzDataCollection, Disable-AzContextAutosave, Enable-AzDataCollection, Enable-AzContextAutosave...} Script 1.0.1 Az.Advisor {Get-AzAdvisorRecommendation, Enable-AzAdvisorRecommendation, Disable-AzAdvisorRecommendation, Get-AzAdvisorConfiguration...} Script 1.0.2 Az.Aks {Get-AzAks, New-AzAks, Remove-AzAks, Import-AzAksCredential...} Script 1.1.1 Az.AnalysisServices {Resume-AzAnalysisServicesServer, Suspend-AzAnalysisServicesServer, Get-AzAnalysisServicesServer, Remove-AzAnalysisServicesServer...} Script 1.3.2 Az.ApiManagement {Add-AzApiManagementApiToProduct, Add-AzApiManagementProductToGroup, Add-AzApiManagementRegion, Add-AzApiManagementUserToGroup...} Script 1.0.2 Az.ApplicationInsights {Get-AzApplicationInsights, New-AzApplicationInsights, Remove-AzApplicationInsights, Set-AzApplicationInsightsPricingPlan...} Script 1.3.4 Az.Automation {Get-AzAutomationHybridWorkerGroup, Remove-AzAutomationHybridWorkerGroup, Get-AzAutomationJobOutputRecord, Import-AzAutomationDscNodeConfiguration...} Script 1.1.2 Az.Batch {Remove-AzBatchAccount, Get-AzBatchAccount, Get-AzBatchAccountKey, New-AzBatchAccount...} Script 1.0.1 Az.Billing {Get-AzBillingInvoice, Get-AzBillingPeriod, Get-AzEnrollmentAccount, Get-AzConsumptionBudget...} Script 1.3.1 Az.Cdn {Get-AzCdnProfile, Get-AzCdnProfileSsoUrl, New-AzCdnProfile, Remove-AzCdnProfile...} Script 1.2.1 Az.CognitiveServices {Get-AzCognitiveServicesAccount, Get-AzCognitiveServicesAccountKey, Get-AzCognitiveServicesAccountSku, Get-AzCognitiveServicesAccountType...} Script 2.7.0 Az.Compute {Remove-AzAvailabilitySet, Get-AzAvailabilitySet, New-AzAvailabilitySet, Update-AzAvailabilitySet...} Script 1.0.1 Az.ContainerInstance {New-AzContainerGroup, Get-AzContainerGroup, Remove-AzContainerGroup, Get-AzContainerInstanceLog} Script 1.1.0 Az.ContainerRegistry {New-AzContainerRegistry, Get-AzContainerRegistry, Update-AzContainerRegistry, Remove-AzContainerRegistry...} Script 1.0.0 Az.CosmosDB {Get-AzCosmosDBSqlContainer, Get-AzCosmosDBSqlContainerThroughput, Get-AzCosmosDBSqlDatabase, Get-AzCosmosDBSqlDatabaseThroughput...} Script 1.4.0 Az.DataFactory {Set-AzDataFactoryV2, Update-AzDataFactoryV2, Get-AzDataFactoryV2, Remove-AzDataFactoryV2...} Script 1.0.1 Az.DataLakeAnalytics {Get-AzDataLakeAnalyticsDataSource, New-AzDataLakeAnalyticsCatalogCredential, Remove-AzDataLakeAnalyticsCatalogCredential, Set-AzDataLakeAnalyticsCatalogCredential...} Script 1.2.3 Az.DataLakeStore {Get-AzDataLakeStoreTrustedIdProvider, Remove-AzDataLakeStoreTrustedIdProvider, Remove-AzDataLakeStoreFirewallRule, Set-AzDataLakeStoreTrustedIdProvider...} Script 1.0.1 Az.DeploymentManager {Get-AzDeploymentManagerArtifactSource, New-AzDeploymentManagerArtifactSource, Set-AzDeploymentManagerArtifactSource, Remove-AzDeploymentManagerArtifactSource...} Script 1.0.0 Az.DevTestLabs {Get-AzDtlAllowedVMSizesPolicy, Get-AzDtlAutoShutdownPolicy, Get-AzDtlAutoStartPolicy, Get-AzDtlVMsPerLabPolicy...} Script 1.1.1 Az.Dns {Get-AzDnsRecordSet, New-AzDnsRecordConfig, Remove-AzDnsRecordSet, Set-AzDnsRecordSet...} Script 1.2.2 Az.EventGrid {New-AzEventGridTopic, Get-AzEventGridTopic, Set-AzEventGridTopic, New-AzEventGridTopicKey...} Script 1.4.0 Az.EventHub {New-AzEventHubNamespace, Get-AzEventHubNamespace, Set-AzEventHubNamespace, Remove-AzEventHubNamespace...} Script 1.1.1 Az.FrontDoor {New-AzFrontDoor, Get-AzFrontDoor, Set-AzFrontDoor, Remove-AzFrontDoor...} Script 2.0.2 Az.HDInsight {Get-AzHDInsightJob, New-AzHDInsightSqoopJobDefinition, Wait-AzHDInsightJob, New-AzHDInsightStreamingMapReduceJobDefinition...} Script 1.0.0 Az.HealthcareApis {New-AzHealthcareApisService, Remove-AzHealthcareApisService, Set-AzHealthcareApisService, Get-AzHealthcareApisService} Script 1.3.1 Az.IotHub {Add-AzIotHubKey, Get-AzIotHubEventHubConsumerGroup, Get-AzIotHubConnectionString, Get-AzIotHubJob...} Script 1.3.1 Az.KeyVault {Add-AzKeyVaultCertificate, Update-AzKeyVaultCertificate, Stop-AzKeyVaultCertificateOperation, Get-AzKeyVaultCertificateOperation...} Script 1.3.1 Az.LogicApp {Get-AzIntegrationAccountAgreement, Get-AzIntegrationAccountAssembly, Get-AzIntegrationAccountBatchConfiguration, Get-AzIntegrationAccountCallbackUrl...} Script 1.1.1 Az.MachineLearning {Move-AzMlCommitmentAssociation, Get-AzMlCommitmentAssociation, Get-AzMlCommitmentPlanUsageHistory, Remove-AzMlCommitmentPlan...} Script 1.0.1 Az.ManagedServices {Get-AzManagedServicesAssignment, New-AzManagedServicesAssignment, Remove-AzManagedServicesAssignment, Get-AzManagedServicesDefinition...} Script 1.0.1 Az.MarketplaceOrdering {Get-AzMarketplaceTerms, Set-AzMarketplaceTerms} Script 1.1.0 Az.Media {Sync-AzMediaServiceStorageKey, Set-AzMediaServiceKey, Get-AzMediaServiceKey, Get-AzMediaServiceNameAvailability...} Script 1.4.0 Az.Monitor {Get-AzMetricDefinition, Get-AzMetric, Remove-AzLogProfile, Get-AzLogProfile...} Script 1.15.0 Az.Network {Add-AzApplicationGatewayAuthenticationCertificate, Get-AzApplicationGatewayAuthenticationCertificate, New-AzApplicationGatewayAuthenticationCertificate, Remove-AzApplicationGatewayAuthenticationCertificate...} Script 1.1.0 Az.NotificationHubs {Get-AzNotificationHub, Get-AzNotificationHubAuthorizationRule, Get-AzNotificationHubListKey, Get-AzNotificationHubPNSCredential...} Script 1.3.3 Az.OperationalInsights {New-AzOperationalInsightsAzureActivityLogDataSource, New-AzOperationalInsightsCustomLogDataSource, Disable-AzOperationalInsightsLinuxCustomLogCollection, Disable-AzOperationalInsightsIISLogCollection...} Script 1.1.3 Az.PolicyInsights {Get-AzPolicyEvent, Get-AzPolicyState, Get-AzPolicyStateSummary, Get-AzPolicyRemediation...} Script 1.1.0 Az.PowerBIEmbedded {Remove-AzPowerBIWorkspaceCollection, Get-AzPowerBIWorkspaceCollection, Get-AzPowerBIWorkspaceCollectionAccessKey, Get-AzPowerBIWorkspace...} Script 1.4.5 Az.RecoveryServices {Get-AzRecoveryServicesBackupProperty, Get-AzRecoveryServicesVault, Get-AzRecoveryServicesVaultSettingsFile, New-AzRecoveryServicesVault...} Script 1.1.1 Az.RedisCache {Remove-AzRedisCachePatchSchedule, New-AzRedisCacheScheduleEntry, Get-AzRedisCachePatchSchedule, New-AzRedisCachePatchSchedule...} Script 1.0.2 Az.Relay {New-AzRelayNamespace, Get-AzRelayNamespace, Set-AzRelayNamespace, Remove-AzRelayNamespace...} Script 1.7.0 Az.Resources {Get-AzProviderOperation, Remove-AzRoleAssignment, Get-AzRoleAssignment, New-AzRoleAssignment...} Script 1.4.0 Az.ServiceBus {New-AzServiceBusNamespace, Get-AzServiceBusNamespace, Set-AzServiceBusNamespace, Remove-AzServiceBusNamespace...} Script 1.2.0 Az.ServiceFabric {Add-AzServiceFabricApplicationCertificate, Add-AzServiceFabricClientCertificate, Add-AzServiceFabricClusterCertificate, Add-AzServiceFabricNode...} Script 1.1.0 Az.SignalR {New-AzSignalR, Get-AzSignalR, Get-AzSignalRKey, New-AzSignalRKey...} Script 1.15.0 Az.Sql {Get-AzSqlDatabaseTransparentDataEncryption, Get-AzSqlDatabaseTransparentDataEncryptionActivity, Set-AzSqlDatabaseTransparentDataEncryption, Get-AzSqlDatabaseUpgradeHint...} Script 1.8.0 Az.Storage {Get-AzStorageAccount, Get-AzStorageAccountKey, New-AzStorageAccount, New-AzStorageAccountKey...} Script 1.2.1 Az.StorageSync {Invoke-AzStorageSyncCompatibilityCheck, New-AzStorageSyncService, Get-AzStorageSyncService, Remove-AzStorageSyncService...} Script 1.0.0 Az.StreamAnalytics {Get-AzStreamAnalyticsFunction, Get-AzStreamAnalyticsDefaultFunctionDefinition, New-AzStreamAnalyticsFunction, Remove-AzStreamAnalyticsFunction...} Script 1.0.2 Az.TrafficManager {Add-AzTrafficManagerCustomHeaderToEndpoint, Remove-AzTrafficManagerCustomHeaderFromEndpoint, Add-AzTrafficManagerCustomHeaderToProfile, Remove-AzTrafficManagerCustomHeaderFromProfile...} Script 1.5.0 Az.Websites {Get-AzAppServicePlan, Set-AzAppServicePlan, New-AzAppServicePlan, Remove-AzAppServicePlan...} Script 5.1.2 Azure {Get-AzureAutomationCertificate, Get-AzureAutomationConnection, New-AzureAutomationConnection, Remove-AzureAutomationConnection...} Script 5.8.3 AzureRM.profile {Disable-AzureRmDataCollection, Disable-AzureRmContextAutosave, Enable-AzureRmDataCollection, Enable-AzureRmContextAutosave...} Script 1.0.1 Microsoft.PowerShell.Operation.V... {Get-OperationValidation, Invoke-OperationValidation} Binary 1.0.0.1 PackageManagement {Find-Package, Get-Package, Get-PackageProvider, Get-PackageSource...} Script 3.4.0 Pester {Describe, Context, It, Should...} Script 1.0.0.1 PowerShellGet {Install-Module, Find-Module, Save-Module, Update-Module...} Script 2.0.0 PSReadline {Get-PSReadLineKeyHandler, Set-PSReadLineKeyHandler, Remove-PSReadLineKeyHandler, Get-PSReadLineOption...} Directory: C:\WINDOWS\system32\WindowsPowerShell\v1.0\Modules ModuleType Version Name ExportedCommands Manifest 1.0.0.0 AppBackgroundTask {Disable-AppBackgroundTaskDiagnosticLog, Enable-AppBackgroundTaskDiagnosticLog, Set-AppBackgroundTaskResourcePolicy, Unregister-AppBackgroundTask...} Manifest 2.0.0.0 AppLocker {Get-AppLockerFileInformation, Get-AppLockerPolicy, New-AppLockerPolicy, Set-AppLockerPolicy...} Manifest 1.0.0.0 AppvClient {Add-AppvClientConnectionGroup, Add-AppvClientPackage, Add-AppvPublishingServer, Disable-Appv...} Manifest 2.0.1.0 Appx {Add-AppxPackage, Get-AppxPackage, Get-AppxPackageManifest, Remove-AppxPackage...} Script 1.0.0.0 AssignedAccess {Clear-AssignedAccess, Get-AssignedAccess, Set-AssignedAccess} Manifest 1.0.0.0 BitLocker {Unlock-BitLocker, Suspend-BitLocker, Resume-BitLocker, Remove-BitLockerKeyProtector...} Manifest 2.0.0.0 BitsTransfer {Add-BitsFile, Complete-BitsTransfer, Get-BitsTransfer, Remove-BitsTransfer...} Manifest 1.0.0.0 BranchCache {Add-BCDataCacheExtension, Clear-BCCache, Disable-BC, Disable-BCDowngrading...} Manifest 1.0.0.0 CimCmdlets {Get-CimAssociatedInstance, Get-CimClass, Get-CimInstance, Get-CimSession...} Manifest 1.0 ConfigCI {Get-SystemDriver, New-CIPolicyRule, New-CIPolicy, Get-CIPolicy...} Manifest 1.0 ConfigDefender {Get-MpPreference, Set-MpPreference, Add-MpPreference, Remove-MpPreference...} Manifest 1.0 Defender {Get-MpPreference, Set-MpPreference, Add-MpPreference, Remove-MpPreference...} Manifest 1.0.2.0 DeliveryOptimization {Delete-DeliveryOptimizationCache, Set-DeliveryOptimizationStatus, Get-DeliveryOptimizationLog, Get-DeliveryOptimizationLogAnalysis...} Manifest 1.0.0.0 DirectAccessClientComponents {Disable-DAManualEntryPointSelection, Enable-DAManualEntryPointSelection, Get-DAClientExperienceConfiguration, Get-DAEntryPointTableItem...} Script 3.0 Dism {Add-AppxProvisionedPackage, Add-WindowsDriver, Add-WindowsCapability, Add-WindowsImage...} Manifest 1.0.0.0 DnsClient {Resolve-DnsName, Clear-DnsClientCache, Get-DnsClient, Get-DnsClientCache...} Manifest 1.0.0.0 EventTracingManagement {Start-EtwTraceSession, New-EtwTraceSession, Get-EtwTraceSession, Update-EtwTraceSession...} Manifest 1.0.0.0 HgsClient {Get-HgsAttestationBaselinePolicy, Get-HgsClientConfiguration, Test-HgsClientConfiguration, Set-HgsClientConfiguration...} Manifest 1.0.0.0 HgsDiagnostics {New-HgsTraceTarget, Get-HgsTrace, Get-HgsTraceFileData, Test-HgsTraceTarget} Binary 1.0.0.0 HostComputeService {Get-ComputeProcess, Stop-ComputeProcess} Manifest 1.0.0.1 HostNetworkingService {Remove-HnsNamespace, Remove-HnsEndpoint, Get-HnsEndpoint, Remove-HnsPolicyList...} Binary 2.0.0.0 Hyper-V {Add-VMAssignableDevice, Add-VMDvdDrive, Add-VMFibreChannelHba, Add-VMGpuPartitionAdapter...} Binary 1.1 Hyper-V {Add-VMDvdDrive, Add-VMFibreChannelHba, Add-VMHardDiskDrive, Add-VMMigrationNetwork...} Manifest 2.0.0.0 International {Get-WinDefaultInputMethodOverride, Set-WinDefaultInputMethodOverride, Get-WinHomeLocation, Set-WinHomeLocation...} Manifest 1.0.0.0 iSCSI {Get-IscsiTargetPortal, New-IscsiTargetPortal, Remove-IscsiTargetPortal, Update-IscsiTargetPortal...} Script 1.0.0.0 ISE {New-IseSnippet, Import-IseSnippet, Get-IseSnippet} Manifest 1.0.0.0 Kds {Add-KdsRootKey, Get-KdsRootKey, Test-KdsRootKey, Set-KdsConfiguration...} Manifest 1.0.1.0 Microsoft.PowerShell.Archive {Compress-Archive, Expand-Archive} Manifest 3.0.0.0 Microsoft.PowerShell.Diagnostics {Get-WinEvent, Get-Counter, Import-Counter, Export-Counter...} Manifest 3.0.0.0 Microsoft.PowerShell.Host {Start-Transcript, Stop-Transcript} Manifest 1.0.0.0 Microsoft.PowerShell.LocalAccounts {Add-LocalGroupMember, Disable-LocalUser, Enable-LocalUser, Get-LocalGroup...} Manifest 3.1.0.0 Microsoft.PowerShell.Management {Add-Content, Clear-Content, Clear-ItemProperty, Join-Path...} Script 1.0 Microsoft.PowerShell.ODataUtils Export-ODataEndpointProxy Manifest 3.0.0.0 Microsoft.PowerShell.Security {Get-Acl, Set-Acl, Get-PfxCertificate, Get-Credential...} Manifest 3.1.0.0 Microsoft.PowerShell.Utility {Format-List, Format-Custom, Format-Table, Format-Wide...} Manifest 3.0.0.0 Microsoft.WSMan.Management {Disable-WSManCredSSP, Enable-WSManCredSSP, Get-WSManCredSSP, Set-WSManQuickConfig...} Manifest 1.0 MMAgent {Disable-MMAgent, Enable-MMAgent, Set-MMAgent, Get-MMAgent...} Manifest 1.0.0.0 MsDtc {New-DtcDiagnosticTransaction, Complete-DtcDiagnosticTransaction, Join-DtcDiagnosticResourceManager, Receive-DtcDiagnosticTransaction...} Manifest 2.0.0.0 NetAdapter {Disable-NetAdapter, Disable-NetAdapterBinding, Disable-NetAdapterChecksumOffload, Disable-NetAdapterEncapsulatedPacketTaskOffload...} Manifest 1.0.0.0 NetConnection {Get-NetConnectionProfile, Set-NetConnectionProfile} Manifest 1.0.0.0 NetDiagnostics Get-NetView Manifest 1.0.0.0 NetEventPacketCapture {New-NetEventSession, Remove-NetEventSession, Get-NetEventSession, Set-NetEventSession...} Manifest 2.0.0.0 NetLbfo {Add-NetLbfoTeamMember, Add-NetLbfoTeamNic, Get-NetLbfoTeam, Get-NetLbfoTeamMember...} Manifest 1.0.0.0 NetNat {Get-NetNat, Get-NetNatExternalAddress, Get-NetNatStaticMapping, Get-NetNatSession...} Manifest 2.0.0.0 NetQos {Get-NetQosPolicy, Set-NetQosPolicy, Remove-NetQosPolicy, New-NetQosPolicy} Manifest 2.0.0.0 NetSecurity {Get-DAPolicyChange, New-NetIPsecAuthProposal, New-NetIPsecMainModeCryptoProposal, New-NetIPsecQuickModeCryptoProposal...} Manifest 1.0.0.0 NetSwitchTeam {New-NetSwitchTeam, Remove-NetSwitchTeam, Get-NetSwitchTeam, Rename-NetSwitchTeam...} Manifest 1.0.0.0 NetTCPIP {Get-NetIPAddress, Get-NetIPInterface, Get-NetIPv4Protocol, Get-NetIPv6Protocol...} Manifest 1.0.0.0 NetworkConnectivityStatus {Get-DAConnectionStatus, Get-NCSIPolicyConfiguration, Reset-NCSIPolicyConfiguration, Set-NCSIPolicyConfiguration} Manifest 1.0.0.0 NetworkSwitchManager {Disable-NetworkSwitchEthernetPort, Enable-NetworkSwitchEthernetPort, Get-NetworkSwitchEthernetPort, Remove-NetworkSwitchEthernetPortIPAddress...} Manifest 1.0.0.0 NetworkTransition {Add-NetIPHttpsCertBinding, Disable-NetDnsTransitionConfiguration, Disable-NetIPHttpsProfile, Disable-NetNatTransitionConfiguration...} Manifest 1.0.0.0 PcsvDevice {Get-PcsvDevice, Start-PcsvDevice, Stop-PcsvDevice, Restart-PcsvDevice...} Binary 1.0.0.0 PersistentMemory {Get-PmemDisk, Get-PmemPhysicalDevice, Get-PmemUnusedRegion, New-PmemDisk...} Manifest 1.0.0.0 PKI {Add-CertificateEnrollmentPolicyServer, Export-Certificate, Export-PfxCertificate, Get-CertificateAutoEnrollmentPolicy...} Manifest 1.0.0.0 PnpDevice {Get-PnpDevice, Get-PnpDeviceProperty, Enable-PnpDevice, Disable-PnpDevice} Manifest 1.1 PrintManagement {Add-Printer, Add-PrinterDriver, Add-PrinterPort, Get-PrintConfiguration...} Binary 1.0.12 ProcessMitigations {Get-ProcessMitigation, Set-ProcessMitigation, ConvertTo-ProcessMitigationPolicy} Script 3.0 Provisioning {Install-ProvisioningPackage, Export-ProvisioningPackage, Install-TrustedProvisioningCertificate, Export-Trace...} Manifest 1.1 PSDesiredStateConfiguration {Set-DscLocalConfigurationManager, Start-DscConfiguration, Test-DscConfiguration, Publish-DscConfiguration...} Script 1.0.0.0 PSDiagnostics {Disable-PSTrace, Disable-PSWSManCombinedTrace, Disable-WSManTrace, Enable-PSTrace...} Binary 1.1.0.0 PSScheduledJob {New-JobTrigger, Add-JobTrigger, Remove-JobTrigger, Get-JobTrigger...} Manifest 2.0.0.0 PSWorkflow {New-PSWorkflowExecutionOption, New-PSWorkflowSession, nwsn} Manifest 1.0.0.0 PSWorkflowUtility Invoke-AsWorkflow Manifest 1.0.0.0 ScheduledTasks {Get-ScheduledTask, Set-ScheduledTask, Register-ScheduledTask, Unregister-ScheduledTask...} Manifest 2.0.0.0 SecureBoot {Confirm-SecureBootUEFI, Set-SecureBootUEFI, Get-SecureBootUEFI, Format-SecureBootUEFI...} Manifest 3.1.0.0 ServiceFabric {Get-ServiceFabricServiceName, Get-ServiceFabricApplicationName, Approve-ServiceFabricRepairTask, Remove-ServiceFabricTestState...} Manifest 2.0.0.0 SmbShare {Get-SmbShare, Remove-SmbShare, Set-SmbShare, Block-SmbShareAccess...} Manifest 2.0.0.0 SmbWitness {Get-SmbWitnessClient, Move-SmbWitnessClient, gsmbw, msmbw...} Manifest 1.0.0.1 StartLayout {Export-StartLayout, Import-StartLayout, Export-StartLayoutEdgeAssets, Get-StartApps} Manifest 2.0.0.0 Storage {Add-InitiatorIdToMaskingSet, Add-PartitionAccessPath, Add-PhysicalDisk, Add-StorageFaultDomain...} Manifest 1.0.0.0 StorageBusCache {Clear-StorageBusDisk, Disable-StorageBusCache, Disable-StorageBusDisk, Enable-StorageBusCache...} Manifest 2.0.0.0 TLS {New-TlsSessionTicketKey, Enable-TlsSessionTicketKey, Disable-TlsSessionTicketKey, Export-TlsSessionTicketKey...} Manifest 1.0.0.0 TroubleshootingPack {Get-TroubleshootingPack, Invoke-TroubleshootingPack} Manifest 2.0.0.0 TrustedPlatformModule {Get-Tpm, Initialize-Tpm, Clear-Tpm, Unblock-Tpm...} Binary 2.1.639.0 UEV {Clear-UevConfiguration, Clear-UevAppxPackage, Restore-UevBackup, Set-UevTemplateProfile...} Manifest 2.0.0.0 VpnClient {Add-VpnConnection, Set-VpnConnection, Remove-VpnConnection, Get-VpnConnection...} Manifest 1.0.0.0 Wdac {Get-OdbcDriver, Set-OdbcDriver, Get-OdbcDsn, Add-OdbcDsn...} Manifest 2.0.0.0 Whea {Get-WheaMemoryPolicy, Set-WheaMemoryPolicy} Manifest 1.0.0.0 WindowsDeveloperLicense {Get-WindowsDeveloperLicense, Unregister-WindowsDeveloperLicense, Show-WindowsDeveloperLicenseRegistration} Script 1.0 WindowsErrorReporting {Enable-WindowsErrorReporting, Disable-WindowsErrorReporting, Get-WindowsErrorReporting} Manifest 1.0.0.0 WindowsSearch {Get-WindowsSearchSetting, Set-WindowsSearchSetting} Manifest 1.0.0.0 WindowsUpdate Get-WindowsUpdateLog Manifest 1.0.0.2 WindowsUpdateProvider {Get-WUAVersion, Get-WULastInstallationDate, Get-WULastScanSuccessDate, Get-WUIsPendingReboot...} Directory: C:\Program Files (x86)\Microsoft Azure Information Protection\Powershell ModuleType Version Name ExportedCommands Binary 2.6.111.0 AzureInformationProtection {Clear-AIPAuthentication, Get-AIPFileStatus, New-AIPCustomPermissions, Export-AIPLogs...}
According to the error, the MetricNameSpace Microsoft.Sql/servers/databases does not contain metric SqlDbDtuUsageMetric. Regarding the supported metric, please use the following command to get Connect-AzAccount Get-AzMetricDefinition -MetricNamespace "Microsoft.Sql/servers/databases" -ResourceId "<the resource id of your spl database>" For more details, please refer to here and here
How to convert .py and .ui (pyqt5 gui) file into .exe
I'm using PyQt5 GUI (.ui file) separately and using these with my .py file the program is using pandas taking input from GUI line edit doing some search in excel(pandas data frame) and then displaying output at GUI Qtableview. (cdpt.ui, cdptsearchtoll.py, cdpt.xlsx chromedriver and pyicon.ico are in folder) my pandas is using read_html as well. Now I want to make a .exe file using pyinstaller I 'm doing but getting error "failed to execute script" I'm new to pyinstaller and unable to identify where the issue is? other than that my code is working fine. as expected! please see below C:\Users\AB43399\Desktop\cdpt_search_tool>pyinstaller -w -F -i "C:\Users\AB43399\Desktop\cdpt_search_tool\pyicon.ico" cdptsearchtool.py 1220 INFO: PyInstaller: 3.4 1220 INFO: Python: 3.7.1 1221 INFO: Platform: Windows-10-10.0.16299-SP0 1231 INFO: wrote C:\Users\AB43399\Desktop\cdpt_search_tool\cdptsearchtool.spec 1238 INFO: UPX is not available. 1247 INFO: Extending PYTHONPATH with paths ['C:\\Users\\AB43399\\Desktop\\cdpt_search_tool', 'C:\\Users\\AB43399\\Desktop\\cdpt_search_tool'] 1247 INFO: checking Analysis 1251 INFO: Building Analysis because Analysis-00.toc is non existent 1252 INFO: Initializing module dependency graph... 1273 INFO: Initializing module graph hooks... 1350 INFO: Analyzing base_library.zip ... 10235 INFO: running Analysis Analysis-00.toc 10317 INFO: Adding Microsoft.Windows.Common-Controls to dependent assemblies of final executable required by c:\users\ab43399\appdata\local\programs\python\python37\python.exe 12527 INFO: Caching module hooks... 12717 INFO: Analyzing C:\Users\AB43399\Desktop\cdpt_search_tool\cdptsearchtool.py 13790 INFO: Processing pre-find module path hook PyQt5.uic.port_v3 13970 INFO: Processing pre-find module path hook PyQt5.uic.port_v2 14984 INFO: Processing pre-find module path hook distutils 15954 INFO: Processing pre-safe import module hook six.moves 23920 INFO: Processing pre-find module path hook site 23964 INFO: site: retargeting to fake-dir 'c:\\users\\ab43399\\appdata\\local\\programs\\python\\python37\\lib\\site- packages\\PyInstaller\\fake-modules' 26263 INFO: Processing pre-safe import module hook setuptools.extern.six.moves 70917 INFO: Loading module hooks... 70917 INFO: Loading module hook "hook-distutils.py"... 71040 INFO: Loading module hook "hook-encodings.py"... 71585 INFO: Loading module hook "hook-jinja2.py"... 71673 INFO: Loading module hook "hook-lib2to3.py"... 72000 INFO: Loading module hook "hook-lxml.etree.py"... 72003 INFO: Loading module hook "hook-numpy.core.py"... 74268 INFO: Loading module hook "hook-numpy.py"... 74308 INFO: Loading module hook "hook-openpyxl.py"... 74594 INFO: Loading module hook "hook-pandas.py"... 84003 INFO: Loading module hook "hook-PIL.Image.py"... 86446 INFO: Loading module hook "hook-PIL.py"... 86479 INFO: Excluding import 'PySide' 86481 INFO: Removing import of PySide from module PIL.ImageQt 86482 INFO: Excluding import 'PyQt5' 86485 INFO: Removing import of PyQt5.QtCore from module PIL.ImageQt 86485 INFO: Removing import of PyQt5.QtGui from module PIL.ImageQt 86486 INFO: Excluding import 'tkinter' 86488 INFO: Removing import of tkinter from module PIL.ImageTk 86489 INFO: Excluding import 'PyQt4' 86493 INFO: Removing import of PyQt4 from module PIL.ImageQt 86494 INFO: Import to be excluded not found: 'FixTk' 86494 INFO: Loading module hook "hook-PIL.SpiderImagePlugin.py"... 86499 INFO: Import to be excluded not found: 'FixTk' 86500 INFO: Excluding import 'tkinter' 86502 INFO: Loading module hook "hook-pkg_resources.py"... 88979 INFO: Processing pre-safe import module hook win32com 89480 INFO: Loading module hook "hook-pycparser.py"... 89493 INFO: Loading module hook "hook-pydoc.py"... 89507 INFO: Loading module hook "hook-PyQt5.py"... 91328 WARNING: Hidden import "sip" not found! 91334 INFO: Loading module hook "hook-PyQt5.QtCore.py"... 91824 INFO: Loading module hook "hook-PyQt5.QtGui.py"... 92457 INFO: Loading module hook "hook-PyQt5.QtWidgets.py"... 93499 INFO: Loading module hook "hook-PyQt5.uic.py"... 93571 INFO: Loading module hook "hook-pytest.py"... 102252 INFO: Loading module hook "hook-pythoncom.py"... 104849 INFO: Loading module hook "hook-pytz.py"... 105540 INFO: Loading module hook "hook-pywintypes.py"... 108030 INFO: Loading module hook "hook-setuptools.py"... 111619 INFO: Loading module hook "hook-sqlite3.py"... 112534 INFO: Loading module hook "hook-sysconfig.py"... 112605 INFO: Loading module hook "hook-win32com.py"... 114057 INFO: Loading module hook "hook-xml.dom.domreg.py"... 114058 INFO: Loading module hook "hook-xml.etree.cElementTree.py"... 114076 INFO: Loading module hook "hook-xml.py"... 114078 INFO: Loading module hook "hook-_tkinter.py"... 116028 INFO: checking Tree 116033 INFO: Building Tree because Tree-00.toc is non existent 116033 INFO: Building Tree Tree-00.toc 116557 INFO: checking Tree 116558 INFO: Building Tree because Tree-01.toc is non existent 116558 INFO: Building Tree Tree-01.toc 116796 INFO: Looking for ctypes DLLs 116930 INFO: Analyzing run-time hooks ... 116943 INFO: Including run-time hook 'pyi_rth_multiprocessing.py' 116999 INFO: Including run-time hook 'pyi_rth_pkgres.py' 117006 INFO: Including run-time hook 'pyi_rth_win32comgenpy.py' 117013 INFO: Including run-time hook 'pyi_rth_qt5.py' 117060 INFO: Looking for dynamic libraries 122552 INFO: Looking for eggs 122552 INFO: Using Python library c:\users\ab43399\appdata\local\programs\python\python37\python37.dll 122554 INFO: Found binding redirects: [] 122614 INFO: Warnings written to C:\Users\AB43399\Desktop\cdpt_search_tool\build\cdptsearchtool\warn-cdptsearchtool.txt 122960 INFO: Graph cross-reference written to C:\Users\AB43399\Desktop\cdpt_search_tool\build\cdptsearchtool\xref-cdptsearchtool.html 123141 INFO: checking PYZ 123141 INFO: Building PYZ because PYZ-00.toc is non existent 123142 INFO: Building PYZ (ZlibArchive) C:\Users\AB43399\Desktop\cdpt_search_tool\build\cdptsearchtool\PYZ-00.pyz 126145 INFO: Building PYZ (ZlibArchive) C:\Users\AB43399\Desktop\cdpt_search_tool\build\cdptsearchtool\PYZ-00.pyz completed successfully. 126227 INFO: checking PKG 126227 INFO: Building PKG because PKG-00.toc is non existent 126228 INFO: Building PKG (CArchive) PKG-00.pkg 129181 WARNING: One binary added with two internal names. 129181 WARNING: ('libGLESv2.dll', 'C:\\users\\ab43399\\appdata\\local\\programs\\python\\python37\\lib\\site- packages\\PyQt5\\Qt\\bin\\libGLESv2.dll', 'BINARY') 129184 WARNING: was placed previously at 129184 WARNING: ('PyQt5\\Qt\\bin\\libGLESv2.dll', 'C:\\users\\ab43399\\appdata\\local\\programs\\python\\python37\\lib\\site- packages\\PyQt5\\Qt\\bin\\libGLESv2.dll', 'BINARY') 157741 INFO: Building PKG (CArchive) PKG-00.pkg completed successfully. 157789 INFO: Bootloader c:\users\ab43399\appdata\local\programs\python\python37\lib\site- packages\PyInstaller\bootloader\Windows-64bit\runw.exe 157789 INFO: checking EXE 157790 INFO: Building EXE because EXE-00.toc is non existent 157790 INFO: Building EXE from EXE-00.toc 157897 INFO: SRCPATH [('C:\\Users\\AB43399\\Desktop\\cdpt_search_tool\\pyicon.ico', None)] 157897 INFO: Updating icons from ['C:\\Users\\AB43399\\Desktop\\cdpt_search_tool\\pyicon.ico'] to C:\Windows\Temp\tmplqtaq2qp 157915 INFO: Writing RT_GROUP_ICON 0 resource with 132 bytes 157915 INFO: Writing RT_ICON 1 resource with 5355 bytes 157916 INFO: Writing RT_ICON 2 resource with 67624 bytes 157917 INFO: Writing RT_ICON 3 resource with 38056 bytes 157917 INFO: Writing RT_ICON 4 resource with 21640 bytes 157919 INFO: Writing RT_ICON 5 resource with 16936 bytes 157919 INFO: Writing RT_ICON 6 resource with 9640 bytes 157919 INFO: Writing RT_ICON 7 resource with 4264 bytes 157920 INFO: Writing RT_ICON 8 resource with 2440 bytes 157920 INFO: Writing RT_ICON 9 resource with 1128 bytes 157933 INFO: Appending archive to EXE C:\Users\AB43399\Desktop\cdpt_search_tool\dist\cdptsearchtool.exe 158455 INFO: Building EXE from EXE-00.toc completed successfully. I have seen warning one or two places like 91328 WARNING: Hidden import "sip" not found! 129181 WARNING: One binary added with two internal names. but I don't understand what is missing and how to fix them are they the one who is causing the problem??? Any help/direction is really appreciated!
Tomcat7 logging hell - why two different formats coming out?
My logging.properties in Eclipse looked like this when I initially posted this question: handlers = java.util.logging.ConsoleHandler org.apache.catalina.core=OFF java.util.logging.ConsoleHandler.level = FINE java.util.logging.ConsoleHandler.formatter = java.util.logging.SimpleFormatter java.util.logging.SimpleFormatter.format=JUL %4$s: %2$s%n%4$s: %5$s%n I am also encountering the same issue on a Linux server with this configuration: handlers = 2localhost.org.apache.juli.FileHandler, org.apache.juli.FileHandler .handlers = org.apache.juli.FileHandler 2localhost.org.apache.juli.FileHandler.level = INFO 2localhost.org.apache.juli.FileHandler.directory = ${catalina.base}/logs 2localhost.org.apache.juli.FileHandler.prefix = localhost. org.apache.juli.FileHandler.level = ALL org.apache.juli.FileHandler.formatter = java.util.logging.SimpleFormatter org.apache.juli.FileHandler.directory = ${catalina.base}/logs java.util.logging.SimpleFormatter.format=tomcat: %4$s: %2$s%n%4$s: %5$s%n org.apache.catalina.handlers = org.apache.juli.FileHandler org.apache.catalina.startup.level = SEVERE org.apache.catalina.session.ManagerBase.level = SEVERE org.apache.catalina.core.AprLifecycleListener.level=SEVERE org.apache.catalina.connector.level = SEVERE org.apache.coyote.level=SEVERE org.apache.catalina.level=ALL org.apache.catalina.startup.HostConfig.level = SEVERE org.apache.catalina.loader.WebappClassLoader.level = SEVERE org.apache.catalina.session.ManagerBase.level = INFO # ServletContext logger org.apache.catalina.core.ContainerBase.[Catalina].[localhost].level = ALL org.apache.catalina.core.ContainerBase.[Catalina].[localhost].handlers = 2localhost.org.apache.juli.FileHandler org.apache.catalina.core.ContainerBase.[Catalina].[localhost].formatter = java.util.logging.SimpleFormatter org.apache.catalina.core.ContainerBase.[Catalina].[localhost].format=servlet: %4$s: %2$s%n%4$s: %5$s%n Why then does my console log in Eclipse look like this? JUL INFO: org.apache.catalina.core.AprLifecycleListener init INFO: The APR based Apache Tomcat Native library which allows optimal performance in production environments was not found on the java.library.path: C:\Program Files\Java\jdk1.8.0_05\bin;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;c:\Program Files (x86)\Intel\iCLS Client\;c:\Program Files\Intel\iCLS Client\;C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\Program Files\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\DAL;C:\Program Files (x86)\Intel\Intel(R) Management Engine Components\IPT;C:\Program Files\TortoiseSVN\bin;C:\Program Files (x86)\Bitvise SSH Client;C:\Program Files (x86)\MySQL\MySQL Utilities 1.4.3\;C:\Program Files (x86)\MySQL\MySQL Utilities 1.4.3\Doctrine extensions for PHP\;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files\TortoiseGit\bin;C:\Program Files (x86)\Git\cmd;C:\Program Files\Microsoft SQL Server\110\Tools\Binn\;C:\Program Files\Microsoft\Web Platform Installer\;C:\Program Files (x86)\Microsoft ASP.NET\ASP.NET Web Pages\v1.0\;C:\Program Files (x86)\Windows Kits\8.0\Windows Performance Toolkit\;C:\Program Files (x86)\BaseX\bin;C:\Program Files (x86)\WinMerge;C:\Program Files (x86)\Skype\Phone\;. JUL WARNING: org.apache.tomcat.util.digester.SetPropertiesRule begin WARNING: [SetPropertiesRule]{Server/Service/Engine/Host/Context} Setting property 'source' to 'org.eclipse.jst.jee.server:ctc_web_front_ui' did not find a matching property. JUL INFO: org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["http-bio-8080"] JUL INFO: org.apache.coyote.AbstractProtocol init INFO: Initializing ProtocolHandler ["ajp-bio-8009"] JUL INFO: org.apache.catalina.startup.Catalina load INFO: Initialization processed in 359 ms JUL INFO: org.apache.catalina.core.StandardService startInternal INFO: Starting service Catalina JUL INFO: org.apache.catalina.core.StandardEngine startInternal INFO: Starting Servlet Engine: Apache Tomcat/7.0.47 JUL INFO: org.apache.catalina.core.ApplicationContext log INFO: No Spring WebApplicationInitializer types detected on classpath JUL INFO: org.apache.catalina.core.ApplicationContext log INFO: Initializing Spring FrameworkServlet 'servletSpringDispatcher' JUL INFO: org.springframework.web.servlet.FrameworkServlet initServletBean INFO: FrameworkServlet 'servletSpringDispatcher': initialization started Where are the bare INFO messages coming from? And why are catalina.core messages still showing up even though I set them to OFF? On the Linux server the JULI log looks like this: tomcat: FINE: org.apache.catalina.core.ContainerBase addChildInternal FINE: Add child StandardHost[localhost] StandardEngine[Catalina] tomcat: FINE: org.apache.catalina.util.LifecycleBase setStateInternal FINE: Setting state for [StandardServer[8005]] to [INITIALIZING] tomcat: FINE: org.apache.catalina.util.LifecycleBase setStateInternal FINE: Setting state for [org.apache.catalina.deploy.NamingResources#13fee20c] to [INITIALIZING] tomcat: FINE: org.apache.catalina.util.LifecycleBase setStateInternal FINE: Setting state for [org.apache.catalina.deploy.NamingResources#13fee20c] to [INITIALIZED] tomcat: FINE: org.apache.catalina.util.LifecycleBase setStateInternal FINE: Setting state for [StandardService[Catalina]] to [INITIALIZING] tomcat: FINE: org.apache.catalina.util.LifecycleBase setStateInternal FINE: Setting state for [StandardEngine[Catalina]] to [INITIALIZING] tomcat: FINE: org.apache.catalina.util.LifecycleBase setStateInternal FINE: Setting state for [StandardEngine[Catalina]] to [INITIALIZED] tomcat: FINE: org.apache.catalina.util.LifecycleBase setStateInternal FINE: Setting state for [Connector[HTTP/1.1-8080]] to [INITIALIZING] tomcat: FINE: org.apache.catalina.util.LifecycleBase setStateInternal FINE: Setting state for [org.apache.catalina.connector.MapperListener#737996a0] to [INITIALIZING] tomcat: FINE: org.apache.catalina.util.LifecycleBase setStateInternal FINE: Setting state for [org.apache.catalina.connector.MapperListener#737996a0] to [INITIALIZED] tomcat: FINE: org.apache.catalina.util.LifecycleBase setStateInternal FINE: Setting state for [Connector[HTTP/1.1-8080]] to [INITIALIZED] tomcat: FINE: org.apache.catalina.util.LifecycleBase setStateInternal FINE: Setting state for [StandardService[Catalina]] to [INITIALIZED] tomcat: FINE: org.apache.catalina.util.LifecycleBase setStateInternal FINE: Setting state for [StandardServer[8005]] to [INITIALIZED] tomcat: FINE: org.apache.catalina.util.LifecycleBase setStateInternal FINE: Setting state for [StandardServer[8005]] to [STARTING_PREP] tomcat: FINE: org.apache.catalina.core.NamingContextListener lifecycleEvent FINE: Bound StandardServer[8005] tomcat: FINE: org.apache.catalina.core.NamingContextListener createNamingContext FINE: Creating JNDI naming context tomcat: FINE: org.apache.catalina.core.NamingContextListener addResource Same question applies, why don't all lines start with tomcat:? UPDATE While debugging I discovered that BOTH LINES of each log entry come from java.util.logging.Logger.logp()
My logging.properties in Eclipse I do not know how your workspace is configured. Maybe that file is not used at all. Java Logging is configured by system properties. You need one property (-Djava.util.logging.manager) to configure org.apache.juli.ClassLoaderLogManager as log manager implementation for Java Logging. You need other property (-Djava.util.logging.config.file) to configure path to the configuration file. Usually both properties are set by the launch script (catalina.sh, catalina.bat), but Eclipse launches java directly, without a help from that script, so those system properties have to be set explicitly in a launch configuration. http://tomcat.markmail.org/thread/vpr7mjxmgdvkl3dv Tomcat JULI supports per-classloader configuration of logging. This feature allows one to configure logging individually for each web application by packing a WEB-INF/classes/logging.properties file with it. If you have unexpectedly placed a logging.properties file into classpath, it will have the same effect: it will supersede the default configuration for classes loaded by that classloader. E.g. it is known that some version of Jollyday library (4 years ago) included an unexpected logging.properties file that enabled FINE logging. .level = ALL https://bz.apache.org/bugzilla/show_bug.cgi?id=52011
The answer has been staring us in the face, from the top of the posting: java.util.logging.SimpleFormatter.format=JUL %4$s: %2$s%n%4$s: %5$s%n ^^^^^^^ The extra %n%4$s: in the format string is what causes the additional line to show up. Duh.
The info messages you are referring to is not actually part of core. They are being generated by classes in different packages. By dissecting catalina libs and identifying the classes responsible for particular logs, here is the configuration which has prevented logs on tomcat 7.0.63, by appending to default logging.properties: org.apache.catalina.startup.level=OFF org.apache.catalina.startup.handlers=1catalina.org.apache.juli.FileHandler.level org.apache.catalina.core.level=OFF org.apache.catalina.core.handlers=1catalina.org.apache.juli.FileHandler.level org.apache.coyote.level=OFF org.apache.coyote.handlers=1catalina.org.apache.juli.FileHandler.level
I think you're missing jul-to-slf4j. See here for more detail slf4j legacy bridge documentation
install Oracle11gr2 on Windows 2008 R2 failed to install "Oracle Net Configuration Assistant”
log file shows: INFO: Starting 'Oracle Net Configuration Assistant' INFO: INFO: Parsing command line arguments: INFO: Parameter "orahome" = C:\app\Administrator\product\11.2.0\dbhome_1 INFO: Parameter "orahnam" = OraDb11g_home1 INFO: Parameter "instype" = typical INFO: Parameter "inscomp" = client,oraclenet,javavm,server,ano INFO: Parameter "insprtcl" = tcp,nmp INFO: Parameter "cfg" = local INFO: Parameter "authadp" = NO_VALUE INFO: Parameter "responsefile" = C:\app\Administrator\product\11.2.0\dbhome_1\network\install\netca_typ.rsp INFO: Parameter "silent" = true INFO: Done parsing command line arguments. INFO: Oracle Net Services Configuration: INFO: # INFO: # An unexpected error has been detected by HotSpot Virtual Machine: INFO: # INFO: # EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x0000000006c7eb3f, pid=3972, tid=3440 INFO: # INFO: # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_17-b04 mixed mode) INFO: # Problematic frame: INFO: # C [oranl11.dll+0x3eb3f] INFO: # INFO: # An error report file with more information is saved as hs_err_pid3972.log INFO: # INFO: # If you would like to submit a bug report, please visit: INFO: # http://java.sun.com/webapps/bugreport/crash.jsp INFO: # INFO: WARNING: INFO: Completed Plugin named: Oracle Net Configuration Assistant
You're getting a Java JVM crash. That's a very old JVM you're using, though, so you should upgrade to the more recent stable version (1.6.0_25 at time of writing) and try again.
MonoTouch - Running in Debug results in "Could not insert pending Breakpoint"
I've done a CLEAN ALL, I've reset the simulator, but I can't explain why I get the following: (see the 'Resolved pending breakpoint' line, and the 'Could not insert') Loaded assembly: /Developer/MonoTouch/usr/lib/mono/2.1/monotouch.dll [External] Loaded assembly: /Developer/MonoTouch/usr/lib/mono/2.1/System.Core.dll [External] Loaded assembly: /Users/drisszouak/Projects/ZenVelopes/ZenVelopes/bin/iPhoneSimulator/Debug/ZenVelopes.exe Resolved pending breakpoint at 'EnvelopeViewController.xib.cs:76' to Void ZenVelopes.EnvelopeViewController:HandleBtnNewEnvelopeClicked ():0. Could not insert pending breakpoint at 'EnvelopeViewController.xib.cs:69'. Perhaps the source line does not contain any statements, or the source does not correspond to the current binary. Loaded assembly: /Developer/MonoTouch/usr/lib/mono/2.1/Mono.Data.Sqlite.dll [External] Loaded assembly: /Developer/MonoTouch/usr/lib/mono/2.1/System.Data.dll [External] Loaded assembly: /Developer/MonoTouch/usr/lib/mono/2.1/System.dll [External] Loaded assembly: /Developer/MonoTouch/usr/lib/mono/2.1/System.Transactions.dll [External] Loaded assembly: /Developer/MonoTouch/usr/lib/mono/2.1/System.Xml.dll [External] The code on line 69 and 76 are valid code, and are event handlers for toolbar buttons. Then when I click on one of the buttons, I get a null reference exception.