Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - afrocuban

Pages: [1] 2 3 4 5 6 ... 35
1
Your pvdconf.ini file looks pretty ok. There are remnants of old scripts but it doesn't make a difference.

1. Obviously, you are missing SeleniumPVDbScriptsConfig-v4.exe. Nevertheless, no point of using it, because Ivek already reported it doesn't work anymore, but put the last one there in order not to get the error. You have to use **pyPVDbScriptsConfig-v4** if you want to set up your scripts correctly.


2. It looks when using jondak's scripts it is getting better. They are basically the same ones as those from 2026-01-06, except one line in one python script added for IMDb Movie Additional pages, which means something was messed up with IMDB_Movie_[EN][Selenium]-v4.psf script on your side somehow, and now you don't have initial problem anymore, which you should have acknowledged in your post, at least for the sake of other users, because you are now having completely other, unrelated issue. So, resolving your initial and Miguel's issue is done.


3. From the other screenshot, it is clear that you have now that other, completely unrelated issue, and it is obvious that the downpage-UTF8_NO_BOM.htm was downloaded and the process went into downloading additional pages, which proves what I stated under 2.

Now, this is ordinary time out issue. When such an error happens what is going on in /Tmp folder? Is there downpage-UTF8_NO_BOM-ReleaseInfo.htm file there? Is there downpage-UTF8_NO_BOM-ReleaseInfo_status.txt file there?



So, when trying to resolve this unrelated issue, we need screenshots of /Tmp folder and all the .log and .txt files uploaded, as well as log.txt.

2
Also, it would be good to upload your pvdcof.ini to check if something isn't messed there.

At the end, try jondak's scripts and let us know.

3
Also, show us the exact content of your /Scripts folder. Do you have needed .png files there?

4
To this point, it is probably something wrong with your Function ParsePage in IMDB_Movie_[EN][Selenium]-v4.psf because it never runs.

Which exact Script.7z do you use? Point with a link to a place on this forum you downloaded it and later extracted it. If it's not jondak's (for example) then which one?

5
Support / Re: How to filter movies by movie connections
« on: April 22, 2026, 08:59:49 am »
Thanks, Ivek. I'll try to use backup and figure out somehow how to locate them!

6
Support / Re: How to filter movies by movie connections
« on: April 21, 2026, 09:54:32 am »
Thanks for the idea, Ivek. There is already such CF ~Connect~ which is filled with "No connections" when no connections found for the the tile on IMSb. But I have different problem. I have deleted some invisible movies (I had to) and I lost some movie connections although they exist on IMDb. So I'm trying to locate those titles in PVD in order to update them instead of updating all 8.000 records, hahaha. If you have any other idea, I would be grateful.

7
Nevertheless, please try to get the main page, then the image from cmd and if no errors, then run the script from PVD and get us log.txt.

8
Support / How to filter movies by movie connections
« on: April 20, 2026, 05:42:11 pm »
Is there a way to filter movies by movie connections? I want to get a list of movies that don't  have any connections.

9
Also before trying to download image from cmd, and finally from within PVD, try from cmd:

Quote
python "C:\Program Files\PVD_1.0.2.7_MOD-V20191020\Scripts\Selenium_Chrome_Base_page_v4.py" https://www.imdb.com/title/tt0858568/ "C:\Program Files\PVD_1.0.2.7_MOD-V20191020\Scripts\Tmp\downpage-UTF8_NO_BOM.htm" ""


so we could be sure that the main page is properly downloaded too from cmd. Properly means, no messages in cmd, clean exit to prompt, and the files are there in /Tmp folder.

10
Ok, that looks good.
So the python scripts that download pages looks good. The next thing is to check the python script that downloads poster.
First replace the line 121 in the Selenium_Chrome_DownloadImage-v4.py script:

Quote
logging.debug("Non-FilmAffinity → using plain requests.")


with

Quote
logging.debug("Non-FilmAffinity - using plain requests.")


and save it, then run from cmd:

Quote
python "C:\Program Files\PVD_1.0.2.7_MOD-V20191020\PersonalVideoDB\Scripts\Selenium_Chrome_DownloadImage-v4.py" "https://m.media-amazon.com/images/M/MV5BZTcwYTY5MjAtOGU0MS00MGM5LThiYTMtMDM0YWIzYTM5OTczXkEyXkFqcGc@._V1_.jpg" "C:\Program Files\PVD_1.0.2.7_MOD-V20191020\PersonalVideoDB\Scripts\Tmp\poster.jpg"

Post any messages from cmd. If the cmd finishes clean without error messages and the poster is there in the /Tmp folder, then run IMDb Movie script for any movie from within PVD and post log.txt file. Don't forget to check to download posters and to run PVD in debug mode with debug.vbs so we could get log.txt.



11
The only things that matters are the logs to post them here. Meaning, all the steps you took until we concluded about psutil. Run the scripts from the cmd...

12
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...

13
Support / Re: IMDb AddPersonMovie and AddMoviePerson issue
« 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?

14
Support / IMDb AddPersonMovie and AddMoviePerson issue
« 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".

15
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

16
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)

17
Support / Re: Help Please on upgrading to MOD
« on: April 04, 2026, 11:45:54 am »
... but it always finds and downloads the information for the first hit, which is usually correct.


Unfortunately, this is huge problem for RottenTomatoes, since most of the time when there is one result, it is the wrong one, so I had to alter python script (still testing it) to pass same result twice so the search window could be raised with two identical results and I could check and be sure that finding was proper.


With MovieDB is easier, I think. Just repeat adding search result and send it to prList instead to prDownload, I think. Didn't test it though. For example:

Quote
if (NumbResult=1) then begin       //There is 1 Result.
    Title := TextBetWeenFirst(HTML,'"name":"','"');
    OriTitle := TextBetWeenFirst(HTML,'"original_name":"','"');
    Year := Copy(TextBetWeenFirst(HTML,'"first_air_date":"','"'),1,4);
    MovieId := TextBetWeenFirst(HTML,'"id":',',');
    MovieURL := BASE_API_URL_TV_PREFIX+MovieId+BASE_API_URL_TV_SUFIX;
    PreviewURL := TextBetWeenFirst(HTML,'"poster_path":"','"');
    if (2<Length(PreviewURL)) then begin
        PreviewURL := StringReplace(PreviewURL,'\','',True,True,False);
        PreviewURL := BASE_URL_IMAGE+PreviewURL;
    end else PreviewURL := '';
    If (Not POSTER_IN_SEARCH) Then PreviewURL := '';


    // Add the same result twice so the app shows the selection window
    AddSearchResult(Title, OriTitle, Year, MovieURL, PreviewURL);
    AddSearchResult(Title, OriTitle, Year, MovieURL, PreviewURL);


    Mode := smNormal;
    Result := prList;   // Force list mode instead of download
    Exit;
end;

18
Support / Re: Personal Video Database 1.0.2.7 MOD
« on: March 27, 2026, 08:09:32 am »
Thank you for the notice, Ivek.

19
Support / Re: Help Please on upgrading to MOD
« on: March 27, 2026, 08:08:06 am »
Run PVD with debug.bat and then upload log.txt file with a url for a title and a person that the issue occurrs with, so others could reproduce the issue, and maybe someone will be able to help you.

20
Support / Re: Personal Video Database 1.0.2.7 MOD
« on: March 15, 2026, 10:55:39 am »
With the complexity of configuring the programs needed to 'get all the information', maybe it's time to host a zip file (somewhere) that would give new users a working environment without need of an install. That's what Nostra had originally intended, after all.

Well, apart from installing python and its necessary modules, nothing else is to be installed. Whole /Scripts folder was posted as a zip file to be extracted replacing existing one and everything should work then.

Pages: [1] 2 3 4 5 6 ... 35
anything