Skip to main content

Stacking bug

7 posts / 0 new
Last post
David Benn
David Benn's picture
Stacking bug

Look at the date on this (average) stacked image.

The source images were 11:??:?? but the stacked image is 23:27:09. Odd no?


File Upload: 
MZK's picture
Stacking Time


My first question is why you are stacking 6 images from two different days, and also separated by 7 days? Actually, the stacked time is about right - the algorithm sets the stack time as the mid time of the stacked images. In this case with about 7.0 days between, the mid point would be 3.5 days, thus the 23:27?

It is logical in terms of the arithmetic of the common mid-time algorithm.  I would have stacked the images from each day separately, which makes more sense to me?


David Benn
David Benn's picture

Please ignore me Ken.

Can't believe I did that and wasted your time looking at this post.

That's what happens when I've done such a thing late at night and looked at it quickly early in the morning.

Apologies. How embarrassing.


TRE's picture
Server Error in '/app'

Server Error in '/app' Application.

Unable to load DLL 'PhotLib.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.DllNotFoundException: Unable to load DLL 'PhotLib.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)

Source Error:

Line 34: method = 1
Line 35: End If
Line 36: PhotLib.doStack2(stack.NbrOfFiles, stack.Files, newfilepath, stack.OffsetX(0), stack.OffsetY(0), stack.Width, stack.Height, method)
Line 37:
Line 38: ' Write the updated headers, date and time

Source File: C:\inetpub\wwwroot\app\restricted\Stack.aspx.vb    Line: 36

Stack Trace:

[DllNotFoundException: Unable to load DLL 'PhotLib.dll': The specified module could not be found. (Exception from HRESULT: 0x8007007E)]
PhotLib.doStack2(Int32 n, String files, String newfile, Int32& offsetX, Int32& offsetY, Int32 width, Int32 height, Int32 stacktype) +0
Restricted_Stack.btnStack_Click(Object sender, EventArgs e) in C:\inetpub\wwwroot\app\restricted\Stack.aspx.vb:36
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +9816434
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +204
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +12
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +15
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +35
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1639


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.7.2623.0

MZK's picture
Stack Error??

Hi Ray:

Not sure if you were trying to stack images, but if you were, the work around is to open one of the images first and then go back to the image list.

Stacking should work the second time. This workaround was noted earlier by others. Advise success or failure? Not sure why, but this seems to work.

HTH, Ken

TRE's picture

Thanks Ken

I'll try that. Meanwhile, I have a work-around that I can't seem to quantify yet.

One thing; i did have one image wthout a name and no WCS. But I was not using that image to stack. If stacking looks at every image rather than just the ones being stacked, that could cause an error.

Second thing, I had a list solved images from both sides of the meridian, but was stacking just 10 on the same side of the meridian.

Again, if stacking looks at every image in the list rather than just the ones being stacked, that could possibly cause confusion.



TRE's picture

it began to work when 6 images were stacked rather than 10 or 7.

Also some judicious, superstitious, magic clicking around the stack window.

The problem has been ongoing for a couple days.



Log in to post comments
AAVSO 49 Bay State Rd. Cambridge, MA 02138 617-354-0484