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
1

votes
0

answer
239

views

angular 6 pwa does not working properly

1) when my internet connection is on, I click on add to home screen in chrome browser. after installation, I open the app, the app is not properly working like I show a urlbar as chrome browser. its like a browser. 2)when my internet connection is off, I click on add to home screen in chrome browser...
Pooja Ghetia
1

votes
0

answer
96

views

Runtime error when I use goroutines to capture packets from multiple interfaces device using “github.com/google/gopacket/pcap”

I want to capture packets on 4 interfaces devices eth0, eth1, eth2, and eth3 by using 'github.com/google/gopacket/pcap' . The machine I am using have large number of traffic. Lets say it is in lacks per minute. I used goroutines to capture packets on each device parallely. I get one of following er...
Pooja
1

votes
2

answer
78

views

List variable concept in python [duplicate]

This question already has an answer here: “Least Astonishment” and the Mutable Default Argument 32 answers Question regarding list in python: I have one program in that list are generating and assigning to a different variable but still getting the same output for two variable...Not able to und...
Pooja Rastogi
1

votes
0

answer
26

views

Python script hangs when running lstm on multiple cores

I am trying to create different lstm models on different data using multiprocessing Pool. The program hangs when it tries to create a lstm layer. def create_model(neurons, X): model = Sequential() model.add(LSTM(neurons, input_shape=(X.shape[1], X.shape[2]), return_sequences=False)) model.add(Dense...
Pooja P
1

votes
2

answer
43

views

Folder's content are empty after pushing into bitbucket

I wanted to push folders from my local repositories into bit bucket. Somehow I was unable to do that. I got the solution somewhere to use $ git push -f origin master which resolved the issue but erased all lines of code. This is my very first use of bit bucket. How to get all content back? Now, I...
Pooja Mgr
1

votes
0

answer
313

views

Set Memory Limit in Tensorflow for CPU

I am using Tensorflow - cpu mode for one of deep learning project. In Tensorflow, i am not able to set memory limit for the project. Currently memory allocated by Tensorflow : [name: '/device:CPU:0' device_type: 'CPU' memory_limit: 268435456 locality { } incarnation: 12554950994086873035 ] How this...
pooja kamra
1

votes
0

answer
69

views

Confluent-Kafka “Consumer instance not found” error even-if consumer instance is not timedout

I'm observing Consumer instance not found error, at the time of consumer registration even if consumer instance is not timedout. Using Confluent API's. Following are steps followed for this negative testing: Running a script for consumer registration. Kafka Topology : 3 ZK instance (where 2 ZK are...
Pooja
1

votes
0

answer
128

views

node.js Error: ENOENT: no such file or directory-while using local module

I have created a node.js local module whose structure is as shown below : common --logging ----index.js ----package.json ----config ------logConfig.json In my index.js I have written below code : let log4js = require('log4js'); log4js.configure('./config/logConfig.json'); const logger = log4js.get...
Pooja
1

votes
1

answer
84

views

React Native TypeError: Cannot read property 'createClient' of undefined

I am new to React native framework. I have created app using 'create-react-native-app AwesomeProject'. I want to use BLE in my project so i installed the 'react-native-ble-plx' module but when i create the instance of BleManager it throws the error TypeError: Cannot read property 'createClient' of...
pooja
1

votes
0

answer
34

views

Sails Datastore Adapter

I just created a custom service in sails js and trying to access the database adapter (sails.config.datastores) inside that service, but i'm not able to do that. I tried to use the sails.getDatastore() method and getting sails not defined error. Here is my adapter connection. url: 'mysql://root:@loc...
Pooja Bhonagiri
1

votes
0

answer
18

views

Error is showing after implementing imagerequest

I'm practicing Volley Library, but getting some errors. I tried with customized request. This is my main activity class: package in.jimmytrivedi.volleytutorials; import android.graphics.Bitmap; import android.os.Bundle; import android.support.v7.app.AppCompatActivity; import android.view.View; impor...
Pooja Singh
1

votes
0

answer
35

views

Textnode getting cropped when using html2Canvas to covert html to pdf

I started using html2Canvas. I'm trying to convert the below donut chart into a pdf using html2canvas and jspdf. The result is as follows: We can make out that text gets cropped. Then I tried to change the text next to donut chart to this : The result is so peculiar: Why do only specific text nodes...
Pooja
1

votes
0

answer
22

views

Using Same browser type from a single file for multiple projects in Selenium C#

I am trying to pass the Browser Type for 45 projects from a single place using Parallel.RunSettings file and adding this file under Test Settings in Visual Studio. But the value is not being read with NullReferenceException. Am I missing any step? Currently we are passing browser type for each proje...
Pooja
1

votes
1

answer
62

views

Getting an error while set up socket.io connection on jmeter

Required help to resolve following socket.io connection error. Getting an error while setting up socket.io connection on jmeter. want to set up a connection to the socket. Is there any other prerequisite to run socket sample? Actaul error Socket.io sampler using web sampler plugin
raval pooja
1

votes
1

answer
73

views

Cannot find contents of the collection in mongodb using collection.find()

I am using MongoDB shell version v4.0.1 I am using mongoose. I have a collection called brand. When I try to log brand.find() to the console, instead of returning the contents of 'brand' collection, it's returning this : Query { _mongooseOptions: {}, mongooseCollection: NativeCollection { collectio...
Pooja Chawla
1

votes
0

answer
57

views

How to access website using hostname instead of ip address?

I am working on a wordpress website and I'm unable to access my website using the host-name. [However, I'm able to access my website through the ip address. For example, when I enter 10.20.0.18, I'm directed to 10.20.0.18/wp-admin/plugins.php] I am new to hosting and I was just able to update my hos...
Pooja
1

votes
1

answer
25

views

How can I mask json using json-masker for fields with “-” in it?

My requirement is to mask certain fields of a JSON while logging them.I am working on node.js. I have used json-masker library of node.js. While passing the JSON path of attributes with '-' in the name in the 'whitelist' parameter, I am getting lexical error. JSON { 'attribute1':'value1', 'attrib...
Pooja
1

votes
2

answer
33

views

JavaFX window resizing when running the application on two different sized screens

I have created a JavaFX window on my laptop using scene builder..however when i try to run the same on a workstation with a larger screen the JavaFX application does not resize itself and is displayed towards the left top of the screen..is there any way by which I can have the application window to...
Pooja Krishnamurthy
1

votes
0

answer
418

views

Sub-process /usr/bin/dpkg returned an error code (1) with sudo apt-get -f install

Observing following error with sudo apt-get -f install Found kernel: /boot/vmlinuz-4.4.0-21-generic Found kernel: /boot/memtest86+.bin run-parts: /etc/kernel/postrm.d/x-grub-legacy-ec2 exited with return code 10 Failed to process /etc/kernel/postrm.d at /var/lib/dpkg/info/linux-image-4.4.0-134-gener...
Pooja
1

votes
1

answer
36

views

finding is point laying on line or not in esri map using arcgis API

I am trying to find whether the point lies on the line or not as below function identifyFeatures(evt){ var extentGeom = pointToExtent(map,evt.mapPoint,10); var filteredGraphics = dojo.filter(testLayer.graphics, function(gg) { if(extentGeom.contains(gg.geometry.getExtent())){ return extentGeom.contai...
Pooja Madiwal
1

votes
0

answer
17

views

how to subtract amount from total on checkbox action in wordpress

i have created checkbox field for donation on clicking checkbox 25 rupees is added into total but on uncheck it, 25 rupees is not subtracting from total on checkout page in word press. add_action('woocommerce_review_order_before_order_total','add_donation_checkbox'); function add_donation_checkbox()...
Pooja Lokhande
1

votes
0

answer
37

views

Python signal from celery task

I am running a celery task which on success runs subtask to send signal. @celery.task(name='sendmail') def send_async_email(msg): return mail.send(msg) def send_mail(msg): // do some processing send_async_email.apply_async((msg,), link=send_email_signal.s(msg)) @celery.task def send_email_signal(res...
Pooja
1

votes
2

answer
569

views

Spacing and Margin Utility in React-Bootstrap

I am React Js beginner. Are there spacing and margin utility classes in React Bootstrap like we have in Bootstrap mt-4,p-5,mx-auto etc. I am going through the documentation of react-bootstrap, also searched on many platforms but couldn't find the right answer. Just want to know if they exist.
pooja
1

votes
1

answer
60

views

High memory consumption

I have a iOS app developed using xamarin forms . It works fine with all other devices except a iPad mini iOS version 11.2 . I have tried reinstalling the app and the problem persists . I have now upgraded the OS version to iOS version 12 and the problem still persists.The issue is not reproducible i...
pooja
1

votes
1

answer
21

views

Device discovery in FIWARE IoTAgent-JSON

I am working on FIWARE IoTAgent-JSON. I want to perform device discovery by the same. My expectation from device discovery is that whenever a new device gets registered in IoTAgent-JSON, I receive a notification with device data. Is it possible? If yes, how can this be done?
Pooja Pathak

View additional