Opened 7 years ago

Closed 7 years ago

#4402 closed defect (fixed)

Potlatch2 not loading in Chromium/FF Linux

Reported by: meinhard Owned by: potlatch-dev@…
Priority: minor Milestone:
Component: potlatch2 Version: 2.0
Keywords: Cc:

Description

Issue:

Environment:

  • Ubuntu GNU/Linux 12.04 32bit
  • Chromium 18.0.1025.162 or Firefox 12.0
  • Flash 11.2 r202, /usr/lib/flashplugin-installer/libflashplayer.so

Clues:

  • The editor loads correctly with Chrome 18.0 on the same system, using its own Flash plugin /opt/google/chrome/libgcflashplayer.so
  • C0bra and RichardF on #osm gave valuable hints
  • Check web server logs for frequency of this bug

Expected behaviour:

  • Editor loads framework_4.5.1.21328.swz from fpdownload.adobe.com and completes loading without error

Possible quick-fix:

Change History (7)

comment:2 Changed 7 years ago by Richard

Chatting to Andy today, he pointed out that remotely-hosted Runtime Shared Libraries are going to die a death anyway: Flex is becoming an Apache project, but Adobe (which retains Flash Player) won't sign or host Apache RSLs on adobe.com.

So we could potentially host the RSLs at osm.org, but it seems simpler to me to just compile P2 without the RSL dependency. An extra few hundred k isn't much on the .swf file isn't much, given that (thanks to Tom's work) it's now going through the asset pipeline anyway.

comment:3 Changed 7 years ago by Richard

I've committed a change to the build files such that P2 will now, by default, include all code within the .swf. It will no longer try (or not...) to load RSLs from adobe.com.

This does boost the filesize from 400k to 1.4Mb, but as the P2 SWF on osm.org now goes through the proper asset pipeline, the extra size should only be noticeable when the SWF is updated. Users of custom P2 instances are of course free to configure their build however they like!

I would anticipate that this will fix this issue, but we'll see when the osm.org instance next updates.

comment:4 Changed 7 years ago by meinhard

Hi Richard, thanks for the fix. Could you bump this ticket once the fix is live, so I can confirm?

comment:5 Changed 7 years ago by Richard

If I remember :)

comment:6 Changed 7 years ago by Tom Hughes

It's been pushed, so if you wait half an hour you can assume it will be live.

comment:7 Changed 7 years ago by Richard

Resolution: fixed
Status: newclosed

Am presuming this is now ok; please reopen if not.

Note: See TracTickets for help on using tickets.