Trending questions in Edureka Community

0 votes
1 answer

Error:Expected view to be called with a URL keyword argument named “pk”

Hello @kartik, View functions are called with the ...READ MORE

Jul 2, 2020 in Python by Niroj
• 82,800 points
10,358 views
0 votes
1 answer

dpkg error: dpkg status database is locked by another process

The following worked for me: remove lock: sudo rm ...READ MORE

Aug 31, 2021 in Linux Administration by Shefali

edited Mar 5, 2025 7,798 views
0 votes
1 answer

How to set the DNS name in the puppet server?

Hi@MD, You need to set the DNS name ...READ MORE

Dec 31, 2020 in Puppet by akhtar
• 38,260 points
2,452 views
0 votes
1 answer

AttributeError: 'Group' object has no attribute 'user'

You can go through this: from django.contrib.auth.models import ...READ MORE

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

How to declare an array in Python?

variable = [] Now variable refers to an empty list*. Of ...READ MORE

Jan 5, 2021 in Python by Gitika
• 65,730 points
2,242 views
0 votes
0 answers

I have faced " Java.lang.Unsupported class version error" while installing MAVEN

While installing Maven, i have faced this ...READ MORE

Feb 17, 2021 in Selenium by Boopathy
• 370 points

edited Mar 4, 2025 445 views
0 votes
1 answer

How to “Ping” from a Node.js app?

Hello @kartik, You could use exec to call the system ...READ MORE

Oct 16, 2020 in Node-js by Niroj
• 82,800 points
5,732 views
0 votes
1 answer

How can I get ID of the last updated row in MySQL?

Hello @kartik, Suppose, item_id is an integer identity column in items table ...READ MORE

Apr 9, 2020 in PHP by Niroj
• 82,800 points
13,937 views
0 votes
1 answer

How to edit files in the AWS S3 bucket from CLI?

Hi@akhtar, According to my knowledge,  you can't edit ...READ MORE

Jun 8, 2020 in AWS by MD
• 95,460 points
11,344 views
0 votes
1 answer

Error: Failed building wheel for MySql-Python

Hello @kartik, You need to install the following ...READ MORE

Jul 3, 2020 in Python by Niroj
• 82,800 points
10,293 views
+1 vote
1 answer
0 votes
1 answer

Why to use DB::raw inside DB::select in Laravel?

Hello @kartik, DB::raw() is used to make arbitrary SQL ...READ MORE

Oct 28, 2020 in Laravel by Niroj
• 82,800 points
5,197 views
0 votes
1 answer

Selenium WebDriver: I want to overwrite value in field instead of appending to it with sendKeys using Java

I think you can try to firstly ...READ MORE

Dec 3, 2020 in Selenium by Gitika
• 65,730 points
3,641 views
0 votes
1 answer

How to echo a MySQLi prepared statement?

Hello @kartik, I don't think you can - ...READ MORE

Nov 14, 2020 in PHP by Niroj
• 82,800 points
4,473 views
0 votes
0 answers

SRE-Docker Compose for CRON job

We had a task to Create a ...READ MORE

Feb 15, 2021 in Docker by anonymous

edited Mar 4, 2025 509 views
+1 vote
2 answers

Python error "Python: can't assign to literal"

The way you're assigning variables is not ...READ MORE

Jun 17, 2019 in Python by Priya
17,872 views
0 votes
1 answer

How do you wrap Laravel Eloquent ORM query scopes in parentheses when chaining?

Hello @kartik, You can generate parentheses by passing ...READ MORE

Dec 2, 2020 in Laravel by Niroj
• 82,800 points
3,684 views
0 votes
1 answer

How to open a URL in a new Tab using JavaScript or jQuery?

Hello @kartik, Use window.open(): var win = window.open('http://edureka.co/', '_blank'); if (win) ...READ MORE

Aug 25, 2020 in Java-Script by Niroj
• 82,800 points
7,951 views
0 votes
1 answer

How do I write to the console from a Laravel Controller?

Hello @kartik, This can be done with the ...READ MORE

Aug 11, 2020 in Laravel by Niroj
• 82,800 points
8,577 views
0 votes
1 answer

How do I find out my MySQL URL, host, port and username?

Hello @kartik, If you're already logged into the ...READ MORE

Aug 20, 2020 in PHP by Niroj
• 82,800 points
8,164 views
0 votes
1 answer

How to append text to an existing file in Java?

Java 7+ If you just need to do ...READ MORE

Dec 30, 2020 in Java by Gitika
• 65,730 points

edited Jul 6, 2023 by Khan Sarfaraz 2,448 views
0 votes
1 answer

How can I get the browser language in node.js?

Hello @kartik, You can use req.headers["accept-language"] to get the language/locale ...READ MORE

Oct 16, 2020 in Node-js by Niroj
• 82,800 points
5,693 views
0 votes
2 answers

How to create a floating button in Flutter?

Scaffold widget provides floatingActionButton property. You can ...READ MORE

Nov 9, 2020 in Others by Vijay
• 200 points
6,342 views
0 votes
2 answers

Java string to date conversion

We can convert String to Date in java using parse() method ...READ MORE

Dec 29, 2020 in Java by Nikita
2,473 views
+2 votes
1 answer

ERROR: (gcloud.compute.ssh) Could not fetch resource:The resource 'projects/nadeem-gcp-123456/zones/australia-southeast1-b/instances/myos' was not found

