Ok I know it's something really dumb but how to upload

106 views
Skip to first unread message

Tom Brander

unread,
Jan 18, 2009, 7:51:49 PM1/18/09
to Google App Engine
I have been working on a sample app for a while and now I'm finally
ready to go, I have been using Python 2.6.1 (could that be the issue?)
The local app server and my app are getting on fine. so I go to
appcfg.py update C:\Users\DadLaptop\Documents\tombrander I cannot
enter anything into the server window and neither the python gui nor
the python command line recognize the command. I have already created
the app, with the same name on my account.
>>> appcfg.py update C:\Users\DadLaptop\Documents\tombrander/
SyntaxError: invalid syntax
>>>
It has update highlighted in red...

Kajikawa Jeremy

unread,
Jan 18, 2009, 8:08:08 PM1/18/09
to google-a...@googlegroups.com
you use the command shell of Windows directly...
not inside the python interpreter.

it would be "C:\Program Files\Google\AppEngine\appcfg.py
--email=<user@domain> update C:\Users\DadLaptop\Documents\tombrander"

as a single line... I personally use Linux and have the devkit
unpacked in a folder
beside my working folders

"work/devkit" and my own site in "work/<sitename>"

then I can use "devkit/appcfg.py --email=<mygmailaddress> update
<sitename>"
while working in the "work" folder using bash
(linux equal to command.com for Windows)

I hope this helps somehow
Jeremy

> --~--~---------~--~----~------------~-------~--~----~
> You received this message because you are subscribed to the Google Groups "Google App Engine" group.
> To post to this group, send email to google-a...@googlegroups.com
> To unsubscribe from this group, send email to google-appengi...@googlegroups.com
> For more options, visit this group at http://groups.google.com/group/google-appengine?hl=en
> -~----------~----~----~----~------~----~------~--~---
>

signature.asc

Tom Brander

unread,
Jan 18, 2009, 8:40:08 PM1/18/09
to Google App Engine
Thank you for the quick reply, I could not get teh whole string to
take but I dis get a result from the windows cmd shell changesd to
root then did c:appcfg.py update c:\Users\DadLaptop\Documents
\tombrander
and that worked, using quotes around the whole string did not work for
some reason. There has got to be a better way!!!
Just this typing will be a real drag since the conventional Cntrl C
and Ctrl V don't work in cmd shell.. Back to the books, but then I
suppose the real solution it to pack the whole thing in a bat file!!
>  signature.asc
> < 1KViewDownload

Kajikawa Jeremy

unread,
Jan 18, 2009, 8:56:10 PM1/18/09
to google-a...@googlegroups.com
Your welcome

Im not staff...just someone who got past that hurdle and is on a later
one :)

Im just a little annoyed about the 1MB limitation since its blocking 2
files
for me to get a site online and working using GAE as they are slightly
larger
FLV's... beyond that I need to work out how to embed a complete forum
into
a single page somehow... fun fun fun.

J

signature.asc

djidjadji

unread,
Jan 19, 2009, 7:10:08 PM1/19/09
to google-a...@googlegroups.com
You can copy and paste by using the System menu of the window.
You can open this menu by using Alt-Space or click on the top left icon
in the titlebar (for a cmd window it is a small c:\) In this menu you find a
submenu for clipboard operations.
If you want to copy text to the clipboard you first have to "Mark" the
text and then press "enter".


2009/1/19 dartdog <dart...@gmail.com>:

James Ashley

unread,
Jan 20, 2009, 10:04:25 PM1/20/09
to Google App Engine
Those are all fine options. But the real answer is to write 2 or
3 .BAT files (start your server, upload, and *save to source control*
<-- that's the most important one) and install the Windows "Command
Prompt Here" extension.

:-/

Good luck,
James

On Jan 19, 6:10 pm, djidjadji <djidja...@gmail.com> wrote:
> You can copy and paste by using the System menu of the window.
> You can open this menu by using Alt-Space or click on the top left icon
> in the titlebar (for a cmd window it is a small c:\) In this menu you find a
> submenu for clipboard operations.
> If you want to copy text to the clipboard you first have to "Mark" the
> text and then press "enter".
>
> 2009/1/19 dartdog <dartd...@gmail.com>:
Reply all
Reply to author
Forward
0 new messages