#58 Traceback: MemoryError
Closed: Invalid Opened by mciahdenn.

Updated design.git with issue :339/486
Traceback (most recent call last):
File "/home/micah/import/bin/pgimport", line 11, in
sys.exit(app())
File "/home/micah/import/lib/python2.7/site-packages/click/core.py", line 716, in call
return self.main(args, kwargs)
File "/home/micah/import/lib/python2.7/site-packages/click/core.py", line 696, in main
rv = self.invoke(ctx)
File "/home/micah/import/lib/python2.7/site-packages/click/core.py", line 1060, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/micah/import/lib/python2.7/site-packages/click/core.py", line 889, in invoke
return ctx.invoke(self.callback,
ctx.params)
File "/home/micah/import/lib/python2.7/site-packages/click/core.py", line 534, in invoke
return callback(
args, kwargs)
File "/home/micah/import/lib/python2.7/site-packages/pagure_importer/commands/fedorahosted.py", line 31, in fedorahosted
trac_importer.import_issues(repo_name=repo_name, repo_folder=REPO_PATH)
File "/home/micah/import/lib/python2.7/site-packages/pagure_importer/utils/importer_trac.py", line 66, in import_issues
pagure_issue = self.create_issue(ticket_id)
File "/home/micah/import/lib/python2.7/site-packages/pagure_importer/utils/importer_trac.py", line 98, in create_issue
ticket_id, filename)['jsonclass'][1].replace('\n', '')
File "/home/micah/import/lib/python2.7/site-packages/pagure_importer/utils/importer_trac.py", line 40, in request
resp = resp.json()
File "/home/micah/import/lib/python2.7/site-packages/requests/models.py", line 818, in json
self.content.decode(encoding),
kwargs
File "/usr/lib64/python2.7/json/init.py", line 339, in loads
return _default_decoder.decode(s)
File "/usr/lib64/python2.7/json/decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib64/python2.7/json/decoder.py", line 380, in raw_decode
obj, end = self.scan_once(s, idx)
MemoryError


Can I know which fedorahosted project you are trying to import ? so I can reproduce the issue ?

Can I know which fedorahosted project you are trying to import ? so I can reproduce the issue ?

https://fedorahosted.org/design-team/

I ran it on my local machine and it worked. Don't have upload bandwidth to push back to pagure though.
I got this trying to import to my VPS and so I can push from there.

the design team trac is quite big, I suspect there is a lot of attachment. So you might be filling your /tmp partition.

You can export TEMPDIR env variable to an other directory ( your home fore example).

the design team trac is quite big, I suspect there is a lot of attachment. So you might be filling your /tmp partition.
You can export TEMPDIR env variable to an other directory ( your home fore example).

Tried using a different directory for TMPDIR, got same error.

I upgraded the server from 512MB to 4GB RAM and it works now.

Maybe was an issue with tmpfs only letting you use half the system memory but I don't know enough about it to say for sure.

@mciahdenn Are you happy for this issue to be close then ?

@mciahdenn Are you happy for this issue to be close then ?
Yes please

@cverna changed the status to Closed

Metadata