Open monegim opened 4 years ago
[15:44<00:08, 31.77it/s]Traceback (most recent call last): File "C:\tools\Anaconda3\envs\prs\lib\site-packages\django\db\backends\utils.py", line 84, in _execute return self.cursor.execute(sql, params) psycopg2.DataError: value too long for type character varying(128)
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "populate_moviegeek.py", line 69, in
Exception ignored in: <bound method tqdm.del of 99%|██████████████████████████████████████████████████████████████████████████████████████████▎| 36100/36384 [15:45<00:08, 31.77it/s]> Traceback (most recent call last): File "C:\tools\Anaconda3\envs\prs\lib\site-packages\tqdm_tqdm.py", line 931, in del self.close() File "C:\tools\Anaconda3\envs\prs\lib\site-packages\tqdm_tqdm.py", line 1133, in close self._decr_instances(self) File "C:\tools\Anaconda3\envs\prs\lib\site-packages\tqdm_tqdm.py", line 496, in _decr_instances cls.monitor.exit() File "C:\tools\Anaconda3\envs\prs\lib\site-packages\tqdm_monitor.py", line 52, in exit self.join() File "C:\tools\Anaconda3\envs\prs\lib\threading.py", line 1053, in join raise RuntimeError("cannot join current thread") RuntimeError: cannot join current thread
Some movie titles have more than 128 character like this(140 character): "Lethal Kittens or how we came to Love our Shovels during a Limited Anti-Terrorist Operation with Temporary Elements of a State of War (2020)". Following line in moviegeeks.models.py should change to something more like 256.
title = models.CharField(max_length=128)