Kishore Kishore

0

votes
0

answer
20

views

Python Template

I am creating a python script to validate mongodb credentials for all databases, How to create a template to solve my purpose ? I tried hardcoding the keys which are in my yaml file, i dont want to do that, could anyone help me? from yaml import load import argparse import os from string import Temp...
Kishore
1

votes
1

answer
21

views

How to show a notice for required plugins while installing new theme in our wordpress project

I am creating a theme for distribution purpose in wordpress and I am new in wordpress. I used some plugins in my theme. I want to show a notice for required plugins which is neccesary for my theme who would use my theme.
KAMAL KISHORE
1

votes
1

answer
1.2k

views

Is it possible to apply animation for react-router-native?

I know that this question sounds like asking for suggestion which should not be here, But I am posting after searching a lot for my requirement. I am using react-router-native for navigation which is great functionality wise. But comes to the animation part, it doesn't give the best user experience....
Kishore
1

votes
0

answer
151

views

I am getting the error “TypeError: must be str, not bytes” when appending base64-encoded bytes to a string

Facing error in the line data_to_send = data + encoded_string I am using sockets for communication. The first function browse is to open the explorer to select the file that is to be sent and the second function multimedia_send() is the main function which sends the file to the other end. I am tryin...
Kishore Sukumaran
1

votes
1

answer
349

views

ERC 223 Token Standard is not Working

I am trying to create a new tokens using ERC223 standard. The tokens are created but when i am trying to transfer tokens to other wallet, the transaction hash is created and the transaction has failed. The tokens are deducted from my wallet and not added to destination wallet. This is my transaction...
Kishore
1

votes
0

answer
1.3k

views

boto3 s3.Object- - expected string or bytes-like object

I tried searching for a solution to this problem but still couldn't figure out the issue. So, I am trying to check if a key exists in a bucket. My code works perfectly fine if I use the following: s3.Object('bucket_name', 'key_name').load() But when I pass the reference variable rather than the actu...
1

votes
1

answer
798

views

run python script with arguments in another python script

I had a script which converts all csdl (xml) documents into JSON documents. The script can be run in command line by giving two arguments such as source folder where csdl files are located and output folder destination where all generated JSON files are to be stored. The Command line used for this s...
kishore
1

votes
0

answer
30

views

In Jenkins does perforce plugin supports CL code download?

Does Jenkins Perforce plugin supports particular Change List(CL) based source code download?
Kishore
1

votes
0

answer
243

views

webm to mp4 without loosing audio video sync

Iam trying to covert webm to mp4 using ffmpeg so that the output file is playable in all browsers. Iam using this ffmpeg command in ubuntu ffmpeg -i inpput.webm -f mp4 -copyts -vcodec libx264 -strict -2 -vf scale='380:-2' -pix_fmt yuv420p -profile:v baseline -level 3 output.mp4 It is converting the...
Kishore
1

votes
1

answer
32

views

add contents inside root tag of xml file

I have one existing xml file and want to add some contents to it. Existing xml file: Now I want to add the following contents without modifying contents of existing file My question is how to add contents of xml to existing file without modifying the contents of existing xml file inside this tag :...
kishore
1

votes
0

answer
259

views

React native is hanging while running create-react-native-app <Project_name>

I'm using: Nodejs 6 Windows 7 When trying to install create-react-native-app I get the following error: Using package manager as npm with npm interface. Installing packages. This might take a couple minutes. Installing react-native-scripts... npm WARN deprecated [email protected]: If using 2.x branch, pl...
Kishore
1

votes
0

answer
75

views

Start Call transaction always fails on fresh installation, Callkit iOS

