[Bug 247689] www/uwsgi: has the plugin embedded but doesn't work

2020-07-13 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247689

--- Comment #25 from Sagar Acharya  ---
I use alpine currently. It has many packages for uwsgi of which router_redirect
is one. If FreeBSD offers additional plugins separately as pkgs, then not
having router_redirect is okay else having options for building extra plugins
is recommended. I'm facing a very nasty bug posted

https://stackoverflow.com/questions/62814165/jinja2exceptions-templatenotfound-index-html-with-uwsgi-but-not-flask-run

here. The most astonishing part is I can run things with flask run but not
uwsgi. I strongly think this is a bug on uwsgi's part but unsure. I have round
brackets around HTTP_POST and REQUEST_URI which must be changed to curly
brackets.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


[Bug 247689] www/uwsgi: has the plugin embedded but doesn't work

2020-07-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247689

--- Comment #24 from Sagar Acharya  ---
1 month ago, I did the exact same thing on 13-CURRENT with uwsgi, it ran
perfectly fine! By version I mean not 2.0.17. I mean maybe something before
some patchwork. Precisely, I mean uwsgi available a month ago.

I do cd /usr/ports/www/uwsgi & make install
I keep PSGI and XML unchecked in the graphical configuration display but I have
tried with them both being on too. I have tried on all 3 12.1-RELEASE and
latest STABLE and CURRENT images.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


[Bug 247689] www/uwsgi: has the plugin embedded but doesn't work

2020-07-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247689

--- Comment #23 from Sagar Acharya  ---
When I removed the white space on RHS at https line in uwsgiConf.ini the
attached tar. I was able to get rest of the things running WITHOUT
router_redirect.so

1st line shows

!!! UNABLE to load uWSGI plugin: Cannot open "./router_redirect_plugin.so" !!!

I go to the folder portbug, execute "uwsgi --ini uwsgiConf.ini". Everything
runs correctly EXCEPT the above plugin. I can't get https to my site due to
that.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


[Bug 247689] www/uwsgi: has the plugin embedded but doesn't work

2020-07-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247689

--- Comment #22 from Sagar Acharya  ---
Created attachment 216294
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=216294=edit
Folder structure similar to my environment.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


[Bug 247689] www/uwsgi: has the plugin embedded but doesn't work

2020-07-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247689

--- Comment #21 from Kubilay Kocak  ---
If/when attaching large bodies of text, configuration files or logs, please use
attachments instead of pasting in comments

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


[Bug 247689] www/uwsgi: has the plugin embedded but doesn't work

2020-07-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247689

--- Comment #20 from Li-Wen Hsu  ---
(In reply to Sagar Acharya from comment #19)
Next time please reply that in public, or others cannot help or get helped. 
Would you please provide more detailed information about your
uwsgi/router_redirect setup?  It would be best if you can include how you
install it, your full configuration file, your wsgi script, and how you check
if it works.

You did tell some truth in comment #13 , but in a not very friendly way, and
some things are not related to the issue itself.  Even something is broken,
people are not intentional break things.  People are willing to fix things, but
need more information, like what's the exact number of the "old version" you
said that works.

Again, emotional words won't help.  Please discuss technical things in a
professional way.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


[Bug 247689] www/uwsgi: has the plugin embedded but doesn't work

2020-07-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247689

--- Comment #19 from Sagar Acharya  ---
(In reply to Li-Wen Hsu from comment #18)

Tried that, doesn't work. I told T-Daemon that in forums msgs.

Initial error goes away. The following error pops up

*** Operational MODE: preforking ***
ModuleNotFoundError: No module named 'router_redirect'

What's wrong with comment #13? If it is maintainer's mistake then it is, I will
point out. I just told the truth.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


[Bug 247689] www/uwsgi: has the plugin embedded but doesn't work

2020-07-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247689

--- Comment #18 from Li-Wen Hsu  ---
Please calm down, this kind of comments won't help solving the issue here.  I
understand the frustration of a thing doesn't work and eager to get the
support.  On the other hand, people also want to help but need more detailed
information to figure out the root cause.  Most of the people are volunteers
and need time to work on things.  This is usually a thankless work. Please be
patient and be nice to each other, to get the issue solved.

I think there is a misunderstanding of T-Daemon's comment at
https://forums.freebsd.org/threads/uwsgi-cannot-open-router_redirect_plugin-so.75953/#post-467755

"router_redirect" feature in www/uwsgi port is build and linked in the uwsgi
binary as a "module", not a separated .so as a "plugin."

And as described in this comment:
https://forums.freebsd.org/threads/uwsgi-cannot-open-router_redirect_plugin-so.75953/#post-468200

The correct way to use it in the .ini is `module=router_redirect` instead of
`plugins=router_redirect`

You might want to check your configure file again, change it as suggested and
see if the feature works.

If there is a need of having this feature as a plugin, that is a feature
request and it may need more work to patch the port. The help of this is
definitely welcomed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


[Bug 247689] www/uwsgi: has the plugin embedded but doesn't work

2020-07-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247689

--- Comment #17 from Kubilay Kocak  ---
Sagar, Emz 

That language and behaviour in comment 13 comment 14 and comment 16 is not
appropriate on our issue tracker, nor any other forum within the FreeBSD
community. 

Further comment in any form on this issue will result in accounts being
suspended, at minimum.

I refer you to our project Code of Conduct:
https://www.freebsd.org/internal/code-of-conduct.html

If you would like to raise an issue with respect to this request that you both
do not continue to comment on this issue, you may reach out to the conduct@
team, the email address is in the link above. You may also cc me (koobs@) if
you feel comfortable doing so

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


[Bug 247689] www/uwsgi: has the plugin embedded but doesn't work

2020-07-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247689

--- Comment #16 from Sagar Acharya  ---
(In reply to emz from comment #14)

You incompetent autistic retard, Terry Newton just reproduced the bug.
Everything that I posted has been nothing but positive and to the point.

I'm a user of this system. I don't maintain these systems. It would be much
costly for me to maintain these systems as for a single port, I have to
understand the structure first. In things that I maintain, users of those don't
complain because the maintainers haven't posed problems for them.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


[Bug 247689] www/uwsgi: has the plugin embedded but doesn't work

2020-07-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247689

--- Comment #15 from Eugene M. Zheganin  ---
User tries to add the plugin that isn't neither built now included with the
port into the configuration. As expected, the uwsgi master process complains
about it.

This is the expected behavior.

This PR should be closed for now.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


[Bug 247689] www/uwsgi: has the plugin embedded but doesn't work

2020-07-07 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247689

e...@norma.perm.ru changed:

   What|Removed |Added

 CC||e...@norma.perm.ru

--- Comment #14 from e...@norma.perm.ru ---
My definition of "ridiculous" radically differs from yours. I define it as the
following: a guy that just pops out of nowhere^WIndia and has zero knowledge of
ports in general, and of this port in particular stars to make waves.

When it comes to this port - I use it in production every day.
So far you failed to
- describe problem properly
- submit any patch

All you do is whine and whine.

Furthermore, you behave in extemely annoying way.
Nobody owes you anything.

Go seek for a commercial support.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


[Bug 247689] www/uwsgi: has the plugin embedded but doesn't work

2020-07-06 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247689

--- Comment #13 from Sagar Acharya  ---
So this eugene guy, comes out of nowhere, breaks the port, has an email id that
doesn't work and FreeBSD developers don't fix uwsgi, a pretty important tool
that many people use for quite some time (precisely a week)! Older version did
work and simply reverting to that should solve this problem too but it hasn't
been done!

This is ridiculous.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


[Bug 247689] www/uwsgi: has the plugin embedded but doesn't work

2020-07-05 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247689

--- Comment #12 from Newton Terry  ---
(In reply to Sagar Acharya from comment #5)

Please check the forum posting

https://forums.freebsd.org/threads/uwsgi-cannot-open-router_redirect_pluginso.75953/post-468200

Tell us if the situation has changed.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


[Bug 247689] www/uwsgi: has the plugin embedded but doesn't work

2020-07-03 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247689

--- Comment #11 from Newton Terry  ---
Created attachment 216170
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=216170=edit
version 2.0.19.1 binary embedde plugins

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


[Bug 247689] www/uwsgi: has the plugin embedded but doesn't work

2020-07-03 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247689

--- Comment #10 from Newton Terry  ---
Created attachment 216169
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=216169=edit
version 2.0.18 binary embedded plugins

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


[Bug 247689] www/uwsgi: has the plugin embedded but doesn't work

2020-07-03 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247689

Newton Terry  changed:

   What|Removed |Added

 Attachment #216166|0   |1
is obsolete||
 Attachment #216168|text/x-log  |text/plain
  mime type||

--- Comment #9 from Newton Terry  ---
Created attachment 216168
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=216168=edit
version 2.0.19.1 build log

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


[Bug 247689] www/uwsgi: has the plugin embedded but doesn't work

2020-07-03 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247689

Newton Terry  changed:

   What|Removed |Added

 Attachment #216167|text/x-log  |text/plain
  mime type||

--- Comment #8 from Newton Terry  ---
Created attachment 216167
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=216167=edit
version 2.0.18 build log

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


[Bug 247689] www/uwsgi: has the plugin embedded but doesn't work

2020-07-03 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247689

--- Comment #7 from Newton Terry  ---
Created attachment 216166
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=216166=edit
version 2.0.18 build log

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


[Bug 247689] www/uwsgi: has the plugin embedded but doesn't work

2020-07-03 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247689

Newton Terry  changed:

   What|Removed |Added

 CC||newton.ja.te...@gmail.com

--- Comment #6 from Newton Terry  ---
I can reproduce the error. Current www/uwsgi, version 2.0.18, having set
plugins in configuration file, returns plugin error message when starting
service:

service uwsgi onestart

[uWSGI] getting INI configuration from /usr/local/etc/uwsgi/uwsgi.ini
!!! UNABLE to load uWSGI plugin: Cannot open "./router_redirect_plugin.so" !!!

/usr/local/etc/uwsgi/uwsgi.ini

[uwsgi]
plugins=router_redirect

In ports work-py37 directory no router_redirect_plugin.so is present. Recording
the build process with less verbosity (Makefile: #PYDISTUTILS_BUILDARGS=
--verbose) demonstrates the plugins are build embedded into the binary. From
the build log:

...
using profile: buildconf/default.ini

cut  -
work-py37/uwsgi-2.0.18/buildconf/default.ini
[uwsgi]
main_plugin = python,gevent
inherit = base

work-py37/uwsgi-2.0.18/buildconf/base.ini
[uwsgi]
...
embedded_plugins = %(main_plugin)s, ..., router_redirect,...

continue  

*** uWSGI compiling embedded plugins ***
...
[thread 4][cc] plugins/router_redirect/router_redirect.o
...

Also the build binary indicates having the plugins, inclusive
router_redirect_plugin, embedded:

strings /usr/local/bin/uwsgi | grep router_redirect
router_redirect_plugin
router_redirect

Updating the port to version 2.0.19.1 doesn't resolve, error message remains.

Attached:
uwsgi-2.0.18-build.log
uwsgi-2.0.19.1-build.log
uwsgi18-binary-embedd-plugins-list.txt
uwsgi19.1-binary-embedd-plugins-list.txt

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


[Bug 247689] www/uwsgi: has the plugin embedded but doesn't work

2020-07-03 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247689

--- Comment #5 from Sagar Acharya  ---
It is affected. I mean there's an issue with makefile or something. I've never
made a port, I don't know how the build is customized for FreeBSD.

But what I know is that pkg and port of uwsgi currently give the error shown in
detail in the forum link in my 1st comment.

In comment #3 , I say that the release of unbit doesn't have any problem, the
pkg of FreeBSD and port making files have problems.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


[Bug 247689] www/uwsgi: has the plugin embedded but doesn't work

2020-07-03 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247689

Kubilay Kocak  changed:

   What|Removed |Added

   Keywords||needs-qa

--- Comment #4 from Kubilay Kocak  ---
(In reply to Sagar Acharya from comment #3)

"no issue with 2.0.18 uwsgi". Is that to say the current version of the port
(2.0.18) is *not* affected by this issue at present?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


[Bug 247689] www/uwsgi: has the plugin embedded but doesn't work

2020-07-03 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247689

--- Comment #3 from Sagar Acharya  ---
(In reply to Kubilay Kocak from comment #1)

It doesn't. It's just a suggestion. Someone will have to probably update the
uwsgi to latest version. I though making a 2.0.19.1 port will solve both these
things.

I think the port is broken. There is no issue with 2.0.18 uwsgi.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


[Bug 247689] www/uwsgi: has the plugin embedded but doesn't work

2020-07-02 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247689

--- Comment #2 from Kubilay Kocak  ---
Changelogs:

  https://github.com/unbit/uwsgi-docs/blob/master/Changelog-2.0.19.rst
  https://github.com/unbit/uwsgi-docs/blob/master/Changelog-2.0.19.1.rst

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"


[Bug 247689] www/uwsgi: has the plugin embedded but doesn't work

2020-07-02 Thread bugzilla-noreply
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=247689

Kubilay Kocak  changed:

   What|Removed |Added

 CC||ko...@freebsd.org,
   ||pyt...@freebsd.org

--- Comment #1 from Kubilay Kocak  ---
(In reply to Sagar Acharya from comment #0)

@Sagar Can you clarify/confirm, that the 2.0.19 or 2.0.19.1 releases (which
one?) fixes *this* issue as reported?

-- 
You are receiving this mail because:
You are on the CC list for the bug.
___
freebsd-python@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-python
To unsubscribe, send any mail to "freebsd-python-unsubscr...@freebsd.org"