Hi Dave, Thanks for the example export of a discussion.
Yes I do get an error. I get the following error after clicking the "Export"-Button at the admin section: Traceback (most recent call last): File "/home/fahri/env-allura/lib/python2.7/site-packages/tg/wsgiapp.py", line 120, in __call__ response = self.wrapped_dispatch(controller, environ, context) File "/home/fahri/env-allura/lib/python2.7/site-packages/tg/wsgiapp.py", line 285, in _dispatch return controller(environ, context) File "/home/fahri/env-allura/lib/python2.7/site-packages/tg/controllers/dispatcher.py", line 119, in __call__ response = self._perform_call(context) File "/home/fahri/src/fahri-allurafork/Allura/allura/lib/base.py", line 42, in _perform_call return super(WsgiDispatchController, self)._perform_call(context) File "/home/fahri/env-allura/lib/python2.7/site-packages/tg/controllers/dispatcher.py", line 108, in _perform_call r = self._call(action, params, remainder=remainder, context=context) File "/home/fahri/env-allura/lib/python2.7/site-packages/tg/controllers/decoratedcontroller.py", line 131, in _call output = controller_caller(context_config, bound_controller_callable, remainder, params) File "/home/fahri/env-allura/lib/python2.7/site-packages/tg/decorators.py", line 44, in _decorated_controller_caller return application_controller_caller(tg_config, controller, remainder, params) File "/home/fahri/env-allura/lib/python2.7/site-packages/tg/configuration/app_config.py", line 127, in call_controller return controller(*remainder, **params) File "/home/fahri/src/fahri-allurafork/Allura/allura/ext/admin/admin_main.py", line 680, in export "$project": {"_id": 0, "total_size": {"$divide": ["$total_size", 1000000]}} File "/home/fahri/env-allura/lib/python2.7/site-packages/timermiddleware/__init__.py", line 120, in wrapper return self.run_and_log(func, inst, *args, **kwargs) File "/home/fahri/env-allura/lib/python2.7/site-packages/timermiddleware/__init__.py", line 151, in run_and_log retval = func(*args, **kwargs) File "/home/fahri/env-allura/lib/python2.7/site-packages/pymongo/collection.py", line 1397, in aggregate "aggregate", self.__name, **command_kwargs) File "/home/fahri/env-allura/lib/python2.7/site-packages/pymongo/database.py", line 345, in _command msg, allowable_errors) File "/home/fahri/env-allura/lib/python2.7/site-packages/pymongo/helpers.py", line 182, in _check_command_response raise OperationFailure(msg % errmsg, code, response) OperationFailure: command SON([('aggregate', u'attachment.files'), ('pipeline', [{'$match': {'_id': {'$in': []}}}, {'$group': {'total_size': {'$sum': '$length'}, '_id': 'total'}}, {'$project': {'total_size': {'$divide': ['$total_size', 1000000]}, '_id': 0}}])]) on namespace project-data.$cmd failed: The 'cursor' option is required, except for aggregate with the explain argument Am Sa., 18. Jan. 2020 um 00:08 Uhr schrieb Dave Brondsema < d...@brondsema.net>: > Hi Fahri, > > I saw your question on IRC about a forum export example, but then you > disconnected. Here's a *super simple* one you can start with. I can give > you more complex ones, with attachments, different users, etc, if you want. > Also what problem are you getting with your own export? Does the taskd > process log an error? > > Attachments: > > - test-discussion-backup.zip > > <https://forge-allura.apache.org/p/allura/tickets/_discuss/thread/64b57215/6e81/attachment/test-discussion-backup.zip> > (895 Bytes; application/zip) > > ------------------------------ > > * [tickets:#7935] <https://forge-allura.apache.org/p/allura/tickets/7935/> > Forum importer for allura's own export format* > > *Status:* open > *Milestone:* unreleased > *Labels:* import > *Created:* Tue Jul 21, 2015 06:53 PM UTC by Dave Brondsema > *Last Updated:* Sun Dec 15, 2019 03:16 AM UTC > *Owner:* nobody > ------------------------------ > > Sent from forge-allura.apache.org because dev@allura.apache.org is > subscribed to https://forge-allura.apache.org/p/allura/tickets/ > > To unsubscribe from further messages, a project admin can change settings > at https://forge-allura.apache.org/p/allura/admin/tickets/options. Or, if > this is a mailing list, you can unsubscribe from the mailing list. > --- ** [tickets:#7935] Forum importer for allura's own export format** **Status:** open **Milestone:** unreleased **Labels:** import **Created:** Tue Jul 21, 2015 06:53 PM UTC by Dave Brondsema **Last Updated:** Fri Jan 17, 2020 11:08 PM UTC **Owner:** nobody --- Sent from forge-allura.apache.org because dev@allura.apache.org is subscribed to https://forge-allura.apache.org/p/allura/tickets/ To unsubscribe from further messages, a project admin can change settings at https://forge-allura.apache.org/p/allura/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list.