eea daviz 9.1 - charts and maps do not load when phone is started in the background

31 views
Skip to first unread message

Nuno Zimas

unread,
Nov 24, 2014, 7:15:51 PM11/24/14
to eea-...@googlegroups.com
The subject line says it all.
Charts and maps will only load when phone is started in the foreground (bin/plonectl fg).

In case it matters, I have installed Plone 4.3.3 using the unified installer on Ubuntu 14.04.

Our Google API key is in place as well.

Screenshot 2014-11-24 21.06.29.png

Nuno Zimas

unread,
Nov 24, 2014, 8:25:46 PM11/24/14
to eea-...@googlegroups.com
Sorry for the typo in the subject line.
It should read Plone, not phone.
Autocorrect at its most whimsical (mis)behaviour.

Alin Voinea

unread,
Nov 25, 2014, 4:01:31 AM11/25/14
to eea-...@googlegroups.com
Can you please inspect with Firebug/Chrome Developer for any JS error? Thanks.

Zoltan Szabo

unread,
Nov 25, 2014, 5:32:13 AM11/25/14
to eea-...@googlegroups.com
Hi Nuno,

I just installed a clean plone 4.3.3 with the unified installer.
In the buildout i added eea.daviz to the eggs and zcml lists, and ran buildout again.
After starting the instance in background, I created a clean plone site, and from the site setup i activated eea.daviz.
From here i could add a new data visualization, and on the edit visualization page i had the icons for hiding facets, renaming dashboards, etc. Everything worked as expected.

Regarding the missing values for facets on the view, I could reproduce the problem. This issue appears when exhibit charts are used (Tile View, Map View, Tabular View, Timeline View). Seems if the exhibit is not the default/first visible chart, it has problems with the facet values.
For now, I suggest to not use exhibit and google charts on the same visualization, or, if necessary, put the exhibits in the front.

Cheers,
Zoltan
--
You received this message because you are subscribed to the Google Groups "EEA Daviz" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eea-daviz+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Nuno Zimas

unread,
Nov 25, 2014, 7:18:56 AM11/25/14
to eea-...@googlegroups.com
Hi Zoltan,

Which exact values did you add to the ZCML section of the buildout?
Better yet, would you mind charing your buildout.cfg file?

Thanks!

Nuno.

--
Nuno Zimas
Systems Administrator & Web Developer

You received this message because you are subscribed to a topic in the Google Groups "EEA Daviz" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/eea-daviz/Tix-2ns-I1A/unsubscribe.
To unsubscribe from this group and all its topics, send an email to eea-daviz+...@googlegroups.com.

Zoltan Szabo

unread,
Nov 25, 2014, 7:29:45 AM11/25/14
to eea-...@googlegroups.com
It's the default buildout.cfg just modified the eggs and zcml lists:
eggs =
    Plone
    Pillow
    eea.daviz
zcml =
    eea.daviz
#    plone.reload

Anyway, i attached the cfg. Hope it helps.

Did i understood correctly, is it working ok when you're running in fg, and you have problems only when it's in background?
What OS are you working on?
buildout.cfg

Nuno Zimas

unread,
Nov 25, 2014, 10:24:48 PM11/25/14
to eea-...@googlegroups.com
Hi Zoltan,

Odd things keep happening when Plone is sent to the background.

For instance, the Browse button on Upload CSV/TSV dialog will not show.

buildout.cfg
Screenshot 2014-11-26 00.08.22.png
Screenshot 2014-11-26 00.23.29.png

Zoltan Szabo

unread,
Nov 26, 2014, 3:35:27 AM11/26/14
to eea-...@googlegroups.com
Hi,

This is a newly installed, clean plone, right? What operating system are you working on?
I'm wondering if there is any user permission problem. When you start plone in fg one user is used, when in background, another one, who has no rights on the resource folder.
Can you attach the log file, maybe i can figure out what's happening?

Thanks,
Zoltan
--
You received this message because you are subscribed to the Google Groups "EEA Daviz" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eea-daviz+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.




When Plone is started in the foreground, all the elements that are missing when Plone runs in the background seem to display correctly.

The JS error console only shows a couple of theme related errors in either mode of execution.

--
You received this message because you are subscribed to the Google Groups "EEA Daviz" group.
To unsubscribe from this group and stop receiving emails from it, send an email to eea-daviz+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.




--
Nuno Zimas
Systems Administrator & Web Developer

Nuno Zimas

unread,
Nov 26, 2014, 9:28:57 AM11/26/14
to eea-...@googlegroups.com
On 26 Nov 2014, at 05:35, Zoltan Szabo <zoltan...@eaudeweb.ro> wrote:

Hi,

This is a newly installed, clean plone, right?

Correct.

What operating system are you working on?

CentOS 7, although it was behaving the same way on Ubuntu 14.04.

I'm wondering if there is any user permission problem. When you start plone in fg one user is used, when in background, another one, who has no rights on the resource folder.

Theoretically, plonectl is stated by the same user, regardless of option (fg or start).
The user is listed in the sudoers file and owns the whole Plone installation tree.
Directory permissions are typically set to 755 and files to 644 (which is OK in most use cases).

Can you attach the log file, maybe i can figure out what's happening?

Sure.

instance.log.zip

Zoltan Szabo

unread,
Nov 26, 2014, 3:58:25 PM11/26/14
to eea-...@googlegroups.com
When starting in background, you could try to check the development mode checkbox in portal_css. If your problem persists, on the edit visualization page check if the eea-icons.css is loaded.
Reply all
Reply to author
Forward
0 new messages