# I am getting this error on preview local 0.20.2 build 6524 

**URL:** <https://forums.fusetools.com/t/i-am-getting-this-error-on-preview-local-0-20-2-build-6524/6887>\
**Category:** Bug Reports\
**Created:** [June 7, 2016, 10:35pm UTC](https://forums.fusetools.com/t/i-am-getting-this-error-on-preview-local-0-20-2-build-6524/6887 "2016-06-07T22:35:38Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![Kelvin](https://avatars.discourse-cdn.com/v4/letter/k/7ba0ec/32.png) [@Kelvin](https://forums.fusetools.com/u/Kelvin)\
**Post date:** [June 7, 2016, 10:35pm UTC](https://forums.fusetools.com/t/i-am-getting-this-error-on-preview-local-0-20-2-build-6524/6887/1 "2016-06-07T22:35:38Z")

</div>

Unexpected fatal error! Please report this to us. Build started: FullCompile Configuring (7.35s) Compiling syntax tree (2.63s) Generating code and data (5.73s)

---

<div class="post-metadata">

**Author:** ![Anders\_Schau\_Knatten](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_schau_knatten/32/41_2.png) [@Anders\_Schau\_Knatten](https://forums.fusetools.com/u/Anders_Schau_Knatten)\
**Post date:** [June 10, 2016, 11:37am UTC](https://forums.fusetools.com/t/i-am-getting-this-error-on-preview-local-0-20-2-build-6524/6887/2 "2016-06-10T11:37:05Z")

</div>

Hi Kelvin,

Does this happen to all your projects, or just one? Can you please share the full build log, including the command you used to start the build?

---

<div class="post-metadata">

**Author:** ![Kelvin](https://avatars.discourse-cdn.com/v4/letter/k/7ba0ec/32.png) [@Kelvin](https://forums.fusetools.com/u/Kelvin)\
**Post date:** [June 12, 2016, 12:16am UTC](https://forums.fusetools.com/t/i-am-getting-this-error-on-preview-local-0-20-2-build-6524/6887/3 "2016-06-12T00:16:52Z")

</div>

Hey Anders, I have uploaded the log on the link below. I tried what you recomended and the error persists and yes it only happens on my project as I downloaded an example and it ran perfect.

this is the command I used: `fuse preview -t=local`

[https://drive.google.com/file/d/0BwrQGDm37RTfdzJUZlNtNmM0aEU/view?usp=sharing](https://drive.google.com/file/d/0BwrQGDm37RTfdzJUZlNtNmM0aEU/view?usp=sharing)

---

<div class="post-metadata">

**Author:** ![Anders\_Schau\_Knatten](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_schau_knatten/32/41_2.png) [@Anders\_Schau\_Knatten](https://forums.fusetools.com/u/Anders_Schau_Knatten)\
**Post date:** [June 13, 2016, 5:56am UTC](https://forums.fusetools.com/t/i-am-getting-this-error-on-preview-local-0-20-2-build-6524/6887/4 "2016-06-13T05:56:49Z")

</div>

Hi Kelvin,

This looks like a crash in our png loader. Could it be that your app is using an image that’s actually a jpeg, but saved as `.png`? I know we recently had an issue with this causing crashes, and I don’t think the fix has beed deployed to production yet.

Please check if your images are saved with the correct extension, and if that doesn’t help, please upload your project to [https://www.dropbox.com/request/ZgndLtJQm5eGzG9cicGK](https://www.dropbox.com/request/ZgndLtJQm5eGzG9cicGK) so we can have a look at it. Files uploaded to that link is only available to the Fuse team.

Anyway, sorry for the crash, if this is indeed an issue with an image like I suspect, we should (and very soon will) give an error message instead of crashing.

By the way, which version of Fuse (`fuse --version`) are you running?

---

<div class="post-metadata">

**Author:** ![Edwin\_Reynoso](https://avatars.discourse-cdn.com/v4/letter/e/e99b99/32.png) [@Edwin\_Reynoso](https://forums.fusetools.com/u/Edwin_Reynoso)\
**Post date:** [June 13, 2016, 6:08am UTC](https://forums.fusetools.com/t/i-am-getting-this-error-on-preview-local-0-20-2-build-6524/6887/5 "2016-06-13T06:08:30Z")

</div>

Hey @Anders this a project Kelvin and I are working on so the code works on Windows runs perfectly nothing wrong, but on osx it crashes.

We’re on the latest version `Fuse version 0.20.3 (build 6549)`

I’m doubting that’s the problem since it works on windows, what happens if that’s not the case? What else can we do?

BTW we can’t upload the project

---

<div class="post-metadata">

**Author:** ![Anders\_Schau\_Knatten](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_schau_knatten/32/41_2.png) [@Anders\_Schau\_Knatten](https://forums.fusetools.com/u/Anders_Schau_Knatten)\
**Post date:** [June 13, 2016, 6:35am UTC](https://forums.fusetools.com/t/i-am-getting-this-error-on-preview-local-0-20-2-build-6524/6887/6 "2016-06-13T06:35:01Z")

</div>

The underlying Fuse code for Windows and OS X is not always identical. This means that while you should normally expect to see the exact same behaviour on Windows and OS X, some bugs in Fuse can manifest on one platform only. The bug I mentioned above only affects OS X.

That bug has been fixed in the underlying support library, but has not made its way to a Fuse installer yet, and will not do so in a few days still.

If you’re unable to upload the project, the only options I can think of in the mean time are:

- Check that your images are saved with the correct extension.
- Comment out one image at a time until you find the one that’s crashing your preview, and if possible send that to us, or try to figure out what’s wrong with it.

If this is still an issue in a few days, I can send you an experimental installer that contains a fix that might solve your issue. This won’t be officially released until next week however.

---

<div class="post-metadata">

**Author:** ![Edwin\_Reynoso](https://avatars.discourse-cdn.com/v4/letter/e/e99b99/32.png) [@Edwin\_Reynoso](https://forums.fusetools.com/u/Edwin_Reynoso)\
**Post date:** [June 13, 2016, 6:39am UTC](https://forums.fusetools.com/t/i-am-getting-this-error-on-preview-local-0-20-2-build-6524/6887/7 "2016-06-13T06:39:18Z")

</div>

Awesome, we’ll try that and we can wait till next week thanks.

---

<div class="post-metadata">

**Author:** ![Edwin\_Reynoso](https://avatars.discourse-cdn.com/v4/letter/e/e99b99/32.png) [@Edwin\_Reynoso](https://forums.fusetools.com/u/Edwin_Reynoso)\
**Post date:** [June 16, 2016, 1:39am UTC](https://forums.fusetools.com/t/i-am-getting-this-error-on-preview-local-0-20-2-build-6524/6887/8 "2016-06-16T01:39:48Z")

</div>

Hey Anders so that was the probelem, but it crashes whenever we switch to a page with an image, might be with every image then. Could you please send us a link to that experimental installer?

---

<div class="post-metadata">

**Author:** ![Anders\_Schau\_Knatten](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_schau_knatten/32/41_2.png) [@Anders\_Schau\_Knatten](https://forums.fusetools.com/u/Anders_Schau_Knatten)\
**Post date:** [June 20, 2016, 7:20am UTC](https://forums.fusetools.com/t/i-am-getting-this-error-on-preview-local-0-20-2-build-6524/6887/9 "2016-06-20T07:20:54Z")

</div>

I’ll PM you the new installer on Slack.

---

<div class="post-metadata">

**Author:** ![Edwin\_Reynoso](https://avatars.discourse-cdn.com/v4/letter/e/e99b99/32.png) [@Edwin\_Reynoso](https://forums.fusetools.com/u/Edwin_Reynoso)\
**Post date:** [June 20, 2016, 7:21am UTC](https://forums.fusetools.com/t/i-am-getting-this-error-on-preview-local-0-20-2-build-6524/6887/10 "2016-06-20T07:21:49Z")

</div>

Cool sounds good, I’m under @Edwin

---

<div class="post-metadata">

**Author:** ![Edwin\_Reynoso](https://avatars.discourse-cdn.com/v4/letter/e/e99b99/32.png) [@Edwin\_Reynoso](https://forums.fusetools.com/u/Edwin_Reynoso)\
**Post date:** [July 24, 2016, 2:55am UTC](https://forums.fusetools.com/t/i-am-getting-this-error-on-preview-local-0-20-2-build-6524/6887/11 "2016-07-24T02:55:47Z")

</div>

Hey @Anders we’re on the latest fuse version 0.22 build 6996

and we’re still getting some error which is non readable to a non Objective C/Uno person. Anyway to know what’s going on? this is the error we’re getting:

If you can’t figure it out don’t worry too much about it we’ll be refactoring our app soon 😃

```auto
2016-07-23 22:53:05.125 Crowder[789:216206] Unable to simultaneously satisfy constraints.
    Probably at least one of the constraints in the following list is one you don't want. 
    Try this: 
        (1) look at each constraint and try to figure out which you don't expect; 
        (2) find the code that added the unwanted constraint or constraints and fix it. 
    (Note: If you're seeing NSAutoresizingMaskLayoutConstraints that you don't understand, refer to the documentation for the UIView property translatesAutoresizingMaskIntoConstraints) 
(
    "<NSAutoresizingMaskLayoutConstraint:0x126d78700 h=-&- v=-&- MKMapView:0x124de5700.height == UIView:0x126c7df10.height>",
    "<NSLayoutConstraint:0x126cb7550 UILayoutGuide:0x126cb6fd0'Edge Insets'.top == MKMapView:0x124de5700.top + 20>",
    "<NSLayoutConstraint:0x126cb7d40 UILayoutGuide:0x126cb6fd0'Edge Insets'.bottom == MKMapView:0x124de5700.bottom>",
    "<NSLayoutConstraint:0x1288181f0 'UIView-Encapsulated-Layout-Height' V:[UIView:0x126c7df10(0)]>"
)

Will attempt to recover by breaking constraint 
<NSLayoutConstraint:0x126cb7d40 UILayoutGuide:0x126cb6fd0'Edge Insets'.bottom == MKMapView:0x124de5700.bottom>

Make a symbolic breakpoint at UIViewAlertForUnsatisfiableConstraints to catch this in the debugger.
The methods in the UIConstraintBasedLayoutDebugging category on UIView listed in <UIKit/UIView.h> may also be helpful.
2016-07-23 22:53:08.222 Crowder[789:216206] Trying to start MapKit location updates without prompting for location authorization. Must call -[CLLocationManager requestWhenInUseAuthorization] or -[CLLocationManager requestAlwaysAuthorization] first.
libc++abi.dylib: terminating with uncaught exception of type uBase::Exception: uBase::Exception
(lldb)

```

---

<div class="post-metadata">

**Author:** ![Anders\_Schau\_Knatten](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_schau_knatten/32/41_2.png) [@Anders\_Schau\_Knatten](https://forums.fusetools.com/u/Anders_Schau_Knatten)\
**Post date:** [July 25, 2016, 10:19am UTC](https://forums.fusetools.com/t/i-am-getting-this-error-on-preview-local-0-20-2-build-6524/6887/12 "2016-07-25T10:19:34Z")

</div>

Hey Edwin,

I’m afraid I don’t know what that means without some more investigation. So maybe we should just save both of us some time and get back to it after your refactoring if it’s still a problem then?

---

<div class="post-metadata">

**Author:** ![Kelvin](https://avatars.discourse-cdn.com/v4/letter/k/7ba0ec/32.png) [@Kelvin](https://forums.fusetools.com/u/Kelvin)\
**Post date:** [July 26, 2016, 1:24am UTC](https://forums.fusetools.com/t/i-am-getting-this-error-on-preview-local-0-20-2-build-6524/6887/13 "2016-07-26T01:24:13Z")

</div>

Hey Anders,

So going back to the error we are getting when building the project in IOS. We just made an example project and uploaded to the DropBox/Request hoping you can take a look at it when you get a chance, the name of the File is -“Error Example”.

Thanks in advance. Kelvin

---

<div class="post-metadata">

**Author:** ![Anders\_Schau\_Knatten](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_schau_knatten/32/41_2.png) [@Anders\_Schau\_Knatten](https://forums.fusetools.com/u/Anders_Schau_Knatten)\
**Post date:** [July 26, 2016, 7:59am UTC](https://forums.fusetools.com/t/i-am-getting-this-error-on-preview-local-0-20-2-build-6524/6887/14 "2016-07-26T07:59:59Z")

</div>

If you’re now talking about the runtime crash, this is because some of your pngs are actually jpegs.

```auto
Assets $ identify *
pic1.png PNG 634x423 634x423+0+0 8-bit sRGB 774KB 0.000u 0:00.000
pic2.png PNG 959x639 959x639+0+0 8-bit sRGB 1.775MB 0.000u 0:00.000
pic3.png JPEG 1276x669 1276x669+0+0 8-bit sRGB 696KB 0.020u 0:00.029
pic4.png JPEG 2496x1664 2496x1664+0+0 8-bit sRGB 2.123MB 0.010u 0:00.000
pic5.png JPEG 960x640 960x640+0+0 8-bit sRGB 125KB 0.000u 0:00.000
pic6.png JPEG 2560x1840 2560x1840+0+0 8-bit sRGB 630KB 0.000u 0:00.000
pic7.png JPEG 844x550 844x550+0+0 8-bit sRGB 143KB 0.000u 0:00.000

```

Try to make sure your images have the correct extension and you should get around this issue.

Of course Fuse shouldn’t crash in this case, I’ll make sure we improve in that regard in a future version.

---

<div class="post-metadata">

**Author:** ![Edwin\_Reynoso](https://avatars.discourse-cdn.com/v4/letter/e/e99b99/32.png) [@Edwin\_Reynoso](https://forums.fusetools.com/u/Edwin_Reynoso)\
**Post date:** [July 26, 2016, 7:20pm UTC](https://forums.fusetools.com/t/i-am-getting-this-error-on-preview-local-0-20-2-build-6524/6887/15 "2016-07-26T19:20:16Z")

</div>

Yea we were hoping for better errors, we don’t understand any of that? Any resources to understand any of the above you posted?

---

<div class="post-metadata">

**Author:** ![Anders\_Schau\_Knatten](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_schau_knatten/32/41_2.png) [@Anders\_Schau\_Knatten](https://forums.fusetools.com/u/Anders_Schau_Knatten)\
**Post date:** [July 27, 2016, 8:01am UTC](https://forums.fusetools.com/t/i-am-getting-this-error-on-preview-local-0-20-2-build-6524/6887/16 "2016-07-27T08:01:47Z")

</div>

What I’m saying in the above post is that I checked all your `.png` files, and it looks like many of them are actually JPEG images that for some reason are saved with a `.png` extension. If you save your images with the correct file extension, the error should go away.

---

<div class="post-metadata">

**Author:** ![Edwin\_Reynoso](https://avatars.discourse-cdn.com/v4/letter/e/e99b99/32.png) [@Edwin\_Reynoso](https://forums.fusetools.com/u/Edwin_Reynoso)\
**Post date:** [July 27, 2016, 8:13am UTC](https://forums.fusetools.com/t/i-am-getting-this-error-on-preview-local-0-20-2-build-6524/6887/17 "2016-07-27T08:13:11Z")

</div>

Yea I got that part, and got it to work Anders thanks. It’s because I got those images of the internet, most likely the person thought changing the extension would just convert them (still wondering when OSes are going to make it that easy lol) and just uploaded them that way. So it downloaded as png’s or something like that, idk those images are old was a while back. But I guess I don’t need to really understand where you got that data from, since you’ll be providing better errors soon.

---

<div class="post-metadata">

**Author:** ![Anders\_Schau\_Knatten](https://yyz1.discourse-cdn.com/flex035/user_avatar/forums.fusetools.com/anders_schau_knatten/32/41_2.png) [@Anders\_Schau\_Knatten](https://forums.fusetools.com/u/Anders_Schau_Knatten)\
**Post date:** [July 27, 2016, 9:29am UTC](https://forums.fusetools.com/t/i-am-getting-this-error-on-preview-local-0-20-2-build-6524/6887/18 "2016-07-27T09:29:23Z")

</div>

I got that info from `identify`, a tool from ImageMagick (`brew install imagemagick`)
