Hello, I'm working on a program to read from a serial port via USB serial device. I started working on it when I was using Geany v. 1.38. With that version, it would compile and run in the VTE widget just fine. I recently updated to 2.0 (through Flathub). Now whenever I start my program in the VTE I keep getting a: Error 9 from tcgetattr: Bad file descriptor whenever I try to configure the port. I feel like this is a Geany 2.0 problem because like I mentioned, it ran fine in v. 1.38. Also, my program runs fine in a separate terminal window.
Sent with [Proton Mail](https://proton.me/) secure email.
Flatpacks are sandboxed, are you trying to do something it doesn't allow. Note the Geany project does not make the flatpack so we can't tell you what its restrictions are.
On Wed, 10 Jan 2024 at 21:14, ba-open-git via Users users@lists.geany.org wrote:
Hello, I'm working on a program to read from a serial port via USB serial device. I started working on it when I was using Geany v. 1.38. With that version, it would compile and run in the VTE widget just fine. I recently updated to 2.0 (through Flathub). Now whenever I start my program in the VTE I keep getting a: Error 9 from tcgetattr: Bad file descriptor whenever I try to configure the port. I feel like this is a Geany 2.0 problem because like I mentioned, it ran fine in v. 1.38. Also, my program runs fine in a separate terminal window.
Sent with Proton Mail secure email. _______________________________________________ Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
Not as far as I can tell. I'm running the same program the same way as the previous Geany version.
On Wednesday, January 10th, 2024 at 6:33 AM, Lex Trotman via Users users@lists.geany.org wrote:
Flatpacks are sandboxed, are you trying to do something it doesn't allow. Note the Geany project does not make the flatpack so we can't tell you what its restrictions are.
On Fri, 12 Jan 2024 at 21:43, ba-open-git via Users users@lists.geany.org wrote:
Not as far as I can tell. I'm running the same program the same way as the previous Geany version.
Was the previous version from a flatpack? Are you starting Geany the same way as you did the previous version?
On Wednesday, January 10th, 2024 at 6:33 AM, Lex Trotman via Users users@lists.geany.org wrote:
Flatpacks are sandboxed, are you trying to do something it doesn't allow. Note the Geany project does not make the flatpack so we can't tell you what its restrictions are.
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
No. The previous version was from "System Package" in Mint. Yes I'm starting it the same way as before (locked icon on the panel).
On Friday, January 12th, 2024 at 7:45 PM, Lex Trotman via Users users@lists.geany.org wrote:
On Fri, 12 Jan 2024 at 21:43, ba-open-git via Users users@lists.geany.org wrote:
Not as far as I can tell. I'm running the same program the same way as the previous Geany version.
Was the previous version from a flatpack? Are you starting Geany the same way as you did the previous version?
On Wednesday, January 10th, 2024 at 6:33 AM, Lex Trotman via Users users@lists.geany.org wrote:
Flatpacks are sandboxed, are you trying to do something it doesn't allow. Note the Geany project does not make the flatpack so we can't tell you what its restrictions are.
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
On Sun, 14 Jan 2024 at 02:17, ba-open-git via Users users@lists.geany.org wrote:
No. The previous version was from "System Package" in Mint. Yes I'm starting it the same way as before (locked icon on the panel).
If the previous version was a normal package and the new one is a flatpack then its most likely something about the flatpack. As I said , this project does not make the flatpack, you need to ask the flatpackager.
On Friday, January 12th, 2024 at 7:45 PM, Lex Trotman via Users users@lists.geany.org wrote:
On Fri, 12 Jan 2024 at 21:43, ba-open-git via Users users@lists.geany.org wrote:
Not as far as I can tell. I'm running the same program the same way as the previous Geany version.
Was the previous version from a flatpack? Are you starting Geany the same way as you did the previous version?
On Wednesday, January 10th, 2024 at 6:33 AM, Lex Trotman via Users users@lists.geany.org wrote:
Flatpacks are sandboxed, are you trying to do something it doesn't allow. Note the Geany project does not make the flatpack so we can't tell you what its restrictions are.
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org
Will do. Thank you.
On Saturday, January 13th, 2024 at 2:39 PM, Lex Trotman via Users users@lists.geany.org wrote:
On Sun, 14 Jan 2024 at 02:17, ba-open-git via Users users@lists.geany.org wrote:
No. The previous version was from "System Package" in Mint. Yes I'm starting it the same way as before (locked icon on the panel).
If the previous version was a normal package and the new one is a flatpack then its most likely something about the flatpack. As I said , this project does not make the flatpack, you need to ask the flatpackager.
I just wanted to give some closure to this issue. The VTE is fine. The problem was that I'm very new to flatpaks and didn't realize apps were sandboxed by default. I ran: flatpak override org.geany.Geany --device=all restarted Geany, and the program of mine that reads from a serial port read just fine in the VTE.
On Saturday, January 13th, 2024 at 3:07 PM, ba-open-git via Users users@lists.geany.org wrote:
Will do. Thank you.
On Saturday, January 13th, 2024 at 2:39 PM, Lex Trotman via Users users@lists.geany.org wrote:
On Sun, 14 Jan 2024 at 02:17, ba-open-git via Users users@lists.geany.org wrote:
No. The previous version was from "System Package" in Mint. Yes I'm starting it the same way as before (locked icon on the panel).
If the previous version was a normal package and the new one is a flatpack then its most likely something about the flatpack. As I said , this project does not make the flatpack, you need to ask the flatpackager.
Users mailing list -- users@lists.geany.org To unsubscribe send an email to users-leave@lists.geany.org