POST
|
Thank you. I prefer GIMP for most of my image work, but the office wouldn't allow it and gave me photoshop instead. Edit: Pulled out my memory stick with a PortableApps version of GIMP. Opened and saved all of my icons with default settings and they work without issue, thanks.
... View more
07-14-2015
01:11 PM
|
0
|
0
|
737
|
POST
|
Summary: I'm pretty sure that there's something wrong with the pngs I'm using that are causing the problem. And that's probably related to how I modified them in Photoshop. Suggestions on export settings when creating PNGs in Photoshop with transparency are welcome. I've attached the pngs that I modified from ESRI's originals (by reducing size, or by deleting the contents and creating my own). I'm not sure why "Save" fails, but "Save As" will then work correctly. Details: Here are the icons I'm using. Note that they're pngs with white content and a transparent background so they're a bit difficult to see in this viewer, so I'm attaching them to this message instead of placing them in content. Yes, that's the button I'm using to add them. Steps that reproduce the error for me: From "My Content" select create new App>App Builder Name it and give it a tag Leave as "Foldable" theme and the default "Grey" style, and layout. Pick any web map Turn on the Splash widget Clear the default content from the body. Add "Image 1: {image}, Image 2: {Image}, Image 3:{image}, Image 4:{image}" (inserting images with the "S" in the file name into the obvious locations). Any number of images >= 2 of the images I modified will cause a failure. All of the attached images are ones I modified. Click "OK", and exit the splash screen when it appears, and click "Save" for the App. I then get the "Failed to save app" after a wait of ~30 seconds. If I edit the splash screen, and remove the images, it'll save without issue. Exploring further, it looks like it will only accept having one of the pngs that I modified (all of the "S" versions, and the LinkIcon.png) before it fails to save. I can add combinations of the unmodified ones with one modified and it'll still save. I can make changes and add multiple modified images, have it fail to save, but the Save As option will work fine. This makes me think that there's something in my export process is at fault. Are there recommended export settings from Photoshop for creating PNGs? I used the defaults.
... View more
07-14-2015
09:42 AM
|
0
|
2
|
737
|
POST
|
A problem with similar symptoms, but apparently different cause was just answered over in the Web AppBuilder for ArcGIS forum. But, my question is specific to the AGOL variant of the Web AppBuilder. When I add multiple images (a few 20x20 pixel png mini-icons) to the text body of an "About" or "Splash" widget I start to get "Failed to Save App" errors. A single icon doesn't cause the problem, only multiple icons. I can remove the icons, and am able to save again. With the icons in the text body, I can successfully use "Save As", but that becomes inconvenient when you're just making small little tweaks to wording in response colleague's suggestions. Any ideas? I do not know if this predates the recent update as I hadn't used the icons before the update.
... View more
07-13-2015
05:07 PM
|
0
|
4
|
4163
|
POST
|
Andrew Terwiel Do you have any items such as multiple images or special formatting in any of the widgets included in your app? I suspect the new version of webapp builder may be having issues with saving updates to apps when they're present. Based on your response, it sounds like you're using the desktop developer's version while I'm using AGOL. I'm debating pushing ESRI on this since it's becoming "inconvenient" for me.
... View more
07-13-2015
02:01 PM
|
0
|
2
|
1460
|
POST
|
I just wanted to stop back by to thank everyone for chiming in. In short, it looks like you have to be very cautious because strings passed into code from Python toolboxes seems to get converted to unicode which fail several sets of equality checks when compared to standard Python strings including attempts to match them for doing joins. It also comes up when numpy is expecting a regular string for field naming.
... View more
07-13-2015
12:00 PM
|
2
|
0
|
2936
|
POST
|
I'm having exactly the same problem. I seem to be able to recreate the problem by inserting multiple images (in my case small versions of icons) into the body of the message for the splash or about widgets. If I remove them, I can save again fine. If I use Save As, that works fine as well. other info: I'm using the AGOL version of Web App Builder.
... View more
07-13-2015
09:45 AM
|
1
|
0
|
1460
|
Title | Kudos | Posted |
---|---|---|
2 | 07-13-2015 12:00 PM | |
1 | 07-13-2015 09:45 AM |
Online Status |
Offline
|
Date Last Visited |
11-11-2020
02:24 AM
|