https://issues.qgis.org/https://issues.qgis.org/favicon.ico2015-02-26T05:08:46ZQGIS Issue TrackingQGIS Plugin Site - Bug report #12274: QGIS Python plugin upload not workinghttps://issues.qgis.org/issues/12274?journal_id=596352015-02-26T05:08:46ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Project</strong> changed from <i>QGIS Application</i> to <i>QGIS Plugin Site</i></li><li><strong>Category</strong> deleted (<del><i>Python plugins</i></del>)</li></ul> QGIS Plugin Site - Bug report #12274: QGIS Python plugin upload not workinghttps://issues.qgis.org/issues/12274?journal_id=596362015-02-26T05:12:22ZAlessandro Pasotti
<ul></ul><p>Can you reproduce the error?</p>
<p>Is sounds like a temporary server issue, we have had a few lately.</p> QGIS Plugin Site - Bug report #12274: QGIS Python plugin upload not workinghttps://issues.qgis.org/issues/12274?journal_id=596372015-02-26T05:25:54ZDennis Ligtenbergdligtenb@hsr.ch
<ul></ul><p>Alessandro Pasotti wrote:</p>
<blockquote>
<p>Can you reproduce the error?</p>
<p>Is sounds like a temporary server issue, we have had a few lately.</p>
</blockquote>
<p>I just tried again and it still seems not to work.</p> QGIS Plugin Site - Bug report #12274: QGIS Python plugin upload not workinghttps://issues.qgis.org/issues/12274?journal_id=596402015-02-26T06:32:30ZAlessandro Pasotti
<ul></ul><p>Ok, so please:</p>
<p>1. attach the plugin<br />2. describe step by step how you upload the plugin (there are 3 different ways to do it)</p> QGIS Plugin Site - Bug report #12274: QGIS Python plugin upload not workinghttps://issues.qgis.org/issues/12274?journal_id=596412015-02-26T06:44:28ZAlessandro Pasotti
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>In Progress</i></li></ul><p>Forget about it: found the issue.</p>
<p>Your zip file is probably corrupted and does not pass zipfile internal test made by the library. The error wasn't catched correctly, I'm going to upload a fix.</p> QGIS Plugin Site - Bug report #12274: QGIS Python plugin upload not workinghttps://issues.qgis.org/issues/12274?journal_id=596602015-02-27T01:19:31ZAlessandro Pasotti
<ul><li><strong>Status</strong> changed from <i>In Progress</i> to <i>Closed</i></li><li><strong>Assignee</strong> set to <i>Alessandro Pasotti</i></li></ul><p>Fix deployed.</p> QGIS Plugin Site - Bug report #12274: QGIS Python plugin upload not workinghttps://issues.qgis.org/issues/12274?journal_id=596742015-03-02T01:11:18ZDennis Ligtenbergdligtenb@hsr.ch
<ul><li><strong>Status</strong> changed from <i>Closed</i> to <i>Reopened</i></li></ul><p>It still does not work... Same error.<br />I'm trying to upload here: <a class="external" href="https://plugins.qgis.org/plugins/add/">https://plugins.qgis.org/plugins/add/</a></p>
<p>The file is larger than the max 5MB you can upload here, but it's basically the ziped version of the repository minus all the git files.<br /><a class="external" href="https://github.com/geometalab/Quiz-QGIS-Plugin">https://github.com/geometalab/Quiz-QGIS-Plugin</a></p>
<p>Edit: Uploaded the zip to Dropbox: <a class="external" href="https://www.dropbox.com/s/lse8g3eprwk7n07/QuizQGISPlugin.zip?dl=0">https://www.dropbox.com/s/lse8g3eprwk7n07/QuizQGISPlugin.zip?dl=0</a></p> QGIS Plugin Site - Bug report #12274: QGIS Python plugin upload not workinghttps://issues.qgis.org/issues/12274?journal_id=596752015-03-02T01:16:37ZAlessandro Pasotti
<ul></ul><p>Now it's a different error.</p>
<p>Can you please attach the zip file you are trying to upload?</p>
<p>Without that I won't be able to track the issue.</p> QGIS Plugin Site - Bug report #12274: QGIS Python plugin upload not workinghttps://issues.qgis.org/issues/12274?journal_id=596762015-03-02T01:36:48ZDennis Ligtenbergdligtenb@hsr.ch
<ul></ul><p>Alessandro Pasotti wrote:</p>
<blockquote>
<p>Now it's a different error.</p>
<p>Can you please attach the zip file you are trying to upload?</p>
<p>Without that I won't be able to track the issue.</p>
</blockquote>
<p>You can find it here:<br /><a class="external" href="https://www.dropbox.com/s/lse8g3eprwk7n07/QuizQGISPlugin.zip?dl=0">https://www.dropbox.com/s/lse8g3eprwk7n07/QuizQGISPlugin.zip?dl=0</a></p> QGIS Plugin Site - Bug report #12274: QGIS Python plugin upload not workinghttps://issues.qgis.org/issues/12274?journal_id=596772015-03-02T01:39:42ZAlessandro Pasotti
<ul></ul><p>I'm not able to download from dropbox (I have no account).</p>
<p>There is a nice feature that allows to upload an attachment here, please use it now.</p> QGIS Plugin Site - Bug report #12274: QGIS Python plugin upload not workinghttps://issues.qgis.org/issues/12274?journal_id=596782015-03-02T01:41:44ZDennis Ligtenbergdligtenb@hsr.ch
<ul></ul><p>Alessandro Pasotti wrote:</p>
<blockquote>
<p>I'm not able to download from dropbox (I have no account).</p>
<p>There is a nice feature that allows to upload an attachment here, please use it now.</p>
</blockquote>
<p>I can't, since the upload limit is 5MB.<br />Can you download it from here: <a class="external" href="https://owncloud.hsr.ch/public.php?service=files&t=848272a9de9f37c13bb23c406c77ab27">https://owncloud.hsr.ch/public.php?service=files&t=848272a9de9f37c13bb23c406c77ab27</a></p> QGIS Plugin Site - Bug report #12274: QGIS Python plugin upload not workinghttps://issues.qgis.org/issues/12274?journal_id=596802015-03-02T01:53:40ZAlessandro Pasotti
<ul></ul><p>The problem is with Belizè.png , zip function doesn't like unicode in file names.</p>
<p>I'm working on a fix, but in the meantime you can just rename that file and possibily other file names to ASCII.</p> QGIS Plugin Site - Bug report #12274: QGIS Python plugin upload not workinghttps://issues.qgis.org/issues/12274?journal_id=596812015-03-02T02:11:58ZNathan Woodrow
<ul></ul><p>Alessandro Pasotti wrote:</p>
<blockquote>
<p>I'm not able to download from dropbox (I have no account).</p>
<p>There is a nice feature that allows to upload an attachment here, please use it now.</p>
</blockquote>
<p>You don't need an account to download. Just follow the link and press download.</p> QGIS Plugin Site - Bug report #12274: QGIS Python plugin upload not workinghttps://issues.qgis.org/issues/12274?journal_id=596822015-03-02T02:14:27ZAlessandro Pasotti
<ul></ul><p>Thanks Nathan, that's exactly what I did, but I was prompted for a login or create a new account.</p> QGIS Plugin Site - Bug report #12274: QGIS Python plugin upload not workinghttps://issues.qgis.org/issues/12274?journal_id=596832015-03-02T02:32:01ZAlessandro Pasotti
<ul><li><strong>Status</strong> changed from <i>Reopened</i> to <i>Closed</i></li></ul><p>It sounds like there is not an easy fix for this problem, python zip library support for unicode filenames is not complete because there is not a defined way to treat unicode file names in the zip format itself.</p>
<p>So, for now we don't accept unicode filenames in plugins and I've added a try/except block to catch the UnicodeDecodeError and now it should print a proper error message with the bad file name.</p>