TimeWiz doesn't start

Started by Ooteboe, April 25, 2020, 11:46:49 AM

Previous topic - Next topic

Ooteboe

Windows 10, iMatch 2020.4.8, I select some photos and then I click Tools > TimeWiz... and nothing happens. Online Help brings no solution. What am I doing wrong?

Thans, Hans

Mario

Probably the files contain some data that the TimWiz does not like and which break the app.

Check the date and time information in the files to see if they contain valid data. Use one file at a time.
Check the App output panel (View > Panels > Output Panel) to see if the TimeWiz dumps some error info.
Check the IMatch log file for warnings W> or errors E> to see if IMatch has reported problems.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

Ooteboe

Quote from: Mario on April 25, 2020, 11:50:20 AM
Check the date and time information in the files to see if they contain valid data. Use one file at a time.
Check the App output panel (View > Panels > Output Panel) to see if the TimeWiz dumps some error info.
Check the IMatch log file for warnings W> or errors E> to see if IMatch has reported problems.

1. Used several different files, one at a time: nothing happens
2. App output panel: nothing there
3. Full logging: no 'E>' just one 'W>' 'Spelling: Cannot find a dictionary for language 'en' or failed to load.  'v:\develop\imatch5\src\imatchng\imatch.cpp(3778)''

Hans

Mario

Do other apps work?
Did the TimeWiz work before?
Did you change something with your IMatch installation?
I just tested the TimeWiz and it works.

Open the TimeWiz in the web browser (right click on the app in the App Manager) and then enable the developer tools with F12.
Make sure the "Console" tab is visible.
Then press F5 to reload the TimeWiz.

Any error messages (red color) in the console?
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

Ooteboe

Quote from: Mario on April 25, 2020, 03:11:27 PM
Do other apps work?
Did the TimeWiz work before?
Did you change something with your IMatch installation?
I just tested the TimeWiz and it works.

Open the TimeWiz in the web browser (right click on the app in the App Manager)

Other apps started from the App Manager do work, although I get a small window with a javascript alert: 'There was a problem starting this app'. But they are started and they work.
TimeWiz never worked.
Didn't change anything with my IMatch installation - just installed version 2020.3 or smth and upgraded to 2020.4.8.
In the App Manager I don't see the TimeWiz...

Hans

Mario

Quotealthough I get a small window with a javascript alert: 'There was a problem starting this app'

Where do you get this message?
How does it look (screen shot)

Enable debug logging via Help > Support > Debug Logging and Please attach the IMatch log file (see log file)

from a session where you saw that JavaScript error message and also tried to run the TimWiz.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

Ooteboe

Quote from: Mario on April 26, 2020, 01:14:36 PM
Quotealthough I get a small window with a javascript alert: 'There was a problem starting this app'

Where do you get this message?
How does it look (screen shot)

Enable debug logging via Help > Support > Debug Logging and Please attach the IMatch log file (see log file)

from a session where you saw that JavaScript error message and also tried to run the TimWiz.

I attached the log file and a screenshot.

Hans

Mario

Never saw that before. This is not something the app produces I believe.

You can run the app in your web browser using this URL:

http://127.0.0.1:50519/imatch/apps/time-wiz

See my info above for opening developer tools and the console. Maybe this sheds some light on this.
It seems to fail only on your computer...
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

Ooteboe

Quote from: Mario on April 26, 2020, 05:39:27 PM
You can run the app in your web browser using this URL:
http://127.0.0.1:50519/imatch/apps/time-wiz

When I use this URL I get a message: 'Error 404: Not Found'. I don't see the folder under C:\imatch\apps. Can I put it there by hand?

Hans

thrinn

#9
In line 125 of the log file I see Webroot Folder: C:\Photo DS 415 DB\imatch6\webroot\. It looks like you changed the default path.
Could you please try to set the Preferences > Document Root / App folder back to the default, that is  C:\ProgramData\photools.com\IMatch6\webroot?

Maybe the installation / upgrade process copied the app source files to the default path.

QuoteI don't see the folder under C:\imatch\apps. Can I put it there by hand?
What you see in the URL is not the path itself. It is relative to the web server root directory (of the web services integrated in IMatch). So, the full path in a standard installation from the filesystem / windows explorer view would be
C:\ProgramData\photools.com\imatch6\webroot\imatch\apps\time-wiz

Or in your case, with the redirected web root:
C:\Photo DS 415 DB\imatch6\webroot\imatch\apps\time-wiz
Thorsten
Win 10 / 64, IMatch 2018, IMA

Mario

Good catch.

I don't recommend to install IMatch outside the official folder used by Windows for program files.
This can have all kinds of consequences, from virus checkers kicking in to other security features in Windows interfering.

Running executables from  arbitrary folders is something one did in the nineties or when Windows XP was around. But not today, with all the isolation and virtualization and security stuff going on in the background.

The same is true for "per-application" data, which is usually installed into %PROGRAMDATA%\....
In your case, this is C:\ProgramData\photools.com\IMatch6\
IMatch installs apps into C:\ProgramData\photools.com\IMatch6\webroot\imatch\apps

But you have configured the web root in the IMatch settings to point at a different folder (why?) and this folder is

C:\Photo DS 415 DB\imatch6\webroot\

So, you have moved the app folder to somewhere else. But the IMatch installer does not know or support that and has installed the standard apps into the standard folder.
You are running apps from a folder with old stuff and old apps which are not necessarily compatible anymore with newer versions of these apps or newer versions of IMatch.

Check the app folder in the options (Edit > Preferences > Application) back to the default folder:

C:\ProgramData\photools.com\IMatch6\webroot

or always ensure (after every update) that you copy the freshly installed apps into your custom folder.


-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

Ooteboe

Thanks Thorsten, Mario,

Once I changed the path back to default, everything worked perfect. I don't know anymore why I changed the path long ago... Had something to do with synchronizing to another computer, I guess. Never synchronize anymore, so I leave everything to the default standards.

Thanks again, very happy with the TimeWiz.

Hans

Mario

Another lesson learned about support cases related to apps: consider the rare case that a user has copied/moved the IMatch app folder to another location and never updated the apps.
Unfortunately, also a lot of time wasted on all sides  :-X
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook