Custom Query (1168 matches)


Show under each result:

Results (13 - 15 of 1168)

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Ticket Resolution Summary Owner Reporter
#1034 fixed "addmedia" command doesn't handle UTF8 titles/descriptions Matt Molyneaux

When adding media via the commandline, UTF8 characters in either --title or --description cause a UnicodeDecodeError:

(mediagoblin)[gmg@dichromate mediagoblin]$ gmg addmedia moggers87 doge.png --title "test ß"
Traceback (most recent call last):
  File "/home/gmg/mediagoblin/bin/gmg", line 9, in <module>
    load_entry_point('mediagoblin==0.7.0', 'console_scripts', 'gmg')()
  File "/home/gmg/mediagoblin/mediagoblin/gmg_commands/", line 124, in main_cli
  File "/home/gmg/mediagoblin/mediagoblin/gmg_commands/", line 95, in addmedia
  File "/home/gmg/mediagoblin/mediagoblin/gmg_commands/", line 88, in maybe_unicodeify
    return unicode(some_string)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 5: ordinal not in range(128)

The cause of this error is in the maybe_unicodify method here. Python 2 defaults to decoding strings to Unicode as ASCII - simply adding "utf8" as the second argument will solve this issue.

#173 FIXED "atom feed" copy should be capitalized Jef van Schendel Karen Rustad
In the contexts where the atom feed link appears, it's nearly
always on a page where all the other links are capitalized, which
makes "atom feed" stick out like a sore thumb. Let's change it to
"Atom feed" -- or, even better, replace it with a little feed icon
(with alt text, of course).

#1022 no-action "batchaddmedia" only supports CSV Matt Molyneaux

Personal preferences aside, this would just be nice to have.

Support for JSON (maybe other formats too?) would be trivial to implement. Especially so for JSON, as Python has all the UTF-8 encoding magic build in.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.