I am using callkit for voip app, On Every Fresh install, CallKit startCallAction request fails and throws 'com.apple.CallKit.error.requesttransaction error 7'. Please find the method responsible below. func performStartCallAction(handle: String) { let uuid = UUID() let callHandle = CXHandle(type: .p...
1

votes
1

answer
138

views

how to use wait for condition in RIDE python robot frame work

enter image description hereCan someone help how to use wait for condition in RIDE Robot Framework PYTHON? I get this error everytime, but it stops at this point. I want it to proceed to next command. Country Code Creation 2 | FAIL | Element '...
1

votes
0

answer
49

views

DatabaseReference.observe is not called in swift4

I am trying to fetch the data from firebase. I am calling a function which has a databaseReference but it is not calling up.Basically this function is also called from databaseRefernce only of another function. Here is my code: func prepareCoursesFromCourseNodewithAllCoursesList(allCourseList: [Any...
k . kishore
1

votes
1

answer
102

views

Non-ASCII characters are not allowed outside of literals and identifiers issue in swift header file

I have added swift custom uiview class file to objective c project , Inside the view there is a textview delegate is available , So when I have added I am getting the ASCII error After SWIFT_EXTENSION I tried to replace the character inside 'module name' but even though it is not working , My projec...
Kishore Kumar
1

votes
1

answer
61

views

How to count tags with tag name of a user in Django ORM

I have a Post Model like below and I am using django-taggit class Post(models.Model): user = models.ForeignKey(User) post = models.TextField() tags = TaggableManager() >>>p1 = Post(user='user1', post='Some description', tags='python, java, js') >>>p1.save() >>>p2 = Post(user='user2', post='Some desc...
kishore
1

votes
0

answer
126

views

Django translations not getting translated on dictionary values

I'm using a ordered dict like this from django.utils.translation import ugettext as _ 'alumni': OrderedDict([ ('profession', { 'name': _('Occupation'), 'field': 'profession', 'key': 'profession', 'type': 'text' })]) And I've the translation on the file like msgid 'Occupation' msgstr 'Meslek' But the...
Kishore K
1

votes
0

answer
41

views

Get similar objects of same type from django taggit

I am using django-taggit tags in two models, lets say Model1 and Model2. I am using below code to get similar objects from my one of the model. obj1 = Model1.objects.get(pk=1) similar = obj1.tags.similar_objects() In the similar objects I am getting Model2 objects also. So How to get only Model1 sim...
kishore
1

votes
1

answer
300

views

Application Insights - Unable to view SQL Query

I have hosted an ASP.NET MVC application and configured Application Insight. All HTTP calls and SQL dependencies are logged in a text file. But, I am unable to log/get the SQL queries via Application Insight 'commandName' parameter. Can someone help me on this, please. Application Insight without Az...
Kishore Gunalan
1

votes
2

answer
406

views

how to customize angular4 page print on clicking ctrl+p

I have an angular4 app, on pressing ctrl+p on browser I need to customize the print page view instead default view. The page which I need to print has only angular components, I tried by writing @media print in each component css but it didn't work.
Kishore Tenali
1

votes
0

answer
26

views

Is it possible to declare data type for each column of a Pivoted Table in MySQL?

I happened to have dynamic data with a group of common IDs. So I decided to create a Pivot table for it. Let's say I've a following data in before I create a pivot table. part_id data_element value ------------------------------------------------ part1 part_name...
1

votes
1

answer
336

views

How to add a Project (.csproj) to Solution (.sln) under a Solution Folder using dotnet sln (comman line)?

I am trying to add a csproj to a sln using dotnet sln command line. Adding the project is easily achievable using the below command. dotnet sln todo.sln add todo-app/todo-app.csproj But how do I add the same under a Solution Folder
1

votes
1

answer
224

views

Excel -Run Time Error 1004 'Application Defined or Object Defined Error'

I have an Excel 2003 spreadsheet ('Tune.xls') with some VBA. It always fails with error: Run Time Error 1004 'Application Defined or Object Defined Error' When I click debug it brings me to the following line in the code : DataImport.Range('J10').Value = FileName 'Copy path and filename to workshee...
kishore
1

votes
1

answer
263

views

React Native - android - Memory is not released

We have a production app and using 'adb shell dumpsys meminfo' to measure the memory. We see the memory is continuously growing while taking dumps in this tool. We see the Unknown category is growing and never comes down. When we attach debugger and perform JS memory snapshot we see that memory is d...
1

votes
0

answer
30

views

Composition vs class that implements interfaces

Let us consider two entities, AEntity and BEntity, and two interfaces I1 and I2. Suppose, interface I1 { void do1(); } interface I2 { void do2(); } class AEntity implements I1, I2 { } class BEntity implements I1 { } void doSomething(I1 obj) { obj.do1(); } This is a hypothetical case and I do not rea...
kishore
1

votes
1

answer
892

views

Angular Material MatChipList get all the selected chips on click

Can anyone share how can we get all the selected chips in a MatChipList on mouse click? in one of our requirement we need to post all current selected chip values. I am not able to find logic to do that. {{chip.viewValue}}
Kishore Tulsiani
1

votes
0

answer
52

views

Unable to access file from C++ library through C# UWP

I have an application for which GUI is written in C# UWP and accessing the file logic is written in C++ DLL. The DLL should open a file to read data from it. I am trying to access the file from its location. When I call inFile.open('D:\\File\\readFile.txt', ios::in) the value returned is NULL. To c...
Ram Kishore
1

votes
1

answer
40

views

How to filter products using search box.?

I struck in between the code where we want to display the products based on search field entered value . for every key stroke it must check whether the product is available or not. if available it must show. can anyone help me on this. enter codeclass DashView extends Component { constructor(props)...
Sowri kishore
1

votes
0

answer
107

views

getting error while kept react-native-material-dropdown inside flatlist

undefined is not a function (evaluating 'this._scrollRef.scrollTo(this.props.horizontal ? { x: offset, animated: animated } : { y: offset, animated: animated })') scrollToOffset index.bundle?platform=android&dev=true&minify=false:46356:31 scrollToOffset index.bundle?platform=android&dev=true&minify=...
Raj Kishore
1

votes
1

answer
36

views

How to capture columns from joined tables using output clause?

I am updating a table called tableA by joining tableB and tableC at the same time I am capturing updated records into temp table using output clause from tableA . Now I want capture columns from table B for the updated data but output clause isn't allowing the same. Eg: Update SLC Set SLC.Datascrub...
kishore kumar
1

votes
2

answer
149

views

Can we execute vim commands from a shell script inside jenkins?

I have a @Test method written in java which calls a shell script. The shell script contains vimdiff command used for generating code comparison between two html files. When I run this test method from jenkins, the shell script is getting executed. But the vimdiff command is not getting executed. Ja...
Kishore Mohanavelu
1

votes
1

answer
164

views

application timeout in 120 - 130 seconds aspnet mvc

my application timesout in 120 t0 130 seconds, i tried the following. 1. web.config change Added sql timeout EF Core command.CommandTimeout = 100; changed on IIS Connection Time out 900 added asynctimeout attribute on controller for int.mex value Added httpclient connection timeout to 4 minutes...
kishore tvk
1

votes
0

answer
131

views

ngx-webcam how to identify if user allowed webcam permission or not - Angular 4+

I'm having issue with ngx-webcam plugin in Angular4+, as i'm using this plugin to capture images in my application but when user doesn't allow permission of using webcam then I should make a change from capturing to upload a image from computer or mobile. In this ngx-webcam plugin we do have, to tur...
kishore
1

votes
1

answer
574

views

Unhandled promise rejection Error: “Network Error”

error: Unhandled promise rejection Error: 'Network Error' my front-end vue application is running in http://localhost:8080 and backend is running in in http://localhost:8082 I'm requesting get request from axios from vue file to the backend. onSubmit(){ return axios.get(`http://192.168.43.35:8082/a...
Kishore S
1

votes
0

answer
58

views

How to retrieve the file from SlingHttpServletRequest?

I am entirely new to development. So please forgive me if I ask anything wrong. I am trying to upload multiple files to the webserver. The webserver is running on Adobe Enterprise Manager. I have a JSP page that submits my form through an AJAX Call to a servlet as a SlingHttpServletRequest. My Jsp p...
Kishore Mohanavelu
1

votes
0

answer
149

views

RecordRTC Error: MediaRecorder API seems unable to record mimeType: audio/wav

MediaRecorder API seems unable to record mimeType: audio/wav getting this error although I'm giving the type as audio/wav below is the code i'm trying to implement, actually I'm trying to record my voice and upload it to server for which i need to send in wave PCM format but in the browser console i...
kishore
1

votes
0

answer
44

views

SonarQube is not generating analysis report for cpp code

I am facing similar problem and not able to see any error/warning on SonarQube (sonarqube-6.7.6). When i run sonar-scanner.bat (sonar-scanner-3.2.0.1227-windows) warning list got populated on command line, but same is not getting updated in SonarQube. Need help in resolving that.
kaushal kishore
1

votes
0

answer
42

views

Is there a way in C# for every [TestClass] to inherit a certain set of common Attributes or Execute a common method

I've a scenario where I'm adding a common code which every Test Case needs to invoke before executing the [TestMethod] (Similar to a [TestInitialize]/[AssemblyInitialize]). However there are 3125 Tests and I'll need to add this [TestInitialize] along with some [DeploymentItem] attribute on all these...
Bandi Kishore
1

votes
0

answer
16

views

How to Drag and drop data into specific column in empty table using angular6?

This is my code. controls:any[] =[]; this.controls.push({'id':101,'name':'one'}); this.controls.push({'id':102,'name':'two'}); this.controls.push({'id':103,'name':'three'}); tables:any[] =[]; this.tables.push({'id':this.generateUid()+1+'_table','rows':[{'id':this.generateUid()+2+'_row','cols':[...
1

votes
0

answer
26

views

Error: No such file or directory in pom.xml document

I am getting the above error in my pom.xml document. I have tried the solutions described in, pom.xml no such file or directory pom-xml-no-such-file-or-directory. But the error is not rectified. Can anyone suggest me with the solution?
Kishore

View additional