Hi,

I tried to update one of my applications to these latest versions, and I
got some problem figuring out how to launch my app with pserve.

I have the "usual" dev.ini/prod.ini twin configuration files, and I'm
used to launch the development app using

  pserve dev.ini

With latest version that command errors out with the following traceback

  Traceback (most recent call last):
    File "/nix/store/.../bin/.pserve-wrapped", line 9, in <module>
      sys.exit(main())
    File 
"/nix/store/.../lib/python3.10/site-packages/pyramid/scripts/pserve.py", line 
30, in main
      return command.run()
    File 
"/nix/store/.../lib/python3.10/site-packages/pyramid/scripts/pserve.py", line 
189, in run
      loader = self._get_config_loader(config_uri)
    File 
"/nix/store/.../lib/python3.10/site-packages/pyramid/scripts/common.py", line 
23, in get_config_loader
      return plaster.get_loader(config_uri, protocols=['wsgi'])
    File "/nix/store/.../lib/python3.10/site-packages/plaster/loaders.py", line 
115, in get_loader
      raise MultipleLoadersFound(
  plaster.exceptions.MultipleLoadersFound: Multiple plaster loaders were found 
for scheme "file+ini", protocol "wsgi". Please specify a more specific 
config_uri. Matched loaders: plaster-pastedeploy+file+ini, 
plaster-pastedeploy+file+ini

After several attempts, I was able to launch the app using

  pserve plaster-pastedeploy+file+ini:dev.ini

Is that expected, or is there some problem with my configuration/usage?

Thanks in advance,
bye, lele.
-- 
nickname: Lele Gaifax | Dire che Emacs è "conveniente" è come
real: Emanuele Gaifas | etichettare l'ossigeno come "utile"
[email protected]      |                           -- Rens Troost

-- 
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/pylons-discuss/87o7t3duls.fsf%40metapensiero.it.

Reply via email to