First time here? Check out the FAQ!

BarryM's profile - activity

2022-11-18 10:50:36 -0500 received badge Popular Question (source)
2022-11-18 10:50:36 -0500 received badge Famous Question (source)
2022-11-18 10:50:36 -0500 received badge Notable Question (source)
2022-09-26 09:10:08 -0500 commented answer launch Configuration - don't understand how to use properly

Thanks. I see it now.

2022-09-26 09:08:13 -0500 marked best answer launch Configuration - don't understand how to use properly

Hi I am trying to setup two Wing Python commands in my project. One starts the project using the production database, and the other uses a test database.

I have one project. I have created two Launch Configurations. Each has its own Environment value; ie.

  • one has --yaml_override='xxx' ... where xxx is the config file for production
  • the other is --yaml_override='yyy' ... where yyy is the config file for testing

I thought that I would then be able to create two OS commands, both pointing the same top level python module

  • one use using the production Launch Configuration
  • and the other using using the test one

My problem is that:

  • I setup the production command, and connect it to the production Launch configuration
  • And then I create the test command, and connect it to test Launch configuration
  • ==problem==> this also changes the production command to the test Launch configuration

ie. it seems as if the selection of the Launch configuration is global for the project

I don't understand how this was designed to be used. Can you help please?

Links to images:

the red boxes on the last two images show the setting that appears to be global to the project ... or something ... ?

2022-09-26 08:26:31 -0500 asked a question launch Configuration - don't understand how to use properly

launch Configuration - don't understand how to use properly Hi I am trying to setup two Wing Python commands in my proj

2022-09-26 08:24:44 -0500 received badge Notable Question (source)
2022-09-26 08:24:44 -0500 received badge Famous Question (source)
2022-09-26 08:24:44 -0500 received badge Popular Question (source)
2022-02-28 06:38:45 -0500 received badge Enthusiast
2022-02-26 21:16:55 -0500 answered a question Tracking variable references in f-strings

I was unaware of Wing version 8. I have just installed it, and is looking good so far. Thanks FYI I don't know how I mi

2022-02-25 21:59:23 -0500 received badge Rapid Responder ( source )
2022-02-25 21:59:23 -0500 answered a question Request: set multiple breakpoints from within the Uses tool

A use case I could immediately benefit from would be combining setting bps with being able to constrain the Find Us

2022-02-25 21:43:51 -0500 marked best answer Request: set multiple breakpoints from within the Uses tool

It would be good if there was a facility to set multiple breakpoints from within the Uses tool.

  1. Select a variable in the code editor, and invoke Find points Of Use
  2. Select multiple source lines in the Uses panel resulting from step #1
  3. Use proposed option to set breakpoints for all lines selected in step #2
2022-02-25 21:43:51 -0500 received badge Scholar ( source )
2022-02-24 19:32:08 -0500 asked a question Request: set multiple breakpoints from within the Uses tool

Request: set multiple breakpoints from within the Uses tool It would be good if there was a facility to set multiple br

2022-02-24 19:13:54 -0500 answered a question Tracking variable references in f-strings

Any progress with this issue? I am hoping for this enhancement also.

2021-09-09 02:31:37 -0500 received badge Famous Question (source)
2020-05-01 08:08:36 -0500 received badge Notable Question (source)
2020-04-23 18:48:36 -0500 received badge Popular Question (source)
2020-04-23 10:37:29 -0500 marked best answer Trouble inheriting project virtualenv values in Wing OS Command

I am running Wing 7.1.3.2 under Windows 10.

I am writing an app which uses flask. I installed virtualenv because it is recommended in the Flask docs.

I believe that followed your How-To and created the project using your Flask template. I then configured my project's Python Executable to the copy of python in my virtualenv directory.

When I am open my project, and I run the app using Wing's main "Start or continue debugging" button, everything works as expected, ie it uses my virtualenv.

But if I create a Wing OS Command, and leave it to default all of the Environment properties to my project settings, it is not using the virtualenv ... ie. my app cannot import from flask, as it is only installed in the virtualenv at this stage.

And in the Python Shell tool, I can see that it is not using the project's virtualenv either, ie. sys.executable points to the standard Python3 location.

is this expected? Can I use the Wing OS Command facility inherit my project's virtualenv? Should the Wing Python Shell tool inherit it's Python environment from the active project.

I don't know if it is relevant, but I am not writing a full flask app ... ie. I am only using its WSIG test server, so that I can control my app via html, when it is running on a headless device. So I am starting flask running manually, from inside of my app. Should I have used your Flask template? ... What does it do?

thanks

2020-04-22 10:52:42 -0500 commented question Trouble inheriting project virtualenv values in Wing OS Command

"Oh, are you saying you don't have Python Executable in Project Properties set?" No, I did not mean that. I do have it

2020-04-22 10:39:45 -0500 received badge Student (source)
2020-04-22 10:30:56 -0500 commented question Trouble inheriting project virtualenv values in Wing OS Command

am a bit confused by this "whether I set Python Executable to Command Line and use the sys.executable or Activated Env a

2020-04-22 10:25:09 -0500 commented question Trouble inheriting project virtualenv values in Wing OS Command

Restarting the shell does not fix things. Command is just this ... python xxxxx.py I closed Wing, and then restarted i

2020-04-22 10:02:09 -0500 answered a question Trouble inheriting project virtualenv values in Wing OS Command

I upgraded to 7.2.2.0 and then to 7.2.2.4 It has not resolved the problem. Same problem with the OS Command facility, a

2020-04-22 09:33:04 -0500 asked a question Trouble inheriting project virtualenv values in Wing OS Command

trouble inheriting project virtualenv values in Wing OS Command I am running Wing 7.1.3.2 under Windows 10. I am writin