Skip to content

Postgres Descriptor Indexing Fails #334

Description

@mattdawkins

2018-02-01 21:13:42.510 DEBUG compute_track_descriptors_process.cxx(186): Processing frame ts(f: 3, t: 1000000 (Wed Dec 31 19:00:01 1969), d: 0)
2018-02-01 21:13:42.510 DEBUG associate_detections_to_tracks_process.cxx(136): Processing frame ts(f: 2, t: 500000 (Wed Dec 31 19:00:00 1969), d: 0)
2018-02-01 21:13:42.520 DEBUG initialize_object_tracks_process.cxx(128): Processing frame ts(f: 2, t: 500000 (Wed Dec 31 19:00:00 1969), d: 0)
2018-02-01 21:13:44.199 DEBUG compute_track_descriptors_process.cxx(186): Processing frame ts(f: 2, t: 500000 (Wed Dec 31 19:00:00 1969), d: 0)
2018-02-01 21:13:44.199 DEBUG smqtk.representation.descriptor_index.postgres.PostgresDescriptorIndex(369): Adding many descriptors
Exception in thread smqtk_indexer:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 810, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 763, in run
self.__target(*self.__args, **self.__kwargs)
File "/home/matt/Dev/viame/build/install/lib/python2.7/dist-packages/sprokit/schedulers/pythread_per_process_scheduler.py", line 115, in _run_process
proc.step()
File "/home/matt/Dev/viame/build/install/lib/python2.7/dist-packages/viame/processes/smqtk/smqtk_ingest_descriptors.py", line 132, in _step
smqtk_descriptor_elements
File "/home/matt/Dev/viame/build/install/lib/python2.7/site-packages/smqtk/representation/descriptor_index/postgres.py", line 370, in add_many_descriptors
list(self.psql_helper.batch_execute(iter_elements(), exec_hook))
TypeError: batch_execute() takes at least 4 arguments (3 given)

2018-02-01 21:13:46.429 DEBUG compute_association_matrix_process.cxx(151): Processing frame ts(f: 3, t: 1000000 (Wed Dec 31 19:00:01 1969), d: 0)
2018-02-01 21:13:46.429 DEBUG compute_track_descriptors_process.cxx(186): Processing frame ts(f: 4, t: 1500000 (Wed Dec 31 19:00:01 1969), d: 0)
2018-02-01 21:13:46.430 DEBUG associate_detections_to_tracks_process.cxx(136): Processing frame ts(f: 3, t: 1000000 (Wed Dec 31 19:00:01 1969), d: 0)
2018-02-01 21:13:46.431 DEBUG initialize_object_tracks_process.cxx(128): Processing frame ts(f: 3, t: 1000000 (Wed Dec 31 19:00:01 1969), d: 0)
2018-02-01 21:13:49.693 DEBUG compute_track_descriptors_process.cxx(186): Processing frame ts(f: 3, t: 1000000 (Wed Dec 31 19:00:01 1969), d: 0)
2018-02-01 21:13:50.658 DEBUG compute_association_matrix_process.cxx(151): Processing frame ts(f: 4, t: 1500000 (Wed Dec 31 19:00:01 1969), d: 0)
2018-02-01 21:13:50.658 DEBUG compute_track_descriptors_process.cxx(186): Processing frame ts(f: 5, t: 2000000 (Wed Dec 31 19:00:02 1969), d: 0)
2018-02-01 21:13:50.659 DEBUG associate_detections_to_tracks_process.

On VIAME: next example/image_and_video_search/video_ingest/ bash ingest_video.sh this happens with current master

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions