Plan day one
Since I've used Python+pygame quite a lot in combination with py2exe before, to create a distributable .zip for windows, I'm quite comfortable with starting out coding only on Ubuntu.So today I'll try to get a pygame window up, extending the skellington-project. Then I'll try to make an upload to this site, and a screenshot.
I'm happy if I get that far today, since I've got some other things to attend to also.
(log in to comment)
Comments
empty-skellington.zip" is empty?
Is there a chance that "$ ls -sh empty-skellington.zip
4,0K empty-skellington.zip
For example, screenshot upload row:
$ python pyweek-upload.py -uobjarni -p*********** -dUpload -cscreenshot1.png -eob01 -s
.. gives me:
Traceback (most recent call last):
File "pyweek-upload.py", line 196, in <module>
http_request(data, host, port, url)
File "pyweek-upload.py", line 127, in http_request
data = mimeEncode(data)
File "pyweek-upload.py", line 35, in mimeEncode
if value and value[-1] == '\r':
TypeError: 'int' object is unsubscriptable
I must be making some really silly mistake. Oh well, should have tried this out *before* the challenge week. Kind of frustrating.
I've just released skellington 1.9 which has the fixed pyweek-upload.py script. The fixed script is also available on the help page.
objarni on 2010/03/28 08:36:
Downloaded the skellington.zip, unpacked it, and used the create_upload.py to create a "skellington" upload. Really intuitive and nice!But I failed to upload:
$ python pyweek-upload.py -u objarni -p [censored] -d "Empty skellington upload" -c empty-skellington.zip -e skellington
Traceback (most recent call last):
File "pyweek-upload.py", line 196, in <module>
http_request(data, host, port, url)
File "pyweek-upload.py", line 127, in http_request
data = mimeEncode(data)
File "pyweek-upload.py", line 35, in mimeEncode
if value and value[-1] == '\r':
TypeError: 'int' object is unsubscriptable