Just a little more info, here are some specs for successes and failures:

Microformats.zip 4Kb ok

SIMBL.tbz 28Kb Error uploading file. Check your configuration and try again. XMLRPC::FaultException

SurveyGizmo-Plugin.zip 12Kb ok

garyscookbook_2_1.zip 332Kb ok

KeyCue21-Install.dmg 596 Kb Error uploading file. Check your configuration and try again. XMLRPC::FaultException

KeyCue21-Install.dmg.zip 584Kb Ok (I just made an archive from the above file)

Any file larger than that gets this:

/usr/lib/ruby/1.8/xmlrpc/client.rb:535:in /bin/bash: -c: line 1: unexpected EOF while looking for matching `''
/bin/bash: -c: line 3: syntax error: unexpected end of filecall2'
from /usr/lib/ruby/1.8/xmlrpc/client.rb:399:in /bin/bash: -c: line 1: unexpected EOF while looking for matching `''
/bin/bash: -c: line 3: syntax error: unexpected end of filenewMediaObject'
from /Users/brett/Library/Application Support/TextMate/Pristine Copy/Bundles/Brett Terpstra’s Bundle.tmbundle/Support/lib/blogging.rb:833:in /bin/bash: -c: line 1: unexpected EOF while looking for matching `''
/bin/bash: -c: line 3: syntax error: unexpected end of filepopen'
from /Users/brett/Library/Application Support/TextMate/Support/lib/progress.rb:11:in /bin/bash: -c: line 1: unexpected EOF while looking for matching `''
/bin/bash: -c: line 3: syntax error: unexpected end of fileupload_file'
from /tmp/temp_textmate.AmdZT3:3

On Nov 2, 2006, at 5:48 AM, Brett Terpstra wrote:

I'm probably being daft about something, but could someone take a look at my modification to blogging.rb and tell me why it errors out on different files?  It seems to deal alright with small zip files, but files of type dmg or tbz or anything other than zip, or files larger than about 500k cause a variety of errors.  I'm not sure if the problem lies with Wordpress or my methods.

Thanks for any help.

Brett

http://pastie.textmate.org/20837


On Nov 2, 2006, at 1:22 AM, Daniel Käsmayr wrote:

Brett, 

thanks for correcting my quick hack… I was just happy that it works with my stuff and inserts markdown code.

but…

Am 2. Nov 2006 um 03:27 schrieb Brett Terpstra:

I've got a working version right now but am adding some of the above ideas. If anyone is interested I'll tweak it up and send it along to add to the discussion.

…you definitely should post your superified version of it! ;)

Dan

PS: can I have a birthday edition of TM?

______________________________________________________________________
For new threads USE THIS: textmate@lists.macromates.com
(threading gets destroyed and the universe will collapse if you don't)

Brett Terpstra : Art Director
Circle Six Design, Inc.
111 Riverfront Dr, Suite 204
..................................................
p: 507.459.4398
    877.858.4332
f: 1.866.540.3063
..................................................



______________________________________________________________________
For new threads USE THIS: textmate@lists.macromates.com
(threading gets destroyed and the universe will collapse if you don't)
http://lists.macromates.com/mailman/listinfo/textmate

Brett Terpstra : Art Director
Circle Six Design, Inc.
111 Riverfront Dr, Suite 204
..................................................
p: 507.459.4398
    877.858.4332
f: 1.866.540.3063
e: brett@circlesixdesign.com
http://www.circlesixdesign.com
..................................................