Ask Your Question
1

Getting started

asked 2020-07-05 11:01:47 -0500

peterb gravatar image

updated 2020-07-15 22:21:28 -0500

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?

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted
1

answered 2020-07-11 10:45:15 -0500

peterb gravatar image

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!

edit flag offensive delete link more
0

answered 2020-07-11 10:29:05 -0500

peterb gravatar image

Thanks, I have submitted a bug report as requested.

edit flag offensive delete link more
0

answered 2020-07-06 09:07:03 -0500

updated 2020-07-08 08:19:01 -0500

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...

edit flag offensive delete link more

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 gravatar imagepeterb ( 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 gravatar imagepeterb ( 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 gravatar imageWingware Support ( 2020-07-07 13:26:33 -0500 )edit

Thanks, I have submitted a bug report as requested.

peterb gravatar imagepeterb ( 2020-07-08 13:07:55 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

Asked: 2020-07-05 11:01:47 -0500

Seen: 344 times

Last updated: Jul 11