First time here? Check out the FAQ!

dbdq's profile - activity

2021-11-01 14:25:45 -0500 received badge Famous Question (source)
2021-11-01 14:25:45 -0500 received badge Notable Question (source)
2021-09-03 21:14:33 -0500 received badge Famous Question (source)
2021-09-03 21:14:33 -0500 received badge Notable Question (source)
2021-09-03 21:14:33 -0500 received badge Popular Question (source)
2021-06-30 09:13:47 -0500 marked best answer Remote debug X11 forwarding problem

Hello,

I'm running Wing IDE Pro on Windows machine and trying to debug remotely on the Linux machine (Ubuntu 21.04).

I've set up a remote debugging environment using ssh with X11 forwarding. Debugging works well but I cannot see any plots (matplotlib, seaborn, etc.), which I suspect X11 forwarding is not working. However, there's no error message so I'm stuck on how I should proceed. I'm running Xming server on the Windows machine.

For example, if run this minimal code in Debug Console (in debug mode):

from matplotlib import pyplot as plt
plt.plot([1,2])
plt.show()

it returns the following:

[<matplotlib.lines.Line2D object at 0x7f9f4fdacb80>]

but no plot windows are visible to me.

To compare, I installed a Wing IDE package on the Linux machine and when I remote execute Wing IDE using ssh (Bitvise), I can see the plots correctly. This means my X server is running correctly and my ssh agent is capable of forwarding X11 packets.

So it seems when I do the remote debugging from within my local machine's Wing IDE, X11 packets are not forwarded. FYI, here's my ssh client config file:

Host testserver
    HostName 10.0.0.1
    User tester
    IdentityFile C:\Users\tester\.ssh\tester-key
    ForwardX11 yes
    ForwardX11Trusted yes

What am I missing here?

2021-06-30 09:13:45 -0500 received badge Teacher ( source )
2021-06-30 09:13:45 -0500 received badge Self-Learner ( source )
2021-06-30 02:27:08 -0500 answered a question Remote debug X11 forwarding problem

I fixed by adding an environment variable on the Windows client machine as: DISPLAY=localhost:0

2021-06-30 02:27:08 -0500 received badge Rapid Responder ( source )
2021-06-30 02:26:28 -0500 commented question Remote debug X11 forwarding problem

You were right. The ssh setting on my client side was the problem. I was using Bitvise to execute an app remotely which

2021-06-30 02:26:13 -0500 commented question Remote debug X11 forwarding problem

Thanks for the reply. You were right. The ssh setting on my client side was the problem. I was using Bitvise to execute

2021-06-29 09:15:00 -0500 received badge Editor (source)
2021-06-29 09:15:00 -0500 edited question Remote debug X11 forwarding problem

Remote debug X11 forwarding problem Hello, I'm running Wing IDE Pro on Windows machine and trying to debug remotely on

2021-06-29 09:13:19 -0500 asked a question Remote debug X11 forwarding problem

Remote debug X11 forwarding problem Hello, I'm running Wing IDE Pro on Windows machine and trying to debug remotely on

2021-06-13 08:36:55 -0500 received badge Popular Question (source)
2021-05-24 09:09:52 -0500 marked best answer Moving between document tabs in consistent manner

Hello,

Let's assume I have 3 Python files opened in the editor, 3.py, 1.py, 2.py. I re-ordered them manually so that the 3 document tabs in the editor are ordered as: [1.py] [2.py] [3.py]

Now, I want to achieve a very basic and simple goal: I want a shortcut key that always either focuses to the "right" (or "left") document. That is, if I'm currently focused on [2.py] and I press the shortcut, it will focus on [3.py]. Pressed again, it will focus on [1.py] and so on. Left or right, it just needs to be consistent.

Wing's default "Next document" and "Previous Document" is very confusing because it follows the historical order in which the documents were opened. So, sometimes when I click "Next document", it may change the focus in [1.py]-[3.py]-[2.py] order. I personally find this behaviour random as there's no way I will (and should) remember the history of files I opened. I don't see any reason how this will improve my productivity.

I searched and spent quite a lot of time but failed to find an item in the menu that does this job. All editors I have used had this focusing policy as default so there must be a function in Wing Pro as well. Could you please tell me where I can find this function?

2021-05-22 08:54:23 -0500 received badge Supporter ( source )
2021-05-21 09:39:02 -0500 received badge Student (source)
2021-05-21 08:07:12 -0500 asked a question Moving between document tabs in consistent manner

Moving between document tabs in consistent manner Hello, Let's assume I have 3 Python files opened in the editor, 3.py,