Hot Topic (More than 10 Replies) Graphics problem since updating 1.0.2 (Read 3905 times)
rtaaop
Member
*
Offline


No personal text

Posts: 27
Joined: Dec 27th, 2003
Graphics problem since updating 1.0.2
Mar 24th, 2004 at 9:45pm
Print Post Print Post  
I have a graphics field. The graphics are in an external iomega file. When I try to update a form I now get either a c++ runtime error or a frozen database. I have always gotten an error with a graphics file over 325 pixels. However, since updating to 1.0.2 I can't update any graphic file. Sesame sees the file, asks if I want to accept the file and when I accept, I get the freeze or the c++ runtime library message. When I click on fix it, I get the "microsoft has encounted an error" message and shuts me down after asking if I want to send a report. Anyone else have a problem like this? Thanks for your help.
  
Back to top
 
IP Logged
 
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: Graphics problem since updating 1.0.2
Reply #1 - Mar 24th, 2004 at 10:31pm
Print Post Print Post  
Do you have the same problem with the same graphics file if you access it on your local hard drive, or only on the zip drive?
  

Mark Lasersohn&&Programmer&&Lantica Software, LLC
Back to top
IP Logged
 
rtaaop
Member
*
Offline


No personal text

Posts: 27
Joined: Dec 27th, 2003
Re: Graphics problem since updating 1.0.2
Reply #2 - Mar 25th, 2004 at 12:07am
Print Post Print Post  
I don't have a problem accessing the graphics file either on the zip or my hard drive. I have Sesame set up to go to the "G:" drive or the Iomega zip. Sesame pulls us the particular graphic in every instance. It's only when I "accept" the graphic to the form that we get the freezes and error messages. Previously, I found a bug when trying to accept a graphics file into a form which Lantica fixed. If I wanted to test this process from my hard drive, what would be the simpliest way in your opinion. I have several hundred graphics on the zip drive. I suppose I could create a folder on the harddrive, transfer the files from the zip to the folder and change the location for these to the "C:" drive. But, what caused the malfunction is the question. Thanks for your response.
  
Back to top
 
IP Logged
 
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: Graphics problem since updating 1.0.2
Reply #3 - Mar 25th, 2004 at 1:12pm
Print Post Print Post  
I am not asking you to move your graphics to your harddrive permanently - just move one of them so we can differentiate whether the format of the graphics file is the problem or whether accessing iomega zip drive is the problem. In either case, we want to fix the problem as opposed to changing how you permanently use Sesame.
  

Mark Lasersohn&&Programmer&&Lantica Software, LLC
Back to top
IP Logged
 
rtaaop
Member
*
Offline


No personal text

Posts: 27
Joined: Dec 27th, 2003
Re: Graphics problem since updating 1.0.2
Reply #4 - Mar 25th, 2004 at 2:30pm
Print Post Print Post  
Thank you for your response. I have moved a few graphics to c:\acatchall, changed to that drive in Sesame with the same results as before. The Microsoft message reads in part "Sesame.exe has encountered a problem," etc. Again, Sesame finds the graphic, pulls it into the form and when I click on "accept," we get the above microsoft message. Each time I have to "unlock" the database. Yesterday, the first sign of trouble began with a "c++ runtime error," which offered the opportunity to "fix" the problem. After accepting the offer, I then received the message from Microsoft "Sesame.exe" has encountered a problem."
I hope this is enough info to look into the problem.
  
Back to top
 
IP Logged
 
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: Graphics problem since updating 1.0.2
Reply #5 - Mar 25th, 2004 at 2:42pm
Print Post Print Post  
Unfortunately, no that isn't quite enough information. It looks like the graphic file itself is the problem. Can I ask you to send one of these files to support@lantica.com and mark it to my attention. Make sure it is one of the files that always gives you grief.

Also, I assume you are in Runtime (data entry) when this happens, or are you in SDesigner designing the form?
  

Mark Lasersohn&&Programmer&&Lantica Software, LLC
Back to top
IP Logged
 
rtaaop
Member
*
Offline


No personal text

