First time here? Check out the FAQ!
1

After force quit, Wing hangs on opening

Wing was working perfectly for me until:

I accidentally grabbed an entire terminal worth of text, instead of a small selection, and pasted it in to Wing to edit.

It ended up being 33000+ lines, which caused Wing to hang, even though it was still open.

Hoping if I forced quit I could just reopen and it would go back to normal, I forced quit.

Every time I have tried to re-open, it hangs on opening.

First it would hang where it says "checking auto-save cache"

Now it is hanging at 'opening recent project" (these are displayed on the Wing opening dialogue box)

Does anyone know how I can empty my cache (or something) so that Wing will open again and I can go back to working?

Thanks all for your help.

irisd's avatar
31
irisd
asked 2020-11-24 15:53:32 -0600
Wingware Support's avatar
4.2k
Wingware Support
updated 2020-12-01 08:49:52 -0600
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

0

If the file you pasted the 33k lines into is on disk, try moving it to another name so Wing doesn't try to open it again at startup. It really shouldn't be a problem to have a file that size, but if it's in a Python file it may be thrashing trying to analyze it.

Another idea is to move aside the project Wing is trying to open, which should be the one you had open when you pasted in the lines. That would also prevent Wing from trying to redo whatever it's hanging on.

If that doesn't help, take a look at the ide.log in your settings directory, which varies in location and name depending on the product you're running and your OS (see https://wingware.com/doc/install/user... ). That may show the error, or send that to us to at support@wingware.com and we can help.

Wingware Support's avatar
4.2k
Wingware Support
answered 2020-11-24 16:15:23 -0600
edit flag offensive 0 remove flag delete link

Comments

1

Hey, thanks so much for your quick response!

I will send you the log at the email address, too.

Leaving this here in case someone else runs into the same problem:

I am on Mac OS 10.15.7 and running Wing 7.2.2.13 (rev b4c7d93c92a9).

I pasted the 33k+ line file into a new, untitled file that I never had a chance to save, it hung immediately on pasting.

I tried looking for the project file I was working in to move aside, per your suggestion, and I can't find it on my disk - it was a new proj so I may have not saved it, which is fine at this point.

I did see default.wpr and clicked it, it opened wing, no hang, and told me file could not be read. I was able to open other files from within Wing after that.

Curious ... (more)

irisd's avatar irisd (2020-11-24 18:59:24 -0600) edit

You might want to try updating to the latest Wing, which is 7.2.7 from https://wingware.com/downloads/wing-pro -- there have been a lot of fixes since 7.2.2.13

Wingware Support's avatar Wingware Support (2020-11-25 08:12:34 -0600) 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