Problem with Appmanager after update to 2017.7.2

Started by kkae, July 09, 2017, 12:33:17 PM

Previous topic - Next topic

kkae

After the update to the version 2017.7.2 in the Appmanager-panel is shown

Failed to load URL http://127.0.0.1:50519//imatch/apps/appmanager/index.html?cb=11801194
Error: ERR_CONTENT_LENGTH_MISMATCH (-354)

After switch back to 2017.6.10 all apps are shown in the panel.
Attached the logfile.

Mario

#1
I know. Apparently a re-appearing bug in CivetWeb. Press <F5> a number of times. I've already reported that to the CivetWeb developers.  Only happens if the cache in the browser cache is disabled or an app panel is reloaded (which always skips the cache). CivetWeb is the web server I use in IMatch.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

thrinn

I am also getting this error (fails loading jQuery, fails loading bootstrap). Is there any workaround? Refreshing using F5 is quite cumbersome while debugging with breakpoints.

What seems to work is to enable the browser cache (in Chrome, which I use for debugging). But this may lead to other problems, for example not recognizing changes to the source code. Which is also suboptimal because I try do do some app development with a substantical amount of trial & error.
Thorsten
Win 10 / 64, IMatch 2018, IMA

Mario

No work-around. Slipped in with the latest update of Civetweb. I cannot roll-back to the previous version because of changes in IMatch.
We'll see when I get word from the CivetWeb Developers. Pressing <F5> is easy and works.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

Mees Dekker

However: at my place the appmanager is totally blank. Does not show any messages. Pressing F5 does not work.

It was really an major improvement to my workflow to be able to invoke GeoSetter from within IMatch. Alas: this improvement went down the drain with 2017.7.2. I will have to revert to my old workflow.  :(

Mario

Right-click into the App Manager and then press <F5> several times. This should do the trick.

As a work around, just make a Favorite for the app and launch it with a key press or mouse click.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

Mario

I have found the reason for the problem in the CivetWeb source code. I just don't know what to make of it.
By all means I will need to prepare and ship yet another IMatch update to fix this, which totally ruins my schedule. I really need to somehow free a couple of weeks of my time to make some progress with the 64-bit version and the next generation of IMWS:.. :(
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

Mario

You can download IMatch 2017.7.4 which has just been released. The problem should be gone with that version.
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

thrinn

Hi Mario,
this is really awesome. Now you are solving bugs even for other software!

With 2017.2.4, it works again as expected, even with caching disabled.
Thank you!
Thorsten
Win 10 / 64, IMatch 2018, IMA

Mario

#9
Yes. Yawn. Sigh.... ;)

Civetweb is an open source software, created by volunteers. It's just good behavior to not only find bugs but also try to fix them. And to tell the developers what you've found out so they can fix the problem at the source.

I ran into this error during the IMatch 2017 Beta and there was quite a lot of back and forth. In the end, another developer with the same troubles provided the helpful information that helped solving this problem.

I've updated Civetweb several times since (to make IMWS as safe and solid as possible) but the last release (big one) seems to have re-introduced the problem. But I needed the update to compile IMatch 64 bit cleanly...
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

Mees Dekker

Could it be that this problem is re-introduced in2017.7.6? My app manager window is empty (white) after starting IMatch.

I notice that I have to use F5 several times (after right-clicking in the app manager window) to make  the apps visible.

Mario

No, this was fixed for good.
Have you tried to reboot and then run a repair on IMatch via the Windows control panel?
-- Mario
IMatch Developer
Forum Administrator
http://www.photools.com  -  Contact & Support - Follow me on 𝕏 - Like photools.com on Facebook

Mees Dekker

Fixed indeed. Thanks for the swift reply and helpful tip.