Posts: 27
Joined: Dec 27th, 2003
Re: Graphics problem since updating 1.0.2
Reply #6 - Mar 25th, 2004 at 6:23pm
Print Post Print Post  
I have emailed you a few of my graphics files. I think the files are fine. When I shell out to a graphics program in Q&A they work fine. I explained in the email that I am always in Sesame (data entry) never in design when accessing the graphic files. I have tried several different graphics, all with the same result. Prior to updating 1.0.2 I have about 300 graphics already in my form. Thanks for looking into this.
  
Back to top
 
IP Logged
 
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: Graphics problem since updating 1.0.2
Reply #7 - Mar 25th, 2004 at 7:18pm
Print Post Print Post  
It is a problem in Sesame. We are looking into it.
  

Mark Lasersohn&&Programmer&&Lantica Software, LLC
Back to top
IP Logged
 
Steve_in_Texas
Senior Member
*****
Offline


No personal text

Posts: 893
Location: San Antonio
Joined: Feb 21st, 2004
Re: Graphics problem since updating 1.0.2
Reply #8 - Mar 27th, 2004 at 2:03pm
Print Post Print Post  
I've been getting the same problem. Sesame crashes when we hit the Accept button on a .jpg image being loaded from a  mapped drive. (we havent tried loading from a local drive, dont think it will make a difference)

We gave up on Sesame after a couple of crashes (for the day).

Thanks for looking into this.
Steve
  
Back to top
IP Logged
 
Hammer
YaBB Administrator
Lanticans
*****
Offline


Fire bad. Tree pretty.

Posts: 3436
Location: Ohio
Joined: Nov 22nd, 2002
Re: Graphics problem since updating 1.0.2
Reply #9 - Mar 27th, 2004 at 2:09pm
Print Post Print Post  
We found the problem. We broke it when we fixed the problem with Static Pictures not scaling correctly for print. Sorry.  Embarrassed

It's fixed for 1.0.3. Meanwhile, to edit image elements, you can use F6 to just type in the image filename, rather than using the Image Browser.
  

- Hammer
The plural of anecdote is not data.
Back to top
IP Logged
 
Steve_in_Texas
Senior Member
*****
Offline


No personal text

Posts: 893
Location: San Antonio
Joined: Feb 21st, 2004
Re: Graphics problem since updating 1.0.2
Reply #10 - Mar 27th, 2004 at 3:22pm
Print Post Print Post  
Thank you!

Steve
  
Back to top
IP Logged
 
Steve_in_Texas
Senior Member
*****
Offline


No personal text

Posts: 893
Location: San Antonio
Joined: Feb 21st, 2004
Re: Graphics problem since updating 1.0.2
Reply #11 - Apr 4th, 2004 at 10:54pm
Print Post Print Post  
fYI, after using the f6 workaround for the above bug, it seems the image bug appears worse than we thought.  BMP images are being displayed in the incorrect colors and some images (.bmp and .jpg) dont show up at all.

They work fine in other image viewing programs.

Just FYi. you may have already fixed this bug along with the above glitch.

Thanks,
Steve
  
Back to top
IP Logged
 
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: Graphics problem since updating 1.0.2
Reply #12 - Apr 5th, 2004 at 12:39pm
Print Post Print Post  
Can you please send two of the .bmp files to support@lantica.com marked to my attention. Please send one .bmp that has the wrong colors and one that does not show up at all.
  

Mark Lasersohn&&Programmer&&Lantica Software, LLC
Back to top
IP Logged
 
Steve_in_Texas
Senior Member
*****
Offline


No personal text

Posts: 893
Location: San Antonio
Joined: Feb 21st, 2004
Re: Graphics problem since updating 1.0.2
Reply #13 - Apr 5th, 2004 at 4:24pm
Print Post Print Post  
Thanks Mark. I'll send them within the next hour.

They should be black/white images. They are 'captures' from a palm pilot used to grab customers signatures for my Invoice app.

The text should be black on a white background. They all show up perfectly in Acdsee image viewer and MS Paint.

Thanks again for your attention and support.

Steve
  
Back to top
IP Logged
 
rtaaop
Member
*
Offline


