Skip to content
This repository has been archived by the owner on Jul 24, 2021. It is now read-only.

Potlatch2 not loading in Chromium/FF Linux #4402

Closed
openstreetmap-trac opened this issue Jul 23, 2021 · 7 comments
Closed

Potlatch2 not loading in Chromium/FF Linux #4402

openstreetmap-trac opened this issue Jul 23, 2021 · 7 comments

Comments

@openstreetmap-trac
Copy link

Reporter: meinhard
[Submitted to the original trac issue database at 6.55pm, Thursday, 10th May 2012]

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:

@openstreetmap-trac
Copy link
Author

Author: meinhard
[Added to the original trac issue at 9.23am, Friday, 11th May 2012]

Similar reports at:

@openstreetmap-trac
Copy link
Author

Author: Richard
[Added to the original trac issue at 5.01pm, Friday, 11th May 2012]

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.

@openstreetmap-trac
Copy link
Author

Author: Richard
[Added to the original trac issue at 9.46am, Thursday, 24th May 2012]

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.

@openstreetmap-trac
Copy link
Author

Author: meinhard
[Added to the original trac issue at 10.01am, Thursday, 24th May 2012]

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

@openstreetmap-trac
Copy link
Author

Author: Richard
[Added to the original trac issue at 10.10am, Thursday, 24th May 2012]

If I remember :)

@openstreetmap-trac
Copy link
Author

Author: TomH
[Added to the original trac issue at 10.16am, Thursday, 24th May 2012]

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

@openstreetmap-trac
Copy link
Author

Author: Richard
[Added to the original trac issue at 10.18pm, Tuesday, 12th June 2012]

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant