First time here? Check out the FAQ!
1

Getting started

I found Wing when searching for a Windows (10 Home) IDE to remote debug some python on my PI 3B, it looks like just what I want but as a newbie I have failed at the first hurdle, getting the Pi debugger package installed!

I am trying to follow these instructions. link text I downloaded the debugger package (wing-debugger-linux-arm32-7.2.2.0.tar.bz2) to Windows then placed it on my Pi in a suitable directory, made it executable, but it errors when I use it.

tar (child): wing-debugger-linux-arm32-7.2.2.0.tar.bz2: Cannot open: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now

Up to now I have used PuTTY and WinSCP to tinker with my PI so I know its IP and can ssh to it no problem, however they are always password protected connections. Can someone guide me please?

peterb's avatar
36
peterb
asked 2020-07-05 11:01:47 -0500
Wingware Support's avatar
4k
Wingware Support
updated 2020-07-15 22:21:28 -0500
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

3 Answers

1

Thanks to Wing Support I have now got the PuTTY the keys in place and a no password connection to my RPI. Onwards and upwards!

peterb's avatar
36
peterb
answered 2020-07-11 10:45:15 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
0

Thanks, I have submitted a bug report as requested.

peterb's avatar
36
peterb
answered 2020-07-11 10:29:05 -0500
edit flag offensive 0 remove flag delete link

Comments

add a comment see more comments
0

I think doing the following will work (I suspect tar on your Rapsberry Pi is not automatically figuring out that the file is bz2 compressed):

tar xjf wing-debugger-linux-arm32-7.2.2.0.tar.bz2

However, it sounds like you are mixing up the manual debug setup and using Wing Pro's remote development feature, which would install this package automatically. Although you would need to set up an ssh key pair, it's probably easier to do that and use Wing Pro's remote development support. Instructions for setting up the ssh key pair are here:

https://wingware.com/doc/proj/ssh-set...

This replaces entering your password every time you log in with storing your credentials in PuTTY's pageant ssh agent.

Then follow the instructions in the Raspberry Pi How-To in the section "Remote Development with Wing Pro":

https://wingware.com/doc/howtos/raspb...

Wingware Support's avatar
4k
Wingware Support
answered 2020-07-06 09:07:03 -0500, updated 2020-07-08 08:19:01 -0500
edit flag offensive 0 remove flag delete link

Comments

Thanks for the reply and links. I used the instructions for the Personal version but the 'tar' line errored, as I said in my post.

I have just followed the ssh pair instructions from the first link you gave. I have completed it but without success, I still need the password to access my PI from a Terminal window or even from PuTTY.

A couple of comments about those instructions, if I may.

I had to run puttygen.exe as Administrator to save files in the default folder.

openssh.pub has to be saved in the same folder as id_rsa.ppk and id_rsa.pub for plink to find it.

Pagent.exe places an icon in the System tray not in the corner of the screen.

Not sure what to do now!

peterb's avatar peterb (2020-07-06 14:28:54 -0500) edit

In an attempt to move forward I downloaded Wing Pro and started a new project. The start was promising but this has also stumbled, message text below: Does this help to identify where I am going wrong?

Scripts: Loading script directory C:\Users\Peter\AppData\Roaming\Wing Pro 7\scripts
Scripts: Loading script directory C:\Program Files (x86)\Wing Pro 7.2\scripts
Scripts: Skipping module brief from C:\Program Files (x86)\Wing Pro 7.2\scripts\brief.py (_ignore_scripts is set)
Scripts: Skipping module example from C:\Program Files (x86)\Wing Pro 7.2\scripts\example.py (_ignore_scripts is set)
Scripts: Skipping module pylintpanel from C:\Program Files (x86)\Wing Pro 7.2\scripts\pylintpanel.py (_ignore_scripts is set)
General: Scanned 1 Python installations
General: Scanned 2 Python installations
General: Scanned 3 Python installations
General: Installed updates: 7.2.2.13
Debugger: Python Shell Could Not Start::Could not ...
(more)
peterb's avatar peterb (2020-07-07 10:29:07 -0500) edit

This just shows that debugging didn't start but without a reason. It might help to see the IDE-side log which you can submit with a bug report from Wing's Help menu. Also, if it exists the file ~/.wingpro7/remote-agent.log from the Raspberry Pi would be useful. That's the remote agent side log. Between the two logs we'll hopefully be able to narrow down the problem. I'd recommend emailing the remote-agent.log to support@wingware.com and not posting it here.

Wingware Support's avatar Wingware Support (2020-07-07 13:26:33 -0500) edit

Thanks, I have submitted a bug report as requested.

peterb's avatar peterb (2020-07-08 13:07:55 -0500) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer