View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
14789Bug reportsLimeSurvey Websitepublic2019-05-14 09:57
ReporterDenisChenu Assigned Toollehar  
PrioritynoneSeverityminor 
Status closedResolutionreopened 
Product Version3.17.x 
Summary14789: Zip file to big : 2Mo is really less than needed
Description

Trying to update skelvanilla :Zip file is too big.

Steps To Reproduce

Try to import https://dl.sondages.pro/skelvanilla.zip

I think it was already reported but for a bigger file (when need external way maybe).

But here : it's a template with a lot of variations :)

TagsNo tags attached.
Attached Files
skelvanilla.zip (1,916,161 bytes)
Bug heat4
Complete LimeSurvey version number (& build)3.17.2 github
I will donate to the project if issue is resolvedNo
Browsernot relevant
Database type & versionnot relevant
Server OS (if known)not relevant
Webserver software & version (if known)not relevant
PHP Versionnot relevant

Users monitoring this issue

There are no users monitoring this issue.

Activities

ollehar

ollehar

2019-04-30 14:19

administrator   ~51701

Can you try again, please? The limit should be set to 10 MB now.

DenisChenu

DenisChenu

2019-04-30 16:14

developer   ~51704

No, again Zip file is too big.

Same zip than in report

DenisChenu

DenisChenu

2019-04-30 16:14

developer   ~51705

1,916,161 bytes ;)

ollehar

ollehar

2019-04-30 17:34

administrator   ~51706

My code check for zip bombs, so it's the unzipped size that matters. Hm. Can I shrink it, or should I ask Carsten to increase the limit?

DenisChenu

DenisChenu

2019-04-30 18:27

developer   ~51707

Last edited: 2019-04-30 18:27

Here, the biggest part are variations …

$ du -h .
68K ./options
36K ./views/subviews/content
12K ./views/subviews/registration
16K ./views/subviews/survey/group_subviews
24K ./views/subviews/survey/question_subviews
56K ./views/subviews/survey
44K ./views/subviews/navigation
8,0K    ./views/subviews/footer
24K ./views/subviews/printanswers
16K ./views/subviews/messages
24K ./views/subviews/header
224K    ./views/subviews
248K    ./views
9,9M    ./css/variations
11M ./css
156K    ./files
36K ./scripts
11M .

But :

$ ls -lh css/variations/
total 9,9M
-rw-rw-r-- 1 shnoulle shnoulle 134K 12 avril 18:46 bootstrap-awesome.min.css
-rw-rw-r-- 1 shnoulle shnoulle 131K 12 avril 18:46 bootstrap-base.min.css
-rw-rw-r-- 1 shnoulle shnoulle 139K 12 avril 18:46 bootstrap-button_awesome.min.css
-rw-rw-r-- 1 shnoulle shnoulle 135K 12 avril 18:46 bootstrap-button.min.css
-rw-rw-r-- 1 shnoulle shnoulle 138K 12 avril 18:46 cerulean-awesome.min.css
-rw-rw-r-- 1 shnoulle shnoulle 134K 12 avril 18:46 cerulean-base.min.css
-rw-rw-r-- 1 shnoulle shnoulle 142K 12 avril 18:46 cerulean-button_awesome.min.css
-rw-rw-r-- 1 shnoulle shnoulle 138K 12 avril 18:46 cerulean-button.min.css
-rw-rw-r-- 1 shnoulle shnoulle 135K 12 avril 18:46 contrast-awesome.min.css
-rw-rw-r-- 1 shnoulle shnoulle 131K 12 avril 18:46 contrast-base.min.css
-rw-rw-r-- 1 shnoulle shnoulle 140K 12 avril 18:46 contrast-button_awesome.min.css
-rw-rw-r-- 1 shnoulle shnoulle 136K 12 avril 18:46 contrast-button.min.css
-rw-rw-r-- 1 shnoulle shnoulle 136K 12 avril 18:46 cosmo-awesome.min.css
-rw-rw-r-- 1 shnoulle shnoulle 132K 12 avril 18:46 cosmo-base.min.css
-rw-rw-r-- 1 shnoulle shnoulle 140K 12 avril 18:46 cosmo-button_awesome.min.css
-rw-rw-r-- 1 shnoulle shnoulle 137K 12 avril 18:46 cosmo-button.min.css
-rw-rw-r-- 1 shnoulle shnoulle 136K 12 avril 18:46 cyborg-awesome.min.css
-rw-rw-r-- 1 shnoulle shnoulle 132K 12 avril 18:46 cyborg-base.min.css
-rw-rw-r-- 1 shnoulle shnoulle 141K 12 avril 18:46 cyborg-button_awesome.min.css
-rw-rw-r-- 1 shnoulle shnoulle 137K 12 avril 18:46 cyborg-button.min.css
-rw-rw-r-- 1 shnoulle shnoulle 137K 12 avril 18:46 darkly-awesome.min.css
-rw-rw-r-- 1 shnoulle shnoulle 133K 12 avril 18:46 darkly-base.min.css
-rw-rw-r-- 1 shnoulle shnoulle 142K 12 avril 18:46 darkly-button_awesome.min.css
-rw-rw-r-- 1 shnoulle shnoulle 138K 12 avril 18:46 darkly-button.min.css
-rw-rw-r-- 1 shnoulle shnoulle 138K 12 avril 18:46 flatly-awesome.min.css
-rw-rw-r-- 1 shnoulle shnoulle 134K 12 avril 18:46 flatly-base.min.css
-rw-rw-r-- 1 shnoulle shnoulle 142K 12 avril 18:46 flatly-button_awesome.min.css
-rw-rw-r-- 1 shnoulle shnoulle 138K 12 avril 18:46 flatly-button.min.css
-rw-rw-r-- 1 shnoulle shnoulle 135K 12 avril 18:46 journal-awesome.min.css
-rw-rw-r-- 1 shnoulle shnoulle 132K 12 avril 18:46 journal-base.min.css
-rw-rw-r-- 1 shnoulle shnoulle 140K 12 avril 18:46 journal-button_awesome.min.css
-rw-rw-r-- 1 shnoulle shnoulle 136K 12 avril 18:46 journal-button.min.css
-rw-rw-r-- 1 shnoulle shnoulle 1,1K 12 avril 18:46 LICENSE
-rw-rw-r-- 1 shnoulle shnoulle 140K 12 avril 18:46 lumen-awesome.min.css
-rw-rw-r-- 1 shnoulle shnoulle 136K 12 avril 18:46 lumen-base.min.css
-rw-rw-r-- 1 shnoulle shnoulle 144K 12 avril 18:46 lumen-button_awesome.min.css
-rw-rw-r-- 1 shnoulle shnoulle 140K 12 avril 18:46 lumen-button.min.css
-rw-rw-r-- 1 shnoulle shnoulle 149K 12 avril 18:46 paper-awesome.min.css
-rw-rw-r-- 1 shnoulle shnoulle 145K 12 avril 18:46 paper-base.min.css
-rw-rw-r-- 1 shnoulle shnoulle 154K 12 avril 18:46 paper-button_awesome.min.css
-rw-rw-r-- 1 shnoulle shnoulle 150K 12 avril 18:46 paper-button.min.css
-rw-rw-r-- 1 shnoulle shnoulle 136K 12 avril 18:46 readable-awesome.min.css
-rw-rw-r-- 1 shnoulle shnoulle 132K 12 avril 18:46 readable-base.min.css
-rw-rw-r-- 1 shnoulle shnoulle 140K 12 avril 18:46 readable-button_awesome.min.css
-rw-rw-r-- 1 shnoulle shnoulle 137K 12 avril 18:46 readable-button.min.css
-rw-rw-r-- 1 shnoulle shnoulle 136K 12 avril 18:46 sandstone-awesome.min.css
-rw-rw-r-- 1 shnoulle shnoulle 132K 12 avril 18:46 sandstone-base.min.css
-rw-rw-r-- 1 shnoulle shnoulle 140K 12 avril 18:46 sandstone-button_awesome.min.css
-rw-rw-r-- 1 shnoulle shnoulle 136K 12 avril 18:46 sandstone-button.min.css
-rw-rw-r-- 1 shnoulle shnoulle 137K 12 avril 18:46 simplex-awesome.min.css
-rw-rw-r-- 1 shnoulle shnoulle 134K 12 avril 18:46 simplex-base.min.css
-rw-rw-r-- 1 shnoulle shnoulle 142K 12 avril 18:46 simplex-button_awesome.min.css
-rw-rw-r-- 1 shnoulle shnoulle 138K 12 avril 18:46 simplex-button.min.css
-rw-rw-r-- 1 shnoulle shnoulle 146K 12 avril 18:46 slate-awesome.min.css
-rw-rw-r-- 1 shnoulle shnoulle 142K 12 avril 18:46 slate-base.min.css
-rw-rw-r-- 1 shnoulle shnoulle 151K 12 avril 18:46 slate-button_awesome.min.css
-rw-rw-r-- 1 shnoulle shnoulle 147K 12 avril 18:46 slate-button.min.css
-rw-rw-r-- 1 shnoulle shnoulle 141K 12 avril 18:46 spacelab-awesome.min.css
-rw-rw-r-- 1 shnoulle shnoulle 137K 12 avril 18:46 spacelab-base.min.css
-rw-rw-r-- 1 shnoulle shnoulle 146K 12 avril 18:46 spacelab-button_awesome.min.css
-rw-rw-r-- 1 shnoulle shnoulle 142K 12 avril 18:46 spacelab-button.min.css
-rw-rw-r-- 1 shnoulle shnoulle 135K 12 avril 18:46 superhero-awesome.min.css
-rw-rw-r-- 1 shnoulle shnoulle 132K 12 avril 18:46 superhero-base.min.css
-rw-rw-r-- 1 shnoulle shnoulle 140K 12 avril 18:46 superhero-button_awesome.min.css
-rw-rw-r-- 1 shnoulle shnoulle 136K 12 avril 18:46 superhero-button.min.css
-rw-rw-r-- 1 shnoulle shnoulle 135K 12 avril 18:46 united-awesome.min.css
-rw-rw-r-- 1 shnoulle shnoulle 131K 12 avril 18:46 united-base.min.css
-rw-rw-r-- 1 shnoulle shnoulle 140K 12 avril 18:46 united-button_awesome.min.css
-rw-rw-r-- 1 shnoulle shnoulle 136K 12 avril 18:46 united-button.min.css
-rw-rw-r-- 1 shnoulle shnoulle 140K 12 avril 18:46 yeti-awesome.min.css
-rw-rw-r-- 1 shnoulle shnoulle 136K 12 avril 18:46 yeti-base.min.css
-rw-rw-r-- 1 shnoulle shnoulle 144K 12 avril 18:46 yeti-button_awesome.min.css
-rw-rw-r-- 1 shnoulle shnoulle 140K 12 avril 18:46 yeti-button.min.css

