[Qgis-psc] QGIS Plugin website application maintenance

Alessandro Pasotti apasotti at gmail.com
Wed Mar 13 08:44:44 PDT 2019


On Wed, Mar 13, 2019 at 4:42 PM Richard Duivenvoorde <rdmailings at duif.net>
wrote:

> Ok, this went better.
>
> Only on the end I see:
>
>     default: Installed 86 object(s) from 1 fixture(s)
>     default:
>
> /var/qgis_plugins/venv/lib/python3.6/site-packages/psycopg2/__init__.py:144:
> UserWarning: The psycopg2 wheel package will be renamed from release
> 2.8; in order to keep installing from binary please use "pip install
> psycopg2-binary" instead. For details see:
> <http://initd.org/psycopg/docs/install.html#binary-install-from-pypi>.
>     default:   """)
>     default: Installed 2 object(s) from 1 fixture(s)
>     default: Traceback (most recent call last):
>     default:   File "upload_test.py", line 3, in <module>
>     default:     handle = open("HelloWorld.zip", "rb")
>     default: FileNotFoundError: [Errno 2] No such file or directory:
> 'HelloWorld.zip'
> The SSH command responded with a non-zero exit status. Vagrant
> assumes that this means the command failed. The output for this command
> should be in the log above. Please read the output to determine what
> went wrong.
>
>
> So apparently you try to upload the HelloWorld.zip plugin?
>

Yes, so that  you can see at least one plugin when opening the site.

Let me check if I forgot to add the zip to git.

And should we use 'psycopg2-binary' already or so?
>


No idea: it's just a warning, you can try to change the install and see it
that works.



> Richard
>
> On 13/03/2019 16.28, Alessandro Pasotti wrote:
> >
> > Sorry, probably a leftover: you don't need disksize for this particular
> > vagrant.
> >
> > I've commented it out in modernize.
> >
> > On Wed, Mar 13, 2019 at 4:25 PM Richard 🌍 Duivenvoorde
> > <richard at duif.net <mailto:richard at duif.net>> wrote:
> >
> >     On 13/03/2019 15.33, Alessandro Pasotti wrote:
> >     >
> >     > Hi,
> >     >
> >     > Ok, it took something more than one day but I'm done with the
> >     porting of
> >     > the plugin application to Django 2 and Python 3, on branch
> modernize:
> >     >
> >     > Vagrant file is ready and working in the main directory, have a
> >     look to
> >     > the README:
> >     >
> >     > https://github.com/qgis/QGIS-Django/tree/modernize/vagrant_assets
> >     >
> >     > btw, git clone and "vagrant up" should be all you need to get
> >     started in
> >     > debug mode and ready for development.
> >     >
> >     > Some work has been done on the dependencies, the new requirements
> >     are in
> >     >
> >
> https://github.com/qgis/QGIS-Django/blob/modernize/qgis-app/REQUIREMENTS_plugins.txt
> >     >
> >     > NOTE: I did not port (and I will not port) any of the other apps
> (feed
> >     > ggregator, user map etc.).
> >
> >     Thanks Alessandro!
> >
> >     I installed VirtualBox and tried:
> >
> >     $ vagrant up
> >     Bringing machine 'default' up with 'virtualbox' provider...
> >     There are errors in the configuration of this machine. Please fix
> >     the following errors and try again:
> >
> >     Vagrant:
> >     * Unknown configuration section 'disksize'.
> >
> >     Googled: to find you need a Vagrant disksize plugin:
> >
> >     $ vagrant plugin install vagrant-disksize
> >     Installing the 'vagrant-disksize' plugin. This can take a few
> minutes...
> >     Bundler, the underlying system Vagrant uses to install plugins,
> >     reported an error. The error is shown below. These errors are usually
> >     caused by misconfigured plugin installations or transient network
> >     issues. The error from Bundler is:
> >
> >     conflicting dependencies fog-core (~> 1.43.0) and fog-core (= 2.1.0)
> >       Activated fog-core-2.1.0
> >       which does not match conflicting dependency (~> 1.43.0)
> >
> >       Conflicting dependency chains:
> >         fog-core (= 2.1.0), 2.1.0 activated
> >
> >       versus:
> >         vagrant-libvirt (> 0), 0.0.41 activated, depends on
> >         fog-core (~> 1.43.0)
> >
> >
> >     Any hint?
> >
> >     Richard
> >
> >
> >
> > --
> > Alessandro Pasotti
> > w3:   www.itopen.it <http://www.itopen.it>
> >
> > _______________________________________________
> > Qgis-psc mailing list
> > Qgis-psc at lists.osgeo.org
> > https://lists.osgeo.org/mailman/listinfo/qgis-psc
> >
>
>

-- 
Alessandro Pasotti
w3:   www.itopen.it
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-psc/attachments/20190313/170040c3/attachment.html>


More information about the Qgis-psc mailing list