Trending questions in Edureka Community

0 votes
1 answer

Error:'QuerySet' object has no attribute 'remove'

Hello @kartik, You could do this: import itertools ids = ...READ MORE

Aug 12, 2020 in Python by Niroj
• 82,800 points
6,808 views
0 votes
3 answers

difference between git remote and git clone

HI.... GIT REMOTE add just creates an entry in ...READ MORE

Jul 11, 2020 in Git & GitHub by anonymous
25,227 views
0 votes
1 answer

How to create and Update Laravel Eloquent?

Hello @kartik, There has been a couple of ...READ MORE

Nov 11, 2020 in Laravel by Niroj
• 82,800 points
2,871 views
+1 vote
2 answers

Splitting a Tmap output into several tables based on the value of a column

you can use "filter " in map ...READ MORE

Dec 2, 2020 in Talend by aminegac
• 570 points
2,504 views
0 votes
1 answer

How to access PHP var from external javascript file?

Hello @kartik, You don't really access it, you ...READ MORE

Jul 6, 2020 in Java-Script by Niroj
• 82,800 points
8,394 views
0 votes
1 answer

pip install mysql-python fails with EnvironmentError: mysql_config not found

It seems mysql_config is missing on your ...READ MORE

Dec 4, 2020 in Python by Gitika
• 65,730 points
1,867 views
0 votes
1 answer

How to run user data in windows instance using boto3?

Hi@Lakshminarayanan, I think you used the wrong keyword ...READ MORE

Oct 13, 2020 in AWS by MD
• 95,460 points
4,152 views
0 votes
1 answer

invalid literal for int() with base 10 in python

Hello, You can try this simple code: def getSum(n): ...READ MORE

Nov 23, 2020 in Python by Niroj
• 82,800 points
2,394 views
0 votes
1 answer

How do I generate random integers within a specific range in Java?

Before Java 1.7, the standard way to ...READ MORE

Dec 22, 2020 in Java by Gitika
• 65,730 points
1,086 views
0 votes
1 answer

How to attach an instance to an Auto Scaling group in AWS?

Hi@akhtar, You can attach one or more EC2 instances ...READ MORE

Nov 26, 2020 in AWS by MD
• 95,460 points
2,203 views
0 votes
1 answer

Re: VMSetError: Call to WHvSetupPartition failed: ERROR_SUCCESS (Last=0xc000000d/87)

Hi@akhtar, You need to run the below command ...READ MORE

Dec 21, 2020 in Docker by MD
• 95,460 points
1,123 views
0 votes
1 answer

Is it possible to upload a file from desktop to web using Selenide?

Hi, @Nikhil, Yes it's possible to drop a ...READ MORE

Dec 16, 2020 in Java by Gitika
• 65,730 points
1,329 views
0 votes
1 answer

How To Run PHP From Windows Command Line in WAMPServer

Hello @kartik, Try using batch file Open notepad type php -S ...READ MORE

Oct 27, 2020 in PHP by Niroj
• 82,800 points
3,489 views
0 votes
1 answer

How do I parse a data URL in Node?

Hello @kartik, Put the data into a Buffer ...READ MORE

Nov 30, 2020 in Node-js by Niroj
• 82,800 points
2,057 views
0 votes
1 answer

How to move the most recent commits to a new branch with Git?

Hi@akhtar, If you want to move your commits ...READ MORE

Dec 22, 2020 in Git & GitHub by MD
• 95,460 points
1,077 views
0 votes
1 answer

How can I create a migration to add a value to an enum in eloquent?

Hello @kartik, Try using this code: public function up() ...READ MORE

Nov 12, 2020 in Laravel by Niroj
• 82,800 points
2,806 views
+1 vote
0 answers

Loop through page links in div and click each link containing a specific value in Selenium (java)

I have an html page that has ...READ MORE

Jun 13, 2020 in Selenium by laiman
• 330 points
9,380 views
0 votes
1 answer

How to get the size of a JavaScript object?

Hello @kartik, Use this code: function roughSizeOfObject( object ) ...READ MORE

Sep 23, 2020 in Java-Script by Niroj
• 82,800 points
4,951 views
0 votes
1 answer

7)From Schema RDD, data can be cache by which one of the given choices?

Hi, @Ritu, According to the official documentation of Spark 1.2, ...READ MORE

Nov 23, 2020 in Apache Spark by Gitika
• 65,730 points
2,336 views
0 votes
1 answer

Error:FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory

Hello @kartik, You can launch NPM using : node ...READ MORE

Nov 27, 2020 in Node-js by Niroj
• 82,800 points
2,151 views
0 votes
1 answer

16)What allows spark to periodically persist data about an application such that it can recover from failures?

Hi@Edureka, Checkpointing is a process of truncating RDD ...READ MORE

Nov 26, 2020 in Apache Spark by MD
• 95,460 points
2,239 views
0 votes
1 answer

How do I build a website with referral link on Django?

simple solution.. import hashlib Refferal(Model): user ...READ MORE

Nov 12, 2020 in Python by Gitika
• 65,730 points
2,786 views
0 votes
1 answer

How Docker is different from a virtual machine?

Hi@akhtar, Docker is container-based technology and containers are ...READ MORE

Dec 23, 2020 in Docker by MD
• 95,460 points
1,018 views
0 votes
1 answer

i am getting this error "TypeError: tuple indices must be integers or slices, not Database"

Hi, @Shabaj, Regarding your query, I hope this ...READ MORE

Dec 10, 2020 in Python by Gitika
• 65,730 points
1,595 views
0 votes
1 answer

