Recent Posts

Pages: 1 2 3 4 [5] 6 7 8 9 10
41
Ok, now everything clear, self explanatory. Just install psutil, in cmd, like:
Quote
pip install psutil

But now I'm wondering: if the script worked at some point, and then not, that doesn't seem plausible...
42
The result of running the script from cmd is:

Traceback (most recent call last):
  File "C:\Program Files\PVD_1.0.2.7_MOD-V20191020\PersonalVideoDB\Scripts\Selenium_Chrome_Movie_Additional_pages_v4.py", line 19, in <module>
    import psutil  # NEW: for precise process cleanup
    ^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'psutil'


The output of the next command is Python 3.14.4

The result of checking Chrome version is 147.0.7727.56
43
Support / Re: IMDb AddPersonMovie and AddMoviePerson issue
« Last post by afrocuban on April 18, 2026, 12:54:23 pm »
And when I run movie script again and switch to people view, I get green "Sterben" but as a duplicate of "Dying" as can be seen on the picture.


I have no idea how to start to debug this...


It's like AddMoviePerson procedure doesn't check for existing URLs of the movies in Filmography...


Also, it looks like AddPersonMovie updates person's record (which is proper and expected?), while AddMoviePerson completely replaces person's filmography record, which shouldn't be the case?
44
Support / IMDb AddPersonMovie and AddMoviePerson issue
« Last post by afrocuban on April 18, 2026, 12:52:50 pm »
When running AddPersonMovie procedure in people view (people script), it overrides what is previously added by AddMoviePerson in movie view (movie script) and in movie view that person is lost then because there is no connection now between the views.


Expected behavior would be when running AddPersonMovie after AddMoviePerson, only to add misssing entries added by AddMoviePerson, so movies in PVD would be green, and not existing in PVD would be red.


Currently, after running people script with AddPersonMovie, all "greens" vanish and the same movie becomes red, but not recognized as existing in database.


Any idea how to start to debug this, or it is PVD bug from the beginning?


Picture 0. After running movie script, director is there
Picture 1: After switching to people view then, "Sterben" is green, as the only entry of that director in my PVD
Picture 2. After running people script "Sterben" as green disapperas, and "Dying" appears as the same movie, but now as red.
Picture 3. Switching back to movie view, Matthias Glasner disappears as the director of "Sterben" and/or "Dying".
45
If after running your script /Tmp folder remains empty, it means you broke Selenium_Chrome_Base_page_v4.py script somehow, or you are running different versions of Chrome and chromedriver.


Run the script from cmd for example as (use your own paths):
Quote
python "C:\PersonalVideoDB\Scripts\Selenium_Chrome_Movie_Additional_pages_v4.py" https://www.imdb.com/title/tt0858568/ "C:\PersonalVideoDB\Scripts\Tmp\downpage-UTF8_NO_BOM.htm" ""


and copy/paste cmd output here.

Tell us what cmd output is of the cmd command is:
Quote
python --version

It has to be >= 3.12.x

To check Chrome version from cmd run:

Quote
reg query "HKCU\Software\Google\Chrome\BLBeacon" /v version
46
Empty /Tmp folder if it's already not. Run the script. Tell what hapens in /Tmp folder.

You also need to tell us which exact steps you took from the first post: https://www.videodb.info/forum_en/index.php/topic,4379.msg22821.html#msg22821

Which versions of Chrome and chromedriver you are using (current is v147.x)

The Tmp folder was already empty, and after I run the script, it remains empty.

The steps I took...

A: installed python
B: installed selenium via cmd
C: have Chrome bin on PATH
D: have Python folder on PATH
E: pythonw.exe is not missing
F: put appropriate chromedriver.exe to the "Script" folder
G: rename current "Scripts" folder to "Scripts-Original", and put Scripts.7z in PVD folder and extract it there
H: (from your January 6th post on page 3 of the same thread) backup and empty Scripts folder and extract Scripts_2026-01-06.7z there. Extract the other file into PVD root folder

As Ivek reposted above, I'm using Version 147.0.7727.56 of both Chrome and Chromedriver.
47
I'm using Version 147.0.7727.56.  Is there a newer one I should be using instead?

ChromeDriver 147.0.7727.56 is latest version.
48
Empty /Tmp folder if it's already not. Run the script. Tell what hapens in /Tmp folder.

You also need to tell us which exact steps you took from the first post: https://www.videodb.info/forum_en/index.php/topic,4379.msg22821.html#msg22821

Which versions of Chrome and chromedriver you are using (current is v147.x)
49
About those updates, just to clarify... are you saying afrocuban would need to update the scripts, or is this some sort of update I can do?

Ask afrocuban user via private message what he will answer you.

It's more difficult to fix something yourself, maybe something with the help of AI.
50
About those updates, just to clarify... are you saying afrocuban would need to update the scripts, or is this some sort of update I can do?
Pages: 1 2 3 4 [5] 6 7 8 9 10
anything