Questions tagged [loaddata]
193 questions
2
votes
2 answers
Android v2.2-2.3.5: WebView : loadDataWithBaseURL : will only load page once
When I'm loading a page using .loadData or .loadDataWithBaseURL, the system will load a page once.
After that, subsequent calls do not work.
In 4.0.3, if I were to call the function a second time with new data, it does change.
How can I fix this for…

mcollard
- 161
- 1
- 12
2
votes
1 answer
How to write a for loop to read in excel files into Python
I have 10 excel workbooks (data1.xlsx ~ data10.xlsx), each of which has multiple sheets. I'd like to write a for loop to read in Q4 tabs for each workbook so that I don't have to write repeating codes like what I have below.
data1 =…

Jiamei
- 405
- 3
- 14
2
votes
1 answer
How to customize Django loaddata so can perform logic before loading the model data
I backed up DB with manage.py dumpdata, I now have a file I wish to use with manage.py loaddata, but I wish to perform some customised logic to the data before loading it. This is because I am migrating the data to a different structure. How does…

run_the_race
- 1,344
- 2
- 36
- 62
2
votes
3 answers
I have problem in loading my data set in Tensorflow (python 3.7)
I am trying to load a dataset of images into tensorflow but I am facing a problem to load it properly. Actually, I have a folder named PetImages in C drive which contains two folders with the name of cat and dog. Each folder holds more 12450 images…

Israr Ahmad
- 53
- 8
2
votes
1 answer
Django 2.0 SQLite3 to MySQL loaddata error: "The database backend does not accept 0 as a value for AutoField."
I am attempting to transfer a database from sqlite to mysql.
I've googled this error and found Stack Overflow matches, but havent seen how to debug/identify the offending "0 value AutoField" fields. I've tried skirting the issue by dumping/loading…

fish
- 134
- 2
- 9
2
votes
0 answers
Django loaddata does not create m2m relations
I'm upgrade django from 1.8.4 to 1.11.6 and encountered problem. I have two models:
from django.db import models
class File(models.Model):
title = models.CharField(max_length=128, verbose_name=_('title'))
description = models.CharField(
…

shdprogrammer
- 31
- 3
2
votes
3 answers
Load data into Hive with custom delimiter
I'm trying to create an internal (managed) table in hive that can store my incremental log data. The table goes like this:
CREATE TABLE logs (foo INT, bar STRING, created_date TIMESTAMP)
ROW FORMAT DELIMITED
FIELDS TERMINATED BY '<=>'
STORED AS…

shriyog
- 938
- 1
- 13
- 26
2
votes
1 answer
openlayers loading strategy geojson with different resolutions
I'm trying to load geojson data with openlayers 3. It's a lot of date, so I want to transfer just the data needed. I archived this by passing resulution and extent of the current view to the webservice. This is my code so far:
var vectorSource = new…

heinzwilli
- 247
- 1
- 3
- 9
2
votes
2 answers
Django loaddata command on cygwin returns an error when installing fixtures (SQLite3 database)
I've updated cygwin and python on cygwin to 2.7 and now I cannot load any json files to the database using the loaddata management command in Django. (Using SQLite3 as a database backend)
It works for a fixture that has only one instance of data. If…

johnny
- 165
- 1
- 7
2
votes
2 answers
How do I load data into Win Bugs from Excel or from Notepad (doc ending with .txt)?
I need to load some data into WinBugs from Excel and for some reason, Winbugs doesn't recognize it. There are many things I have tried (all of which are listed below) and none of these work.
I tried to copy from Excel and 'Paste Special' as 'Plain…

Exodia16
- 177
- 2
- 6
- 14
2
votes
2 answers
ExtJS Ext.data.JsonStore loadData
Can you help me solve the issue I'm running into with the loadData function as part of the Ext.data.JsonStore? I've created a basic example of the problem I'm running into:

abeauchamp
- 825
- 2
- 18
- 29
2
votes
1 answer
Is there any way to load data while scrolling in jquery for Iphone (mobile websites)
Is there any way to load data while scrolling in jquery for Iphone (mobile websites).
This example works in Safari, Chrome but not in the iPhone:
http://www.webresourcesdepot.com/dnspinger/
Thanks

Bob Nowak
- 21
- 2
1
vote
1 answer
MVC3 Aspose error on LoadData
I have an MVC3 C#.Net web app. I am using the Aspose library to read an Excel file using the WorkBook.LoadData() method. I am able to Load a file from my local machine when running in Visual Studio. I am able to load a file from the web server…

MikeTWebb
- 9,149
- 25
- 93
- 132
1
vote
2 answers
Unable to load fixture for through model django
What I am trying to do?
I have created a fixture for a through model and now I want to load it in my database.
What is the problem?
While loading the fixture using Django loaddata command for through model I get this…

Ahtisham
- 9,170
- 4
- 43
- 57
1
vote
1 answer
Django dumpdata-loaddata error serializing custom class: ' Syntax error near "F" '
I'm trying to create a set of fixtures from my database using the dumpdata command provided by Django. I want to be able to load these fixtures using the loaddata command.
One of the Models I'm trying to dump has a custom field: particularly, I'm…

jorgmo02
- 41
- 7