Custom Query (1174 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (256 - 258 of 1174)

Ticket Resolution Summary Owner Reporter
#1034 fixed "addmedia" command doesn't handle UTF8 titles/descriptions Matt Molyneaux
Description

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/__init__.py", line 124, in main_cli
    args.func(args)
  File "/home/gmg/mediagoblin/mediagoblin/gmg_commands/addmedia.py", line 95, in addmedia
    title=maybe_unicodeify(args.title),
  File "/home/gmg/mediagoblin/mediagoblin/gmg_commands/addmedia.py", 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.

#1041 wontfix Celery 3.1 is the last version to officially support Python 2.6 Matt Molyneaux
Description

Similar to #966

Celery 3.2 or 4.0 or whatever it becomes hasn't been released yet, but Ask is planning on dropping Python 2.6

See the note on dropped 2.5 support ​here

This is more of an FYI than an actual bug.

#1096 fixed User registration form is too strict with usernames Matt Molyneaux
Description

Usernames with "-" (dash) are disallowed. The current regex in normalize_user_or_email_field is:

\w+$

This does allow underscores are fine with this regex though!

./bin/gmg adduser allow usernames with dashes, so either validation needs to happen there or the restriction needs to be lifted in the form.

Batch Modify
Note: See TracBatchModify for help on using batch modify.
Note: See TracQuery for help on using queries.