Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Paste
P144
(An Untitled Masterwork)
Active
Public
Actions
Authored by
seirl
on Mar 14 2017, 2:55 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Flag For Later
Tags
None
Subscribers
None
Traceback (most recent call last):
File "/usr/lib/python3.5/runpy.py", line 193, in _run_module_as_main
"__main__", mod_spec)
File "/usr/lib/python3.5/runpy.py", line 85, in _run_code
exec(code, run_globals)
File "/home/seirl/swh-environment/swh-loader-git/swh/loader/git/loader.py", line 185, in <module>
print(loader.load(origin_url, directory, fetch_date))
File "/home/seirl/swh-environment/swh-loader-git/swh/loader/git/base.py", line 435, in load
self.send_all_releases(self.get_releases())
File "/home/seirl/swh-environment/swh-loader-git/swh/loader/git/base.py", line 375, in send_all_releases
send_in_packets(releases, self.send_releases, packet_size)
File "/home/seirl/swh-environment/swh-loader-git/swh/loader/git/base.py", line 40, in send_in_packets
sender(formatted_objects)
File "/home/seirl/swh-environment/.venv/lib/python3.5/site-packages/retrying.py", line 49, in wrapped_f
return Retrying(*dargs, **dkw).call(f, *args, **kw)
File "/home/seirl/swh-environment/.venv/lib/python3.5/site-packages/retrying.py", line 212, in call
raise attempt.get()
File "/home/seirl/swh-environment/.venv/lib/python3.5/site-packages/retrying.py", line 247, in get
six.reraise(self.value[0], self.value[1], self.value[2])
File "/home/seirl/swh-environment/.venv/lib/python3.5/site-packages/six.py", line 686, in reraise
raise value
File "/home/seirl/swh-environment/.venv/lib/python3.5/site-packages/retrying.py", line 200, in call
attempt = Attempt(fn(*args, **kwargs), attempt_number, False)
File "/home/seirl/swh-environment/swh-loader-git/swh/loader/git/base.py", line 298, in send_releases
self.storage.release_add(release_list)
File "/home/seirl/swh-environment/swh-storage/swh/storage/api/client.py", line 102, in release_add
return self.post('release/add', {'releases': releases})
File "/home/seirl/swh-environment/swh-core/swh/core/api.py", line 45, in post
raise pickle.loads(decode_response(response))
psycopg2.IntegrityError: null value in column "fullname" violates not-null constraint
DETAIL: Failing row contains (22024, null, null, null).
CONTEXT: SQL statement "with t as (
select distinct author_fullname as fullname, author_name as name, author_email as email from tmp_release
) insert into person (fullname, name, email)
select fullname, name, email from t
where not exists (
select 1
from person p
where t.fullname = p.fullname
)"
PL/pgSQL function swh_person_add_from_release() line 3 at SQL statement
SQL statement "SELECT swh_person_add_from_release()"
PL/pgSQL function swh_release_add() line 3 at PERFORM
python3 -m swh.loader.git.loader linuxrc ~/contrib/linux-rc 1788.64s user 65.16s system 23% cpu 2:14:04.66 total
Event Timeline
seirl
created this paste.
Mar 14 2017, 2:55 PM
2017-03-14 14:55:36 (UTC+1)
Log In to Comment