Note that there are some explanatory texts on larger screens.

plurals
  1. POGoogle App Engine: Upload data syntax?
    primarykey
    data
    text
    <p>I'm trying to use <code>appcfg.py</code> to upload to localhost/Google App Engine. I've basically been following these <a href="http://code.google.com/appengine/docs/python/tools/uploadingdata.html" rel="nofollow noreferrer">instructions</a> word for word, but now I'm having trouble.</p> <p>Here is the command I'm trying:</p> <pre><code>appcfg.py upload_data --app-id=appname --config_file="path\to\ItemLoader.py" --filename="path\to\data.csv" --kind=Item --url=http://localhost:8080/remote_api &lt;path\to\app&gt; </code></pre> <p>I get back:</p> <pre><code>The syntax of this command is incorrect. </code></pre> <p>What am I doing wrong?</p> <p><strong>UPDATE:</strong> Looks like I'm not actually supposed to include the &lt; > chars around the path to the app. Now I'm getting an error:</p> <pre><code>appcfg.py: error: no such option: --app-id </code></pre> <p><strong>UPDATE 2:</strong> I took out the <code>--app-id</code> parameter, and now another error:</p> <pre><code>appcfg.py: error: Expected &lt;directory&gt; argument </code></pre> <p>So... I do need the brackets?</p> <p><strong>UPDATE 3:</strong> Ok, it accepts the commands with quotes instead of brackets. But the development console at <code>http://localhost:8080/_ah/admin/datastore</code> shows that the Datastore is still empty. The following error was reported:</p> <pre><code>IOError: [Errno 13] Permission denied: `path\\to\\google\\SDK\\bulkloader-log-20100301.200921' </code></pre> <p><strong>UPDATE 4:</strong> It appears that it was a permissions error with my file system. I granted a bunch of permissions, and now it is complaining about the referenced scripts instead.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload