• Bugs
  • Tonfotos hang/freeze

Have indexed everytghing. Tonfotos worked. Suddenly it does not but hangs/freezes on start up.Have tried uninstalling reinstalling both tonfotos and CUDA - also tried installoing 1.9.8. No luck so far. It just starts up and shows this:

Tried running debug mode from CMD - it stops here -but its not the image that makes the trouble…

+8ms | Cache miss: C:\Users\name\OneDrive - DS\RS\Kursus 8.jpg
+1ms | Creating sharp: C:\Users\name\OneDrive - DS\RS\Kursus 8.jpg ->0.000s
+10ms | {
ctime: 2024-04-04T10:30:41.190Z,
mtime: 2019-08-15T10:08:38.000Z,
birthtime: 2024-04-04T10:30:41.190Z,
exif_dates: {},
xmp: {
faces: [],
metadata: { ‘exif😛ixelXDimension’: ‘592’, ‘exif😛ixelYDimension’: ‘540’ }
}
}

    Moxtell Have you tried answering the question that application asks? Does it resolve the issue?

    I can´t click the button. It freezes right there….no respons…

      Moxtell Hm, that’s odd. Are you sure there are no more errors in the output to the terminal?

      You can avoid that message if you will hide people.tnfp file temporarily, such as rename it or move away for a while. However I doubt that this is what causing the freeze. Anyway, worth trying.

      Did work either. Tried uninstalling opnce nmore - both tonfotos and CUDA. I even used REVO Uninstaller to clean everything up. Tried starting now gets this error (have subtituted some of the path- and filenames with abcd:

      +7ms | Initialize recognizer…
      +2ms | Error: error: 126\?\C:\Users\abcd\AppData\Local\tonfotos\app-1.9.8\resources\app.webpack\main\native_modules\tonfotos_cuda.node
      at process.func [as dlopen] (node:electron/js2c/asar_bundle:2:1822)
      at Module.extensions..node (node:internal/modules/cjs/loader:1226:18)
      at Object.func [as .node] (node:electron/js2c/asar_bundle:2:1822)
      at Module.load (node:internal/modules/cjs/loader:1011:32)
      at Module.
      load (node:internal/modules/cjs/loader:846:12)
      at f._load (node:electron/js2c/asar_bundle:2:13330)
      at Module.require (node:internal/modules/cjs/loader:1035:19)
      at require (node:internal/modules/cjs/helpers:102:18)
      at 76669 (C:\Users\abcd\AppData\Local\tonfotos\app-1.9.8\resources\app.webpack\main\index.js:2:97)
      at l (C:\Users\abcd\AppData\Local\tonfotos\app-1.9.8\resources\app.webpack\main\index.js:2:978622) {
      code: ‘ERR_DLOPEN_FAILED’
      }
      +1ms | Error
      at _e (C:\Users\abcd\AppData\Local\tonfotos\app-1.9.8\resources\app.webpack\main\index.js:2:348064)
      at ep (C:\Users\abcd\AppData\Local\tonfotos\app-1.9.8\resources\app.webpack\main\index.js:2:3041981)
      at ap (C:\Users\abcd\AppData\Local\tonfotos\app-1.9.8\resources\app.webpack\main\index.js:2:3042308)
      at C:\Users\abcd\AppData\Local\tonfotos\app-1.9.8\resources\app.webpack\main\index.js:2:2917089
      at C:\Users\abcd\AppData\Local\tonfotos\app-1.9.8\resources\app.webpack\main\index.js:2:1002167
      at C:\Users\abcd\AppData\Local\tonfotos\app-1.9.8\resources\app.webpack\main\index.js:2:998971
      +632ms | Face recognized with CPU support is initialized.
      +1ms | Creating sharp: abcd\TEST ISO\abcd_1087.NEF ->3.447s
      +35ms | V+R+path: abcd\TEST ISO name: abcd_1087-Enhanced-NR.dng parent_id:1715788947199 stats
      —DEBUG OUTPUT STARTED—
      C:\Users\abcd\AppData\Local\tonfotos\app-1.9.8\tonfotos.exe –log
      Arch: x64 Platform: win32
      OS Version: Windows 10 Home
      OS Release: 10.0.22631

      Wed May 15 2024 18:07:51 GMT+0200 (Centraleuropæisk sommertid)

      +0ms | checkpoint config: 4 ms
      +27ms | checkpoint app ready: 31 ms
      +19ms | Database unused space: 0.05Mb, 78%, no compacting needed at this moment
      +25ms | scan_next [ ‘1715788888042’, ‘1715788922085’ ]
      +1ms | scanning 1715788888042 Desktop
      +2ms | V+R+path: abcd name: Desktop stats id:1715788888042 CALLBACK
      +1ms | Auto update URL: https://tonfotos.com/distribution/tonfotos/release/win32/x64
      +61ms | Directory abcd excluded= undefined , excluded_dirs= []
      +19ms | myMessageBox start —————————–
      +0ms | myMessageBox tracker
      +11ms | V+R+path: abcd\WEB name: WEB stats
      +90ms | Directory abcd\WEB excluded= undefined , excluded_dirs= []
      +0ms | V+R+path: abcd\WEB\Divi_Indstillinger name: Divi_Indstillinger stats
      +3ms | Directory abcd\WEB\Divi_Indstillinger excluded= undefined , excluded_dirs= []
      +0ms | C path: abcd\WEB\Divi_Indstillinger name: Divi_Indstillinger stats
      +4ms | V+R+path: abcd\WEB\Custom_CSS name: Custom_CSS stats
      +2ms | Directory abcd\WEB\Custom_CSS excluded= undefined , excluded_dirs= []
      +1ms | C path: abcd\WEB\Custom_CSS name: Custom_CSS stats
      +3ms | C path: abcd\WEB name: WEB stats
      +2ms | V+R+path: abcd\TIPS-TRICKS name: TIPS-TRICKS stats
      +1ms | Directory abcd\TIPS-TRICKS excluded= undefined , excluded_dirs= []
      +1ms | C path: abcd\TIPS-TRICKS name: TIPS-TRICKS stats
      +3ms | intercepted file:///C:/Users/abcd/AppData/Local/tonfotos/app-1.9.8/resources/app/.webpack/renderer/message_box/index.html
      +3ms | intercepted file:///C:/Users/abcd/AppData/Local/tonfotos/app-1.9.8/resources/app/.webpack/renderer/main_window/index.html
      +0ms | V+R+path: abcd\TEST ISO name: TEST ISO stats
      +3ms | Directory abcd\TEST ISO excluded= undefined , excluded_dirs= []
      +1ms | C path: abcd\TEST ISO name: TEST ISO stats
      +2ms | V+R+path: abcd\TEST ISO name: abcd_1087.NEF file_id:1715789026942 parent_id:1715788947199 stats
      +1ms | - file needs face recognition (abcd\TEST ISO\abcd_1087.NEF)
      +11ms | Msgbox get_params
      +20ms | Cache miss: abcd\TEST ISO\abcd_1087.NEF
      +33ms | myMessageBox ready-to-show, resized= false
      +0ms | Msgbox dimensions 260 276 , ready= true
      +1463ms | CUDA support was detected in the system.
      +0ms | This installation includes CUDA libraries.
      +1181ms | scan_next [ 1715788888042 ]
      +0ms | synchronizing dossier 1715788888042 Desktop

      Moxtell Is freeze happening after +0ms | synchronizing dossier 1715788888042 Desktop? If yes, I guess I know what it could be. Similar bug is already fixed in version that is not yet releases. However that bug does does not actually freeze the applications, it only stops indexing.

        Andrey
        +0ms | synchronizing dossier 1715788888042 Desktop is where it freezes…but other times it´s at other places. I really can´t figure out what is causing this issue? I have uninstalled using REVO Uninstaller, to remove any småll bits of the software - both for the CUDA and Tonfotos itself, after that reebooting, installing once again - start up and it says Dossier file found and stops working. Totally stops and only stops when I stop it in jobmanager. Some of the images is on Onedrive, but its locally on the PC as well, and it has worked in the start, but suddenly doesn´t .

          Moxtell Tonfotos installation is pretty simple. It only stores its files in one place (AppData/Local/tonfotos) and its database and configuration in another (AppData/Roaming/tonfotos), so you don’t need any external software to uninstall Tonfotos cleanly, it does not put any dll’s into Win32 and so on. It does not leave garbage in registry. I would actually not recomend using any software like that to remove Tonfotos, since I have no idea what they do and if they introduce any additional damage into your system.

          Some users have reproted that recognition instability issues when CUDA is installed, but it never resulted in frezes, only in missing faces. And, as I understand, in your case you don’t have CUDA runtime installed, so it cannot be the source of the issue.

          Actually, I am running out of ideas what can be wrong, especially because it all worked fine before.

          By the way, have you already tried my suggestion with renaming people.tnfp? This would make this message box not to appear. You said “Did work either” but as I can see from the logs, message box actually pops up. What message box is that? Could it be that you have ’people.tnfp` in multiple places? Actually you don’t need many, it is enough to keep one, they are identical.

          Thx - I did move the peoplle.tnfp to another directory, but it still came up? How come? Anyway - I´ll try to delete all files in tonfotos folders you mention and start all over once more. I use CUDA, but tried without once - it did not help either. STill freeze. And its a brand new Windows 11 ASUS Laptop with super specs…so its not the machine that´s causing these issues….

            Moxtell Yes, I am also very confused. I’ve seen many issues, but this one is pretty unique. No one has ever reported anything even remotely similar.

            I don’t think removing tonfotos itself would make a lot of sense. We already know this is not what causing issues.

            My suggestion would be to remove database and config folder to start clean, and then instead of restoring your full confuguration, I would suggest to go with small steps, making sure everything works smoothly, then do next increment, then next, and so on. This way it would be much easier to isolate the source of the issues.

            By small increments I mean start from just one folder in the beginning, smallest one, and remove everything else, right on the configuration screen, even before it started any indexing. Then let it finish, check if everything is OK. Then add another of your folders and see how it goes. And only later add your main archive. Does it make sense to you?

            Write a Reply...