Don't know , maybe remove variations for limesurvey.org , just leave some ?

ollehar

ollehar

2019-05-02 10:46

administrator   ~51712

I think I should change my check instead.

ollehar

ollehar

2019-05-10 13:59

administrator   ~51861

Checking both unpacked size and packed size separately. Please try again. Reopen if issue remains.

Current limit of unpacked size is 100 MB.

DenisChenu

DenisChenu

2019-05-12 15:14

developer   ~51906

Last edited: 2019-05-12 15:14

Strange : same file

Error

Missing name in config.xml
<config>
    <!-- Those metadata are displayed in the theme configuration page.  -->
    <metadata>
        <name>skelvanilla</name>
        <title>SkelVanilla</title>
        <creationDate>2018-10-29</creationDate>
        <author>Denis Chenu</author>
        <authorEmail>noreply@sondages.pro</authorEmail>
        <authorUrl>https://www.sondages.pro/contact</authorUrl>
        <supportUrl>https://extensions.sondages.pro/themes-and-templates/skelvanilla-a11y-and-usuability/?var_mode=calcul</supportUrl>
        <copyright>Copyright (C) 2018 Denis Chenu / Sondages Pro</copyright>
        <license>GNU General Public License version 3 or later</license>
        <version>4.7.7</version>
        <apiVersion>3</apiVersion>
        &lt;description>&lt;![CDATA[<strong>LimeSurvey Bootstrap Vanilla Survey Theme with Accessibility and Options</strong><br>Base on vanilla theme, usage of more aria, fix some role and aria from core.<br>Allow usage of a lot of variations, list of variation can be updated. Some decoration option using boostrap class.]]>&lt;/description>
        &lt;last_update>2019-05-12 13:06:19&lt;/last_update>
        &lt;extends>vanilla&lt;/extends>
    &lt;/metadata>
