pooja

0

votes
0

answer
4

views

facing issues of an “error occured while importing file” while having functionality of drag and drop with electron-vue

I am setting up drag and drop functionality in electron-vue. I am passing one image while dragging (could be in renderer process) and passing another image while droping (could be in main process). Basically, I am trying to drag image1 while draging 'item' and droping image2 while droping to deskto...
Pooja Thakor
1

votes
1

answer
20

views

How to filter one measure with filters applied to another table?

I have a Measure Named 'Sum of Projected Yields' (basically calculating the sum of Projected Yields) in a table called 'Projected Yields'. I have another Measure Named 'Sum of Harvested Yields' in a table called 'Harvest Yields'. I want to subtract these measures( Sum of Harvested Yields - Sum of Pr...
Pooja
2

votes
1

answer
22

views

Incompatible datatypes text and nvarchar in the equal to operator [duplicate]

This question already has an answer here: The data types text and nvarchar are incompatible in the equal to operator 2 answers The data types text and nvarchar are incompatible in the equal to operator. I got this message from number of times in my login page. How to handle this problem? class logi...
pooja dongre
0

votes
0

answer
20

views

How to load xml content from a xml file in python?

How can I read a xml file and load the content, similar to the json example. json code shared is for reference which is working and I want to load xml content in similar way. with open(xml_file) as f: content = f.read() self.spec = xml.loads(content) json file can load the content as : with open(...
Pooja
0

votes
0

answer
8

views

How to return BadRequestObjectResult from Invoke method

I am developing an API which initially validates the Accept header from the https request then respond through middleware. I have added the logic to validate the Accept header in Invoke method as shown, How do I return bad request object if the result of the validation(string comparison) is false. /...
Pooja P N
1

votes
1

answer
620

views

hadoop BlockMissingException

I am getting below error: Diagnostics: org.apache.hadoop.hdfs.BlockMissingException: Could not obtain block: BP-467931813-10.3.20.155-1514489559979:blk_1073741991_1167 file=/user/oozie/share/lib/lib_20171228193421/oozie/hadoop-auth-2.7.2-amzn-2.jar Failing this attempt. Failing the application. Alth...
Pooja Soni
1

votes
0

answer
39

views

autocomplete function is not working

I am having the list of names inside a string in a JSP page. and I want to show the data in the name field by autocomplete function but i am unable to get that. script> $(function() { var name=[]; $( '#Name' ).autocomplete({ source: name }); }); I want to show list in this field.
Pooja
1

votes
1

answer
446

views

How to install edx Insights for open edx installation in ubuntu 16.04

I have installed open edx in ubuntu the fiscus release. For students analytics i need edx insights So, 1. Is it to be installed separately 2. It comes with open edx installation (If yes, Please share the port Number)
Pooja Dhoot
1

votes
1

answer
32

views

How to restrict users from logging in to website outside the company’s LAN

I have to create an application on MVC .Net where in some users can access the application from outside the company but others cannot. the users will be allocated roles and based on that either they are allowed or not allowed to access the web application from outside the company’s network. How ca...
Pooja Sharma
1

votes
0

answer
361

views

Second level cache in JPA using Entity manager for native queries as well as for JPQL

I have implemented second level cache using jpa through EntityManager and using java configuration for it. I referred the following link http://www.baeldung.com/hibernate-second-level-cache. I am not getting any error but also my Entity’s Data Is not Cached. Please help:) I have provided all the r...
Pooja
1

votes
0

answer
97

views

Block missing due to resizing an Amazon EMR Cluster

We resize Amazon EMR cluster nodes from console. When we added core nodes to the cluster, BlockMissingException occurs for a few /user/oozie/share/lib/ jars. Replication factor for this /user/oozie/share/lib/ is 3 while default replication factor is 1. Initially the cluster had 3 core nodes but when...
Pooja Soni
1

votes
1

answer
1.1k

views

How to open file from internal storage in specific viewer? [duplicate]

This question already has an answer here: How to access data/data folder in Android device? 17 answers I want to open File which is in InternalStorage I created Documents directory under data/data/mypackage/files path . Now I want to Open a file in some external application like PDF viewer or text...
Pooja Kamani
1

votes
0

answer
76

views

Get old notification from FCM continuesly in my app

I am using FCM to send notification for downloading a file in my android app. When my app is not running and i send FCM then I get all the notifications that I send earlier and new one continuously. How to overcome this? Here is my MyFirebaseMessagingService class. public class MyFirebaseMessagingSe...
Pooja Kamani
1

votes
0

answer
348

views

html5 video controls not working in ie11

All my html5 video controls are visible and even hover effects are there but nothing happens on click. Play/Pause fullscreen slider buttons none of them are working, however with tab I can control these buttons but not with click Your browser does not support HTML5 video. From my js I am doing this...
Pooja.webdev
1

votes
0

answer
47

views

How can I send an email to specific email-id in asp.net mvc?

System.IO.StringWriter myStringWriter = new System.IO.StringWriter(new System.Text.StringBuilder()); HtmlTextWriter myTextWriter = new HtmlTextWriter(myStringWriter); StringBuilder sb = new StringBuilder(); sb.Append('Hello'); string Body= sb.ToString(); MailMessage myMessage = new MailMessage(); my...
Pooja Shah
1

votes
0

answer
68

views

How to embed executable jar file in webpage?

I'm pretty new to web development. Though I want to create a single page web application where I can allow users to run executable jar file created for doing some activity or else made it available for download. I have got some results on internet, but it was for running applet in web browser.
Pooja
1

votes
0

answer
586

views

Unable to start component in tomcat

I am trying to run my spring boot microservice in eclipse. I do not have any server added in eclipse since spring boot runs on it's own server. But while starting the application I am getting the below error...
Pooja Mahapatra
1

votes
1

answer
459

views

Integration of Firebase Cloud Messaging(FCM) with React Native (iOS and Android)

I am new to React-native and trying to implement push notifications with Google's Firebase cloud messaging library (iOS and Android). I have gone through many articles but none of them explain things as far as a beginner is concerned. Can anyone suggest some good documentation that addresses all the...
Pooja
1

votes
1

answer
71

views

Spark Scala - dataset[array[string]] having records -convert to records starting from new line

I have Dataset[Array[String]] having string like 12345, 2341, a465c2a, p, 2015-06-10, 2015-02-23, 2015-02-23, 2, '', 1, 98941, 1, ., 17, 21, 1, '', 67890, 4313, a465c2a, p, 2015-06-10, 2015-02-23, 2015-02-23, 2, 7391, 1, 98941, 1, ., 17, 21, 1, 01 In this string starting from zero a record end at 16...
pooja
1

votes
0

answer
45

views

spark scala -Array[(String, Array[String])]-storing it as atextFile

Please tell me the command for storing Array[(String, Array[String])] as a textFile. I have tried val_name.map(x => x._1 + x._2.mkString(',')).repartition(1).write.text('path to store') but i think it works with dataset and not with arrays
pooja
1

votes
1

answer
165

views

Swagger with spring boot microservice

I have a microservice-A which gets the token as a header from another microservice-B. Now I want to implement swagger2 in microservice-A. The problem is every request flows through microservice-B. So swagger-ui throws error in local as it is not able to get those header parameter which microservice...
Pooja Mahapatra
1

votes
1

answer
26

views

Update the value changed in directive to controller in angularjs

Usually, sequence of execution is controller ---> directive, right! I have a scenario, In the controller we have the default value of placeholder: $scope.formsDropDown = { show: true, placeholder: 'Select a Form', }; where in the directive I have a value of placeholder which is getting updated e.g....
Pooja Thapa
1

votes
0

answer
221

views

Cannot statically analyse 'require(…, …)' while bundling coffeescript and backbone application using Webpack

I am trying to migrate from grunt to webpack in a backbone/coffeescript project. While bundling, I'm getting error Cannot statically analyse 'require(…, …)' for require statement in which dependencies are known at run time. To handle above, I'm using webpack ContextReplacementPlugin. Below is c...
pooja singh
1

votes
2

answer
147

views

how can I define IST zone id in java method atZone(Zone_ID);

How can I define IST in the method below ZonedDateTime zdt = Instant.now().atZone(zone); I need value of zone is IST
Pooja
1

votes
0

answer
37

views

filter Google Custom Search api version 2 Results by Date

I am using google custom search on my web application (version 2) and I would like that my user's would be able to filter the result by two date such as 'from date' and 'to date'. The problem is that I have no idea about how to pass two date and how to manage the search results to able to that. How...
Pooja
1

votes
0

answer
12

views

Attributes with colon in DataMapper

I have a requirement where I have to do a mapping in dataMapper from a json to SCIM json format which have attributes to be mapped under an Extension schema ('urn:scim:schemas:extension:enterprise:2.0:User'), the DataMapper is throwing an error of unknown attribute when saving the mapping. The attri...
pooja
1

votes
0

answer
185

views

Need email Notification service using smtp,using Nodemailer

I am trying to implement Nodemailer for sending one or bulk emails but facing trouble to handle when there is a failure in sending email for eg. Email Address not found. I need a list of these bounced emails and other such failures and insert them into the DB,after trying to send the email twice. Be...
pooja salot
1

votes
1

answer
113

views

BeautifulSoup - Highlight the anchor text within other text

Here is an example of what I have: This sign is select color in color Here is how I would like to extract the text: This sign is select color in color I am using Beautiful Soup. Here is what I am doing. text = soup.find_all('text') for t in text: print t.get_text() I get: This sign is select col...
pooja p
1

votes
2

answer
52

views

how to grab 2nd field of first line of a pipe delimited text file stored in hfds through shell script

I am new to Unix commands. I have a pipe delimited test file in hdfs. I want to grab second field of the first line from the file through shell script and store it in variable. To read the first line I used the following command but its showing error of -head unknown command line=$(hadoop fs -head -...
pooja
1

votes
1

answer
341

views

Raspberry Pi Online Simulator?

So I am working on Microsoft Azure to create a smart parking system( basically to count number of vehicle going in and out of parking lot using the sensor data). I created a IoT hub on azure and connected the device key with Raspberry Pi online simulator. The default sample code is of a weather sens...
Pooja Mehta
1

votes
2

answer
802

views

sequelize - delete multiple rows and then bulk insert

I need to delete multiple rows from a table based on 3 fields. These fields are not the key columns. POST request sends all the rows. Sequelize does not support bulk delete based on columns. So I am running a forEach loop to delete and then want to insert using bulkCreate. But '.then()' does not ex...
pooja kosala
1

votes
0

answer
621

views

Error occurring while generating signed apk in Android Studio

This is coming while I am generating the signed apk. Could not download groovy-all.jar (org.codehaus.groovy:groovy-all:2.4.12): No cached version available for offline mode.
1

votes
1

answer
217

views

Unable to create build ionic3 using command ionic build android , failed to create build

I set an environment path for JAVA_HOME and followed below link android studio Error:Unable to start the daemon process. Still getting an error, not able to create build. I am using latest version of node, npm, ionic. Can't understand what's wrong. Please guide me, it will really helpful for me. Tha...
Pooja Pradhan
1

votes
1

answer
243

views

How to describe a map with object keys in OpenAPI/Swagger?

In my REST API, I want to use a hashmap Map where Foo and Bar are user-defined classes. How to describe such a map in OpenAPI (Swagger)?
Pooja
1

votes
1

answer
58

views

SQL Server - Comma separated result

I am using a query below: SELECT DISTINCT DTL.DTL_ITEM_CRC DTL_ITEM_CRC, PWK.PWK_PROMN_WEEK_KEY PWK_PROMN_WEEK_KEY, HDR.HDR_VENDR_NBR HDR_VENDR_NBR, HDR.HDR_VENDR_NAME HDR_VENDR_NAME FROM DBO.PROMWEEK PWK, DBO.BLTNHDR HDR, DBO.BLTNDET DTL, DBO.ITEMWHSE ITW WHERE DTL.DTL_BULTN_KEY = HDR.HDR_BUL...
Pooja Dev
1

votes
0

answer
47

views

How to navigate from a screen in stack navigator to the Tab Navigator

My project structure looks like this Tab navigator |-Tab1 |-Tab2 |-stack navigator |-login | screen1 | screen2 | screen3 |-Tab3 |-Tab4 I am new to react native. I am trying to navigate from a screen1 in stack navigator to my Tab1. I am not able to navigate. Any kind of help is appreciated.
pooja
1

votes
1

answer
144

views

Katalon Studio Database checkpoint for Stored Procedure not working

I am using latest version of Katalon Studio for our Android mobile app Automation. But Database checkpoint for SQL Stored Procedure is not working at all with Katalon. By providing correct query and parameter for Stored Procedure execution i am still getting error as 'Wrong number of Parameter' erro...
Pooja
1

votes
1

answer
63

views

Maven testNg project building success but not running in command prompt

Please help me to run this simple example. I want to open browser through command prompt building success fully but not running in cmd (command line) public class Hello { WebDriver driver; @Test public void a() { System.setProperty('webdriver.chrome.driver', 'C:\\Users\\PoojaPatange\\Downloads\\wor...
Pooja Pathange
1

votes
1

answer
36

views

how to send xrp tokens using bitgo

const BitGoJS = require(__dirname + '/BitGoJS/src/index.js'); const bitgo = new BitGoJS.BitGo({ env: 'test' }); const Promise = require('bluebird'); const coin = 'txrp'; const basecoin = bitgo.coin(coin); // TODO: set your access token here const accessToken = 'xxxxxxxxxx'; const walletId = 'xxxxxxx...
pooja
1

votes
0

answer
39

views

How to import the contacts from vcf file stored in sdcard programically in android

I stored the vcf file in Sdcard but now i have to import that vcf file in contacts programicaly i have created the vcf file by following code final String vfile = 'Contacts.vcf'; Cursor phones = mContext.getContentResolver().query( ContactsContract.CommonDataKinds.Phone.CONTENT_URI, null,null, null,...
Pooja

View additional