Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8063595
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T11:05:41+00:00 2026-06-05T11:05:41+00:00

As a learning project, I am using django-nonrel with the GAE to design a

  • 0

As a learning project, I am using django-nonrel with the GAE to design a site with as much data as possible about the NBA. As such, I need to prepopulate my database (I’m using the GAE-datastore) with most of the data using a fixture, as entering info for 400+ players by hand is simply unthinkable. To that end I’ve created a .yaml fixture with the following format (taken straight from the django docs example):

- model: players.player
  pk: 1
  fields: 
    team:  10
    first_name:  Jeff
    last_name:  Adrien
    age:  25
    pos:  SF
    gp:  8

- model: players.player
  pk: 2
  fields: 
    team:  7
    first_name:  Arron
    last_name:  Afflalo
    age:  26
    pos:  SG
    gp:  32

Unfortunately, when I run “python manage.py remote loaddata nbadata.yaml’, it only loads around the first 190 players (I say around because the first time it loaded 190, the second time it loaded 186) before crapping out and giving me the following error message:

File "/usr/local/google_appengine/lib/fancy_urllib/fancy_urllib/__init__.py", 
line 367, in do_open
raise url_error
URLError: <urlopen error [Errno 101] Network is unreachable>

Does anyone know what’s going on, and whether there is a solution?

UPDATE: I changed the name of my .yaml file to ‘initial_data.yaml’ to see if the automatic load would fare better during the syncdb portion of the ‘python manage.py deploy’ process. I got the following result:

Running syncdb.
Creating tables ...
Installing custom SQL ...
Installing indexes ...
Installed 448 object(s) from 1 fixture(s)

However, when I look in the datastore, there are still only 186 players! Does anyone know what’s going on??

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-05T11:05:42+00:00Added an answer on June 5, 2026 at 11:05 am

    The remote API makes an HTTP request to upload each HTTP entity. At some point, your network connection is failing, and the entire operation fails.

    Can think of two solutions, but neither is particularly easy:
    – Find a better internet connection.
    – Patch the fixture upload code in django-nonrel to do some automatic retrying instead of failing.

    I’m not certain, but I don’t think syncdb really works on production, I believe it just runs against the local datastore, that’s why you see that succeeding.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

So, Im learning django from djangobook.com and a bit confused about the project skeleton
I am using the django 1.3 on trunk, and start learning about class views.
I'm using MapXtreme 2008 v7 for a learning project, and was wondering is there
I am trying to learn about XML literals in VB. In a learning project
I'm working on a project in C#, it's about E-learning.This project should use plug-ins
For learning purposes I created a toy project using grails. In this project I
I'm learning how to consume web services for a student project using the iPhone.
I'm considering a personal learning project. Using .NET(preferably VB) I want to build a
I am learning Java using Eclipse - started a project with javax.swing and could
I am using MongoDB in our project and I'm currently learning how things work.

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.