…

Need name out of metadata ?

(files on https://dl.sondages.pro/skelvanilla.zip )

ollehar

ollehar

2019-05-13 11:32

administrator   ~51914

The <type> tag is missing. The error message was wrong but is now fixed.

<type>theme</type>

DenisChenu

DenisChenu

2019-05-13 12:42

developer   ~51917

Ok, since it config.xml for 3.X no need type :)

ollehar

ollehar

2019-05-13 12:51

administrator   ~51918

LimeStore still wants it. Is that a problem?

DenisChenu

DenisChenu

2019-05-13 12:59

developer   ~51919

No easy add :).

It's not the case before, if i don't make an error.

ollehar

ollehar

2019-05-13 13:44

administrator   ~51921

No, maybe I added some extra validation since.

DenisChenu

DenisChenu

2019-05-14 09:45

developer   ~51932

Ok, can close :)

Issue History

Date Modified Username Field Change
2019-04-19 14:39 DenisChenu New Issue
2019-04-19 14:39 DenisChenu Status new => assigned
2019-04-19 14:39 DenisChenu Assigned To => ollehar
2019-04-19 14:39 DenisChenu Summary Zi_p file to big : 2Mo is really less than needed => Zip file to big : 2Mo is really less than needed
2019-04-30 14:19 ollehar Note Added: 51701
2019-04-30 14:20 ollehar Status assigned => feedback
2019-04-30 16:14 DenisChenu Note Added: 51704
2019-04-30 16:14 DenisChenu Status feedback => assigned
2019-04-30 16:14 DenisChenu File Added: Capture d’écran du 2019-04-30 16-13-26.png
2019-04-30 16:14 DenisChenu File Added: skelvanilla.zip
2019-04-30 16:14 DenisChenu Note Added: 51705
2019-04-30 17:34 ollehar Note Added: 51706
2019-04-30 18:27 DenisChenu Note Added: 51707
2019-04-30 18:27 DenisChenu Note Edited: 51707
2019-05-02 10:46 ollehar Note Added: 51712
2019-05-10 13:59 ollehar Status assigned => resolved
2019-05-10 13:59 ollehar Resolution open => fixed
2019-05-10 13:59 ollehar Note Added: 51861
2019-05-12 15:14 DenisChenu Note Added: 51906
2019-05-12 15:14 DenisChenu Status resolved => feedback
2019-05-12 15:14 DenisChenu Resolution fixed => reopened
2019-05-12 15:14 DenisChenu Note Edited: 51906
2019-05-13 10:33 ollehar Status feedback => confirmed
2019-05-13 11:32 ollehar Note Added: 51914
2019-05-13 11:32 ollehar Status confirmed => resolved
2019-05-13 12:42 DenisChenu Note Added: 51917
2019-05-13 12:51 ollehar Note Added: 51918
2019-05-13 12:59 DenisChenu Note Added: 51919
2019-05-13 13:44 ollehar Note Added: 51921
2019-05-14 09:45 DenisChenu Note Added: 51932
2019-05-14 09:57 ollehar Status resolved => closed