Python 3.8 Warnings/Error

I'm trying to use Python 3.8 in Windows, and while running python setup.py install is gave some warnings/errors that should be reviewed:
C:\Users\vagrant\test\cbi\Lib\site-packages\cloudbaseinit\tests\metadata\services\osconfigdrive\test_factory.py:38: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if platform is not "win32":

byte-compiling C:\Users\vagrant\test\cbi\Lib\site-packages\cloudbaseinit\tests\osutils\test_windows.py to test_windows.cpython-38.pyc
C:\Users\vagrant\test\cbi\Lib\site-packages\cloudbaseinit\tests\osutils\test_windows.py:323: SyntaxWarning: "is not" with a literal. Did you mean "!="?
  if ret_value is not 0 and is_in_alias:

byte-compiling C:\Users\vagrant\test\cbi\Lib\site-packages\cloudbaseinit\tests\utils\windows\test_winrmconfig.py to test_winrmconfig.cpython-38.pyc
C:\Users\vagrant\test\cbi\Lib\site-packages\cloudbaseinit\tests\utils\windows\test_winrmconfig.py:87: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if tag is "ListeningOn":
C:\Users\vagrant\test\cbi\Lib\site-packages\cloudbaseinit\tests\utils\windows\test_winrmconfig.py:89: SyntaxWarning: "is" with a literal. Did you mean "=="?
  elif tag is "Enabled":
C:\Users\vagrant\test\cbi\Lib\site-packages\cloudbaseinit\tests\utils\windows\test_winrmconfig.py:90: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if text is 'true':
C:\Users\vagrant\test\cbi\Lib\site-packages\cloudbaseinit\tests\utils\windows\test_winrmconfig.py:96: SyntaxWarning: "is" with a literal. Did you mean "=="?
  elif tag is 'Port':
C:\Users\vagrant\test\cbi\Lib\site-packages\cloudbaseinit\tests\utils\windows\test_winrmconfig.py:145: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if tag is "Enabled":
C:\Users\vagrant\test\cbi\Lib\site-packages\cloudbaseinit\tests\utils\windows\test_winrmconfig.py:146: SyntaxWarning: "is" with a literal. Did you mean "=="?
  if text is 'true':

Can these be fixed like python is suggesting?
Also there's an issue with using the async reserved keyword as a variable:
byte-compiling C:\Users\vagrant\test\cbi\Lib\site-packages\cloudbaseinit\utils\windows\storage\vds_storage_manager.py to vds_storage_manager.cpython-38.pyc
  File "C:\Users\vagrant\test\cbi\Lib\site-packages\cloudbaseinit\utils\windows\storage\vds_storage_manager.py", line 94
    async = volume.Extend(input_disks_ar, len(input_disks))
          ^
SyntaxError: invalid syntax

Should I post a PR fixing these?

@rgl I need to add first the CI to run py38 and then the fixes can be added. You can create the change and I ll happily add it to the review system.

Also, before adding support for 3.8, we need wheels for pymi.

@ader1990 I will create a PR about the warnings :-)
BTW, I'm not sure if this is the best place to ask... but I'm trying to make the cloudinit-base footprint smaller by using python "embed" and putting all the py/pyc files inside a zip file and the .pyd (native DLLs) out of the zip as I described at https://gist.github.com/rgl/72b60fc12f91c93c0d286d56ae19e324; but I'm currently stuck at the last step. Can you please take a look? Maybe you already known how to do it :-)

This issue is solved by https://review.opendev.org/#/c/696565/

@ader1990 I will create a PR about the warnings :-)
BTW, I'm not sure if this is the best place to ask... but I'm trying to make the cloudinit-base footprint smaller by using python "embed" and putting all the py/pyc files inside a zip file and the .pyd (native DLLs) out of the zip as I described at https://gist.github.com/rgl/72b60fc12f91c93c0d286d56ae19e324; but I'm currently stuck at the last step. Can you please take a look? Maybe you already known how to do it :-)
BTW, I'm also using the petrutlucian94/pymi repo because it can be built with latest Visual Studio 2019 Build Tools.

This would be very cool. Currently, I do not have any input on this matter, but it would be great if you could make a how-to if you get it working.


New Firmware 0.42.0 available for Gen 2 Chargers

New Firmware 0.42.0 available for Gen 2 Chargers.
to be verified and implemented in adapter

