Custom Query (1174 matches)
Results (157 - 159 of 1174)
| 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:
|
|||
