<div dir="ltr"><div dir="ltr"></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, Mar 13, 2019 at 4:42 PM Richard Duivenvoorde <<a href="mailto:rdmailings@duif.net">rdmailings@duif.net</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Ok, this went better.<br>
<br>
Only on the end I see:<br>
<br>
default: Installed 86 object(s) from 1 fixture(s)<br>
default:<br>
/var/qgis_plugins/venv/lib/python3.6/site-packages/psycopg2/__init__.py:144:<br>
UserWarning: The psycopg2 wheel package will be renamed from release<br>
2.8; in order to keep installing from binary please use "pip install<br>
psycopg2-binary" instead. For details see:<br>
<<a href="http://initd.org/psycopg/docs/install.html#binary-install-from-pypi" rel="noreferrer" target="_blank">http://initd.org/psycopg/docs/install.html#binary-install-from-pypi</a>>.<br>
default: """)<br>
default: Installed 2 object(s) from 1 fixture(s)<br>
default: Traceback (most recent call last):<br>
default: File "upload_test.py", line 3, in <module><br>
default: handle = open("HelloWorld.zip", "rb")<br>
default: FileNotFoundError: [Errno 2] No such file or directory:<br>
'HelloWorld.zip'<br>
The SSH command responded with a non-zero exit status. Vagrant<br>
assumes that this means the command failed. The output for this command<br>
should be in the log above. Please read the output to determine what<br>
went wrong.<br>
<br>
<br>
So apparently you try to upload the HelloWorld.zip plugin?<br></blockquote><div><br></div><div>Yes, so that you can see at least one plugin when opening the site.</div><div><br></div><div>Let me check if I forgot to add the zip to git.<br></div><div><br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
And should we use 'psycopg2-binary' already or so?<br></blockquote><div><br></div><div><br></div><div>No idea: it's just a warning, you can try to change the install and see it that works.<br></div><div><br></div><div> <br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<br>
Richard<br>
<br>
On 13/03/2019 16.28, Alessandro Pasotti wrote:<br>
> <br>
> Sorry, probably a leftover: you don't need disksize for this particular<br>
> vagrant.<br>
> <br>
> I've commented it out in modernize.<br>
> <br>
> On Wed, Mar 13, 2019 at 4:25 PM Richard 🌍 Duivenvoorde<br>
> <<a href="mailto:richard@duif.net" target="_blank">richard@duif.net</a> <mailto:<a href="mailto:richard@duif.net" target="_blank">richard@duif.net</a>>> wrote:<br>
> <br>
> On 13/03/2019 15.33, Alessandro Pasotti wrote:<br>
> ><br>
> > Hi,<br>
> ><br>
> > Ok, it took something more than one day but I'm done with the<br>
> porting of<br>
> > the plugin application to Django 2 and Python 3, on branch modernize:<br>
> ><br>
> > Vagrant file is ready and working in the main directory, have a<br>
> look to<br>
> > the README:<br>
> ><br>
> > <a href="https://github.com/qgis/QGIS-Django/tree/modernize/vagrant_assets" rel="noreferrer" target="_blank">https://github.com/qgis/QGIS-Django/tree/modernize/vagrant_assets</a><br>
> ><br>
> > btw, git clone and "vagrant up" should be all you need to get<br>
> started in<br>
> > debug mode and ready for development.<br>
> ><br>
> > Some work has been done on the dependencies, the new requirements<br>
> are in <br>
> ><br>
> <a href="https://github.com/qgis/QGIS-Django/blob/modernize/qgis-app/REQUIREMENTS_plugins.txt" rel="noreferrer" target="_blank">https://github.com/qgis/QGIS-Django/blob/modernize/qgis-app/REQUIREMENTS_plugins.txt</a><br>
> ><br>
> > NOTE: I did not port (and I will not port) any of the other apps (feed<br>
> > ggregator, user map etc.).<br>
> <br>
> Thanks Alessandro!<br>
> <br>
> I installed VirtualBox and tried:<br>
> <br>
> $ vagrant up<br>
> Bringing machine 'default' up with 'virtualbox' provider...<br>
> There are errors in the configuration of this machine. Please fix<br>
> the following errors and try again:<br>
> <br>
> Vagrant:<br>
> * Unknown configuration section 'disksize'.<br>
> <br>
> Googled: to find you need a Vagrant disksize plugin:<br>
> <br>
> $ vagrant plugin install vagrant-disksize<br>
> Installing the 'vagrant-disksize' plugin. This can take a few minutes...<br>
> Bundler, the underlying system Vagrant uses to install plugins,<br>
> reported an error. The error is shown below. These errors are usually<br>
> caused by misconfigured plugin installations or transient network<br>
> issues. The error from Bundler is:<br>
> <br>
> conflicting dependencies fog-core (~> 1.43.0) and fog-core (= 2.1.0)<br>
> Activated fog-core-2.1.0<br>
> which does not match conflicting dependency (~> 1.43.0)<br>
> <br>
> Conflicting dependency chains:<br>
> fog-core (= 2.1.0), 2.1.0 activated<br>
> <br>
> versus:<br>
> vagrant-libvirt (> 0), 0.0.41 activated, depends on<br>
> fog-core (~> 1.43.0)<br>
> <br>
> <br>
> Any hint?<br>
> <br>
> Richard<br>
> <br>
> <br>
> <br>
> -- <br>
> Alessandro Pasotti<br>
> w3: <a href="http://www.itopen.it" rel="noreferrer" target="_blank">www.itopen.it</a> <<a href="http://www.itopen.it" rel="noreferrer" target="_blank">http://www.itopen.it</a>><br>
> <br>
> _______________________________________________<br>
> Qgis-psc mailing list<br>
> <a href="mailto:Qgis-psc@lists.osgeo.org" target="_blank">Qgis-psc@lists.osgeo.org</a><br>
> <a href="https://lists.osgeo.org/mailman/listinfo/qgis-psc" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-psc</a><br>
> <br>
<br>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature">Alessandro Pasotti<br>w3: <a href="http://www.itopen.it" target="_blank">www.itopen.it</a></div></div>