On Friday, June 19, 2015 at 2:56:15 PM UTC-7, Christian Hammond wrote:
>
> Hi John,
>
> Django's dumpdata/loaddata cannot scale. Do you still have a copy of the 
> old database? We have replacements for loaddata/dumpdata that do scale.
>
> Are you trying to convert from one database type to another?
>
> Christian
>
>
> On Friday, June 19, 2015, John Schmitt <marma...@gmail.com <javascript:>> 
> wrote:
>
>> How do I work around this?
>>
>> # rb-site manage /var/www/reviews.tintri.com loaddata 
>>  /tmp/reviews-charles2_rb20_data.json                                       
>>                                                        
>> Traceback (most recent call last):
>>   File "/usr/bin/rb-site", line 9, in <module>
>>     load_entry_point('ReviewBoard==2.0.15', 'console_scripts', 'rb-site'
>> )()
>>   File "/usr/lib/python2.7/site-packages/reviewboard/cmdline/rbsite.py", 
>> line 1885, in main
>>     command.run()
>>   File "/usr/lib/python2.7/site-packages/reviewboard/cmdline/rbsite.py", 
>> line 1814, in run
>>     site.run_manage_command(args[0], args[1:])
>>   File "/usr/lib/python2.7/site-packages/reviewboard/cmdline/rbsite.py", 
>> line 662, in run_manage_command
>>     execute_from_command_line([__file__, cmd] + params)
>>   File 
>> "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", 
>> line 399, in execute_from_command_line
>>     utility.execute()
>>   File 
>> "/usr/lib/python2.7/site-packages/django/core/management/__init__.py", 
>> line 392, in execute
>>     self.fetch_command(subcommand).run_from_argv(self.argv)
>>   File "/usr/lib/python2.7/site-packages/django/core/management/base.py", 
>> line 242, in run_from_argv
>>     self.execute(*args, **options.__dict__)
>>   File "/usr/lib/python2.7/site-packages/django/core/management/base.py", 
>> line 285, in execute
>>     output = self.handle(*args, **options)
>>   File 
>> "/usr/lib/python2.7/site-packages/django/core/management/commands/loaddata.py"
>> , line 55, in handle
>>     self.loaddata(fixture_labels)
>>   File 
>> "/usr/lib/python2.7/site-packages/django/core/management/commands/loaddata.py"
>> , line 84, in loaddata
>>     self.load_label(fixture_label)
>>   File 
>> "/usr/lib/python2.7/site-packages/django/core/management/commands/loaddata.py"
>> , line 134, in load_label
>>     for obj in objects:
>>   File "/usr/lib/python2.7/site-packages/django/core/serializers/json.py"
>> , line 65, in Deserializer
>>     stream_or_string = stream_or_string.read()
>> MemoryError: Problem installing fixture 
>> '/tmp/reviews-charles2_rb20_data.json': 
>>
>>
> I'm not converting databases.  I do have a copy of the old database on the 
old installation.  

What are the replacements?  I'm moving from an old mysql-based installation 
to a new one.


 

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://www.reviewboard.org/users/
--- 
You received this message because you are subscribed to the Google Groups 
"reviewboard" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to