I am starting a server using `sockerserver.ThreadingMixIn` and `WSGIServer` only on Fedora in a specific situation I am getting server error, but no debug HTML on the view (debug=True).
-
replied to Kushal Das :python: :tor: 🇵🇸 last edited by
In this case starting the application via `gtk-launch` shows me the real error. Finally some progress.
-
replied to Kushal Das :python: :tor: 🇵🇸 last edited by
@kushal well ... what *is* the error?
-
replied to Fabio Valentini last edited by
@decathorpe @kushal Same question. You've got me curious with using gtk-launch to spawn a webserver with python.
-
replied to Scott Williams 🐧 last edited by [email protected]
@decathorpe @kushal Ah, it's in the GH issue. It couldn't find a library in path.
ImportError: libpcsclite.so.1: cannot open shared object file: No such file
I replied in the issue.
-
replied to Scott Williams 🐧 last edited by
@vwbusguy @decathorpe I am writing desktop applications using #django. YES!!!
Much easier to find contributors and easy to make them to look better.
-
replied to Scott Williams 🐧 last edited by
@vwbusguy @decathorpe Yup, but if I execute /usr/bin/redigera directly from terminal, it just works.
In case you want to play: https://kushaldas.in/redigera-0.0.2-1.fc41.x86_64.rpm
-
replied to Kushal Das :python: :tor: 🇵🇸 last edited by
@kushal @decathorpe In that case, your library path is getting hijacked in your dev environment or you're using a container and need to add that library to your container runtime.
-
replied to Kushal Das :python: :tor: 🇵🇸 last edited by
@vwbusguy @decathorpe Also because I don't want to write Electron/JS.
-
replied to Kushal Das :python: :tor: 🇵🇸 last edited by
@kushal @decathorpe Interesting. I wouldn't think to use Django for a gtk application. I'm not surprised that it's possible, but of an the Django and gtk python stuff I've done, I've never thought to use them together in the same project.
-
replied to Scott Williams 🐧 last edited by
@vwbusguy @decathorpe Haha, I should really start doing normal developer things in life
-
replied to Scott Williams 🐧 last edited by
@kushal @decathorpe So is it like having a local rest api that the GUI does requests to? I wrote a Jira client once in gtk+python, so I imagine this is like that but calling to some port on localhost?
-
replied to Kushal Das :python: :tor: 🇵🇸 last edited by
@kushal @decathorpe If I told you to do only normal development things, I would be a chief hypocrite! Just because I wouldn't think to do it, doesn't mean you shouldn't!
-
replied to Scott Williams 🐧 last edited by
@vwbusguy @decathorpe Sometimes I really think about life choices
-
replied to Kushal Das :python: :tor: 🇵🇸 last edited by [email protected]
@kushal @decathorpe I'm guessing you're primarily a web/rest developer, then, and are used to json rest driven client server interactions and this is a way then to start what you're comfortable with and make a GUI with it? If so, I can totally respect that. There's a learning curve to python project setup and module includes, etc., from scratch that's not trivial.
-
replied to Scott Williams 🐧 last edited by
@vwbusguy @decathorpe I am just the opposite. Totally into building terminal based tools and system services though out the life. I always did desktop applications using #Qt + #python . But the trouble is to find new contributors. That is why I am trying out this path. Here is one of the last projects I am working on using #QML https://tumpa.rocks
-
replied to Kushal Das :python: :tor: 🇵🇸 last edited by
@kushal @decathorpe We're all just using what we know and what we can learn to either solve some problem or amuse ourselves. It's fun to see what that can lead to.
-
-
replied to Kushal Das :python: :tor: 🇵🇸 last edited by
@kushal @decathorpe That's awesome!