Coder Social home page Coder Social logo

Comments (1)

mh-github avatar mh-github commented on July 3, 2024

Yes, for me too the program populate_moviegeek.py failed due to the long title "Lethal Kittens...." and I had to make the change that @MostafaNegim mentioned to fix the error. The actual error message in my Anaconda Prompt (on Windows) is:

[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
populate()
File "populate_moviegeek.py", line 63, in populate
create_movie(m[0], m[1], m[2])
File "populate_moviegeek.py", line 28, in create_movie
movie.save()
File "C:\tools\Anaconda3\envs\prs\lib\site-packages\django\db\models\base.py", line 741, in save
force_update=force_update, update_fields=update_fields)
File "C:\tools\Anaconda3\envs\prs\lib\site-packages\django\db\models\base.py", line 779, in save_base
force_update, using, update_fields,
File "C:\tools\Anaconda3\envs\prs\lib\site-packages\django\db\models\base.py", line 851, in _save_table
forced_update)
File "C:\tools\Anaconda3\envs\prs\lib\site-packages\django\db\models\base.py", line 900, in _do_update
return filtered._update(values) > 0
File "C:\tools\Anaconda3\envs\prs\lib\site-packages\django\db\models\query.py", line 760, in _update
return query.get_compiler(self.db).execute_sql(CURSOR)
File "C:\tools\Anaconda3\envs\prs\lib\site-packages\django\db\models\sql\compiler.py", line 1469, in execute_sql
cursor = super().execute_sql(result_type)
File "C:\tools\Anaconda3\envs\prs\lib\site-packages\django\db\models\sql\compiler.py", line 1140, in execute_sql
cursor.execute(sql, params)
File "C:\tools\Anaconda3\envs\prs\lib\site-packages\django\db\backends\utils.py", line 99, in execute
return super().execute(sql, params)
File "C:\tools\Anaconda3\envs\prs\lib\site-packages\django\db\backends\utils.py", line 67, in execute
return self._execute_with_wrappers(sql, params, many=False, executor=self._execute)
File "C:\tools\Anaconda3\envs\prs\lib\site-packages\django\db\backends\utils.py", line 76, in _execute_with_wrappers
return executor(sql, params, many, context)
File "C:\tools\Anaconda3\envs\prs\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
return self.cursor.execute(sql, params)
File "C:\tools\Anaconda3\envs\prs\lib\site-packages\django\db\utils.py", line 89, in exit
raise dj_exc_value.with_traceback(traceback) from exc_value
File "C:\tools\Anaconda3\envs\prs\lib\site-packages\django\db\backends\utils.py", line 84, in _execute
return self.cursor.execute(sql, params)
django.db.utils.DataError: value too long for type character varying(128)

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

from moviegeek.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.