[https://github.com/evcc-io/evcc/discussions/8582]

Still no Fix from vendor - firmware 042.0 not usable!!


Feature request -> After- physics_update call

Hi everyone. As you probably know, physics_update call is triggered before node get updated by physics engine. However, sometimes you want to execute code after physics engine updates node. Unfortunately, something like late_physics_update or post_physics_update does not exist yet. I'd love to add it myself but I don't know c++. I think it will be better than messy workarounds.
Thanks.

What would be the use case for this?  The idle time occurs right after the physics engine is iterated, so whatever you need could be put in _process.  The only thing this doesn't cover is frames where more than one physics frame occurs.

func _physics_process(delta):
    stuff_before_physics
    yield(get_tree(), "idle_frame")
    stuff_after_physics

^ Wouldn't this work?

I have not worked with yield, but reading about it, I am not quite sure if that would do what I want. If the data was changed the game state needs to be updated to it before any physics processing is being done.
After the physics is done processing the date needs to be updated to the new state to keep them in sync.

So my code should work (assuming "idle_frame" is emitted after physics_process).

Yeah, after thinking about it a bit more it might actually work.

A late physics update method would be super awesome.
Having made several commercial games I have seen many use cases where this is beneficial. E.g. this is what you commonly want

pre - apply force/velocity to bodies
step - step physics simulation
late - get new transforms for objects, react to collisions
4.1. render  - interpolate between old and current position
4.2. render  - interpolate between old and current position
4.3. render  - interpolate between old and current position

If you don't support "late" update it will look like this.

pre - based on old transforms, react to collisions, apply force/velocity to bodies
step - step physics simulation
3.3. render  - unknown position - no interpolation
3.3. render  - unknown position - no interpolation
3.3. render  - unknown position - no interpolation

Is you can see, there is not chance to react to the result from the simulation before rendering. Maybe your character entered a death-zone and should be killed. You also have one frame extra delay in your rendering - you don't know how to interpolate your render frames.

Or like this? Stepping happens before physics update

step - step physics simulation
pre - get last transforms for objects, react to collisions, apply force/velocity to bodies
3.1. render  - old position - velocity not applied yet
3.2. render  - old position - velocity not applied yet
3.3. render  - old position - velocity not applied yet

Hence, your rendering will always be one frame extra late. Interpolation also not possible.
The common way of implementation action games is processing your logic at a fixed frame rate "_physics_process" and process your graphics at variable frame rate "_process". Therefore a defined order of execution helps. Order of apply attributes, stepping simulation and reacting to collisions is important.

Does Godot have a specification for when stepping, collision response and rendering should happen?
I have noted that e.g. GodotPhysics vs Bullet physics work differently. GodotPhysics uses _physics_process as a "late" call. While Bullet uses it as a "early" call. However Bullet has a bug where velocity is applied only next update. So in practice the stepping is 1.99 frames late - I assume this is a bug.

Any last question, how does this Patron thing work - can I vote on this with money? I could spend a few bucks on this great project.

Something like this could help a lot for a project I'm working on. I need a way to calculate all forces that were applied to an object and this just might make that work.

This would be nice in gameservers situation when you need to update all of the entity positions first before sending the updated states to all clients.

Feature and improvement proposals for the Godot Engine are now being discussed and reviewed in a dedicated Godot Improvement Proposals (GIP) (godotengine/godot-proposals) issue tracker. The GIP tracker has a detailed issue template designed so that proposals include all the relevant information to start a productive discussion and help the community assess the validity of the proposal for the engine.
The main (godotengine/godot) tracker is now solely dedicated to bug reports and Pull Requests, enabling contributors to have a better focus on bug fixing work. Therefore, we are now closing all older feature proposals on the main issue tracker.
If you are interested in this feature proposal, please open a new proposal on the GIP tracker following the given issue template (after checking that it doesn't exist already). Be sure to reference this closed issue if it includes any relevant discussion (which you are also encouraged to summarize in the new proposal). Thanks in advance!


bmp/decoder: extend support for bitfields

Add support for bitfields with any valid mask, as well as alpha masks.
Closes #539

I think your patch broke these test images you talkes about in #539. The resulting png is not just transparent, it doesn’t contain any data. All channels are 0 according to gimp, not just the alpha channel.

If I open tests/reference/bmp/images/V3_A1_R5_G5_B5.bmp.dcd94d7c.png or tests/reference/bmp/images/V3_A4_R4_G4_B4.bmp.dcd94d7c.png in gimp and use the color picker, it can see the red/green/blue. How are you testing?

True, I was looking at the channel view of Gimp, probably I was misinterpreting how it works. It doesn’t actually show the channels as you would expect, instead it shows the channel after multiplying it with the alpha channel.

Thank you!


Can't manage publish/unpublish of items in a grid unless the grid is unpublished

This may be the correct behavior. However if an exhibit is published, its items can be published/unpublished from the item list. This differs from the grid item list

Issue resolved.  binding functions were not being attached using correct class name


Remove noisy queue clearing printing

Since these tests get run with all logging enabled these prints are actually added a lot of unnecessary noise on successful runs.

 Completely purge rabbit after performance test runs


Add driver for Adafruit Dotstar LEDs (SK9822)

Summary
Adds device support for SK9822 addressable RGB LEDs (aka Adafruit Dotstar) with SPI Transport
Details
This is a device support "driver" class for the SK9822 RGB addressable LED. The code patterns are modeled after other device classes in libDaisy, implemented as a template class with data transport broken out separately. Currently there is only an SPI transport implementation but in theory one could add transport support for other peripherals.
The device class is meant to simultaneously manage the color states of 1 or more serially connected LEDs or "pixels" (currently up to a hard-coded maximum of 64, but this could probably be made a template parameter). The nature of the device is such that all LEDs must be updated at once, since the serial data must be clocked through the entire chain, so it's simplest to just keep all the data in memory until ready to display.
The usage should be fairly self explanatory based on the doc comments but an example is provided below.
Possible Future Improvements
The SPI transport currently uses blocking transmits rather than DMA. In practice this is probably OK for the typically small number of LEDs in synth designs and the fast clock speed in use (default baud prescaler of 4 which results in a clock rate of 6.25MHz seems to work fine for me). But it might be nice to have the option to do DMA based SPI writes instead.
Additionally, the Color class in libDaisy could be improved to handle many common tasks for working with Color data (in the context of addressable LEDs or otherwise):

HSV color space support, including methods to modify HSV on an existing instance
Gamma correction
Static methods to get named colors rather than Init

In general would be nice if the class behaved more like a POD value type, with constructors etc (breaks libDaisy convention somewhat but makes up for it with convenience).

Example Usage
For patch submodule, which uses SPI2 instead of the default SPI1
#include "daisy_patch_sm.h"

using namespace daisy;
using namespace daisy::patch_sm;

const uint8_t kNumLeds = 4;

static DaisyPatchSM hw;
static DotStarSpi dotstars;

int main(void)
{
	hw.Init();
	hw.StartLog();

	DotStarSpi::Config dotstar_cfg;
	dotstar_cfg.Defaults();
	dotstar_cfg.transport_config.periph   = SpiHandle::Config::Peripheral::SPI_2;
	dotstar_cfg.transport_config.clk_pin  = Pin(PORTD, 3);
	dotstar_cfg.transport_config.data_pin = Pin(PORTC, 3);
	dotstar_cfg.color_order               = DotStarSpi::Config::ColorOrder::RBG; // If colors seem off, change this
	dotstar_cfg.num_pixels 	              = kNumLeds;

	dotstars.Init(dotstar_cfg);
	dotstars.SetAllGlobalBrightness(1);

	float b = 0.0f;
	uint32_t val = 0;
	while(1)
	{
                // cube of ch brightness for gamma correction
		val = b * b * b * 255;
		dotstars.SetPixelColor(0, val, 0, 0);  // red
		dotstars.SetPixelColor(1, 0, val, 0); // green
		dotstars.SetPixelColor(2, 0, 0, val); // blue
		dotstars.SetPixelColor(3, val, 0, val); // pink
		dotstars.Show();
		b += 0.01f;
		if (b >= 1.0f) b = 0.0f;
		System::Delay(33);
	}
}

@ndonald2 As always, thanks for the fantastic contribution!
This looks good to me! I don't have anything to test locally, but assuming it drives dotstars okay, I think this is probably ready to merge once you're satisfied.
Re. color improvements, I agree with what you suggest.
Semi related, I actually think I might have a branch lying around somewhere that has some nice QoL stuff like basic constructors, and some operator overloads for adding, scaling, and blending.
I think for utilities (esp. non-audio-rate) convenience can definitely outweigh convention. So I'm definitely open to that.
I'll see if I can find that sometime this week, and I'll make a PR.

@ndonald2 re. having another set of eyes: Up to you. If you've been using it, then I'm sure its good enough to start with, and we can always apply a patch if someone catches something.
And super cool! I'll take a look around Friday or this weekend to see if I can find that code and post an initial PR.
I don't think I went and did the constexpring, but that would be a nice addition for sure.

@stephenhensley cool cool, I'm satisfied so feel free to merge this anytime. I haven't exercised every part of the interface but all the basic stuff is working great (set constant-current brightness, clear/fill, set individual pixel colors, draw...)
If there's anything I'm slightly torn about it's exposing the full 5-bit range of constant current brightness in the interface, since really only the first 5 levels or so are practical for most use cases due to power consumption and thermal concerns. I guess the warning comment is enough? But I don't want anyone to fry their circuits by trying to ramp it up really high.

@ndonald2 Cool, well I think its ready then! I'll hit merge.

If there's anything I'm slightly torn about it's exposing the full 5-bit range of constant current brightness in the interface, since really only the first 5 levels or so are practical for most use cases due to power consumption and thermal concerns. I guess the warning comment is enough? But I don't want anyone to fry their circuits by trying to ramp it up really high.

This is a good point, but as long as the default is sensible, I'd suspect a user would see the warning at the same time that they see the function for updating it. So I think it's fine.
Thanks again for the PR!


建议写清楚具体版本号

implementation 'com.lxj:xpopup:latest release'这样不支持离线模式啊，给个确定的版本号吧？

抱歉，不小心把版本号给删除了，具体版本号在README文件的最上方。

@li-xiaojun 神速更新啊！另外有个问题：error: resource android:attr/fontVariationSettings not found "error: resource android:attr/ttcIndex not found."咋回事？

我刚才确认了一下类库的资源引用，确保没有问题。这个问题应该是你自己项目中的问题，请检查一下。如果仍然有问题，可以将项目打包发我一下看看。我的QQ：16167479

找到问题了，是v4包引用的版本不同导致的，加这种
configurations.all {     resolutionStrategy.force 'com.android.support:support-v4:27.1.1' }
都不行。

可以发下你项目的Gradle中完整的依赖信息吗

+--- project :livenesslib
|    --- project :basecore
|         +--- com.android.support:appcompat-v7:27.1.1
|         |    +--- com.android.support:support-annotations:27.1.1 -> 28.0.0
|         |    +--- com.android.support:support-core-utils:27.1.1 -> 28.0.0
|         |    |    +--- com.android.support:support-annotations:28.0.0
|         |    |    +--- com.android.support:support-compat:28.0.0
|         |    |    |    +--- com.android.support:support-annotations:28.0.0
|         |    |    |    +--- com.android.support:collections:28.0.0
|         |    |    |    |    --- com.android.support:support-annotations:28.0.0
|         |    |    |    +--- android.arch.lifecycle:runtime:1.1.1
|         |    |    |    |    +--- android.arch.lifecycle:common:1.1.1
|         |    |    |    |    |    --- com.android.support:support-annotations:26.1.0 -> 28.0.0
|         |    |    |    |    +--- android.arch.core:common:1.1.1
|         |    |    |    |    |    --- com.android.support:support-annotations:26.1.0 -> 28.0.0
|         |    |    |    |    --- com.android.support:support-annotations:26.1.0 -> 28.0.0
|         |    |    |    --- com.android.support:versionedparcelable:28.0.0
|         |    |    |         +--- com.android.support:support-annotations:28.0.0
|         |    |    |         --- com.android.support:collections:28.0.0 ()
|         |    |    +--- com.android.support:documentfile:28.0.0
|         |    |    |    --- com.android.support:support-annotations:28.0.0
|         |    |    +--- com.android.support:loader:28.0.0
|         |    |    |    +--- com.android.support:support-annotations:28.0.0
|         |    |    |    +--- com.android.support:support-compat:28.0.0 ()
|         |    |    |    +--- android.arch.lifecycle:livedata:1.1.1
|         |    |    |    |    +--- android.arch.core:runtime:1.1.1
|         |    |    |    |    |    +--- com.android.support:support-annotations:26.1.0 -> 28.0.0
|         |    |    |    |    |    --- android.arch.core:common:1.1.1 ()
|         |    |    |    |    +--- android.arch.lifecycle:livedata-core:1.1.1
|         |    |    |    |    |    +--- android.arch.lifecycle:common:1.1.1 ()
|         |    |    |    |    |    +--- android.arch.core:common:1.1.1 ()
|         |    |    |    |    |    --- android.arch.core:runtime:1.1.1 ()
|         |    |    |    |    --- android.arch.core:common:1.1.1 ()
|         |    |    |    --- android.arch.lifecycle:viewmodel:1.1.1
|         |    |    |         --- com.android.support:support-annotations:26.1.0 -> 28.0.0
|         |    |    +--- com.android.support:localbroadcastmanager:28.0.0
|         |    |    |    --- com.android.support:support-annotations:28.0.0
|         |    |    --- com.android.support:print:28.0.0
|         |    |         --- com.android.support:support-annotations:28.0.0
|         |    +--- com.android.support:support-fragment:27.1.1
|         |    |    +--- com.android.support:support-compat:27.1.1 -> 28.0.0 ()
|         |    |    +--- com.android.support:support-core-ui:27.1.1 -> 28.0.0
|         |    |    |    +--- com.android.support:support-annotations:28.0.0
|         |    |    |    +--- com.android.support:support-compat:28.0.0 ()
|         |    |    |    +--- com.android.support:support-core-utils:28.0.0 ()
|         |    |    |    +--- com.android.support:customview:28.0.0
|         |    |    |    |    +--- com.android.support:support-annotations:28.0.0
|         |    |    |    |    --- com.android.support:support-compat:28.0.0 ()
|         |    |    |    +--- com.android.support:viewpager:28.0.0
|         |    |    |    |    +--- com.android.support:support-annotations:28.0.0
|         |    |    |    |    +--- com.android.support:support-compat:28.0.0 ()
|         |    |    |    |    --- com.android.support:customview:28.0.0 ()
|         |    |    |    +--- com.android.support:coordinatorlayout:28.0.0
|         |    |    |    |    +--- com.android.support:support-annotations:28.0.0
|         |    |    |    |    +--- com.android.support:support-compat:28.0.0 ()
|         |    |    |    |    --- com.android.support:customview:28.0.0 ()
|         |    |    |    +--- com.android.support:drawerlayout:28.0.0
|         |    |    |    |    +--- com.android.support:support-annotations:28.0.0
|         |    |    |    |    +--- com.android.support:support-compat:28.0.0 ()
|         |    |    |    |    --- com.android.support:customview:28.0.0 ()
|         |    |    |    +--- com.android.support:slidingpanelayout:28.0.0
|         |    |    |    |    +--- com.android.support:support-annotations:28.0.0
|         |    |    |    |    +--- com.android.support:support-compat:28.0.0 ()
|         |    |    |    |    --- com.android.support:customview:28.0.0 ()
|         |    |    |    +--- com.android.support:interpolator:28.0.0
|         |    |    |    |    --- com.android.support:support-annotations:28.0.0
|         |    |    |    +--- com.android.support:swiperefreshlayout:28.0.0
|         |    |    |    |    +--- com.android.support:support-annotations:28.0.0
|         |    |    |    |    +--- com.android.support:support-compat:28.0.0 ()
|         |    |    |    |    --- com.android.support:interpolator:28.0.0 ()
|         |    |    |    +--- com.android.support:asynclayoutinflater:28.0.0
|         |    |    |    |    +--- com.android.support:support-annotations:28.0.0
|         |    |    |    |    --- com.android.support:support-compat:28.0.0 ()
|         |    |    |    --- com.android.support:cursoradapter:28.0.0
|         |    |    |         --- com.android.support:support-annotations:28.0.0
|         |    |    +--- com.android.support:support-core-utils:27.1.1 -> 28.0.0 ()
|         |    |    +--- com.android.support:support-annotations:27.1.1 -> 28.0.0
|         |    |    +--- android.arch.lifecycle:livedata-core:1.1.0 -> 1.1.1 ()
|         |    |    --- android.arch.lifecycle:viewmodel:1.1.0 -> 1.1.1 ()
|         |    +--- com.android.support:support-vector-drawable:27.1.1
|         |    |    +--- com.android.support:support-annotations:27.1.1 -> 28.0.0
|         |    |    --- com.android.support:support-compat:27.1.1 -> 28.0.0 ()
|         |    --- com.android.support:animated-vector-drawable:27.1.1
|         |         +--- com.android.support:support-vector-drawable:27.1.1 ()
|         |         --- com.android.support:support-core-ui:27.1.1 -> 28.0.0 ()
|         +--- com.android.support:support-v4:27.1.1
|         |    +--- com.android.support:support-compat:27.1.1 -> 28.0.0 ()
|         |    +--- com.android.support:support-media-compat:27.1.1
|         |    |    +--- com.android.support:support-annotations:27.1.1 -> 28.0.0
|         |    |    --- com.android.support:support-compat:27.1.1 -> 28.0.0 ()
|         |    +--- com.android.support:support-core-utils:27.1.1 -> 28.0.0 ()
|         |    +--- com.android.support:support-core-ui:27.1.1 -> 28.0.0 ()
|         |    --- com.android.support:support-fragment:27.1.1 ()
|         +--- com.android.support:design:27.1.1
|         |    +--- com.android.support:support-v4:27.1.1 ()
|         |    +--- com.android.support:appcompat-v7:27.1.1 ()
|         |    +--- com.android.support:recyclerview-v7:27.1.1 -> 28.0.0
|         |    |    +--- com.android.support:support-annotations:28.0.0
|         |    |    +--- com.android.support:support-compat:28.0.0 ()
|         |    |    --- com.android.support:support-core-ui:28.0.0 ()
|         |    --- com.android.support:transition:27.1.1
|         |         +--- com.android.support:support-annotations:27.1.1 -> 28.0.0
|         |         --- com.android.support:support-compat:27.1.1 -> 28.0.0 ()
|         +--- com.android.support:cardview-v7:27.1.1 -> 28.0.0
|         |    --- com.android.support:support-annotations:28.0.0
|         +--- com.android.support.constraint:constraint-layout:1.1.3
|         |    --- com.android.support.constraint:constraint-layout-solver:1.1.3
|         +--- junit:junit:4.12
|         |    --- org.hamcrest:hamcrest-core:1.3
|         +--- io.reactivex.rxjava2:rxjava:2.1.7 -> 2.1.16
|         |    --- org.reactivestreams:reactive-streams:1.0.2
|         +--- io.reactivex.rxjava2:rxandroid:2.0.1
|         |    --- io.reactivex.rxjava2:rxjava:2.0.1 -> 2.1.16 ()
|         +--- com.hwangjr.rxbus:rxbus:1.0.5
|         |    +--- io.reactivex:rxjava:1.1.9
|         |    +--- io.reactivex:rxandroid:1.2.1
|         |    |    --- io.reactivex:rxjava:1.1.6 -> 1.1.9
|         |    +--- com.jakewharton.timber:timber:4.3.0
|         |    --- com.android.support:support-annotations:24.2.0 -> 28.0.0
|         +--- com.trello.rxlifecycle2:rxlifecycle-components:2.0.1
|         |    +--- com.trello.rxlifecycle2:rxlifecycle-android:2.0.1
|         |    |    +--- com.trello.rxlifecycle2:rxlifecycle:2.0.1
|         |    |    |    +--- io.reactivex.rxjava2:rxjava:2.0.1 -> 2.1.16 ()
|         |    |    |    --- com.google.code.findbugs:jsr305:3.0.1
|         |    |    +--- io.reactivex.rxjava2:rxandroid:2.0.1 ()
|         |    |    --- com.android.support:support-annotations:25.0.0 -> 28.0.0
|         |    +--- io.reactivex.rxjava2:rxjava:2.0.1 -> 2.1.16 ()
|         |    --- com.android.support:appcompat-v7:25.0.0 -> 27.1.1 ()
|         +--- com.jakewharton.rxbinding2:rxbinding:2.0.0
|         |    +--- io.reactivex.rxjava2:rxjava:2.0.2 -> 2.1.16 ()
|         |    +--- io.reactivex.rxjava2:rxandroid:2.0.0 -> 2.0.1 ()
|         |    --- com.android.support:support-annotations:25.1.1 -> 28.0.0
|         +--- com.jakewharton.rxbinding2:rxbinding-support-v4:2.0.0
|         |    +--- com.jakewharton.rxbinding2:rxbinding:2.0.0 ()
|         |    --- com.android.support:support-core-ui:25.1.1 -> 28.0.0 ()
|         +--- com.jakewharton.rxbinding2:rxbinding-appcompat-v7:2.0.0
|         |    +--- com.jakewharton.rxbinding2:rxbinding:2.0.0 ()
|         |    --- com.android.support:appcompat-v7:25.1.1 -> 27.1.1 ()
|         +--- com.jakewharton.rxbinding2:rxbinding-design:2.0.0
|         |    +--- com.jakewharton.rxbinding2:rxbinding:2.0.0 ()
|         |    --- com.android.support:design:25.1.1 -> 27.1.1 ()
|         +--- com.jakewharton.rxbinding2:rxbinding-recyclerview-v7:2.0.0
|         |    +--- com.jakewharton.rxbinding2:rxbinding:2.0.0 ()
|         |    --- com.android.support:recyclerview-v7:25.1.1 -> 28.0.0 ()
|         +--- com.github.tbruyelle:rxpermissions:0.10.2
|         |    +--- io.reactivex.rxjava2:rxjava:2.1.16 ()
|         |    +--- com.android.support:support-annotations:27.1.1 -> 28.0.0
|         |    --- com.android.support:support-fragment:27.1.1 ()
|         +--- com.squareup.retrofit2:retrofit:2.4.0
|         |    --- com.squareup.okhttp3:okhttp:3.10.0
|         |         --- com.squareup.okio:okio:1.14.0
|         +--- com.squareup.retrofit2:converter-gson:2.4.0
|         |    +--- com.squareup.retrofit2:retrofit:2.4.0 ()
|         |    --- com.google.code.gson:gson:2.8.2
|         +--- com.squareup.retrofit2:adapter-rxjava2:2.4.0
|         |    +--- com.squareup.retrofit2:retrofit:2.4.0 ()
|         |    --- io.reactivex.rxjava2:rxjava:2.0.0 -> 2.1.16 ()
|         +--- com.squareup.okhttp3:logging-interceptor:3.9.1
|         |    --- com.squareup.okhttp3:okhttp:3.9.1 -> 3.10.0 ()
|         +--- com.github.bumptech.glide:glide:3.7.0
|         +--- com.google.code.gson:gson:2.8.0 -> 2.8.2
|         +--- com.android.support:multidex:1.0.2
|         +--- com.orhanobut:logger:2.2.0
|         |    --- com.android.support:support-annotations:27.1.0 -> 28.0.0
|         +--- com.github.florent37:viewanimator:1.0.5
|         |    +--- com.android.support:support-v4:23.3.0 -> 27.1.1 ()
|         |    +--- com.android.support:appcompat-v7:23.3.0 -> 27.1.1 ()
|         |    --- com.android.support:support-annotations:23.3.0 -> 28.0.0
|         +--- devlight.io:navigationtabbar:1.2.5
|         |    --- com.android.support:design:23.2.1 -> 27.1.1 ()
|         +--- com.flyco.tablayout:FlycoTabLayout_Lib:2.1.2
|         +--- com.github.CymChad:BaseRecyclerViewAdapterHelper:2.9.30
|         +--- com.contrarywind:Android-PickerView:4.1.6
|         |    --- com.contrarywind:wheelview:4.0.8
|         +--- com.zhihu.android:matisse:0.5.1
|         |    +--- com.android.support:support-v4:27.1.1 ()
|         |    +--- com.android.support:appcompat-v7:27.1.1 ()
|         |    +--- com.android.support:support-annotations:27.1.1 -> 28.0.0
|         |    +--- com.android.support:recyclerview-v7:27.1.1 -> 28.0.0 ()
|         |    --- it.sephiroth.android.library.imagezoom:library:1.0.4
|         |         --- it.sephiroth.android.library.easing:library:1.0.2
|         +--- cn.jzvd:jiaozivideoplayer:6.3.1
|         +--- com.github.chrisbanes:PhotoView:2.0.0
|         |    --- com.android.support:support-core-utils:25.3.0 -> 28.0.0 ()
|         +--- com.github.zyyoona7:EasyPopup:1.1.2
|         |    --- com.android.support:support-compat:27.1.1 -> 28.0.0 ()
|         +--- com.github.lzyzsd:jsbridge:1.0.4
|         +--- me.yokeyword:indexablerecyclerview:1.3.0
|         |    +--- com.github.promeg:tinypinyin:2.0.3
|         |    |    --- org.ahocorasick:ahocorasick:0.3.0
|         |    --- com.github.promeg:tinypinyin-lexicons-android-cncity:2.0.3
|         |         --- com.github.promeg:tinypinyin-android-asset-lexicons:2.0.3
|         |              --- com.github.promeg:tinypinyin:2.0.3 ()
|         +--- com.hyman:flowlayout-lib:1.1.2
|         +--- com.github.Othershe:NiceImageView:1.0.1
|         |    --- com.android.support:appcompat-v7:27.1.1 ()
|         +--- org.greenrobot:greendao:3.2.0
|         |    --- org.greenrobot:greendao-api:3.2.0
|         +--- org.greenrobot:greendao-generator:3.2.0
|         |    --- org.freemarker:freemarker:2.3.23
|         +--- cn.yipianfengye.android:zxing-library:2.2
|         |    +--- com.android.support:appcompat-v7:25.1.1 -> 27.1.1 ()
|         |    --- com.android.support:support-v4:25.1.1 -> 27.1.1 ()
|         +--- com.android.support:palette-v7:27.1.1
|         |    +--- com.android.support:support-compat:27.1.1 -> 28.0.0 ()
|         |    --- com.android.support:support-core-utils:27.1.1 -> 28.0.0 ()
|         +--- com.github.promeg:tinypinyin:2.0.3 ()
|         +--- com.github.promeg:tinypinyin-lexicons-android-cncity:2.0.3 ()
|         +--- cn.finalteam.rxgalleryfinal:library:1.1.2
|         |    +--- io.reactivex.rxjava2:rxandroid:2.0.1 ()
|         |    +--- io.reactivex.rxjava2:rxjava:2.1.0 -> 2.1.16 ()
|         |    +--- com.yalantis:ucrop:2.2.0
|         |    |    +--- com.android.support:appcompat-v7:24.2.0 -> 27.1.1 ()
|         |    |    --- com.squareup.okhttp3:okhttp:3.4.1 -> 3.10.0 ()
|         |    +--- com.android.support:recyclerview-v7:25.3.1 -> 28.0.0 ()
|         |    +--- com.android.support:appcompat-v7:25.3.1 -> 27.1.1 ()
|         |    --- com.android.support:exifinterface:25.3.1
|         |         --- com.android.support:support-annotations:25.3.1 -> 28.0.0
|         --- com.lxj:xpopup:0.0.5
|              +--- com.android.support:appcompat-v7:28.0.0 -> 27.1.1 ()
|              +--- com.android.support:cardview-v7:28.0.0 ()
|              +--- com.android.support:recyclerview-v7:28.0.0 ()
|              --- com.lxj:easyadapter:0.0.8
|                   +--- com.android.support:appcompat-v7:28.0.0 -> 27.1.1 ()
|                   --- com.android.support:recyclerview-v7:28.0.0 ()
+--- com.tencent.mm.opensdk:wechat-sdk-android-without-mta:1.3.4
+--- com.ruffian.library:RWidgetHelper:1.0.1
|    --- com.android.support:appcompat-v7:26.0.0-alpha1 -> 27.1.1 (*)

@parcool  v4依赖一般不要写，buildToolVersion也不要写，studio会根据已经安装的sdk去选择合适的。如果写了，可能会出现冲突

还是贴个能用的办法：
implementation ('com.lxj:xpopup:0.0.5') {         exclude group: 'support-v4'         exclude module: 'appcompat-v7'         exclude module: 'cardview-v7'         exclude module: 'recyclerview-v7'     }

@li-xiaojun 老项目，依赖这些不敢去改了。麻烦。。。

@parcool 理解，如果再遇到lib冲突，就直接用 exclude xxx大法就行。


"Invalid character "\u3f" in token" when using IPython ? help syntax in Jupyter notebook

Environment data

Pylance version: v2024.9.1
OS and version: macOS Sonoma 14.6.1
Python version (& distribution if applicable, e.g. Anaconda): 3.12.5 (installed by VS Code on demand, see repro steps below)

Code Snippet

In a Jupyter notebook IPython cell:
?print

Repro Steps

Install Python extension (which also installs Pylance)
Install Jupyter extension
Start VS Code in an empty directory:mkdir incorrect-problem-report
cd incorrect-problem-report
code .

In VS Code, run "Create: New Jupyter Notebook" command
When prompted, select python interpreter and choose Create Virtual Environment...
In the first cell in the notebook, enter ?print or print? or any valid object with ? before or after it (see IPython accessing help to see where this syntax is documented)
Open the PROBLEMS window in VS Code

Expected behavior
No PROBLEMs listed.
Actual behavior
The PROBLEMS tab shows:
Invalid character "\u3f" in token

In light gray Pylance [Ln 1, Col 1] to the right of the message.
Logs

2024-09-14 11:04:06.923 [info] (Client) Pylance async client (2024.9.1) started with python extension (2024.14.1)
2024-09-14 11:04:07.222 [info] [Info  - 11:04:07 AM] (19559) Server root directory: file:///Users/doug/.vscode/extensions/ms-python.vscode-pylance-2024.9.1/dist
2024-09-14 11:04:07.222 [info] [Info  - 11:04:07 AM] (19559) Pylance language server 2024.9.1 (pyright version 1.1.378, commit ce64adc1) starting
2024-09-14 11:04:07.226 [info] [Info  - 11:04:07 AM] (19559) Starting service instance "incorrect-problem-report"
2024-09-14 11:04:07.248 [info] (19559) No configuration file found.
2024-09-14 11:04:07.248 [info] (19559) No pyproject.toml file found.
2024-09-14 11:04:07.248 [info] [Info  - 11:04:07 AM] (19559) Setting environmentName for service "incorrect-problem-report": "/Users/doug/Desktop/pylance-bug-report/.venv"
2024-09-14 11:04:07.248 [info] [Info  - 11:04:07 AM] (19559) No include entries specified; assuming /Users/doug/Desktop/incorrect-problem-report
2024-09-14 11:04:07.249 [info] [Info  - 11:04:07 AM] (19559) Auto-excluding **/node_modules
2024-09-14 11:04:07.249 [info] [Info  - 11:04:07 AM] (19559) Auto-excluding **/__pycache__
2024-09-14 11:04:07.249 [info] [Info  - 11:04:07 AM] (19559) Auto-excluding **/.*
2024-09-14 11:04:07.249 [info] (19559) Assuming Python platform Darwin
2024-09-14 11:04:07.295 [info] [Info  - 11:04:07 AM] (19559) Search paths for file:///Users/doug/Desktop/incorrect-problem-report
2024-09-14 11:04:07.295 [info] [Info  - 11:04:07 AM] (19559)   /Users/doug/.vscode/extensions/ms-python.vscode-pylance-2024.9.1/dist/typeshed-fallback/stdlib
2024-09-14 11:04:07.295 [info] [Info  - 11:04:07 AM] (19559)   /Users/doug/Desktop/incorrect-problem-report
2024-09-14 11:04:07.296 [info] [Info  - 11:04:07 AM] (19559)   /Users/doug/Desktop/incorrect-problem-report/typings
2024-09-14 11:04:07.296 [info] [Info  - 11:04:07 AM] (19559)   /Users/doug/.vscode/extensions/ms-python.vscode-pylance-2024.9.1/dist/typeshed-fallback/stubs/...
2024-09-14 11:04:07.296 [info] [Info  - 11:04:07 AM] (19559)   /Users/doug/.vscode/extensions/ms-python.vscode-pylance-2024.9.1/dist/bundled/stubs
2024-09-14 11:04:07.296 [info] [Info  - 11:04:07 AM] (19559<EMAIL_ADDRESS>2024-09-14 11:04:07.296 [info] [Info  - 11:04:07 AM] (19559<EMAIL_ADDRESS>2024-09-14 11:04:07.296 [info] [Info  - 11:04:07 AM] (19559)   /opt/homebrew/lib/python3.12/site-packages
2024-09-14 11:04:07.296 [info] (19559) Searching for source files
2024-09-14 11:04:07.297 [info] [Info  - 11:04:07 AM] (19559) No source files found.
2024-09-14 11:04:07.304 [info] (19559) pytest configurations: {"message":"request cancelled","classes":["Test"],"files":["test_*.py","*_test.py"],"functions":["test"]}
2024-09-14 11:04:07.317 [info] (19559) pytest configurations: {"message":"script","classes":["Test"],"files":["test_*.py","*_test.py"],"functions":["test"]}
2024-09-14 11:04:07.505 [info] [Info  - 11:04:07 AM] (19559) Background analysis(1) root directory: file:///Users/doug/.vscode/extensions/ms-python.vscode-pylance-2024.9.1/dist
2024-09-14 11:04:07.506 [info] [Info  - 11:04:07 AM] (19559) Background analysis(1) started
2024-09-14 11:04:07.543 [info] (19559) pytest configurations: {"message":"request cancelled","classes":["Test"],"files":["test_*.py","*_test.py"],"functions":["test"]}
2024-09-14 11:04:07.560 [info] (19559) pytest configurations: {"message":"script","classes":["Test"],"files":["test_*.py","*_test.py"],"functions":["test"]}
2024-09-14 11:04:18.293 [info] (19559) Received updated settings
2024-09-14 11:04:18.298 [info] (19559) Server settings returned for workspace: file:///Users/doug/Desktop/incorrect-problem-report: {
  "autoSearchPaths": true,
  "disableLanguageServices": false,
  "openFilesOnly": true,
  "useLibraryCodeForTypes": true,
  "watchForSourceChanges": true,
  "watchForLibraryChanges": true,
  "watchForConfigChanges": true,
  "typeCheckingMode": "off",
  "diagnosticSeverityOverrides": {
    "reportShadowedImports": "warning"
  },
  "diagnosticBooleanOverrides": {
    "strictListInference": false,
    "strictDictionaryInference": false,
    "strictSetInference": false,
    "analyzeUnannotatedFunctions": true,
    "strictParameterNoneValue": true,
    "enableTypeIgnoreComments": true,
    "deprecateTypingAliases": false,
    "enableReachabilityAnalysis": false,
    "enableExperimentalFeatures": false,
    "disableBytesTypePromotions": false
  },
  "logLevel": "log",
  "autoImportCompletions": false,
  "indexing": true,
  "completeFunctionParens": false,
  "enableExtractCodeAction": true,
  "indexOptions": {
    "packageDepths": [
      [
        "sklearn",
        2,
        false
      ],
      [
        "matplotlib",
        2,
        false
      ],
      [
        "scipy",
        2,
        false
      ],
      [
        "django",
        2,
        false
      ],
      [
        "flask",
        2,
        false
      ],
      [
        "fastapi",
        2,
        false
      ]
    ],
    "regenerateStdLibIndices": false,
    "localStorageUri": {
      "_key": "/users/doug/desktop/incorrect-problem-report",
      "_filePath": "/Users/doug/Desktop/incorrect-problem-report",
      "_query": "",
      "_fragment": "",
      "_originalString": "file:///Users/doug/Desktop/incorrect-problem-report",
      "_isCaseSensitive": false,
      "_formattedString": "file:///Users/doug/Desktop/incorrect-problem-report",
      "_normalizedPath": "/Users/doug/Desktop/incorrect-problem-report"
    },
    "userFileIndexingLimit": 2000
  },
  "variableInlayTypeHints": false,
  "callArgumentNameInlayHints": "off",
  "functionReturnInlayTypeHints": false,
  "pytestParametersInlayTypeHints": false,
  "importFormat": "absolute",
  "includeFileSpecs": [],
  "excludeFileSpecs": [],
  "ignoreFileSpecs": [],
  "formatOnType": true,
  "taskListTokens": [],
  "enablePytestSupport": true,
  "gotoDefinitionInStringLiteral": true,
  "remapDiagnostics": false,
  "intelliCodeEnabled": true,
  "pythonPath": {
    "_key": "/users/doug/desktop/incorrect-problem-report/.venv/bin/python",
    "_filePath": "/Users/doug/Desktop/incorrect-problem-report/.venv/bin/python",
    "_query": "",
    "_fragment": "",
    "_isCaseSensitive": false
  },
  "pythonEnvironmentName": "3.12.5 (.venv venv)",
  "disableTaggedHints": false,
  "fixAll": [],
  "extraCommitChars": false,
  "autoFormatStrings": false,
  "autoIndent": true,
  "supportRestructuredText": true,
  "cacheLSPData": false,
  "reportExtraTelemetry": false,
  "nodeExecutable": "",
  "notebookRunStartupCommands": "",
  "editorIndentConfig": {
    "defaultTabSequence": "    ",
    "tabSize": 4
  }
}
2024-09-14 11:04:18.299 [info] (19559) No configuration file found.
2024-09-14 11:04:18.299 [info] (19559) No pyproject.toml file found.
2024-09-14 11:04:18.299 [info] [Info  - 11:04:18 AM] (19559) Setting environmentName for service "incorrect-problem-report": "3.12.5 (.venv venv)"
2024-09-14 11:04:18.299 [info] [Info  - 11:04:18 AM] (19559) Setting pythonPath for service "incorrect-problem-report": "/Users/doug/Desktop/incorrect-problem-report/.venv/bin/python"
2024-09-14 11:04:18.299 [info] [Info  - 11:04:18 AM] (19559) No include entries specified; assuming /Users/doug/Desktop/incorrect-problem-report
2024-09-14 11:04:18.299 [info] [Info  - 11:04:18 AM] (19559) Auto-excluding **/node_modules
2024-09-14 11:04:18.300 [info] [Info  - 11:04:18 AM] (19559) Auto-excluding **/__pycache__
2024-09-14 11:04:18.300 [info] [Info  - 11:04:18 AM] (19559) Auto-excluding **/.*
2024-09-14 11:04:18.327 [info] [Info  - 11:04:18 AM] (19559) Assuming Python version 3.12.5.final.0
2024-09-14 11:04:18.327 [info] (19559) Assuming Python platform Darwin
2024-09-14 11:04:18.359 [info] [Info  - 11:04:18 AM] (19559) Search paths for file:///Users/doug/Desktop/incorrect-problem-report
2024-09-14 11:04:18.359 [info] [Info  - 11:04:18 AM] (19559)   /Users/doug/.vscode/extensions/ms-python.vscode-pylance-2024.9.1/dist/typeshed-fallback/stdlib
2024-09-14 11:04:18.359 [info] [Info  - 11:04:18 AM] (19559)   /Users/doug/Desktop/incorrect-problem-report
2024-09-14 11:04:18.359 [info] [Info  - 11:04:18 AM] (19559)   /Users/doug/Desktop/incorrect-problem-report/typings
2024-09-14 11:04:18.359 [info] [Info  - 11:04:18 AM] (19559)   /Users/doug/.vscode/extensions/ms-python.vscode-pylance-2024.9.1/dist/typeshed-fallback/stubs/...
2024-09-14 11:04:18.360 [info] [Info  - 11:04:18 AM] (19559)   /Users/doug/.vscode/extensions/ms-python.vscode-pylance-2024.9.1/dist/bundled/stubs
2024-09-14 11:04:18.360 [info] [Info  - 11:04:18 AM] (19559<EMAIL_ADDRESS>2024-09-14 11:04:18.360 [info] [Info  - 11:04:18 AM] (19559<EMAIL_ADDRESS>2024-09-14 11:04:18.360 [info] [Info  - 11:04:18 AM] (19559)   /Users/doug/Desktop/incorrect-problem-report/.venv/lib/python3.12/site-packages
2024-09-14 11:04:18.360 [info] [Info  - 11:04:18 AM] (19559) Adding fs watcher for library directories:
 file:///opt/homebrew/Cellar/python%403.12/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12
file:///opt/homebrew/Cellar/python%403.12/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12/lib-dynload
file:///Users/doug/Desktop/incorrect-problem-report/.venv/lib/python3.12/site-packages
2024-09-14 11:04:18.360 [info] [Info  - 11:04:18 AM] (19559) Adding fs watcher for directories:
 file:///Users/doug/Desktop/incorrect-problem-report
2024-09-14 11:04:18.360 [info] (19559) Searching for source files
2024-09-14 11:04:18.360 [info] [Info  - 11:04:18 AM] (19559) No source files found.
2024-09-14 11:04:18.379 [info] (19559) pytest configurations: {"message":"script","classes":["Test"],"files":["test_*.py","*_test.py"],"functions":["test"]}
2024-09-14 11:04:18.380 [info] (19559) pytest configurations: {"message":"script","classes":["Test"],"files":["test_*.py","*_test.py"],"functions":["test"]}
2024-09-14 11:04:27.518 [info] (19559) [BG(1)] SemanticTokens full at untitled:Untitled-1.ipynb.py?jupyter-notebook#W0sdW50aXRsZWQ%3D ...
2024-09-14 11:04:27.519 [info] (19559) [BG(1)]   parsing: untitled:Untitled-1.ipynb.py?jupyter-notebook#W0sdW50aXRsZWQ%3D (53ms)
2024-09-14 11:04:27.527 [info] (19559) [BG(1)]   parsing: untitled:Untitled-1.ipynb.py?jupyter-notebook#pylancePrefixCell (2ms)
2024-09-14 11:04:27.561 [info] (19559) [BG(1)]   parsing: file:///Users/doug/.vscode/extensions/ms-python.vscode-pylance-2024.9.1/dist/typeshed-fallback/stdlib/builtins.pyi [fs read 1ms] (40ms)
2024-09-14 11:04:27.581 [info] (19559) [BG(1)]   binding: file:///Users/doug/.vscode/extensions/ms-python.vscode-pylance-2024.9.1/dist/typeshed-fallback/stdlib/builtins.pyi (19ms)
2024-09-14 11:04:27.583 [info] (19559) [BG(1)]   binding: untitled:Untitled-1.ipynb.py?jupyter-notebook#pylancePrefixCell ...
2024-09-14 11:04:27.584 [info] (19559) [BG(1)]     parsing: file:///Users/doug/Desktop/incorrect-problem-report/.venv/lib/python3.12/site-packages/IPython/display.py [fs read 0ms] (2ms)
2024-09-14 11:04:27.588 [info] (19559) [BG(1)]     binding: file:///Users/doug/Desktop/incorrect-problem-report/.venv/lib/python3.12/site-packages/IPython/display.py ...
2024-09-14 11:04:27.588 [info] (19559) [BG(1)]       parsing: file:///Users/doug/Desktop/incorrect-problem-report/.venv/lib/python3.12/site-packages/IPython/core/display_functions.py [fs read 0ms] (4ms)
2024-09-14 11:04:27.590 [info] (19559) [BG(1)]       binding: file:///Users/doug/Desktop/incorrect-problem-report/.venv/lib/python3.12/site-packages/IPython/core/display_functions.py (2ms)
2024-09-14 11:04:27.604 [info] (19559) [BG(1)]       parsing: file:///Users/doug/Desktop/incorrect-problem-report/.venv/lib/python3.12/site-packages/IPython/lib/display.py [fs read 1ms] (14ms)
2024-09-14 11:04:27.605 [info] [Info  - 11:04:27 AM] (19559) Could not import 'numpy' in file '/Users/doug/Desktop/incorrect-problem-report/.venv/lib/python3.12/site-packages/IPython/lib/display.py'
2024-09-14 11:04:27.605 [info] [Info  - 11:04:27 AM] (19559)   Looking in stubPath 'file:///Users/doug/Desktop/incorrect-problem-report/typings'
2024-09-14 11:04:27.605 [info] [Info  - 11:04:27 AM] (19559)   Attempting to resolve stub package using root path 'file:///Users/doug/Desktop/incorrect-problem-report/typings'
2024-09-14 11:04:27.605 [info] [Info  - 11:04:27 AM] (19559)   Attempting to resolve using root path 'file:///Users/doug/Desktop/incorrect-problem-report/typings'
2024-09-14 11:04:27.605 [info] [Info  - 11:04:27 AM] (19559)   Looking in root directory of execution environment 'file:///Users/doug/Desktop/incorrect-problem-report'
2024-09-14 11:04:27.605 [info] [Info  - 11:04:27 AM] (19559)   Attempting to resolve stub package using root path 'file:///Users/doug/Desktop/incorrect-problem-report'
2024-09-14 11:04:27.605 [info] [Info  - 11:04:27 AM] (19559)   Attempting to resolve using root path 'file:///Users/doug/Desktop/incorrect-problem-report'
2024-09-14 11:04:27.605 [info] [Info  - 11:04:27 AM] (19559)   Looking for typeshed stdlib path
2024-09-14 11:04:27.605 [info] [Info  - 11:04:27 AM] (19559)   Looking for typeshed stdlib path
2024-09-14 11:04:27.605 [info] [Info  - 11:04:27 AM] (19559)   Attempting to resolve using root path 'file:///Users/doug/.vscode/extensions/ms-python.vscode-pylance-2024.9.1/dist/typeshed-fallback/stdlib'
2024-09-14 11:04:27.606 [info] [Info  - 11:04:27 AM] (19559)   Typeshed path not found
2024-09-14 11:04:27.606 [info] [Info  - 11:04:27 AM] (19559)   Finding python search paths
2024-09-14 11:04:27.606 [info] [Info  - 11:04:27 AM] (19559)   Executing interpreter: '/Users/doug/Desktop/incorrect-problem-report/.venv/bin/python'
2024-09-14 11:04:27.606 [info] [Info  - 11:04:27 AM] (19559)   Skipping<EMAIL_ADDRESS>because it is not a valid directory
2024-09-14 11:04:27.606 [info] [Info  - 11:04:27 AM] (19559)   Received 3 paths from interpreter
2024-09-14 11:04:27.606 [info] [Info  - 11:04:27 AM] (19559)     file:///opt/homebrew/Cellar/python%403.12/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12
2024-09-14 11:04:27.606 [info] [Info  - 11:04:27 AM] (19559)     file:///opt/homebrew/Cellar/python%403.12/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12/lib-dynload
2024-09-14 11:04:27.606 [info] [Info  - 11:04:27 AM] (19559)     file:///Users/doug/Desktop/incorrect-problem-report/.venv/lib/python3.12/site-packages
2024-09-14 11:04:27.606 [info] [Info  - 11:04:27 AM] (19559)   Looking in python search path 'file:///opt/homebrew/Cellar/python%403.12/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12'
2024-09-14 11:04:27.606 [info] [Info  - 11:04:27 AM] (19559)   Attempting to resolve stub package using root path 'file:///opt/homebrew/Cellar/python%403.12/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12'
2024-09-14 11:04:27.606 [info] [Info  - 11:04:27 AM] (19559)   Attempting to resolve using root path 'file:///opt/homebrew/Cellar/python%403.12/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12'
2024-09-14 11:04:27.606 [info] [Info  - 11:04:27 AM] (19559)   Looking in python search path 'file:///opt/homebrew/Cellar/python%403.12/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12/lib-dynload'
2024-09-14 11:04:27.606 [info] [Info  - 11:04:27 AM] (19559)   Attempting to resolve stub package using root path 'file:///opt/homebrew/Cellar/python%403.12/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12/lib-dynload'
2024-09-14 11:04:27.607 [info] [Info  - 11:04:27 AM] (19559)   Attempting to resolve using root path 'file:///opt/homebrew/Cellar/python%403.12/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12/lib-dynload'
2024-09-14 11:04:27.607 [info] [Info  - 11:04:27 AM] (19559)   Looking in python search path 'file:///Users/doug/Desktop/incorrect-problem-report/.venv/lib/python3.12/site-packages'
2024-09-14 11:04:27.607 [info] [Info  - 11:04:27 AM] (19559)   Attempting to resolve stub package using root path 'file:///Users/doug/Desktop/incorrect-problem-report/.venv/lib/python3.12/site-packages'
2024-09-14 11:04:27.607 [info] [Info  - 11:04:27 AM] (19559)   Attempting to resolve using root path 'file:///Users/doug/Desktop/incorrect-problem-report/.venv/lib/python3.12/site-packages'
2024-09-14 11:04:27.607 [info] [Info  - 11:04:27 AM] (19559)   Looking in bundled stubs path 'file:///Users/doug/.vscode/extensions/ms-python.vscode-pylance-2024.9.1/dist/bundled/stubs'
2024-09-14 11:04:27.607 [info] [Info  - 11:04:27 AM] (19559)   Attempting to resolve stub package using root path 'file:///Users/doug/.vscode/extensions/ms-python.vscode-pylance-2024.9.1/dist/bundled/stubs'
2024-09-14 11:04:27.607 [info] [Info  - 11:04:27 AM] (19559)   Attempting to resolve using root path 'file:///Users/doug/.vscode/extensions/ms-python.vscode-pylance-2024.9.1/dist/bundled/stubs'
2024-09-14 11:04:27.607 [info] [Info  - 11:04:27 AM] (19559)   Looking for typeshed third-party path
2024-09-14 11:04:27.607 [info] [Info  - 11:04:27 AM] (19559)   Looking for typeshed stubs path
2024-09-14 11:04:27.607 [info] [Info  - 11:04:27 AM] (19559)   Typeshed path not found
2024-09-14 11:04:27.608 [info] (19559) [BG(1)]       binding: file:///Users/doug/Desktop/incorrect-problem-report/.venv/lib/python3.12/site-packages/IPython/lib/display.py (2ms)
2024-09-14 11:04:27.608 [info] (19559) [BG(1)]     binding: file:///Users/doug/Desktop/incorrect-problem-report/.venv/lib/python3.12/site-packages/IPython/display.py (23ms)
2024-09-14 11:04:27.608 [info] (19559) [BG(1)]   binding: untitled:Untitled-1.ipynb.py?jupyter-notebook#pylancePrefixCell (27ms)
2024-09-14 11:04:27.608 [info] (19559) [BG(1)]   binding: untitled:Untitled-1.ipynb.py?jupyter-notebook#W0sdW50aXRsZWQ%3D (0ms)
2024-09-14 11:04:27.608 [info] (19559) [BG(1)] SemanticTokens full at untitled:Untitled-1.ipynb.py?jupyter-notebook#W0sdW50aXRsZWQ%3D (143ms)
2024-09-14 11:04:27.611 [info] (19559) [BG(1)] analyzing: untitled:Untitled-1.ipynb.py?jupyter-notebook#pylancePrefixCell ...
2024-09-14 11:04:27.612 [info] (19559) [BG(1)]   analyzing: untitled:Untitled-1.ipynb.py?jupyter-notebook#W0sdW50aXRsZWQ%3D ...
2024-09-14 11:04:27.612 [info] (19559) [BG(1)]     checking: untitled:Untitled-1.ipynb.py?jupyter-notebook#W0sdW50aXRsZWQ%3D (3ms)
2024-09-14 11:04:27.612 [info] (19559) [BG(1)]   analyzing: untitled:Untitled-1.ipynb.py?jupyter-notebook#W0sdW50aXRsZWQ%3D (3ms)
2024-09-14 11:04:27.620 [info] (19559) [BG(1)]   checking: untitled:Untitled-1.ipynb.py?jupyter-notebook#pylancePrefixCell ...
2024-09-14 11:04:27.620 [info] (19559) [BG(1)]     parsing: file:///Users/doug/.vscode/extensions/ms-python.vscode-pylance-2024.9.1/dist/typeshed-fallback/stdlib/typing.pyi [fs read 0ms] (7ms)
2024-09-14 11:04:27.626 [info] (19559) [BG(1)]     binding: file:///Users/doug/.vscode/extensions/ms-python.vscode-pylance-2024.9.1/dist/typeshed-fallback/stdlib/typing.pyi (6ms)
2024-09-14 11:04:27.637 [info] (19559) [BG(1)]     parsing: file:///Users/doug/.vscode/extensions/ms-python.vscode-pylance-2024.9.1/dist/typeshed-fallback/stdlib/types.pyi [fs read 0ms] (4ms)
2024-09-14 11:04:27.639 [info] (19559) [BG(1)]     binding: file:///Users/doug/.vscode/extensions/ms-python.vscode-pylance-2024.9.1/dist/typeshed-fallback/stdlib/types.pyi (2ms)
2024-09-14 11:04:27.643 [info] (19559) [BG(1)]     parsing: file:///Users/doug/.vscode/extensions/ms-python.vscode-pylance-2024.9.1/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi [fs read 0ms] (1ms)
2024-09-14 11:04:27.645 [info] (19559) [BG(1)]     binding: file:///Users/doug/.vscode/extensions/ms-python.vscode-pylance-2024.9.1/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi (1ms)
2024-09-14 11:04:27.648 [info] (19559) [BG(1)]     parsing: file:///Users/doug/.vscode/extensions/ms-python.vscode-pylance-2024.9.1/dist/typeshed-fallback/stdlib/abc.pyi [fs read 1ms] (1ms)
2024-09-14 11:04:27.649 [info] (19559) [BG(1)]     binding: file:///Users/doug/.vscode/extensions/ms-python.vscode-pylance-2024.9.1/dist/typeshed-fallback/stdlib/abc.pyi (1ms)
2024-09-14 11:04:27.649 [info] [Info  - 11:04:27 AM] (19559) Indexer background runner(2) root directory: file:///Users/doug/.vscode/extensions/ms-python.vscode-pylance-2024.9.1/dist (index)
2024-09-14 11:04:27.650 [info] [Info  - 11:04:27 AM] (19559) Indexing(2) started
2024-09-14 11:04:27.653 [info] (19559) [BG(1)]     parsing: file:///Users/doug/.vscode/extensions/ms-python.vscode-pylance-2024.9.1/dist/typeshed-fallback/stdlib/typing_extensions.pyi [fs read 0ms] (2ms)
2024-09-14 11:04:27.654 [info] (19559) [BG(1)]     binding: file:///Users/doug/.vscode/extensions/ms-python.vscode-pylance-2024.9.1/dist/typeshed-fallback/stdlib/typing_extensions.pyi (1ms)
2024-09-14 11:04:27.672 [info] (19559) [BG(1)]     parsing: file:///Users/doug/Desktop/incorrect-problem-report/.venv/lib/python3.12/site-packages/IPython/core/display.py [fs read 1ms] (15ms)
2024-09-14 11:04:27.677 [info] (19559) [BG(1)]     binding: file:///Users/doug/Desktop/incorrect-problem-report/.venv/lib/python3.12/site-packages/IPython/core/display.py (4ms)
2024-09-14 11:04:27.679 [info] (19559) [BG(1)]     parsing: file:///Users/doug/Desktop/incorrect-problem-report/.venv/lib/python3.12/site-packages/IPython/testing/skipdoctest.py [fs read 0ms] (0ms)
2024-09-14 11:04:27.680 [info] (19559) [BG(1)]     binding: file:///Users/doug/Desktop/incorrect-problem-report/.venv/lib/python3.12/site-packages/IPython/testing/skipdoctest.py (0ms)
2024-09-14 11:04:27.686 [info] (19559) [BG(1)]   checking: untitled:Untitled-1.ipynb.py?jupyter-notebook#pylancePrefixCell (75ms)
2024-09-14 11:04:27.686 [info] [Info  - 11:04:27 AM] (19559) Heap stats: total_memory_size=65536MB, total_free_size=6316MB, total_heap_size=60MB, used_heap_size=40MB, cross_worker_used_heap_size=40MB, total_physical_size=58MB, total_available_size=4052MB, heap_size_limit=4096MB
2024-09-14 11:04:27.687 [info] (19559) [BG(1)] analyzing: untitled:Untitled-1.ipynb.py?jupyter-notebook#pylancePrefixCell (78ms)
2024-09-14 11:04:27.688 [info] (19559) [BG(1)] indexing: untitled:Untitled-1.ipynb.py?jupyter-notebook#pylancePrefixCell [found 0] (0ms)
2024-09-14 11:04:27.688 [info] (19559) Indexing Done: untitled:Untitled-1.ipynb.py?jupyter-notebook#pylancePrefixCell
2024-09-14 11:04:27.689 [info] (19559) [BG(1)] indexing: untitled:Untitled-1.ipynb.py?jupyter-notebook#W0sdW50aXRsZWQ%3D [found 0] (0ms)
2024-09-14 11:04:27.689 [info] (19559) Indexing Done: untitled:Untitled-1.ipynb.py?jupyter-notebook#W0sdW50aXRsZWQ%3D
2024-09-14 11:04:27.690 [info] (19559) [BG(1)] SemanticTokens full at untitled:Untitled-1.ipynb.py?jupyter-notebook#W0sdW50aXRsZWQ%3D (0ms)
2024-09-14 11:04:27.701 [info] (19559) [IDX(2)] scan packages file:///Users/doug/Desktop/incorrect-problem-report ...
2024-09-14 11:04:27.701 [info] (19559) [IDX(2)]   read stdlib indices (11ms)
2024-09-14 11:04:27.775 [info] (19559) [FG] parsing: vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D (10ms)
2024-09-14 11:04:27.777 [info] (19559) [FG] parsing: untitled:Untitled-1.ipynb.py?jupyter-notebook#pylancePrefixCell (1ms)
2024-09-14 11:04:27.817 [info] (19559) [FG] parsing: file:///Users/doug/.vscode/extensions/ms-python.vscode-pylance-2024.9.1/dist/typeshed-fallback/stdlib/builtins.pyi [fs read 1ms] (40ms)
2024-09-14 11:04:27.833 [info] (19559) [FG] binding: file:///Users/doug/.vscode/extensions/ms-python.vscode-pylance-2024.9.1/dist/typeshed-fallback/stdlib/builtins.pyi (14ms)
2024-09-14 11:04:27.835 [info] (19559) [FG] binding: untitled:Untitled-1.ipynb.py?jupyter-notebook#pylancePrefixCell ...
2024-09-14 11:04:27.835 [info] (19559) [FG]   parsing: file:///Users/doug/Desktop/incorrect-problem-report/.venv/lib/python3.12/site-packages/IPython/display.py [fs read 0ms] (1ms)
2024-09-14 11:04:27.840 [info] (19559) [FG]   binding: file:///Users/doug/Desktop/incorrect-problem-report/.venv/lib/python3.12/site-packages/IPython/display.py ...
2024-09-14 11:04:27.840 [info] (19559) [FG]     parsing: file:///Users/doug/Desktop/incorrect-problem-report/.venv/lib/python3.12/site-packages/IPython/core/display_functions.py [fs read 0ms] (5ms)
2024-09-14 11:04:27.845 [info] (19559) [FG]     binding: file:///Users/doug/Desktop/incorrect-problem-report/.venv/lib/python3.12/site-packages/IPython/core/display_functions.py (4ms)
2024-09-14 11:04:27.856 [info] (19559) [FG]     parsing: file:///Users/doug/Desktop/incorrect-problem-report/.venv/lib/python3.12/site-packages/IPython/lib/display.py [fs read 0ms] (11ms)
2024-09-14 11:04:27.857 [info] [Info  - 11:04:27 AM] (19559) Could not import 'numpy' in file '/Users/doug/Desktop/incorrect-problem-report/.venv/lib/python3.12/site-packages/IPython/lib/display.py'
2024-09-14 11:04:27.857 [info] [Info  - 11:04:27 AM] (19559)   Looking in stubPath 'file:///Users/doug/Desktop/incorrect-problem-report/typings'
2024-09-14 11:04:27.857 [info] [Info  - 11:04:27 AM] (19559)   Attempting to resolve stub package using root path 'file:///Users/doug/Desktop/incorrect-problem-report/typings'
2024-09-14 11:04:27.857 [info] [Info  - 11:04:27 AM] (19559)   Attempting to resolve using root path 'file:///Users/doug/Desktop/incorrect-problem-report/typings'
2024-09-14 11:04:27.857 [info] [Info  - 11:04:27 AM] (19559)   Looking in root directory of execution environment 'file:///Users/doug/Desktop/incorrect-problem-report'
2024-09-14 11:04:27.857 [info] [Info  - 11:04:27 AM] (19559)   Attempting to resolve stub package using root path 'file:///Users/doug/Desktop/incorrect-problem-report'
2024-09-14 11:04:27.857 [info] [Info  - 11:04:27 AM] (19559)   Attempting to resolve using root path 'file:///Users/doug/Desktop/incorrect-problem-report'
2024-09-14 11:04:27.857 [info] [Info  - 11:04:27 AM] (19559)   Looking for typeshed stdlib path
2024-09-14 11:04:27.857 [info] [Info  - 11:04:27 AM] (19559)   Looking for typeshed stdlib path
2024-09-14 11:04:27.857 [info] [Info  - 11:04:27 AM] (19559)   Attempting to resolve using root path 'file:///Users/doug/.vscode/extensions/ms-python.vscode-pylance-2024.9.1/dist/typeshed-fallback/stdlib'
2024-09-14 11:04:27.857 [info] [Info  - 11:04:27 AM] (19559)   Typeshed path not found
2024-09-14 11:04:27.857 [info] [Info  - 11:04:27 AM] (19559)   Finding python search paths
2024-09-14 11:04:27.858 [info] [Info  - 11:04:27 AM] (19559)   Executing interpreter: '/Users/doug/Desktop/incorrect-problem-report/.venv/bin/python'
2024-09-14 11:04:27.858 [info] [Info  - 11:04:27 AM] (19559)   Skipping<EMAIL_ADDRESS>because it is not a valid directory
2024-09-14 11:04:27.858 [info] [Info  - 11:04:27 AM] (19559)   Received 3 paths from interpreter
2024-09-14 11:04:27.858 [info] [Info  - 11:04:27 AM] (19559)     file:///opt/homebrew/Cellar/python%403.12/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12
2024-09-14 11:04:27.858 [info] [Info  - 11:04:27 AM] (19559)     file:///opt/homebrew/Cellar/python%403.12/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12/lib-dynload
2024-09-14 11:04:27.858 [info] [Info  - 11:04:27 AM] (19559)     file:///Users/doug/Desktop/incorrect-problem-report/.venv/lib/python3.12/site-packages
2024-09-14 11:04:27.858 [info] [Info  - 11:04:27 AM] (19559)   Looking in python search path 'file:///opt/homebrew/Cellar/python%403.12/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12'
2024-09-14 11:04:27.858 [info] [Info  - 11:04:27 AM] (19559)   Attempting to resolve stub package using root path 'file:///opt/homebrew/Cellar/python%403.12/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12'
2024-09-14 11:04:27.858 [info] [Info  - 11:04:27 AM] (19559)   Attempting to resolve using root path 'file:///opt/homebrew/Cellar/python%403.12/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12'
2024-09-14 11:04:27.858 [info] [Info  - 11:04:27 AM] (19559)   Looking in python search path 'file:///opt/homebrew/Cellar/python%403.12/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12/lib-dynload'
2024-09-14 11:04:27.859 [info] [Info  - 11:04:27 AM] (19559)   Attempting to resolve stub package using root path 'file:///opt/homebrew/Cellar/python%403.12/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12/lib-dynload'
2024-09-14 11:04:27.859 [info] [Info  - 11:04:27 AM] (19559)   Attempting to resolve using root path 'file:///opt/homebrew/Cellar/python%403.12/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12/lib-dynload'
2024-09-14 11:04:27.859 [info] [Info  - 11:04:27 AM] (19559)   Looking in python search path 'file:///Users/doug/Desktop/incorrect-problem-report/.venv/lib/python3.12/site-packages'
2024-09-14 11:04:27.859 [info] [Info  - 11:04:27 AM] (19559)   Attempting to resolve stub package using root path 'file:///Users/doug/Desktop/incorrect-problem-report/.venv/lib/python3.12/site-packages'
2024-09-14 11:04:27.859 [info] [Info  - 11:04:27 AM] (19559)   Attempting to resolve using root path 'file:///Users/doug/Desktop/incorrect-problem-report/.venv/lib/python3.12/site-packages'
2024-09-14 11:04:27.859 [info] [Info  - 11:04:27 AM] (19559)   Looking in bundled stubs path 'file:///Users/doug/.vscode/extensions/ms-python.vscode-pylance-2024.9.1/dist/bundled/stubs'
2024-09-14 11:04:27.859 [info] [Info  - 11:04:27 AM] (19559)   Attempting to resolve stub package using root path 'file:///Users/doug/.vscode/extensions/ms-python.vscode-pylance-2024.9.1/dist/bundled/stubs'
2024-09-14 11:04:27.859 [info] [Info  - 11:04:27 AM] (19559)   Attempting to resolve using root path 'file:///Users/doug/.vscode/extensions/ms-python.vscode-pylance-2024.9.1/dist/bundled/stubs'
2024-09-14 11:04:27.859 [info] [Info  - 11:04:27 AM] (19559)   Looking for typeshed third-party path
2024-09-14 11:04:27.859 [info] [Info  - 11:04:27 AM] (19559)   Looking for typeshed stubs path
2024-09-14 11:04:27.859 [info] [Info  - 11:04:27 AM] (19559)   Typeshed path not found
2024-09-14 11:04:27.860 [info] (19559) [FG]     binding: file:///Users/doug/Desktop/incorrect-problem-report/.venv/lib/python3.12/site-packages/IPython/lib/display.py (3ms)
2024-09-14 11:04:27.860 [info] (19559) [FG]   binding: file:///Users/doug/Desktop/incorrect-problem-report/.venv/lib/python3.12/site-packages/IPython/display.py (25ms)
2024-09-14 11:04:27.860 [info] (19559) [FG] binding: untitled:Untitled-1.ipynb.py?jupyter-notebook#pylancePrefixCell (28ms)
2024-09-14 11:04:27.860 [info] (19559) [FG] binding: vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D (0ms)
2024-09-14 11:04:27.862 [info] (19559) [IDX(2)] scan packages file:///Users/doug/Desktop/incorrect-problem-report (142ms)
2024-09-14 11:04:27.862 [info] [Info  - 11:04:27 AM] (19559) scanned(2) 39 files over 1 exec env
2024-09-14 11:04:27.929 [info] (19559) [IDX(2)] index packages file:///Users/doug/Desktop/incorrect-problem-report ...
2024-09-14 11:04:27.929 [info] (19559) [IDX(2)]   index execution environment file:///Users/doug/Desktop/incorrect-problem-report ...
2024-09-14 11:04:27.929 [info] (19559) [IDX(2)]     indexing: file:///opt/homebrew/Cellar/python%403.12/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12/__phello__/__init__.py [skipped: no '__all__' defined] (0ms)
2024-09-14 11:04:27.929 [info] (19559) [IDX(2)]     indexing: file:///opt/homebrew/Cellar/python%403.12/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12/concurrent/__init__.py [skipped: no '__all__' defined] (0ms)
2024-09-14 11:04:27.929 [info] (19559) [IDX(2)]     indexing: file:///opt/homebrew/Cellar/python%403.12/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12/idlelib/__init__.py [skipped: no '__all__' defined] (0ms)
2024-09-14 11:04:27.930 [info] (19559) [IDX(2)]     indexing: file:///opt/homebrew/Cellar/python%403.12/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12/lib2to3/__init__.py [skipped: no '__all__' defined] (0ms)
2024-09-14 11:04:27.930 [info] (19559) [IDX(2)]     indexing: file:///opt/homebrew/Cellar/python%403.12/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12/pydoc_data/__init__.py [skipped: no '__all__' defined] (0ms)
2024-09-14 11:04:27.930 [info] (19559) [IDX(2)]     indexing: file:///opt/homebrew/Cellar/python%403.12/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12/test/__init__.py [skipped: no '__all__' defined] (0ms)
2024-09-14 11:04:27.930 [info] (19559) [IDX(2)]     indexing: file:///opt/homebrew/Cellar/python%403.12/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12/turtledemo/__init__.py [skipped: no '__all__' defined] (0ms)
2024-09-14 11:04:27.930 [info] (19559) [IDX(2)]     indexing: file:///opt/homebrew/Cellar/python%403.12/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12/urllib/__init__.py [skipped: no '__all__' defined] (0ms)
2024-09-14 11:04:27.930 [info] (19559) [IDX(2)]     indexing: file:///opt/homebrew/Cellar/python%403.12/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12/wsgiref/__init__.py [skipped: no '__all__' defined] (0ms)
2024-09-14 11:04:27.930 [info] (19559) [IDX(2)]     indexing: file:///opt/homebrew/Cellar/python%403.12/3.12.5/Frameworks/Python.framework/Versions/3.12/lib/python3.12/xmlrpc/__init__.py [skipped: no '__all__' defined] (0ms)
2024-09-14 11:04:27.930 [info] (19559) [IDX(2)]     indexing: file:///Users/doug/Desktop/incorrect-problem-report/.venv/lib/python3.12/site-packages/appnope/__init__.py [skipped: no '__all__' defined] (0ms)
2024-09-14 11:04:27.930 [info] (19559) [IDX(2)]     indexing: file:///Users/doug/Desktop/incorrect-problem-report/.venv/lib/python3.12/site-packages/jedi/__init__.py [skipped: no '__all__' defined] (0ms)
2024-09-14 11:04:27.930 [info] (19559) [IDX(2)]     indexing: file:///Users/doug/Desktop/incorrect-problem-report/.venv/lib/python3.12/site-packages/matplotlib_inline/__init__.py [skipped: no '__all__' defined] (0ms)
2024-09-14 11:04:27.930 [info] (19559) [IDX(2)]     indexing: file:///Users/doug/Desktop/incorrect-problem-report/.venv/lib/python3.12/site-packages/ptyprocess/__init__.py [skipped: no '__all__' defined] (0ms)
2024-09-14 11:04:27.931 [info] (19559) [IDX(2)]   index execution environment file:///Users/doug/Desktop/incorrect-problem-report [found 1302 in 25 files] (5ms)
2024-09-14 11:04:27.931 [info] (19559) [IDX(2)] index packages file:///Users/doug/Desktop/incorrect-problem-report [found 1302 in 1 exec envs] (9ms)
2024-09-14 11:04:27.931 [info] [Info  - 11:04:27 AM] (19559) indexed(2) 25 files over 1 exec env
2024-09-14 11:04:27.940 [info] [Info  - 11:04:27 AM] (19559) Indexing finished(2).
2024-09-14 11:04:30.506 [info] (19559) [FG] parsing: vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D (2ms)
2024-09-14 11:04:30.507 [info] (19559) [FG] binding: vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D (0ms)
2024-09-14 11:04:30.558 [info] (19559) [FG] parsing: vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D (0ms)
2024-09-14 11:04:30.559 [info] (19559) [FG] binding: vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D (0ms)
2024-09-14 11:04:30.560 [info] [Info  - 11:04:30 AM] (19559) Heap stats: total_memory_size=65536MB, total_free_size=6250MB, total_heap_size=60MB, used_heap_size=41MB, cross_worker_used_heap_size=41MB, total_physical_size=59MB, total_available_size=4052MB, heap_size_limit=4096MB
2024-09-14 11:04:30.577 [info] (19559) [FG] parsing: file:///Users/doug/Desktop/incorrect-problem-report/.venv/lib/python3.12/site-packages/IPython/core/display.py [fs read 0ms] (16ms)
2024-09-14 11:04:30.582 [info] (19559) [FG] binding: file:///Users/doug/Desktop/incorrect-problem-report/.venv/lib/python3.12/site-packages/IPython/core/display.py (4ms)
2024-09-14 11:04:30.598 [info] (19559) [BG(1)] SemanticTokens full at untitled:Untitled-1.ipynb.py?jupyter-notebook#W0sdW50aXRsZWQ%3D ...
2024-09-14 11:04:30.598 [info] (19559) [BG(1)]   parsing: untitled:Untitled-1.ipynb.py?jupyter-notebook#W0sdW50aXRsZWQ%3D (1ms)
2024-09-14 11:04:30.598 [info] (19559) [BG(1)]   binding: untitled:Untitled-1.ipynb.py?jupyter-notebook#pylancePrefixCell (0ms)
2024-09-14 11:04:30.598 [info] (19559) [BG(1)]   binding: untitled:Untitled-1.ipynb.py?jupyter-notebook#W0sdW50aXRsZWQ%3D (0ms)
2024-09-14 11:04:30.598 [info] (19559) [BG(1)] SemanticTokens full at untitled:Untitled-1.ipynb.py?jupyter-notebook#W0sdW50aXRsZWQ%3D (1ms)
2024-09-14 11:04:30.796 [info] (19559) [BG(1)] analyzing: untitled:Untitled-1.ipynb.py?jupyter-notebook#pylancePrefixCell ...
2024-09-14 11:04:30.796 [info] (19559) [BG(1)]   analyzing: untitled:Untitled-1.ipynb.py?jupyter-notebook#W0sdW50aXRsZWQ%3D ...
2024-09-14 11:04:30.796 [info] (19559) [BG(1)]     checking: untitled:Untitled-1.ipynb.py?jupyter-notebook#W0sdW50aXRsZWQ%3D (0ms)
2024-09-14 11:04:30.797 [info] (19559) [BG(1)]   analyzing: untitled:Untitled-1.ipynb.py?jupyter-notebook#W0sdW50aXRsZWQ%3D (0ms)
2024-09-14 11:04:30.804 [info] (19559) [BG(1)]   checking: untitled:Untitled-1.ipynb.py?jupyter-notebook#pylancePrefixCell (9ms)
2024-09-14 11:04:30.804 [info] [Info  - 11:04:30 AM] (19559) Heap stats: total_memory_size=65536MB, total_free_size=6248MB, total_heap_size=60MB, used_heap_size=42MB, cross_worker_used_heap_size=42MB, total_physical_size=58MB, total_available_size=4051MB, heap_size_limit=4096MB
2024-09-14 11:04:30.804 [info] (19559) [BG(1)] analyzing: untitled:Untitled-1.ipynb.py?jupyter-notebook#pylancePrefixCell (9ms)
2024-09-14 11:04:30.806 [info] (19559) [BG(1)] indexing: untitled:Untitled-1.ipynb.py?jupyter-notebook#W0sdW50aXRsZWQ%3D [found 0] (0ms)
2024-09-14 11:04:30.806 [info] (19559) Indexing Done: untitled:Untitled-1.ipynb.py?jupyter-notebook#W0sdW50aXRsZWQ%3D
2024-09-14 11:04:30.811 [info] (19559) [BG(1)] SemanticTokens delta previousResultId:1726337070598 at untitled:Untitled-1.ipynb.py?jupyter-notebook#W0sdW50aXRsZWQ%3D (1ms)
2024-09-14 11:04:30.917 [info] (19559) [FG] parsing: vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D (0ms)
2024-09-14 11:04:30.917 [info] (19559) [FG] binding: vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D (0ms)
2024-09-14 11:04:30.939 [info] (19559) [FG] parsing: file:///Users/doug/.vscode/extensions/ms-python.vscode-pylance-2024.9.1/dist/typeshed-fallback/stdlib/typing.pyi [fs read 0ms] (9ms)
2024-09-14 11:04:30.944 [info] (19559) [FG] binding: file:///Users/doug/.vscode/extensions/ms-python.vscode-pylance-2024.9.1/dist/typeshed-fallback/stdlib/typing.pyi (5ms)
2024-09-14 11:04:30.955 [info] (19559) [FG] parsing: file:///Users/doug/.vscode/extensions/ms-python.vscode-pylance-2024.9.1/dist/typeshed-fallback/stdlib/types.pyi [fs read 1ms] (5ms)
2024-09-14 11:04:30.960 [info] (19559) [FG] binding: file:///Users/doug/.vscode/extensions/ms-python.vscode-pylance-2024.9.1/dist/typeshed-fallback/stdlib/types.pyi (5ms)
2024-09-14 11:04:30.964 [info] (19559) [FG] parsing: file:///Users/doug/.vscode/extensions/ms-python.vscode-pylance-2024.9.1/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi [fs read 1ms] (2ms)
2024-09-14 11:04:30.965 [info] (19559) [FG] binding: file:///Users/doug/.vscode/extensions/ms-python.vscode-pylance-2024.9.1/dist/typeshed-fallback/stdlib/_typeshed/__init__.pyi (1ms)
2024-09-14 11:04:30.968 [info] (19559) [FG] parsing: file:///Users/doug/.vscode/extensions/ms-python.vscode-pylance-2024.9.1/dist/typeshed-fallback/stdlib/abc.pyi [fs read 0ms] (0ms)
2024-09-14 11:04:30.969 [info] (19559) [FG] binding: file:///Users/doug/.vscode/extensions/ms-python.vscode-pylance-2024.9.1/dist/typeshed-fallback/stdlib/abc.pyi (1ms)
2024-09-14 11:04:30.975 [info] (19559) [FG] parsing: file:///Users/doug/.vscode/extensions/ms-python.vscode-pylance-2024.9.1/dist/typeshed-fallback/stdlib/typing_extensions.pyi [fs read 0ms] (2ms)
2024-09-14 11:04:30.976 [info] (19559) [FG] binding: file:///Users/doug/.vscode/extensions/ms-python.vscode-pylance-2024.9.1/dist/typeshed-fallback/stdlib/typing_extensions.pyi (1ms)
2024-09-14 11:04:31.108 [info] (19559) [FG] parsing: file:///var/folders/63/1z5rrdr90g58hgv4j03n01xh0000gn/T/pyright-19559-J7sZ4bz13y4x/builtins-19559-ZZarZsHa64WY-.py [fs read 0ms] (19ms)
2024-09-14 11:04:31.118 [info] (19559) [FG] binding: file:///var/folders/63/1z5rrdr90g58hgv4j03n01xh0000gn/T/pyright-19559-J7sZ4bz13y4x/builtins-19559-ZZarZsHa64WY-.py (10ms)
2024-09-14 11:04:31.137 [info] (19559) [FG] parsing: vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D (0ms)
2024-09-14 11:04:31.137 [info] (19559) [FG] binding: vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D (0ms)
2024-09-14 11:04:31.137 [info] (19559) [FG] parsing: vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D (0ms)
2024-09-14 11:04:31.137 [info] (19559) [FG] binding: vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D (0ms)
2024-09-14 11:04:31.140 [info] (19559) [FG] parsing: vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D (0ms)
2024-09-14 11:04:31.140 [info] (19559) [FG] binding: vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W0sdW50aXRsZWQ%3D (0ms)
2024-09-14 11:04:31.216 [info] (19559) [BG(1)] SemanticTokens delta previousResultId:1726337070811 at untitled:Untitled-1.ipynb.py?jupyter-notebook#W0sdW50aXRsZWQ%3D ...
2024-09-14 11:04:31.216 [info] (19559) [BG(1)]   parsing: untitled:Untitled-1.ipynb.py?jupyter-notebook#W0sdW50aXRsZWQ%3D (0ms)
2024-09-14 11:04:31.216 [info] (19559) [BG(1)]   binding: untitled:Untitled-1.ipynb.py?jupyter-notebook#pylancePrefixCell (0ms)
2024-09-14 11:04:31.216 [info] (19559) [BG(1)]   binding: untitled:Untitled-1.ipynb.py?jupyter-notebook#W0sdW50aXRsZWQ%3D (0ms)
2024-09-14 11:04:31.217 [info] (19559) [BG(1)] SemanticTokens delta previousResultId:1726337070811 at untitled:Untitled-1.ipynb.py?jupyter-notebook#W0sdW50aXRsZWQ%3D (0ms)
2024-09-14 11:04:31.617 [info] (19559) [BG(1)] analyzing: untitled:Untitled-1.ipynb.py?jupyter-notebook#pylancePrefixCell ...
2024-09-14 11:04:31.617 [info] (19559) [BG(1)]   analyzing: untitled:Untitled-1.ipynb.py?jupyter-notebook#W0sdW50aXRsZWQ%3D ...
2024-09-14 11:04:31.617 [info] (19559) [BG(1)]     checking: untitled:Untitled-1.ipynb.py?jupyter-notebook#W0sdW50aXRsZWQ%3D (0ms)
2024-09-14 11:04:31.617 [info] (19559) [BG(1)]   analyzing: untitled:Untitled-1.ipynb.py?jupyter-notebook#W0sdW50aXRsZWQ%3D (0ms)
2024-09-14 11:04:31.627 [info] (19559) [BG(1)]   checking: untitled:Untitled-1.ipynb.py?jupyter-notebook#pylancePrefixCell (11ms)
2024-09-14 11:04:31.628 [info] (19559) [BG(1)] analyzing: untitled:Untitled-1.ipynb.py?jupyter-notebook#pylancePrefixCell (11ms)
2024-09-14 11:04:31.629 [info] (19559) [BG(1)] indexing: untitled:Untitled-1.ipynb.py?jupyter-notebook#W0sdW50aXRsZWQ%3D [found 0] (0ms)
2024-09-14 11:04:31.629 [info] (19559) Indexing Done: untitled:Untitled-1.ipynb.py?jupyter-notebook#W0sdW50aXRsZWQ%3D
2024-09-14 11:04:31.633 [info] (19559) [BG(1)] SemanticTokens delta previousResultId:1726337071216 at untitled:Untitled-1.ipynb.py?jupyter-notebook#W0sdW50aXRsZWQ%3D (0ms)
2024-09-14 11:04:32.259 [info] (19559) [BG(1)] SemanticTokens full at untitled:Untitled-1.ipynb.py?jupyter-notebook#W1sdW50aXRsZWQ%3D ...
2024-09-14 11:04:32.259 [info] (19559) [BG(1)]   parsing: untitled:Untitled-1.ipynb.py?jupyter-notebook#W1sdW50aXRsZWQ%3D (0ms)
2024-09-14 11:04:32.259 [info] (19559) [BG(1)]   binding: untitled:Untitled-1.ipynb.py?jupyter-notebook#W1sdW50aXRsZWQ%3D (0ms)
2024-09-14 11:04:32.259 [info] (19559) [BG(1)] SemanticTokens full at untitled:Untitled-1.ipynb.py?jupyter-notebook#W1sdW50aXRsZWQ%3D (0ms)
2024-09-14 11:04:32.435 [info] (19559) [FG] parsing: vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W1sdW50aXRsZWQ%3D (0ms)
2024-09-14 11:04:32.435 [info] (19559) [FG] binding: vscode-notebook-cell:Untitled-1.ipynb?jupyter-notebook#W1sdW50aXRsZWQ%3D (0ms)
2024-09-14 11:04:32.516 [info] (19559) [BG(1)] analyzing: untitled:Untitled-1.ipynb.py?jupyter-notebook#W1sdW50aXRsZWQ%3D ...
2024-09-14 11:04:32.516 [info] (19559) [BG(1)]   checking: untitled:Untitled-1.ipynb.py?jupyter-notebook#W1sdW50aXRsZWQ%3D (0ms)
2024-09-14 11:04:32.516 [info] [Info  - 11:04:32 AM] (19559) Heap stats: total_memory_size=65536MB, total_free_size=6216MB, total_heap_size=61MB, used_heap_size=43MB, cross_worker_used_heap_size=43MB, total_physical_size=58MB, total_available_size=4050MB, heap_size_limit=4096MB
2024-09-14 11:04:32.516 [info] (19559) [BG(1)] analyzing: untitled:Untitled-1.ipynb.py?jupyter-notebook#W1sdW50aXRsZWQ%3D (0ms)
2024-09-14 11:04:32.517 [info] (19559) [BG(1)] indexing: untitled:Untitled-1.ipynb.py?jupyter-notebook#W1sdW50aXRsZWQ%3D [found 0] (0ms)
2024-09-14 11:04:32.517 [info] (19559) Indexing Done: untitled:Untitled-1.ipynb.py?jupyter-notebook#W1sdW50aXRsZWQ%3D
2024-09-14 11:04:32.518 [info] (19559) [BG(1)] SemanticTokens delta previousResultId:1726337071633 at untitled:Untitled-1.ipynb.py?jupyter-notebook#W0sdW50aXRsZWQ%3D (0ms)
2024-09-14 11:04:32.519 [info] (19559) [BG(1)] SemanticTokens full at untitled:Untitled-1.ipynb.py?jupyter-notebook#W1sdW50aXRsZWQ%3D (0ms)
2024-09-14 11:04:34.564 [info] (Client) Jupyter provided interpreter path override: /Users/doug/Desktop/incorrect-problem-report/.venv/bin/python
2024-09-14 11:04:35.034 [info] (Client) Jupyter provided interpreter path override: /Users/doug/Desktop/incorrect-problem-report/.venv/bin/python
2024-09-14 11:04:35.035 [info] (Client) Jupyter provided interpreter path override: /Users/doug/Desktop/incorrect-problem-report/.venv/bin/python
2024-09-14 11:04:35.036 [info] (Client) Jupyter provided interpreter path override: /Users/doug/Desktop/incorrect-problem-report/.venv/bin/python
2024-09-14 11:04:35.039 [info] (Client) Jupyter provided interpreter path override: /Users/doug/Desktop/incorrect-problem-report/.venv/bin/python

currently, we don't support ? syntax in the cell. I marked it as enhencement request.


Supporting search in SharePoint and OneDrive for Business deployments

Problem description:
The search we use leverage OneDrive Graph API, which, to our surprise, returns inconsistent results across different versions of OneDrive. The path field returned in parentReference, which we use to determine the route of the search result, is missing in sites including SharePoint versions of OneDrive. (And I suspect OneDrive for Education also would fail.)
Response in OneDrive international:
{
  // ...
  "parentReference": {
    "driveId": "ba63e0ea99dd98a3",
    "driveType": "personal",
    "id": "BA63E0EA99DD98A3!101",
    "path": "/drive/root:/Public/...images"
  }
}

Response in OneDrive for Business (or SharePoint):
{
  // ...
  "parentReference": {
   "driveId": "b!HHKxEe-tCUSO3uwES5r92kUCpw2Kc7ZOsvIWTv_MiTfm6fDv2B0pQrMbNCud5_8Q"
    "driveType": "business"
    "id": "01EYSPL6RHQBXPXWRLUVFYF5VWBO2QFEYF"
  }
}

Tasks

[x] Display a short error message for SharePoint users for now.
[x] Find a valid API return that could be used to determine the route of search results.

Still waiting for my own SharePoint to finish building its search index 😮💨, I still have nothing returned in my search results no matter what I search for. (As of 16:33 UTC+8, Jan.23, 2022)

Ahh, so that's why I couldn't get any search results from my vercel index.

Literally, though parentReference doesnot have path key for e5 developer subscriptions (surprisingly and sadly), one possible solution is to use the id returned in the api, then query the item information with the id, finally in the result of item query parentReference has path key. One example is available in my old searching support PR.

Ref https://github.com/spencerwooo/onedrive-vercel-index/pull/230/commits/f744d3973f09537de9677876c6c325cf6f343674

It's not that I don't want to find a way to support OneDrive Business, it's that the search API does not return anything for me in my test OneDrive Business account - no matter what I search for.

I would be willing to provide my e5 developer account, mounted on onedrive-vercel-index and having searching results, for you if you need it for testing right now. (Since it is already public.)

oh my god it's working now...?? why!!?

Mine is E5 account too. It can search files as soon as I install the onedrive-vercel-index, but its result is wrong, nothing to do with the words I enter. I have tried Chinese and English. And they have the same problem ...
share.pengs.top

In addition, I notice it searches by requesting Microsoft API, not "native search"

In addition, I notice it searches by requesting Microsoft API, not "native search"

can i add the sharepoint in it


[sc-627] - Chore/Playwright

Short summary

Playwright was installed to manage the E2E tests
It will run all tests added to the course-authoring/tests/ folder
Jest will ignore this folder, this way we can have unit tests in the component folder and the main E2E tests within the course-authoring/tests/ folder

*An unrelated key error caught by Jest was fixed in this PR.

Test steps

Run yarn in the root of the project to install all the packages and dependencies
Still in the root, run yarn test:tool:course, this will run all unit and E2E tests

To run the tests in a more granular way, head to the course-authoring/ folder and run:

yarn test:e2e to run E2E Playwright tests only
yarn test:e2e:debug to run Playwright in debug mode, a different window is going to open which allows you to debug each line of your tests

@CiceroFonsecaOSG before review, can you get all status checks to pass. Thanks.

@CiceroFonsecaOSG before review, can you get all status checks to pass. Thanks.

Sure thing, working on that.

@CiceroFonsecaOSG @aubeOSG
You know what the more I think about it, I never seen regression testing being part of the integration testing. I would move that logic into a separate workflow all together so it is not run on PR.
Automated E2E testing usually happen on like nightly builds or when pushing to main branch something like that. Also, I think we need to build the app first then test it on different OSs because I dont think its testing this currently right?
We will probably need to use something like this: https://www.npmjs.com/package/xvfb-maybe
and have playwright start the executable... I am sure we can find examples of others.


How to save a file from bot to Azure File Share

I have a bot developed using Bot Framework SDK and I'm trying to save a file uploaded by user to Azure File Share but keep getting error - The filename, directory name, or volume label syntax is incorrect. : 'C:\Bot Framework SDK\AttachmentsBot\AttachmentsBot\http:\localhost:62308\v3\attachments\24aa5c80-2ac2-11ed-93d8-ddc808cd3bf9\views\original'
The following code only works when uploading a file from local hard drive such as c:\temp[test.txt](http://test.txt/). It doesn't work when user uploads a file in a bot
`     string connectionString = "<connection_string_to_Azure_fileshare>";
 // Name of the share, directory, and file we'll create
 string shareName = "sample-share";
 string dirName = "sample-dir";
 string fileName = "sample-file";

 // Path to the local file to upload
 string localFilePath = @"<path_to_local_file>";

 // Get a reference to a share and then create it
 ShareClient share = new ShareClient(connectionString, shareName);
 share.Create();

 // Get a reference to a directory and create it
 ShareDirectoryClient directory = share.GetDirectoryClient(dirName);
 directory.Create();

 // Get a reference to a file and upload it
 ShareFileClient file = directory.GetFileClient(fileName);
 using (FileStream stream = File.OpenRead(localFilePath))
 {
     file.Create(stream.Length);
     file.UploadRange(
         new HttpRange(0, stream.Length),
         stream);
 }`

Here is my method looks like
`private static  IMessageActivity HandleIncomingAttachment(IMessageActivity activity)
{
var replyText = string.Empty;
foreach (var file in activity.Attachments)
{
var remoteFileUrl = file.ContentUrl;
 string connectionString = "<connection_string_to_Azure_fileshare>";

 // Name of the share, directory, and file we'll create
 string shareName = "fileuploads";
 string dirName = "test";
 string fileName = file.Name;

 // Path to the local file to upload
 string localFilePath = remoteFileUrl + "/" + file.Name;

 // Get a reference to a share and then create it
 ShareClient share = new ShareClient(connectionString, shareName);

 // Get a reference to a directory and create it
 ShareDirectoryClient directory = share.GetDirectoryClient(dirName);

 ShareFileClient f = directory.GetFileClient(fileName);
 using (FileStream stream = File.OpenRead(localFilePath))
 {
	 f.Create(stream.Length);
	 f.UploadRange(
		 new HttpRange(0, stream.Length),
		 stream);
 }

 replyText += $"Attachment \"{file.Name}\" has been received and saved." + Environment.NewLine.ToString();

}
return MessageFactory.Text(replyText);
}`

Hi @joegreen690,
As the error message suggests, the following is not a valid path to a file.
'C:\Bot Framework SDK\AttachmentsBot\AttachmentsBot\http:\localhost:62308\v3\attachments\24aa5c80-2ac2-11ed-93d8-ddc808cd3bf9\views\original'

How exactly are you storing the attachments a user sends to your bot? How is the path that the error message cites generated?
You could try something simple, like accessing a text file and sending its contents back as a message to verify that you are able to store and access files from the bot's local storage with the correct path before attempting to reach Azure Files.

This is how I'm tring to read and write the uploaded file to Azure File Share
using (FileStream stream = File.OpenRead(localFilePath))       {       	f.Create(stream.Length);       	f.UploadRange(         	new HttpRange(0, stream.Length),         	stream);       }
I'm getting error "The filename, directory name, or volume label syntax is incorrect. : 'C:\Bot Framework SDK\AttachmentsBot\AttachmentsBot\http:\localhost:55871\v3\attachments\a202f590-2def-11ed-b2c0-593d44b01992\views\original\1.pdf'"
As you can see path is messed up. Path of the bot  ('C:\Bot Framework SDK\AttachmentsBot\AttachmentsBot\) is appended with the path of  uploaded file.

Are you actually storing the file locally before sending it to Azure File Share? The comments in the code example you're using imply that the file should be present locally, rather than at a remote endpoint.
I suspect your issue is probably that the attachment is not being saved to local storage properly first. Does this code work outside of the bot for a local file?

I should have used a different variable name than localfilepath as it is gives an impression that I'm saving the file locally. I'm storing the file locally. User is selecting a file from local hardrive from bot and I want to save it to Azure File Share.

Thank you for the clue, after I saved the file to local temp folder, I was able to upload the file to Azure. Is there a way to save the file to Azure File Share from bot without saving it first to local hard drive?

You're welcome.
Based on my understanding of the Azure File Service API documentation, you cannot copy a file from an arbitrary online location. Azure File Service is intended to be a cloud-based replacement to local network file shares, and thus needs to be mounted and accessed by the OS' native file system APIs.
Thus, the source must be one of three options:

The local filesystem of the calling application.
An Azure blob belonging to the same Azure Storage Account.
A File Share snapshot belonging to the same Azure Storage Account.

Perhaps File Share is not the appropriate solution for your use case? Rather than trying to force Azure File Share to operate in this way, perhaps you might consider using Azure Blobs or another offering to store your attachments?

Since this is expected behavior, I am going to go ahead and close this issue. If you have issues or feature requests in the future, please feel free to raise them in the appropriate repository.


setUpDesktop.sh may node-gyp issues since of export of NVM_NODEJS_ORG_MIRROR

node headers for node-gyp may not be downloaded since thali/install/setUpDesktop script redefines NVM_NODEJS_ORG_MIRROR variable. So as soon as system attempts installing native module that needs to be compiled error occurs. I'm working on confirming this issue.

it looks that the issue isn't valid.


multiple kernel learning for feature

How can I put one kernel for one feature?

What exactly do you mean by feature? A feature object? If so, the combined kernel has exactly that: one kernel per feature object. This is best discussed on stackoverflow or on irc, but not here.


Fix browser test errs on mac

@mkitti - now the installation of Playwright is completing failing in the GitHub action. I think the issue that Jeremy tagged in my original PR is still not resolved: https://github.com/microsoft/playwright/issues/30585, so maybe I need to wait for Playwright to update before the chromium browser will work on installation.

Run the workflows in #5 to see if it works.


Training is freezing

Hello.
When I am training on the COCO dataset, the training is freezing after some iterations and getting terminated after reaching some timeout.
How to resolve this issue?

Hi, @juraev
I also met this problem twice. When I use batch_size=16, the code could be terminated in a few iterations. After I change the batch_size to 32, the problem never shows.
And if you have trained for >5000 iters, you can retrain the model by loading the saved network weights .pth file  with "--resume" in the command line.
Hope this  can help you.

Thanks @zhangxgu
I will have a try and get back to you :)

Hi, @zhangxgu
I met the same problem when I was training models on LVIS dataset.

LVIS+Res50: the training and inference were successful, but terminated at the prediction:

[12/17 21:08:07] d2.evaluation.lvis_evaluation INFO: Evaluating predictions ...
[12/17 21:08:07] d2.evaluation.lvis_evaluation INFO: Evaluating with max detections per image = 300
(this is the end of log.txt)

LVIS+Res101/Swin: the training would freeze after few epochs

May I ask if you have alternative solutions as setting batch_size=32 needs a lot of GPU resources, thank you.

@pinecho I did not meet the first problem before. Maybe you can set the predefined proposals to 300 with"MODEL.DiffusionInst.NUM_PROPOSALS 300" in the inference command line.
For the second problem, I use A100 which has 80G memory for bs=32. Alternatively, I think maybe you can change the random seed in dataloaders? I did not try this but in my case, all training freeze problem occurs in the same iteration. Changing the random seed may help this.

@zhangxgu Thanks for your swift rely!


Fix #73: Login Doesn't Work

This fixes the login issue #73 .
Please note that this patch changes the api, i.e., the input variables for the constructor.

Thanks! This isn't working for me, I notice that the response I get from POSTing to https://accounts.mint.com/access_client/sign_in looks like a CAPTCHA challenge:
{"iamTicket":null,"action":"CHALLENGE","riskLevel":"MED","challenge":[{"primary":true,"type":"CAPTCHA","value":null,"country":null,"tokenFormat":null},{"primary":false,"type":"CARE","value":null,"country":null,"tokenFormat":null}]}

If I login in via the web, it works fine, just not from the command-line. Did you experience this issue?

Thanks for merging. I get the same CAPTCHA challenge unless I login with a web browser.
First, login with a browser and retrieve the ius_session from the browser. Then login with this python api with the retrieved ius_session.
Please remember that I have to do a browser login every a few days, otherwise I get the challenge.
You don't have to change the ius_session, but have to login normally when you get the issue.


Model zoo link doesn't work

Hi, I am trying to use different pretrained models provided by you model zoo but some of the links are empty. And also wondering if you have the im_mean and im_std for each of them.
Thank you,

Hi @philip-fu
I have updated the links, now all models can be downloaded.
Regarding im_mean and im_std:
Most models use an identical setting to ImageNet pre-trained models, i.e.
im_mean = [0.485, 0.456, 0.406]
im_std = [0.229, 0.224, 0.225]

Several models use different settings. For example, in CRW
im_mean = [0.4914, 0.4822, 0.4465]
im_std = [0.2023, 0.1994, 0.2010]

and in UVC/colorization,
im_mean = [0.5, 0.5, 0.5]
im_std = [0.5, 0.5, 0.5]

Thanks!!


add circle CI for docs

you can probably copy this for doing the cache of data directory: https://github.com/autoreject/autoreject/blob/master/circle.yml#L2-L5. The data will be cached after a successful build

Close?


Support for lazy dynamic filters for replicated joins

Depends on: https://github.com/prestosql/presto/pull/4675

I've removed usage of EmptySplit in favor of creating a task explicitly on random node.

rebased @dain @martint


(Windows only) "az vm extension set" command is passing public json as string instead of a json map to the VM extension

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Describe the bug
Linux VM extension is failing to install. Linux Guest Agent expects public settings to be a map; however, from the logs it arrives as string; and it causes "Install failed with error: 'unicode' object has no attribute 'get'"
To Reproduce
Run this command in Windows cmd:
az vm extension set --resource-group RG --vm-name VM --name OmsAgentForLinux --publisher Microsoft.EnterpriseCloud.Monitoring --version 1.12 --protected-settings '{
"workspaceKey":"reducted' --settings '{"workspaceId":"587155ae-REDUCTED"}' --no-auto-upgrade
It produces below in the logs. The problem is in bold.
[Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux-1.12.25] JSON config: {"runtimeSettings": [{"handlerSettings": {"protectedSettings": "*** REDACTED ", "publicSettings": "{workspaceId:587155ae-REDUCTED}", "protectedSettingsCertThumbprint": " REDACTED ***"}}]}
Run the same command in Linux or WSL and it works. The expected is in bold.
2020/05/11 15:47:09 [Microsoft.EnterpriseCloud.Monitoring.OmsAgentForLinux-1.12.25] JSON config: {"runtimeSettings": [{"handlerSettings": {"protectedSettings": "*** REDACTED ", "publicSettings": {"workspaceId": "24e61b15-00e6-45fd-8c42-043bff85d6d9"}, "protectedSettingsCertThumbprint": " REDACTED ***"}}]}
Expected behavior
The command should succeed in Windows az-cli as well.
Environment summary
Installed via MSI on Win 10.
E:>az --version
azure-cli                          2.5.1
command-modules-nspkg              2.0.3
core                               2.5.1
nspkg                              3.0.4
telemetry                          1.0.4
Extensions:
aks-preview                       0.4.24
azure-devops                      0.12.0
Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
Additional context

hi @qwordy could you pls have a look?

hi @qwordy ,could you pls have a look at this issue?

The issue is confirmed. It is tricky to pass quote and double quote in various of shells.

You can try
az vm extension set --resource-group RG --vm-name VM --name OmsAgentForLinux --publisher Microsoft.EnterpriseCloud.Monitoring --version 1.12 --protected-settings '{\"workspaceKey\":\"reducted\"}' --settings '{\"workspaceId\":\"587155ae-REDUCTED\"}' --no-auto-upgrade

Share a doc: https://github.com/Azure/azure-cli/blob/dev/doc/quoting-issues-with-powershell.md


is this normal: i_skipped > 0 on a finished batch

I have been looking at some of the tables used by pg_chameleon and one thing that is interresting is the fact that in t_replica_batch the i_skipped column is not 0 for a finished batch.
Is this normal behaviour?

i_id_batch
b_replayed
i_replayed
i_skipped

9
t
40664
10

10
t
4123
2399

11
t
7465
9

12
t
39083
23

13
t
2571
3

14
t
23766
9

15
t
24464
8

16
t
1747
7

17
f
50000
\N

18
f
\N
\N

Just wanting to make sure...

Mmm looks like you have some tables without the primary key. In that case the row images are pulled but skipped by the Replay procedure

do we need to change that - would we have dataloss during the migration?
This does not show up in the postgres logs either - the function contains lots of RAISE DEBUG, but nothing else, so I can not easily identify the tables...

Yes, unfortunately the primary key is required for the replica.
You can check the tables registered in t_replica_tables against your schema.
Only the tables with the primary key are stored in the replica catalog.

maybe add a warning about those that are not added?

sure, I can add a warning.

As a note: these " errors" do not show up in the t_discarded_rows table either!

they are no errors at all. the rows are just pulled but not replayed

so these are discarded - so imo they should show up in the discarded table...

thanks for the clarification

the discarded table is for the rows with rubbish data.

added a warning in branch VER1.5

thanks!

Maybe change fn_process_batch:
...
	DELETE FROM sch_chameleon.t_log_replica
    		    WHERE
    			    i_id_batch=v_i_id_batch
    		    ;

		GET DIAGNOSTICS v_i_skipped = ROW_COUNT;
...

into something similar to this:
	INSERT INTO sch_chameleon.t_discarded_rows SELECT * from sch_chameleon.t_log_replica
    		    WHERE
    			    i_id_batch=v_i_id_batch
    		    ;
         DELETE FROM sch_chameleon.t_log_replica
    		    WHERE
    			    i_id_batch=v_i_id_batch
    		    ;

		GET DIAGNOSTICS v_i_skipped = ROW_COUNT;

(I know that the tables are not identical, so it may not work in an identical fashion but may need to get modified - maybe a separate table for those?)

I need to think about that. this approach will surely lead to  bloating of the table with the skipped rows.
The amount of data coming from the replica can be very large.