How can I modify a migration in Laravel?

Hello @kartik, You should create a new migration ...READ MORE

Sep 28, 2020 in Laravel by Niroj
• 82,800 points
4,759 views
0 votes
1 answer

when I run this code, my browser does not appear, it flashes and disappears.?

Hello, The driver. close() command is used to close the current browser ...READ MORE

Nov 23, 2020 in Selenium by Niroj
• 82,800 points
2,345 views
0 votes
1 answer

Copy a directory from one node in the cluster to another in HDFS.

Hi@akhtar, You can copy a directory from one ...READ MORE

Oct 20, 2020 in Big Data Hadoop by MD
• 95,460 points
3,801 views
0 votes
1 answer

Error:Traceback (most recent call last): File "< stdin >", line 1, in ImportError: cannot import name 'path'

Hello @kartik, You need Django version 2 pip install ...READ MORE

Aug 5, 2020 in Python by Niroj
• 82,800 points
7,043 views
0 votes
1 answer

What is Htpasswd in Linux?

Hi@akhtar, htpasswd is used to create and update ...READ MORE

Dec 2, 2020 in Linux Administration by MD
• 95,460 points
1,917 views
0 votes
0 answers
0 votes
1 answer

Zookeeper server going down frequently.

Hi@B, There may be several reasons behind this. ...READ MORE

Nov 9, 2020 in Big Data Hadoop by MD
• 95,460 points
2,902 views
0 votes
1 answer

AttributeError: 'numpy.ndarray' object has no attribute 'append'

Hi@Nilesh, You have created two empty lists. And ...READ MORE

Aug 11, 2020 in Python by MD
• 95,460 points
6,823 views
0 votes
0 answers

How to mount an S3 bucket in an EC2 instance?

Hi Guys, I am new to AWS. I ...READ MORE

Dec 17, 2020 in AWS by akhtar
• 38,260 points
1,288 views
0 votes
1 answer

How to create GCS bucket with versioning using Terraform?

Hi@MD, You can create a new bucket in Google ...READ MORE

Dec 1, 2020 in Terraform by akhtar
• 38,260 points
1,937 views
0 votes
1 answer

How to get a context in a recycler view adapter?

Hii, You can add global variable: private Context context; then ...READ MORE

May 26, 2020 in Java by Niroj
• 82,800 points
10,114 views
0 votes
0 answers

UI Path Error: - Access is denied!

When i created a robot on UI ...READ MORE

Oct 11, 2020 in RPA by Edureka
• 120 points
4,201 views
0 votes
1 answer

Iterate through a HashMap.

Iterate through the entrySet() like so: public static void printMap(Map ...READ MORE

Dec 22, 2020 in Java by Gitika
• 65,730 points
1,031 views
0 votes
0 answers

How to find and restore a deleted file in a Git repository?

Hi Team, I have one Git repository. I ...READ MORE

Dec 22, 2020 in Git & GitHub by akhtar
• 38,260 points
1,061 views
0 votes
1 answer

Error : Function 'GROUPBY' scalar expressions have to be Aggregation functions over CurrentGroup().

The error says you need to use ...READ MORE

Sep 24, 2020 in Power BI by Gitika
• 65,730 points
4,863 views
0 votes
1 answer

How to get all links and all elements that are clickable on a page of system dynamically?

Hello, You can do it by using find_elements_by_xpath() driver ...READ MORE

Aug 27, 2020 in Python by Niroj
• 82,800 points
6,070 views
0 votes
1 answer

How to grant remote access permissions to mysql server for user?

Hello @kartik, This grants root access with the ...READ MORE

Aug 26, 2020 in PHP by Niroj
• 82,800 points
6,104 views
0 votes
1 answer

How to run Gulp tasks sequentially one after the other?

Hello @kartik, By default, gulp runs tasks simultaneously, ...READ MORE

Nov 26, 2020 in Node-js by Niroj
• 82,800 points
2,130 views
0 votes
1 answer

How to clone a specific Git branch?

Hi@akhtar, You need to specify the branch name ...READ MORE

Dec 22, 2020 in Git & GitHub by MD
• 95,460 points
1,014 views
0 votes
0 answers

no module found error

READ MORE

Jan 13, 2021 in Machine Learning by anonymous

edited Mar 4 131 views
0 votes
1 answer

Error:serializable class Foo does not declare a static final serialVersionUID field of type long

Hello @kartik, If you're serializing just because you ...READ MORE

Jul 28, 2020 in Java by Niroj
• 82,800 points
7,362 views
0 votes
0 answers

im getting this error no file found

READ MORE

Jan 13, 2021 in Machine Learning by rsandhya

edited Mar 4 131 views
0 votes
2 answers

How to work with blocks in Selenium?

Hello @Beks, You can simply use the jQuery each() method ...READ MORE

Nov 25, 2020 in Selenium by Niroj
• 82,800 points
2,155 views
0 votes
0 answers

Can we enforce certain aws tags on CloudFormation stack(level) via Tagging policy?

can we enforce certain tags to be ...READ MORE

Jan 12, 2021 in Ask us Anything! by anonymous

edited Mar 4 155 views
0 votes
1 answer

How to create a Docker swarm in Linux system?

Hi@akhtar, You need to initialize one node with ...READ MORE

Dec 24, 2020 in Docker by MD
• 95,460 points
908 views
0 votes
1 answer

How to read a text file into a string variable and strip newlines?

You could use: with open('data.txt', 'r') as file: ...READ MORE

Dec 23, 2020 in Python by Gitika
• 65,730 points
949 views