Hi@akhtar, You need to select your region properly ...READ MORE

Aug 24, 2020 in GCP by MD
• 95,460 points
7,917 views
+3 votes
4 answers

Not able to connect worker nodes to the swarm. Connection refused error

This definitely has to be a firewall issue. ...READ MORE

Apr 26, 2019 in Docker by Vaidya
22,047 views
0 votes
1 answer

How to load return array from a PHP file?

Hii @kartik, When an included file returns something, ...READ MORE

Nov 10, 2020 in PHP by Niroj
• 82,800 points
4,608 views
+1 vote
2 answers

ValueError: Not enough values to unpack

Make the following changes in your script, ...READ MORE

Jun 24, 2019 in Machine Learning by Omkar
• 69,180 points
21,621 views
0 votes
1 answer

How to validate exact words in Laravel?

Hello, Try this code: // option one: 'in' takes ...READ MORE

Dec 4, 2020 in Laravel by Niroj
• 82,800 points
3,554 views
0 votes
1 answer

ImportError: Import by filename is not supported

Instead of doing a import like __import__ you can ...READ MORE

Nov 26, 2020 in Python by Gitika
• 65,730 points
3,899 views
0 votes
1 answer

Name node is in safe mode. Not able to leave

In order to forcefully let the namenode ...READ MORE

Dec 7, 2020 in Big Data Hadoop by Gitika
• 65,730 points
3,415 views
0 votes
1 answer
0 votes
0 answers

a error while executing this Decision tree algorithm code NameError: name 'rows' is not defined

training_data = [     ["Green",3, 'Mango'],     ['Yellow',3,'Mango'],     ['Red',1, 'Grape'],     ['Red',1, 'Grape'],     ['Yellow',3,'Lemon'] ] header = ...READ MORE

Feb 13, 2021 in Python by Piyush

edited Mar 4, 2025 512 views
0 votes
1 answer

How node.js require all files in a folder?

Hello @kartik, When require is given the path ...READ MORE

Nov 26, 2020 in Node-js by Niroj
• 82,800 points
3,880 views
0 votes
0 answers

How to handle "Plugin blocked" pop up using selenium python ?

I am trying to automate web application ...READ MORE

Jan 4, 2021 in Selenium by kiran
• 120 points
2,239 views
0 votes
1 answer

An error occurred (AccessDenied) when calling the CreateBucket operation: Access Denied

Hi@akhtar, You are getting this error because your ...READ MORE

Oct 7, 2020 in AWS by MD
• 95,460 points
6,052 views
0 votes
1 answer

ERROR: Could not install packages opencv-contrib-python due to an EnvironmentError: [WinError 5] Access is denied:

Hi@akhtar, I think you are trying to install ...READ MORE

Apr 20, 2020 in Machine Learning by MD
• 95,460 points
13,391 views
+2 votes
3 answers
0 votes
1 answer

What is the difference between the Jenkins jobs which are in workspace directory and jobs directory

Hi@Shashi, These folders have different meanings in Jenkins. If ...READ MORE

Oct 21, 2020 in Jenkins by MD
• 95,460 points
5,433 views
0 votes
0 answers

how to compare 2 files on two remote hosts using Ansible playbook?

I am having 2 json files on ...READ MORE

Feb 11, 2021 in Others by Bhima

edited Mar 4, 2025 582 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
4,159 views
0 votes
1 answer

How to run process with realtime output in PHP?

Hello @kartik, This worked for me: $cmd = "ping ...READ MORE

Oct 20, 2020 in PHP by Niroj
• 82,800 points
5,478 views
0 votes
1 answer

Call a function from another file?

There isn't any need to add file.py while importing. ...READ MORE

Jan 5, 2021 in Python by Gitika
• 65,730 points
2,149 views
0 votes
1 answer

How to import a module given the full path?

For Python 3.5+ use: import importlib.util spec = importlib.util.spec_from_file_location("module.name", ...READ MORE

Nov 25, 2020 in Python by Gitika
• 65,730 points
3,931 views
0 votes
1 answer

How do you check if a field is not null with Eloquent?

Hello @kartik, Simply,we can use Model::whereNotNull('sent_at'); Or Model::whereRaw('sent_at is not null'); Thank ...READ MORE

Nov 11, 2020 in Laravel by Niroj
• 82,800 points
4,513 views
0 votes
1 answer

An error occurred (BadRequestException) when calling the UpdateRestApi operation: Invalid patch path /tags/keytest.

Hi@akhtar, You need to use the tag-resource method instead ...READ MORE

Dec 8, 2020 in AWS by MD
• 95,460 points
3,335 views
0 votes
1 answer

How to get changes from master branch to a new branch in Git?

Hi@akhtar, You need to check out the branch and ...READ MORE

Jan 4, 2021 in Git & GitHub by MD
• 95,460 points
2,168 views
0 votes
1 answer

Slicer with conditions - if value selected,select related values

I assume that both tables are unrelated ...READ MORE

Nov 12, 2020 in Power BI by Gitika
• 65,730 points
4,459 views
0 votes
1 answer

bad permissions: ignore key: .ssh/my_private_key.pem Permission denied (publickey).

Hi@akhtar, In your error message it shows you ...READ MORE

Apr 28, 2020 in AWS by MD
• 95,460 points
13,013 views