Questions tagged [loaddata]
193 questions
4
votes
4 answers
Android: How can i show progress bar while loading data into WebView?
How can I show the progress bar while loading data into my webview?
My code :
public void onCreate(Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
this.requestWindowFeature(Window.FEATURE_PROGRESS);
…

yital9
- 6,544
- 15
- 41
- 54
4
votes
1 answer
Liquibase CSV loadData fails with quoted string containing a comma
I am trying to load CSV file into SQLserver table using Liquibase change log set.
When saved XLSX file as CSV file, column containing comma saved in double quotes (please see 3rd value below), this is fine as per standards but liquibase is ignoring…

SKARVA Bodavula
- 903
- 11
- 17
4
votes
1 answer
How to change the number of images to use for training and evaluating in tensorflow2.0?
The Fashion-MNIST dataset automatically returns 60,000 images for training and 10,000 images for evaluation. How do I change those numbers?
Here is my colab source code and the relevant part is:
fashion_mnist =…

ronm333
- 131
- 1
- 9
4
votes
1 answer
How to export BLOB type fields from GAE datastore?
So I want to export some data from GAE datastore, this is how I am trying to do it :
Creating a Cloud Datastore backup of the kind which I want to export.
Loading the backup in Google BigQuery
Exporting it from Google BigQuery
Everything works…

Ajinkya Salve
- 213
- 1
- 2
- 6
4
votes
1 answer
Django 1.6: How to ignore a fixture in python manage.py loaddata?
I need an answer for this, right now im doing this command:
python manage.py loaddata app/myapp/fixtures/* --settings=setting.develop
This works fine, but now i want to do this same command but ignoring or skiping a simple file inside…

C. Herrera
- 71
- 1
- 8
4
votes
2 answers
What is the fastest way to load data into Cassandra column-family
I created a Cassandra column-family and I need to load data from a CSV file for this column family. The csv file has a 15 Gb volume.
I am using the CQL 'COPY FROM' command but this takes a long time to make loading the data.
What is the…

Pedro Cunha
- 401
- 1
- 6
- 16
3
votes
1 answer
[django]Error: contenttypes couldn't be reset
I reset contenttypes prior to loading the fixture (Refer to Problems with contenttypes when loading a fixture in Django).
But contenttypes couldn't be reset:
...project_dir > manage.py reset contenttypes
You have requested a database reset. This…

Yuanzhong Deng
- 218
- 3
- 12
3
votes
1 answer
IntegrityError: (1062, "Duplicate entry '3-add_author' for key 2")
Database is MySQL.
I use the django.contrib.auth.
Here is all the info:
manage.py dumpdata auth > my_auth.json --natural --exclude contenttypes
Then I deleted the entire database (drop database my_database), and created a new database (create…

Yuanzhong Deng
- 218
- 3
- 12
3
votes
2 answers
ComboBox.store.loadData can't load single-item array
I am using ExtJS 3.4 .
I have a structure with data for combobox like this:
var a = [[1,"text1"],[2,"text2"]]
I load it like this:
ComboBox.store.loadData(a);
But when I have only 1 item in the array
var a = [[1,"text1"]]
then it doesn't load at…

Bogdan Verbenets
- 25,686
- 13
- 66
- 119
3
votes
2 answers
How to load data in tensorflow from subdirectories
I have a subset of ImageNet data contained in sub-folders locally, where each sub-folder represents a class of images. There are potentially hundreds of classes, and therefore sub-folders, and each subfolder can contain hundreds of images. Here is…

Jane Sully
- 3,137
- 10
- 48
- 87
3
votes
5 answers
Android webview not displaying '%' character
I have a WebView using following code:
WebView webView = new WebView(cont);
webView.loadData("Red 20%", "text/html", "utf-8");
It is having trouble showing the string. But if I remove the '%' character from the string it is showing properly. What…

dev_android
- 8,698
- 22
- 91
- 148
3
votes
3 answers
Django loaddata settings error
When trying to use loaddata on my local machine (win/sqlite):
python django-admin.py loaddata dumpdata.json
I get the following error:
raise ImportError("Settings cannot be imported, because environment variable %s is undefined." %…

Eeyore
- 2,126
- 7
- 33
- 49
3
votes
1 answer
Image cannot be zoomed in out when loaded into UIWebView
I have an image encoded in BASE64 which I retrieve from a server and than load into a UIWebView
with :
[webViewer loadData:[NSData decodeBase64ForString:imageData] MIMEType:@"image" textEncodingName:@"ASCII" baseURL:nil];
The image loads fine but…

Zigglzworth
- 6,645
- 9
- 68
- 107
3
votes
1 answer
SQL Load Data Special Characters
I'm trying to import data into SQL from a CSV in PHP My Admin so it may be a PHP My Admin problem. The problem i'm having is that some of the columns use special characters for instance:
"Adán, Antonio"
Ends up as just "Ad".
The column structure is…

Rob
- 73
- 1
- 5
3
votes
2 answers
Loading data from AWS S3 through Apache-Spark
I have written a python code to load files from Amazon Web Service (AWS) S3 through Apache-Spark. Specifically, the code creates RDD and load all csv files from the directory data in my bucket ruofan-bucket on AWS S3 using…

Ruofan Kong
- 1,060
- 1
- 17
- 34