No personal text

Posts: 27
Joined: Dec 27th, 2003
Re: Graphics problem since updating 1.0.2
Reply #14 - Apr 5th, 2004 at 5:06pm
Print Post Print Post  
I had no problem using the f6 workaround; no distortions of graphics using .Jpg index.
  
Back to top
 
IP Logged
 
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: Graphics problem since updating 1.0.2
Reply #15 - Apr 5th, 2004 at 6:15pm
Print Post Print Post  
Quote:
Thanks Mark. I'll send them within the next hour.

They should be black/white images. They are 'captures' from a palm pilot used to grab customers signatures for my Invoice app.

The text should be black on a white background. They all show up perfectly in Acdsee image viewer and MS Paint.

Thanks again for your attention and support.

Steve



From looking at your files, I see a strangeness in their format. About half the programs I have used will not load them. Two of will them load them, but complain, and one loads them (without complaint) but when writing them changes the format. One loads it, but because of the additional planes, believes it to be a true color image (it isn't).

These are single plane monochrome 32-bit .bmp files. Usually a single plane format is an 8 bit image (in that the 24 bits are not actually used).

That's the bad news. The good news is that loading these into just about any non-microsoft image editing program and then saving it again (as a .bmp) will save it as single plane 8-bit .bmp, or a three plane 24-bit .bmp (either is okay with Sesame). I tried this with the image editors: xnview, Kodak Imaging, and Gimp. Unfortunately, it won't work in MSPaint.

The problem Sesame is having with it is that it sees the other 3 planes worth of data and uses them to set the color. But since they are uninitialized values, they "paint" as odd colors.
  

Mark Lasersohn&&Programmer&&Lantica Software, LLC
Back to top
IP Logged
 
Steve_in_Texas
Senior Member
*****
Offline


No personal text

Posts: 893
Location: San Antonio
Joined: Feb 21st, 2004
Re: Graphics problem since updating 1.0.2
Reply #16 - Apr 5th, 2004 at 6:27pm
Print Post Print Post  
Thats all "bad news". Will this be fixed in Sesame? It seems that many "POS signature capture devices" may use this format. It would be great it Sesame could handle them.

If not, I guess I'll have to write a batch file that converts the .bmp file (maybe to .jpg to save space).

Thanks again for taking a look.

ps. After converting to .jpg, the file loads into Sesame (using f6) just fine!

Steve
  
Back to top
IP Logged
 
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: Graphics problem since updating 1.0.2
Reply #17 - Apr 5th, 2004 at 6:47pm
Print Post Print Post  
I'm not sure how to "fix it" in Sesame. The image is saying, simultaneously, that it is both a monochrome and a 32-color (with alpha channel) image. Do I believe the color depth variable or the number of planes variable? Every program (non-microsoft) that I have tried reports differently about this format. Are there any options you can set on the device about image format?

BTW: The ImageMagick command line tools (for easy batch conversion) are available for Windows.
  

Mark Lasersohn&&Programmer&&Lantica Software, LLC
Back to top
IP Logged
 
Steve_in_Texas
Senior Member
*****
Offline


No personal text

Posts: 893
Location: San Antonio
Joined: Feb 21st, 2004
Re: Graphics problem since updating 1.0.2
Reply #18 - Apr 5th, 2004 at 6:54pm
Print Post Print Post  
Mark, my hardware has no options for choosing different formats, unfortunately. Since you don't see an easy Sesame fix, i'll use a batch converter. The one you mentioned "imagemagick" looks perfect! Smiley

Thanks for the tip, and the assistance!

Steve A.
  
Back to top
IP Logged
 
Steve_in_Texas
Senior Member
*****
Offline


No personal text

Posts: 893
Location: San Antonio
Joined: Feb 21st, 2004
Re: Graphics problem since updating 1.0.2
Reply #19 - May 26th, 2004 at 10:42pm
Print Post Print Post  
Mark,

When Sesame tries to display a particular damaged .jpg the server crashes and Unlocking database from the admin panel "Fails" each time. We have to use the Sunlock.exe program.

I have seen Sesame handle slightly damaged images, but this one image crashes Sesame everytime.  My other graphics viewers don't crash while displaying this image, but only show the good portion of the image (top half of the image).

Since Sesame is reacting so severly to this problem, I thought I should let you know. I'll email the image to your attention.


Thanks,

Steve in Texas

Edit: We are using ver 1.0.3
  
Back to top
IP Logged
 
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: Graphics problem since updating 1.0.2
Reply #20 - May 27th, 2004 at 12:28pm
Print Post Print Post  
Quote:
Mark,

When Sesame tries to display a particular damaged .jpg the server crashes and Unlocking database from the admin panel "Fails" each time. We have to use the Sunlock.exe program.

I have seen Sesame handle slightly damaged images, but this one image crashes Sesame everytime.  My other graphics viewers don't crash while displaying this image, but only show the good portion of the image (top half of the image).

Since Sesame is reacting so severly to this problem, I thought I should let you know. I'll email the image to your attention.


Thanks,

Steve in Texas

Edit: We are using ver 1.0.3



Steve,
Yes that image is very badly corrupted and does crash Sesame. But, on the other hand, I had no problem unlocking the .db file after the crash using the server admin option.
  

Mark Lasersohn&&Programmer&&Lantica Software, LLC
Back to top
IP Logged
 
Steve_in_Texas
Senior Member
*****
Offline


No personal text

Posts: 893
Location: San Antonio
Joined: Feb 21st, 2004
Re: Graphics problem since updating 1.0.2
Reply #21 - May 27th, 2004 at 1:12pm
Print Post Print Post  
Strange. I got the message "Failed to unlock database" each time I crashed. The SUnlock tool worked fine, though.

I assume that Sesame will handle moderately damaged images, so we will continue on and assume that the one image was an exception.

Thanks again,

Steve in Texas
  
Back to top
IP Logged
 
The Cow
YaBB Administrator
*****
Offline



Posts: 2530
Joined: Nov 22nd, 2002
Re: Graphics problem since updating 1.0.2
Reply #22 - May 27th, 2004 at 1:33pm
Print Post Print Post  
Depends what you mean by "moderately damaged". Sesame will never be as hearty about damage as a dedicated image viewer. Any image viewer that is in production can dedicated all of their development time to dealing with images that in one way or another do not meet specifications.

I would recommend that you build a very simple Sesame application that has an image field (only) and use that to test images (standalone) before letting that image "through" to your production system - especially if you are using client/server and a bad image might interfere with other people working.

We are working to get the Sesame image capabilities to handle a wider range of variations, but as you know that is an ongoing battle. Every couple of days a new variation appears in the public domain.
  

Mark Lasersohn&&Programmer&&Lantica Software, LLC
Back to top
IP Logged
 
Ray the Reaper
Global Moderator
Members
Lantica Support
*****
Offline


The One & The Only

Posts: 2482
Joined: Aug 20th, 2003
Re: Graphics problem since updating 1.0.2
Reply #23 - May 27th, 2004 at 1:40pm
Print Post Print Post  
Steve,

The reason the Server Administration Unlock is working for Mark and not for you is because Mark was running Sesame Client and Sesame Server on one computer. 

This is intentional so that you have to be on the Server to unlock the database. The reasoning behind this is because someone may have the file open locally on the server and unlocking it could be catastrophic.

You have three options to unlock a database when running Client/Server. They are SUnlock, Sesame Stand-Alone on the server, or a Sesame Client on the server itself.
  

Raymond Yoxall Consulting
ray.yoxall@gmail.com
ryoxall@lantica.com
Sesame Applications, Design and Support
Back to top
IP Logged
 
Steve_in_Texas
Senior Member
*****
Offline


No personal text

Posts: 893
Location: San Antonio
Joined: Feb 21st, 2004
Re: Graphics problem since updating 1.0.2
Reply #24 - May 27th, 2004 at 1:41pm
Print Post Print Post  
Thanks Mark. I did set up a form that allows the user to just view the photos used on our site, but I didn't think to put that form in its own application.

I'll do that.

Thanks again for your help!

Steve in Texas
  
Back to top
IP Logged