Custom Query (1174 matches)

Filters
 
Or
 
  
 
Columns

Show under each result:


Results (307 - 309 of 1174)

Ticket Resolution Summary Owner Reporter
#919 fixed Do not use super(self.__class__) Elrond
Description

Some places in the code use something like

class B(A):
    def __init__(self):
        super(self.__class__, self).__init__()

This seems to work, until someone creates a subclass.

Please fix all of those.

Either use

    def __init__(self):
        A.__init__(self)

or

    def __init__(self):
        super(B, self).__init__()
#5622 duplicate Doc update - pyexiv2 thomzane
Description

​https://mediagoblin.readthedocs.io/en/stable/siteadmin/media-types.html (docs/source/siteadmin/media-types.rst) says to install python3-pyexiv2, but I do not see python3-pyexiv2 as a Debian package.

There is a python-pyexiv2 in the Debian repos and pyexiv2 in pypi. Looks like python3-pyexiv2 should be python-pyexiv2. If that is correct, this command should fix it:

sed -i 's/python3-pyexiv2/python-pyexiv2/' docs/source/siteadmin/media-types.rst

#40 FIXED Document how to run without dev environment Sam Kleinman Sebastian Spaeth
Description

The current docs show nicely how to set up a dev environment, however it is not clear how to set up the thing in a non-dev way (I guess that is the "deployment" docs, right?)

Here are some things to consider when writing this. I got it up and running in Ubuntu Maverick in a non-dev way. I had to install some things with "pip" and used the distribution packages whenever possible.

So stuff that needs documentation:

paster running on port 80 is not possible without having the whole thing running as root. Which will then require to also have celeryd running as root, as it needs to delete files that paster put there. I solved this in a very hackish way with "Capabilities" on Linux. Downside is, I had to grant /usr/bin/python the permission to access ports <1024. I achieved this with

sudo setcap 'cap_net_bind_service=+ep' /usr/bin/python2.6

(not saying we should recommend that to anyone. I guess we will propose to run this as a local user on a nonpriviledged port and proxy it through nginx or so.

Anyway, it runs beautiful as www-data on my server now.

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