Custom Query (1173 matches)
Results (157 - 159 of 1173)
Ticket | Resolution | Summary | Owner | Reporter |
---|---|---|---|---|
#196 | FIXED | Change storage configuration in .ini | ||
Description |
The current configuration for the storage looks like this: :: [mediagoblin] publicstore_class = StorageBackend publicstore_base_dir = %(here)s/user_dev/media/public publicstore_base_url = /mgoblin_media/ publicstore_password = secret Instead I suggest an alternative configuration scheme: :: [storage:publicstore] class = StorageBackend base_dir = %(here)s/user_dev/media/public base_url = /mgoblin_media/ password = secret I implemented this on my dev/storage\_config branch. There is also an other config option with configobj, sub sub sections: :: [storage] [ [ publicstore ] ] base_dir = %(here)s/user_dev/media/public base_url = /mgoblin_media/ [ [ queuestore ] ] base_dir = %(here)s/user_dev/media/queue I don't know, if this one is "better". I would prefer the first one. |
|||
#198 | FIXED | Actively create MediaEntry ObjectId() instead of relying on entry.save() to make it | ||
Description |
Currently we use .save() to generate the ObjectId, but this is silly, and actually can cause an error when there already exists something with the same slug (and our auto-slug-generation tool might not catch it). We should do ['\_id] = ObjectId() instead to explicitly create this. |
|||
#199 | FIXED | buildout problems: ImportError: No module named ez_setup | ||
Description |
I did "python bootstrap.py && ./bin/buildout" and got this: ... Getting distribution for 'PasteScript'. Traceback (most recent call last): File "", line 1, in File "build/bdist.linux-i686/egg/setuptools/command/easy\_install.py", line 1712, in main File "build/bdist.linux-i686/egg/setuptools/command/easy\_install.py", line 1700, in with\_ei\_usage File "build/bdist.linux-i686/egg/setuptools/command/easy\_install.py", line 1716, in File "/usr/lib/python2.7/distutils/core.py", line 152, in setup dist.run\_commands() File "/usr/lib/python2.7/distutils/dist.py", line 953, in run\_commands self.run\_command(cmd) File "/usr/lib/python2.7/distutils/dist.py", line 972, in run\_command cmd\_obj.run() File "build/bdist.linux-i686/egg/setuptools/command/easy\_install.py", line 211, in run File "build/bdist.linux-i686/egg/setuptools/command/easy\_install.py", line 427, in easy\_install File "build/bdist.linux-i686/egg/setuptools/command/easy\_install.py", line 476, in install\_item File "build/bdist.linux-i686/egg/setuptools/command/easy\_install.py", line 655, in install\_eggs File "build/bdist.linux-i686/egg/setuptools/command/easy\_install.py", line 930, in build\_and\_install File "build/bdist.linux-i686/egg/setuptools/command/easy\_install.py", line 919, in run\_setup File "build/bdist.linux-i686/egg/setuptools/sandbox.py", line 62, in run\_setup File "build/bdist.linux-i686/egg/setuptools/sandbox.py", line 105, in run File "build/bdist.linux-i686/egg/setuptools/sandbox.py", line 64, in File "setup.py", line 1, in # GNU MediaGoblin -- federated, autonomous media hosting ImportError: No module named ez\_setup An error occurred when trying to install PasteScript 1.7.4. Look above this message for any errors that were output by easy\_install. While: Installing. Getting section make\_user\_dev\_dirs. Initializing section make\_user\_dev\_dirs. Installing recipe mediagoblin. Getting distribution for 'PasteScript'. Error: Couldn't install: PasteScript 1.7.4 Chris said to try bootstrap.py with the --distribute option. That worked fine. This bug is for: 1. figuring out what happened 2. fixing the hacking howto so it's clearer about working around issues and using --distribute |
Note:
See TracQuery
for help on using queries.