text:
load image from s3 and apply transform

I want to load nii.gz file from s3 and apply transform on that image.
LoadImaged in compose need file path as input. But when i load image as object. So i feel transfrom is failing as LoadImaged cant accept objects.
Below code works fine when i run on sagemaker. As i don't need to download image from s3
val_transforms = Compose(
        [
            LoadImaged(keys=["image"]),
            EnsureChannelFirstd(keys=["image"]),
            Spacingd(keys=["image"], pixdim=(
                1.5, 1.5, 2.0), mode=("bilinear")),
            Orientationd(keys=["image"], axcodes="RAS"),
            ScaleIntensityRanged(
                keys=["image"], a_min=-57, a_max=164,
                b_min=0.0, b_max=1.0, clip=True,
                ),
            CropForegroundd(keys=["image"], source_key="image"),
            EnsureTyped(keys=["image"]),
        ]
    )
test_data = {"image": filepath}
Transformed_data = val_transforms(test_data)

Below code is same as above with extra lines of code to download  object from s3.
val_transforms = Compose(
        [
            LoadImaged(keys=["image"]),
            EnsureChannelFirstd(keys=["image"]),
            Spacingd(keys=["image"], pixdim=(
                1.5, 1.5, 2.0), mode=("bilinear")),
            Orientationd(keys=["image"], axcodes="RAS"),
            ScaleIntensityRanged(
                keys=["image"], a_min=-57, a_max=164,
                b_min=0.0, b_max=1.0, clip=True,
                ),
            CropForegroundd(keys=["image"], source_key="image"),
            EnsureTyped(keys=["image"]),
        ]
    )
object = bucket.Object(key)
response = object.get()
file_stream = response['body']
test_data = {"image": file_stream}
Transformed_data = val_transforms(test_data)

Please suggest me the different ways to load the images and apply transform.
Note: i cant get the path of the image to pass it to LoadImaged or LoadImage

Hi @j-sieger ,
Thanks for your interest and feedback!
Yes, we don't support reading from the stream so far, we can consider to support it in future.
@wyli Can we use Nibabel or ITK to read remote files with URI directly?
Thanks.

@Nic-Ma i have tried Nibabel but after that i try applying transform but getting below error
img = nib.load('/home/ec2-user/SageMaker/efs/datasets/Task09_Spleen/imagesTr/spleen_61.nii.gz')
val_transforms(np.moveaxis(img.get_fdata(),2,0))
Error::
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
~/anaconda3/envs/pytorch_latest_p37/lib/python3.7/site-packages/monai/transforms/transform.py in apply_transform(transform, data, map_items, unpack_items)
     91             return [_apply_transform(transform, item, unpack_items) for item in data]
---> 92         return _apply_transform(transform, data, unpack_items)
     93     except Exception as e:

~/anaconda3/envs/pytorch_latest_p37/lib/python3.7/site-packages/monai/transforms/transform.py in _apply_transform(transform, parameters, unpack_parameters)
     59
---> 60     return transform(parameters)
     61

~/anaconda3/envs/pytorch_latest_p37/lib/python3.7/site-packages/monai/transforms/utility/dictionary.py in __call__(self, data)
    307     def __call__(self, data) -> Dict[Hashable, NdarrayOrTensor]:
--> 308         d = dict(data)
    309         for key, meta_key, meta_key_postfix in zip(self.keys, self.meta_keys, self.meta_key_postfix):

ValueError: dictionary update sequence element #0 has length 512; 2 is required

The above exception was the direct cause of the following exception:

RuntimeError                              Traceback (most recent call last)
/tmp/ipykernel_11054/2279571395.py in <module>
     16
     17 #val_transforms(np.moveaxis(img.get_fdata(),2,0))
---> 18 val_transforms(img.get_fdata())

~/anaconda3/envs/pytorch_latest_p37/lib/python3.7/site-packages/monai/transforms/compose.py in __call__(self, input_)
    158     def __call__(self, input_):
    159         for _transform in self.transforms:
--> 160             input_ = apply_transform(_transform, input_, self.map_items, self.unpack_items)
    161         return input_
    162

~/anaconda3/envs/pytorch_latest_p37/lib/python3.7/site-packages/monai/transforms/transform.py in apply_transform(transform, data, map_items, unpack_items)
    114             else:
    115                 _log_stats(data=data)
--> 116         raise RuntimeError(f"applying transform {transform}") from e
    117
    118

RuntimeError: applying transform <monai.transforms.utility.dictionary.EnsureChannelFirstd object at 0x7f4e50ee6310>

Hi @j-sieger ,
For EnsureChannelFirstd(keys=["image"]), it depends on some meta data from LoadImage to automatically adjust the channel dim. As you removed LoadImage and used your own loaded data, so it caused an error.
You can change EnsureChannelFirstdto use AddChanneld transform, then I think it should work.
Thanks.

Hi @Nic-Ma ,
It worked after replacing EnsureChannelFirstd to AddChanneld. Thanks for the suggestion
But the real problem is with loading s3 object and applying transformation. I will check the ways to do the same. You can also suggest me if there is any way. With out this i wont able able to deploy my MONAI trained model on AWS.

duplicate of https://github.com/Project-MONAI/MONAI/issues/1656?

@Nic-Ma , @wyli
**I have another issue during prediction this time after successfully applying transform on the file loaded with **
My code:
val_transforms = Compose(
    [
        AsChannelFirstd(keys=["image"]),
        AddChanneld(keys=["image"]),
        Spacingd(keys=["image"], pixdim=(
            1.5, 1.5, 2.0), mode=("bilinear")),
        Orientationd(keys=["image"], axcodes="RAS"),
        ScaleIntensityRanged(
            keys=["image"], a_min=-57, a_max=164,
            b_min=0.0, b_max=1.0, clip=True,
        ),
        CropForegroundd(keys=["image"], source_key="image"),
        EnsureTyped(keys=["image"]),
    ]
)
val_data=val_transforms({"image":img.get_fdata()})

roi_size = (160, 160, 160)
sw_batch_size = 4
val_outputs = sliding_window_inference(
            val_data["image"].to(device), roi_size, sw_batch_size, model
        )

ERROR:
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
/tmp/ipykernel_15519/3487396053.py in <module>
      2 sw_batch_size = 4
      3 val_outputs = sliding_window_inference(
----> 4             val_data["image"].to(device), roi_size, sw_batch_size, model
      5         )

~/anaconda3/envs/pytorch_latest_p37/lib/python3.7/site-packages/monai/inferers/utils.py in sliding_window_inference(inputs, roi_size, sw_batch_size, predictor, overlap, mode, sigma_scale, padding_mode, cval, sw_device, device, *args, **kwargs)
     96         sw_device = inputs.device
     97
---> 98     roi_size = fall_back_tuple(roi_size, image_size_)
     99     # in case that image size is smaller than roi size
    100     image_size = tuple(max(image_size_[i], roi_size[i]) for i in range(num_spatial_dims))

~/anaconda3/envs/pytorch_latest_p37/lib/python3.7/site-packages/monai/utils/misc.py in fall_back_tuple(user_provided, default, func)
    177     """
    178     ndim = len(default)
--> 179     user = ensure_tuple_rep(user_provided, ndim)
    180     return tuple(  # use the default values if user provided is not valid
    181         user_c if func(user_c) else default_c for default_c, user_c in zip(default, user)

~/anaconda3/envs/pytorch_latest_p37/lib/python3.7/site-packages/monai/utils/misc.py in ensure_tuple_rep(tup, dim)
    134         return tuple(tup)
    135
--> 136     raise ValueError(f"Sequence must have length {dim}, got {len(tup)}.")
    137
    138

ValueError: Sequence must have length 2, got 3.

could you ensure that{"image":img.get_fdata()} is 4D and the 4th dimension represents channel

print(img.get_fdata().shape) --> (512, 512, 31) >> looks like 3rd dimension is the channels
print(val_data['image'].shape) --> torch.Size([1, 21, 342, 208])  >> here 2nd dimension represents the channel as iam using AsChannelFirstd       ==> In this case i am facing above error like sequence must have lenght 2.

@wyli
I have also tried to make sure 4th dimension as channel by removing AsChannelFirstd. As per ur above suggestion. But still i  am facing same error like sequence must have length 2.

I see, assuming this is about 3D image processing... given that you have print(img.get_fdata().shape) --> (512, 512, 31)
the script would be
val_transforms = Compose(
    [
        # AsChannelFirstd(keys=["image"]),
        AddChanneld(keys=["image"]),
        Spacingd(keys=["image"], pixdim=(
            1.5, 1.5, 2.0), mode=("bilinear")),
        Orientationd(keys=["image"], axcodes="RAS"),
        ScaleIntensityRanged(
            keys=["image"], a_min=-57, a_max=164,
            b_min=0.0, b_max=1.0, clip=True,
        ),
        CropForegroundd(keys=["image"], source_key="image"),
        EnsureTyped(keys=["image"]),
    ]
)
# val_data=val_transforms({"image":img.get_fdata()})
val_data=val_transforms({"image":img.get_fdata()})

roi_size = (160, 160, 160)
sw_batch_size = 4
val_outputs = sliding_window_inference(
            val_data["image"].to(device), roi_size, sw_batch_size, model
        )

the AddChanneld transform with make val_data['image'] a 4D array.

authors: Nic-Ma j-sieger wyli


text:
Add styling for alternative route

Alt route is defined in route instructions but not clear on how to style an alt route line on the map in addition to main line styling.

@amyleew tricky as these get all hidden in LRM — here it listens to the control's routesfound event (found in the API documentation) which contains an array of 1 or 2 routes and adds the second to the map. (I didn't touch the line options or play with display/interaction of the line, all you!)

Ah, also just realized it doesn't remove the alternate route when the next event is fired. It's unfortunate that the show-all option isn't surfaced upstream (could PR if that would make sense?) so we'll have to remove the alt route, probably on the next routingstart event…

Thanks @lbud! Line styling is looking good, now matching route with instructions. Closing here.

source: gharchive/issue

authors: amyleew lbud

license_type: permissive

license_source: bigquery


text:
About import remote libs

Hi, I have a question about the others repo libs for this contract .
when I had downloaded the seaport , and then use yarn to install all dependecies , and then found that all other libs cannot be downloaded . hoow to slove this problem .
need I download all this repos mannually to libs folder ?

You need to tell git that you want to clone the submodules too
 git clone --recursive https://github.com/ProjectOpenSea/seadrop.git

Hi, I have a question about the others repo libs for this contract . when I had downloaded the seaport , and then use yarn to install all dependecies , and then found that all other libs cannot be downloaded . hoow to slove this problem .
need I download all this repos mannually to libs folder ?

You need to tell git that you want to clone the submodules too
 git clone --recursive https://github.com/ProjectOpenSea/seadrop.git

authors: libaice m-malloy

repo: ProjectOpenSea/seadrop

license: MIT

license_source: github-api


text:
I encountered some problems when executing fulfillOrder

I want to use seaport-js to create an order and then use another account to buy nft, here my code
const provider = new ethers.providers.Web3Provider(window.ethereum);
const seaport = new Seaport(provider);

const offerer = 0x......(my account 1)
const fulfiller = 0x......(my account 2)

const {executeAllActions} = await seaport.createOrder(
    {
      conduitKey: "0x0000007b02230091a7ed01230072f7006a004d60a8d4e71d599b8104250f0000",
      offer: [
        {
          itemType: ItemType.ERC1155,
          token: "0xf4910C763eD4e47A585E2D34baA9A4b611aE448C",
          identifier: account1 nft token Id,
        },
      ],
      consideration: [
        {
          amount: ethers.utils.parseEther("0.01").toString(),
          recipient: offerer,
        },
      ],
    },
    offerer
);

const order = await executeAllActions();

console.log("order", order)

const {executeAllActions: executeAllFulfillActions} =
    await seaport.fulfillOrder({
      order,
      accountAddress: fulfiller,
    });

const transaction = executeAllFulfillActions();

console.log("transaction", transaction)

Then this error appears in the webpage

i m sure that seaport.createOrder is success
How can I solve this problem? Thank you for answering my question！

we had this same issue, cost us our pilot project launch being delayed.
it's seaport library issue inside this function "getSummedTokenAndIdentifierAmounts"
it calculates some basis point wrongly and returns the finall payableOverride wrong
we had to manually bypass it to get it working temporirily

I believe this is cause by this particular issue  #141

how can I solve this to make it works?

Fast solution: https://github.com/luisantoniocrag/seaport-js/commit/fcb3b2e186af6d447d0bdcd02b99017bc81a687c

How is this and the other one related ?

Fast solution: luisantoniocrag@fcb3b2e

How is this solution to the above mentioned approximation problem ?

@vizsatiz it isn't.
i'm using seaport-js for an enterprise project and I need to get this working, so I'll set out to fix this properly using the demo unit test #145, will create a PR if successful.
if you have any insights you'd like to share to make my life easier, any help's appreciated.

created PR #197 together with @wooglie to solve this issue, please read the limitations stated in the description

authors: adeebabdulsalam f-hk luisantoniocrag vizsatiz xtools-at

repo: ProjectOpenSea/seaport-js


text:
Make environment.yml consistent with requirements.txt

Fixes #68
This just makes our ci/environment.yml file (used by conda to make the build environment when building the site locally) consistent with requirements.txt (used by pip to make the build environment on readthedocs)
It would be better to avoid duplicating the build requirements. I'll open a separate issue about that.

@ktyle if you get a chance, can you check that this PR fixes #68 on linux as well?

In my case, I did not add pyyaml ... suspect it got installed as a prereq when building the conda environment. Is pyyaml included in the requirements.txt, so you included it here for consistency?

Yes, exactly. I just made this list mirror exactly what's in requirements.txt. I'm not 100% sure what pyyaml actually is...

@brian-rose yes, #68 builds fine now on Linux.

source: gharchive/pull-request

authors: brian-rose ktyle


text:
Prettier config erstellen + ignore

User Story
Als Entwickler möchte ich die selbe Prettier file wie alle anderen Entwickler haben.
Aktzeptanzkriterien

[ ] Jeder muss mit den Einstellungen vertraut sein und diese für ok befinden
[ ] Prettier ist mit Sonar verbunden
[ ] Eine Prettier Config muss erstellt sein

Definition of Ready

[ ] User Story ist klein genug für Sprint
[ ] User Story ist für jeden Beteiligten klar verständlich
[ ] User Story Aufwand ist geschätzt
[ ] User Story hat Akzeptanzkriterien
[ ] User Story hat einen Mehrwert für das Produkt oder die Entwicklung
[ ] User Story Ursprung ist bekannt (Stakeholder)

Definition of Done

[ ] Alle Akzeptanzkriterien sind erfüllt
[ ] Jeder muss die Einstellungen bei sich eingerichtet haben
[ ] Die Implementierung ist in GitHub
[ ] Benutzerdokumentation angelegt (Handbuch)
[ ] Technische Dokumentation angelegt (ZenHub)

Hey team! Please add your planning poker estimate with ZenHub @DerKatsche @Lizardguard @philgei

authors: AdLer-Lukas philgei


text:
md2-autocomplete default material css

HI,
How to apply default material css,
Thanks

@arunanamal we have designed md2-autocomplete component as per standard of material design, but if you change its design you can overwrite Style of the component.

authors: arunanamal dharmeshpipariya

license: mit


text:
MSConvert_demultiplex error

Hi ProteoWizard team,
I am using MSConvert to demultiplex DIA file acquired using 8m/z staggered window on Orbitrap 480 Exploris. I used 8 m/z staggered window setting recommended in Pino L et al., MCP 2020, following supplementary note 1 in this article.
I used two filters in this order: 1) peak picking, then 2) demultiplex (10ppm error). See attached image.
I receive this error below:
D:\Raw_Files\DIA_test_K562_lysate\K562_100ng_DIA_8mz_staggered_test_20211125.raw
Starting...
Opening file "D:\Raw_Files\DIA_test_K562_lysate\K562_100ng_DIA_8mz_staggered_test_20211125.raw" for read...
Calculating SHA1 checksum...
Processing...
Writing "D:\Raw_Files\DIA_test_K562_lysate\K562_100ng_DIA_8mz_staggered_test_20211125.mzML"...
Failed - System.Exception: SpectrumToIndices() Number of demultiplexing windows changed. Minimum window size or window boundary tolerance may be set too low.
at pwiz.CLI.msdata.MSDataFile.write(MSData msd, String filename, WriteConfig config, IterationListenerRegistry iterationListenerRegistry
at MSConvertGUI.MainLogic.processFile(String filename, Config config, ReaderList readers, Map2 usedOutputFilenames)    at MSConvertGUI.MainLogic.Go(Config config, Map2 usedOutputFilenames)

Try the latest version and the Show command-line option, then move to running on the command-line and try adding minWindowSize=1 to the demultiplex filter.

authors: chambm jiyoungyoun

repo: ProteoWizard/pwiz


text:
Issue with DDA Quant Ion Level Interface

hi everyone
I just wanted to start testing the DDA module on the weekend.
I installed the package via my anaconda installation.
I set up a new environment (with Python 3.11.5 as default by my anaconda installation)
downloaded the package from github
installed it using flit as described in the instructions.
I can run the browser application, however when I try to call the DDA Quant Ion Level module I get this error message:
ModuleNotFoundError: No module named 'proteobench'
Traceback:
File "C:\Users\froehl0004\AppData\Local\anaconda3\envs\proteoENV\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 534, in _run_script
exec(code, module.dict)
File "C:\pythonTMP\proteobench\webinterface\pages\DDA_Quant.py", line 12, in
from proteobench.modules.dda_quant.module import Module
Did I do something wrong? Should I use a different python version?
Best, Klemens

Hmm. I guess that's the same issue @scaramonche once had. How did you create your new environment?
Could you try to install python and flit into the new environment (latest should be okay):
conda create -n proteobench python flit

This ensure that flit has it's independent python executable and the packages are installed into the correct folder in the Anaconda environment folders. It could be that flit installed all dependencies into your base environment...

@mlocardpaulet Otherwise he could use the hosted pre-release version to try it out?

@mlocardpaulet Otherwise he could use the hosted pre-release version to try it out?

You mean the one at RUB? That would be ideal indeed. I am just not sure it is ready yet.
@KlemensFroehlich thanks for trying it out, and sorry to hear that you had issues. Unfortunately, I cannot help. Not sure what went wrong there. Maybe an issue with streamlit version? You could try updating it.
What Henry is referring to is that we plan to have a version available soon without any need for you to install anything. It would just be a url. So you could wait for it.

Thank you for your responses
(base) PS C:\Users\froehl0004> conda create -n proteobench python flit
(base) PS C:\Users\froehl0004> conda activate proteobench
(proteobench) PS C:\Users\froehl0004> cd 'C:\pythonTMP\proteobench'
(proteobench) PS C:\pythonTMP\proteobench> python --version
Python 3.11.5
(proteobench) PS C:\pythonTMP\proteobench> flit install -s
did not solve the problem. Same error message
i noticed that in the powershell there was a Windows error:
OSError: [WinError 1314] A required privilege is not held by the client: 'C:\pythonTMP\proteobench\proteobench' -> 'C:\Users\froehl0004\AppData\Local\anaconda3\envs\proteobench\Lib\site-packages\proteobench' (
So I tried to run anaconda powershell as admin with a new environment
now I get a new error:
ImportError: Failed to initialize: Bad git executable. The git executable must be specified in one of the following ways: - be included in your $PATH - be set via $GIT_PYTHON_GIT_EXECUTABLE - explicitly set via git.refresh() All git commands will error until this is rectified. This initial warning can be silenced or aggravated in the future by setting the $GIT_PYTHON_REFRESH environment variable. Use one of the following values: - quiet|q|silence|s|none|n|0: for no warning or exception - warn|w|warning|1: for a printed warning - error|e|raise|r|2: for a raised exception Example: export GIT_PYTHON_REFRESH=quiet
Traceback:
File "C:\Users\froehl0004\AppData\Local\anaconda3\envs\proteobenchADM\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 534, in run_script
exec(code, module.dict)
File "C:\pythonTMP\proteobench\webinterface\pages\DDA_Quant.py", line 12, in
from proteobench.modules.dda_quant.module import Module
File "C:\Users\froehl0004\AppData\Local\anaconda3\envs\proteobenchADM\Lib\site-packages\proteobench\modules\dda_quant\module.py", line 15, in
from proteobench.github.gh import clone_repo, pr_github, read_results_json_repo
File "C:\Users\froehl0004\AppData\Local\anaconda3\envs\proteobenchADM\Lib\site-packages\proteobench\github\gh.py", line 5, in
from git import Repo
File "C:\Users\froehl0004\AppData\Local\anaconda3\envs\proteobenchADM\Lib\site-packages\git_init.py", line 168, in
raise ImportError("Failed to initialize: {0}".format(_exc)) from _exc
in powershell the error reads:
(proteobenchADM) PS C:\pythonTMP\proteobench\webinterface> streamlit run Home.py
You can now view your Streamlit app in your browser.
Local URL: http://localhost:8501
Network URL: http://131.152.98.135:8501
2023-12-18 16:43:17.092 Uncaught app exception
Traceback (most recent call last):
File "C:\Users\froehl0004\AppData\Local\anaconda3\envs\proteobenchADM\Lib\site-packages\git_init_.py", line 166, in
refresh()
File "C:\Users\froehl0004\AppData\Local\anaconda3\envs\proteobenchADM\Lib\site-packages\git_init_.py", line 153, in refresh
if not Git.refresh(path=path):
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\froehl0004\AppData\Local\anaconda3\envs\proteobenchADM\Lib\site-packages\git\cmd.py", line 391, in refresh
raise ImportError(err)
ImportError: Bad git executable.
The git executable must be specified in one of the following ways:
- be included in your $PATH
- be set via $GIT_PYTHON_GIT_EXECUTABLE
- explicitly set via git.refresh()
All git commands will error until this is rectified.
This initial warning can be silenced or aggravated in the future by setting the
$GIT_PYTHON_REFRESH environment variable. Use one of the following values:
- quiet|q|silence|s|none|n|0: for no warning or exception
- warn|w|warning|1: for a printed warning
- error|e|raise|r|2: for a raised exception
Example:
export GIT_PYTHON_REFRESH=quiet
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\froehl0004\AppData\Local\anaconda3\envs\proteobenchADM\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 534, in run_script
exec(code, module.dict)
File "C:\pythonTMP\proteobench\webinterface\pages\DDA_Quant.py", line 12, in
from proteobench.modules.dda_quant.module import Module
File "C:\Users\froehl0004\AppData\Local\anaconda3\envs\proteobenchADM\Lib\site-packages\proteobench\modules\dda_quant\module.py", line 15, in
from proteobench.github.gh import clone_repo, pr_github, read_results_json_repo
File "C:\Users\froehl0004\AppData\Local\anaconda3\envs\proteobenchADM\Lib\site-packages\proteobench\github\gh.py", line 5, in
from git import Repo
File "C:\Users\froehl0004\AppData\Local\anaconda3\envs\proteobenchADM\Lib\site-packages\git_init.py", line 168, in
raise ImportError("Failed to initialize: {0}".format(_exc)) from _exc
ImportError: Failed to initialize: Bad git executable.
The git executable must be specified in one of the following ways:
- be included in your $PATH
- be set via $GIT_PYTHON_GIT_EXECUTABLE
- explicitly set via git.refresh()
All git commands will error until this is rectified.
This initial warning can be silenced or aggravated in the future by setting the
$GIT_PYTHON_REFRESH environment variable. Use one of the following values:
- quiet|q|silence|s|none|n|0: for no warning or exception
- warn|w|warning|1: for a printed warning
- error|e|raise|r|2: for a raised exception
Example:
export GIT_PYTHON_REFRESH=quiet
2023-12-18 16:43:58.526 Uncaught app exception
Traceback (most recent call last):
File "C:\Users\froehl0004\AppData\Local\anaconda3\envs\proteobenchADM\Lib\site-packages\git_init_.py", line 166, in
refresh()
File "C:\Users\froehl0004\AppData\Local\anaconda3\envs\proteobenchADM\Lib\site-packages\git_init_.py", line 153, in refresh
if not Git.refresh(path=path):
^^^^^^^^^^^^^^^^^^^^^^
File "C:\Users\froehl0004\AppData\Local\anaconda3\envs\proteobenchADM\Lib\site-packages\git\cmd.py", line 391, in refresh
raise ImportError(err)
ImportError: Bad git executable.
The git executable must be specified in one of the following ways:
- be included in your $PATH
- be set via $GIT_PYTHON_GIT_EXECUTABLE
- explicitly set via git.refresh()
All git commands will error until this is rectified.
This initial warning can be silenced or aggravated in the future by setting the
$GIT_PYTHON_REFRESH environment variable. Use one of the following values:
- quiet|q|silence|s|none|n|0: for no warning or exception
- warn|w|warning|1: for a printed warning
- error|e|raise|r|2: for a raised exception
Example:
export GIT_PYTHON_REFRESH=quiet
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "C:\Users\froehl0004\AppData\Local\anaconda3\envs\proteobenchADM\Lib\site-packages\streamlit\runtime\scriptrunner\script_runner.py", line 534, in run_script
exec(code, module.dict)
File "C:\pythonTMP\proteobench\webinterface\pages\DDA_Quant.py", line 12, in
from proteobench.modules.dda_quant.module import Module
File "C:\Users\froehl0004\AppData\Local\anaconda3\envs\proteobenchADM\Lib\site-packages\proteobench\modules\dda_quant\module.py", line 15, in
from proteobench.github.gh import clone_repo, pr_github, read_results_json_repo
File "C:\Users\froehl0004\AppData\Local\anaconda3\envs\proteobenchADM\Lib\site-packages\proteobench\github\gh.py", line 5, in
from git import Repo
File "C:\Users\froehl0004\AppData\Local\anaconda3\envs\proteobenchADM\Lib\site-packages\git_init.py", line 168, in
raise ImportError("Failed to initialize: {0}".format(_exc)) from _exc
ImportError: Failed to initialize: Bad git executable.
The git executable must be specified in one of the following ways:
- be included in your $PATH
- be set via $GIT_PYTHON_GIT_EXECUTABLE
- explicitly set via git.refresh()
All git commands will error until this is rectified.
This initial warning can be silenced or aggravated in the future by setting the
$GIT_PYTHON_REFRESH environment variable. Use one of the following values:
- quiet|q|silence|s|none|n|0: for no warning or exception
- warn|w|warning|1: for a printed warning
- error|e|raise|r|2: for a raised exception
when I use pip to install the proteobench package, I get the same error.
Best, Klemens

ah and I am using streamlit 1.29.0, which I think is the latest streamlit version according to github
https://github.com/streamlit/streamlit
Best, Klemens

Do you have a system wide installation of git? I guess you cloned the repo using git? (git status should then work). I had to manually install GitPython once, but it should be installed using flit.
Just to check: Did you execute flit install -s in the powershell as admin?

I think I got it:
I ran anaconda powershell as admin
I installed git and flit globally
I created a new env with
conda create proteobench python flit git
conda actviate proteobench

Don't know whether this is redundant as I already had the global git and flit installations :)
then clondes the git repository:
git clone https://github.com/Proteobench/ProteoBench

then I used flit for the package installation:
flit install -s

and followed the instructions for the localhost web browser interface. Now the example for the DDA module works.
Thanks for your hel @enryH
I think it was either that I downloaded the repository before instead of cloning or it was a writing privilege issue coming from windows.
Will start testing different FragPipe stuff now and try to break the tool ;)
Best, Klemens

authors: KlemensFroehlich enryH mlocardpaulet

repo: Proteobench/ProteoBench


text:
🛑 Service - Customer Portal is down

In 839688d, Service - Customer Portal (https://my.proxeuse.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Service - Customer Portal is back up in 867fefc after 18 minutes.

repo: Proxeuse/status


text:
Add features

See commit messages.

The load function currently writes undefined or null to the element values if there hasn't been set anything yet. I would recommend this syntax: localStorage.lineSpacing && lineSpacingElem.value = localStorage.lineSpacing.
Besides from that... Great pull request.

Fixed it.

the problem with using the nativ resolution is, that the font-size works independent of the image size. The text could become very small or huge and many users don't know how to change the font-size.

Would a checkbox of "Keep original image resolution" work?

Yeah that would work

authors: Proxtx samuel-w

repo: Proxtx/caption


text:
Conform to RFC 3986

Fixes #7

Thanks, it is merged in the fix-relative-paths branch, as I'm waiting for the hugo repo maintainers to confirm that a recent fix doesn't break their stuff. Since this PR may also cause breaking changes (although one that relied on a buggy implementation), I want to give them the chance to try it out first.

authors: PuerkitoBio opennota

repo: PuerkitoBio/purell


text:
Wrong Links on wiki HomePage

On Home page of project wiki links when cliked go back to the same page instead of one metioned

Oh wow, no idea how I missed that. Fixed.
Thanks for the heads up!

repo: PunchablePlushie/godot-game-settings


text:
Deprecate Hooks?

They're very Snabbdom specific, it's exposing a lot about the engines internals to allow it.

Hooks have been removed for now.

repo: PurpleKingdomGames/tyrian


text:
the 'tps' command cannot use in rcon mode

Spark link
https://spark.lucko.me/SlBTYwUQDG
Expected behavior
the 'tps' command can be use in rcon mode
Observed/Actual behavior
the 'tps' command cannot use in rcon mode
Steps/models to reproduce
https://github.com/PurpurMC/Purpur/assets/86163024/cea1fecc-dac1-47c5-aa30-5e559d31e2f2
use NectarRCON Manager to connect the purpur server and send 'tps' command to server
Purpur version

version
[23:17:34 INFO]: Checking version, please wait...
[23:17:35 INFO]: Current: git-Purpur-2176 (MC: 1.20.4)*
Previous: git-Paper-496 (MC: 1.20.4)

You are running the latest version

Agreements

[x] I am running the latest version of Purpur available from https://purpurmc.org/downloads.
[x] I have searched for and ensured there isn't already an open issue regarding this.
[ ] I ticked all the boxes without actually reading them
[X] My version of Minecraft is supported by Purpur.

Other
No response

I'm sorry, because I'm not an English user and I don't understand the meaning. After your reminder,I used machine translation, and I have checked and reopened this issue.
And this message is translated by machine, which may lead to incorrect grammar.

tps command is not a command added by purpur. Reproduce the issue on upstream (paper/spigot) and report it there.

authors: YouHaveTrouble YuYue-Amatsuki

repo: PurpurMC/Purpur


text:
How to run server...

I'm trying to run server, but ngninx log says:
*1 connect() to unix:/var/run/gunicorn/pushjet-api.sock failed (111: Connection refused) while connecting to upstream,
and gunicorn's log says:
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/gunicorn/arbiter.py", line 502, in spawn_worker
worker.init_process()
File "/usr/lib/python2.7/dist-packages/gunicorn/workers/base.py", line 114, in init_process
self.wsgi = self.app.wsgi()
File "/usr/lib/python2.7/dist-packages/gunicorn/app/base.py", line 66, in wsgi
self.callable = self.load()
File "/usr/lib/python2.7/dist-packages/gunicorn/app/wsgiapp.py", line 65, in load
return self.load_wsgiapp()
File "/usr/lib/python2.7/dist-packages/gunicorn/app/wsgiapp.py", line 52, in load_wsgiapp
return util.import_app(self.app_uri)
File "/usr/lib/python2.7/dist-packages/gunicorn/util.py", line 365, in import_app
import(module)
ImportError: No module named wsgi

The wsgi.py is in the .gitignore, could you stage it for commit just once ?

Found solution ; gunicorn conf - the difference is last line: 'wsgi' -> 'application:app'
CONFIG = {
'mode': 'wsgi',
'working_dir': '/usr/src/Pushjet-Server-Api/',
'python': '/usr/bin/python2',
'args': (
'--bind=unix:/var/run/gunicorn/pushjet-api.sock',
'--workers=2',
'--timeout=30',
'application:app',
),
}

I'm having this same issue, and changing that line to application:app doesn't seem to fix it. Is that what it's supposed to be? It's strange, I'm not seeing any more errors in the gunicorn log, but it's clearly not starting. If I start it manually, it complains about there not being a module named wsgi,

authors: SledgehammerPL andyforceno hugoShaka

repo: Pushjet/Pushjet-Server-Api


text:
Mark Python 3.13 as officially supported

This change updates the unit testing to only use released versions of Python 3.13. It also updates the PyPI classifier to declare 3.13 support.

This is a minimal enough change that I'll go ahead and merge without review.

repo: PyCQA/bandit


text:
View proposal diffs

This adds a very simple model to keep track of rendered diffs for each section of a talk proposal.
It uses the HTML diff of difflib, which only supports HTML output for side-by-side, which isn't great for the narrow layout - also it lacks great resolution of changes in long wrapped lines.
The implementation of the diffing can be swapped out, improved at a later time. The idea was to get something useful available to reviewers.

Hello! Thank you so much for your contribution to the PyCon website!
Every year, the site sees many small changes that build up to quickly overwhelm the limited resources spent on the codebase.
I'd encourage you to hold onto the ideas in this Pull Request and determine how they fit once again when the 2018 website has launched, don't worry as you'll be reminded here once that happens.

authors: ewdurbin ptone

repo: PyCon/pycon


text:
Updates to 0.2

This PR updates curvelops to version 0.2, making it compatible with PyLops 2.0, and adding typing annotations.

@mrava87 if you have a chance, could you try running these notebooks and ensuring everything looks good?

Sure, I’ll try in coming days using python 3.10 and see if everything works fine

I am currently having some issues with python >3.7 (let's have a chat offline). Apart from that I was able to run the new codes and notebooks in a python 3.7 env with pylopsv2 and everything looks great :)

repo: PyLops/curvelops


text:
deprecated ?

I think now everything is in Plugin Template
May be we closed this repository or archive it ?
@seb5g

yes you are right. I'll do it!


text:
Bug fix on keithley27XX

Keithley27XX currently not working without nidaqmx drivers. Pyvisa-py packages solves it.

fine! Think about creating a dedicated branch on your side before doing the PR.


text:
Readthedocs failed

Checklist

[X] I am using the current master branch
[X] I am running on an up-to-date pypsa-usa environment. Update via conda env update -f envs/environment.yaml

The Issue
Looks like the readthedocs failed starting from this sector commit: https://github.com/PyPSA/pypsa-usa/commit/c5a2d8c14dac5b900c148ab046e9e050d23f4355
@trevorb1  I think this is from the Sector.csv file but not sure
Steps To Reproduce
No response
Expected Behavior
No response
Error Message
No response
Anything else?
No response

Il fix this today

repo: PyPSA/pypsa-usa


text:
Add black to CI [wip]

What does this PR do?
Closes #482.
I'll close this PR if we decide to introduce yapf instead of black in the linked issue.
Before submitting

[ ] Was this discussed/approved via a Github issue? (no need for typos and docs improvements)
[ ] Did you read the contributor guideline, Pull Request section?
[ ] Did you make sure your PR does only one thing, instead of bundling different changes together?
[ ] Did you make sure to update the documentation with your changes?
[ ] Did you write any new necessary tests? [not needed for typos/docs]
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] If you made a notable change (that affects users), did you update the CHANGELOG?

PR review

[ ] Is this pull request ready for review? (if not, please submit in draft mode)

Anyone in the community is free to review the PR once the tests have passed.
If we didn't discuss your PR in Github issues there's a high chance it will not be merged.
Did you have fun?
Make sure you had fun coding 🙃

Closing as we introduce yapf instead of black.

Closing as we introduce yapf instead of black.


text:
While logging model in a multi gpu scenario, TypeError: can't pickle _thread.lock objects

🐛 Bug
Duplicating https://github.com/PyTorchLightning/pytorch-lightning/issues/3444 since that issue was closed with no resolution and still happens in the latest versions.
To Reproduce

PyTorch Lightning Version (e.g., 1.5.0): 1.4.6
PyTorch Version (e.g., 1.10): 1.9.1
Python version (e.g., 3.9): 3.8.10
OS (e.g., Linux): Linux
How you installed PyTorch (conda, pip, source): pip

cc @justusschock @kaushikb11 @awaelchli @akihironitta @rohitgr7

Can you reproduce it? In that case, can you share a reproducible script?
Do you experience it only when using the MLFlow callback?
Are you using strategy="ddp_spawn"? cc @awaelchli

still happens in the latest versions.

Have you tried using master or 1.5.8 (latest right now)
We can fix this as long as we find the component that creates this object.

We are using the "ddp" strategy, not "ddp_spawn". I don't have any reproducible script right now but I'll work on that. Will try with 1.5.8 asap.

It seems to be working on the 1.5.8 actually, thanks for the tip. I will re-open with reproduction steps if it comes up again.

authors: carmocca jhoareau

repo: PyTorchLightning/pytorch-lightning


text:
When using dp mode, only torch.Tensor can be used as the return value of the *_step function.

🐛 Bug

To Reproduce
Steps to reproduce the behavior:

Go to ./pl_examples/basic_examples
Run python gpu_template.py --gpus 2 --distributed_backend dp
See error

Code sample
Error is below.
Validation sanity check: 0it [00:00, ?it/s]Traceback (most recent call last):
  File "/root/workdir/pytorch-lightning/pl_examples/basic_examples/gpu_template.py", line 80, in <module>
    main(hyperparams)
  File "/root/workdir/pytorch-lightning/pl_examples/basic_examples/gpu_template.py", line 41, in main
    trainer.fit(model)
  File "/opt/conda/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 853, in fit
    self.dp_train(model)
  File "/opt/conda/lib/python3.7/site-packages/pytorch_lightning/trainer/distrib_parts.py", line 578, in dp_train
    self.run_pretrain_routine(model)
  File "/opt/conda/lib/python3.7/site-packages/pytorch_lightning/trainer/trainer.py", line 1001, in run_pretrain_routine
    False)
  File "/opt/conda/lib/python3.7/site-packages/pytorch_lightning/trainer/evaluation_loop.py", line 277, in _evaluate
    output = self.evaluation_forward(model, batch, batch_idx, dataloader_idx, test_mode)
  File "/opt/conda/lib/python3.7/site-packages/pytorch_lightning/trainer/evaluation_loop.py", line 424, in evaluation_forward
    output = model(*args)
  File "/opt/conda/lib/python3.7/site-packages/torch/nn/modules/module.py", line 532, in __call__
    result = self.forward(*input, **kwargs)
  File "/opt/conda/lib/python3.7/site-packages/pytorch_lightning/overrides/data_parallel.py", line 66, in forward
    return self.gather(outputs, self.output_device)
  File "/opt/conda/lib/python3.7/site-packages/torch/nn/parallel/data_parallel.py", line 165, in gather
    return gather(outputs, output_device, dim=self.dim)
  File "/opt/conda/lib/python3.7/site-packages/torch/nn/parallel/scatter_gather.py", line 68, in gather
    res = gather_map(outputs)
  File "/opt/conda/lib/python3.7/site-packages/torch/nn/parallel/scatter_gather.py", line 62, in gather_map
    for k in out))
  File "/opt/conda/lib/python3.7/site-packages/torch/nn/parallel/scatter_gather.py", line 62, in <genexpr>
    for k in out))
  File "/opt/conda/lib/python3.7/site-packages/torch/nn/parallel/scatter_gather.py", line 63, in gather_map
    return type(out)(map(gather_map, zip(*outputs)))
TypeError: zip argument #1 must support iteration

This error has something to do with this code (https://github.com/pytorch/pytorch/blob/f4f0dd470c7eb51511194a52e87f0ceec5d4e05e/torch/nn/parallel/scatter_gather.py#L47).
And this error can be fixed by doing the following in./pl_examples/models/lightning_template.py
def validation_step(self, batch, batch_idx):
    """
    Lightning calls this inside the validation loop with the data from the validation dataloader
    passed in as `batch`.
    """
    x, y = batch
    y_hat = self(x)
    val_loss = F.cross_entropy(y_hat, y)
    labels_hat = torch.argmax(y_hat, dim=1)
    n_correct_pred = torch.sum(y == labels_hat).item()
    return {'val_loss': val_loss, "n_correct_pred": n_correct_pred, "n_pred": len(x)}

def validation_epoch_end(self, outputs):
    """
    Called at the end of validation to aggregate outputs.
    :param outputs: list of individual outputs of each validation step.
    """
    avg_loss = torch.stack([x['val_loss'] for x in outputs]).mean()
    val_acc = sum([x['n_correct_pred'] for x in outputs]) / sum(x['n_pred'] for x in outputs)
    tensorboard_logs = {'val_loss': avg_loss, 'val_acc': val_acc}
    return {'val_loss': avg_loss, 'log': tensorboard_logs}

to
def validation_step(self, batch, batch_idx):
    """
    Lightning calls this inside the validation loop with the data from the validation dataloader
    passed in as `batch`.
    """
    x, y = batch
    y_hat = self(x)
    val_loss = F.cross_entropy(y_hat, y)
    labels_hat = torch.argmax(y_hat, dim=1)
    n_correct_pred = torch.sum(y == labels_hat)
    return {
        "val_loss": val_loss,
        "n_correct_pred": n_correct_pred,
        "n_pred": torch.tensor(len(x)).to(val_loss.device),
    }

def validation_epoch_end(self, outputs):
    """
    Called at the end of validation to aggregate outputs.
    :param outputs: list of individual outputs of each validation step.
    """
    avg_loss = (
        torch.stack([x["val_loss"].detach().cpu() for x in outputs]).mean().item()
    )
    val_acc = np.sum(
        [x["n_correct_pred"].detach().cpu().numpy() for x in outputs]
    ) / np.sum([x["n_pred"].detach().cpu().numpy() for x in outputs])
    tensorboard_logs = {"val_loss": avg_loss, "val_acc": val_acc}
    print({"val_loss": avg_loss, "log": tensorboard_logs})
    return {"val_loss": avg_loss, "log": tensorboard_logs}

But this approach is not elegant ...
Expected behavior

Return values other than torch.Tensor are allowed.

Environment

PyTorch Version : 1.5
OS (e.g., Linux): Ubuntu 18.04
How you installed PyTorch conda
Python version: 3.7.7
CUDA/cuDNN version: 10.2

Additional context

I think this is the same as #1861.


text:
construct RichProgressBar using Console directly

What does this PR do?

see https://github.com/PyTorchLightning/pytorch-lightning/pull/10875#discussion_r768676725
Does your PR introduce any breaking changes? If yes, please list them.

Before submitting

[x] Was this discussed/approved via a GitHub issue? (not for typos and docs)
[x] Did you read the contributor guideline, Pull Request section?
[x] Did you make sure your PR does only one thing, instead of bundling different changes together?
[x] Did you make sure to update the documentation with your changes? (if necessary)
[ ] Did you write any new necessary tests? (not for typos and docs)
[ ] Did you verify new and existing tests pass locally with your changes?
[ ] Did you list all the breaking changes introduced by this pull request?
[x] Did you update the CHANGELOG? (not for typos, docs, test updates, or internal minor changes/refactorings)

PR review
Anyone in the community is welcome to review the PR.
Before you start reviewing make sure you have read Review guidelines. In short, see the following bullet-list:

[x] Is this pull request ready for review? (if not, please submit in draft mode)
[ ] Check that all items from Before submitting are resolved
[ ] Make sure the title is self-explanatory and the description concisely explains the PR
[ ] Add labels and milestones (and optionally projects) to the PR so it can be classified

Did you have fun?
Make sure you had fun coding 🙃

This PR does not address the comment you are linking to. There must be a misunderstanding. Two scenarios:

Either the Console object is pickleable and you can construct it on the main process, pass it in to the callback,
Or, the Console object is not pickleble, hence we only store the kwargs and make sure we construct it only in the worker process

Only one of the two applies, and given the existing code I suspect 2 is the case.

This PR does not address the comment you are linking to. There must be a misunderstanding. Two scenarios:
1. Either the Console object is pickleable and you can construct it on the main process, pass it in to the callback,

2. Or, the Console object is not pickleble, hence we only store the kwargs and make sure we construct it only in the worker process

Only one of the two applies, and given the existing code I suspect 2 is the case.

OK, then what should I do in this PR

I believe just removing this code:

    def __getstate__(self):
        # can't pickle the rich progress objects
        state = self.__dict__.copy()
        state["progress"] = None
        state["_console"] = None
        return state
    def __setstate__(self, state):
        self.__dict__ = state
        self._console = Console(**self._console_kwargs)

@awaelchli removed.

authors: awaelchli quancs


text:
deathlyhallows upgrade causes inexplicable background counts tps plummets

deathlyhallows-1.0.19→deathlyhallows-1.0.20-hotfix

Version is back to deathlyhallows-1.0.19
Return to normal

So 1.0.19 is ok and 1.0.20 lagging?

So 1.0.19 is ok and 1.0.20 lagging?

Yes.

Thank you for report! I will try to solve the problem later

Thank you for report! I will try to solve the problem later

It's like a counter
Keep adding numbers in the background
I suspect it has something to do with it.   Can you think about whether the relevant new features have anything to do with him?   I think this is a good starting point to solve the problem
Thank you very much for your maintenance of this mod

So got my hands finally on this. I know what's the issue is and fix will be in hours. Also optimized some code

Damage for monster book now will scale from each new type of monster killed

https://legacy.curseforge.com/minecraft/mc-mods/deathly-hallows/files/4882369

authors: PydingAbsorber mcmso

repo: PydingAbsorber/DeathlyHallows


text:
Imagage size lands in title:

In Markdown i can specify the size of an image like this:
![](image.png =300x200)

However if i render this with python markdown, the =300x200 just lands in the title:
markdown.markdown("![](test.png =300x200)")

results in:

<im g alt="" src="bla.png" title="=30x20" />

Related https://github.com/Python-Markdown/markdown/pull/88

authors: maxnoe omidraha

repo: Python-Markdown/markdown


text:
SSDPBridgeLocater removed?

Was the SSDPBridgeLocated removed from the main package for UWP? Installing the Q42.HueApi.WinRT solved the issue, just wanted to check!

The main package used to include the WinRT package if your target was a Windows app. But with the new Visual Studio 2017 / netstandard setup this has changed. You now have to manually include the WinRT package.. So this is ok, but I'll update the docs / description.

Clear, thanks!


text:
Design a logo for this application

This logo is to be used in the splash screen and title bar.

Hello @QAZIMAAZARSHAD . Kindly assign this issue to me. I would like to contribute to this issue.

I'll assign you this issue when the contribution period starts from 10th June, then you can start working on this issue.

Thank you

Hi @QAZIMAAZARSHAD i would like to contribute to this issue. Please assign me yhis issue.

Hii @QAZIMAAZARSHAD  i wanna work with this logo shall i

I'll assign you this issue when the contribution period starts from 10th June, then you can start working on this issue.

Hey, @starrohan999 I'm a participant of LGMSOC'21 I would like to contribute to this issue will you please assign it to me

Nice @Sakalya100.
But don't make PR's now.
Others are also working on this issue let's see their designs as well. The best will be accepted.

Okay...So what should I do after making the logo. When Can I make the PR. Can you please tell @QAZIMAAZARSHAD

When everyone is done with their logo designs and your design is the best then I will inform you to make PR.

I would like to work on this issue. please assign it to me under LCM Soc21.

Everyone @kshitija-2001, @Sakalya100, @SahityaRoy, @ambivert-sam, @techabhi08  who have designed their logo can make PR now.
Create a folder named logo and add your logo in that folder.
No change in code,

I would like to work on this issue. please assign it to me under LCM Soc21.

I would like to work on this issue. please assign it to me under LCM Soc21.

Issue already resolved.

repo: QAZIMAAZARSHAD/Income-Tax-Calcultor


text:
background video of welcome page

I think the website will look more effective if we replace the background video of foreigner in home page by some Indian stuff, because the website is dedicated to INDIA only.

@Saumya-Patel this issue is already open https://github.com/QAZIMAAZARSHAD/Voters-Registration-Portal/issues/145.
You can work on that, ping me to assign you.

/assign

authors: QAZIMAAZARSHAD Saumya-Patel


text:
Chore fixes needed in registration form

Describe the bug
Currently registration form is quite uncertain in it's field UI design.
some uncertainities:

text area should not be resizable (try resize: none).
show password fields aren't aligned properly.
Total registration component animation on hover

To Reproduce
Steps to reproduce the behavior:

Head over to registration page

Expected behavior
registration page should not have hover animation  and fix rest two bugs
Logs
If applicable, add logs to help explain your problem (e.g. the error message and/or exception traceback).

Environment (please complete the following information):

OS: all
Browser: all

@QAZIMAAZARSHAD please take a look i don't think the animation on hover over registration and login page looks good i think we should keep it simple and sweet.

Fine.

@nlok5923 which image is in the description?

Can I work on this issue?


text:
Unable to copy file to created ec2 Instance

sir I think your practse.pem file is not avialable in your machine
if available please give that path.
Tip: check your practise.pem file is available or not use the below command
#ls

File practise.pem their in my downloads folder. Attached the screenshot

sir previously you are tying to copy the practise.pem from ec2 to ec2 (linux-linux)  machine but your practise.pem  is in your download folder in windows.

if you copy the practise.pem from windows to linux(ec2) machine execute the below command
syntax:
scp -i pemfile sourcefile  destinationuser@destinationip:destinationdirectory
example:
$scp -i practise.pem practise.pem ec2-user@13.126.75.60:/home/ec2-user
the above command copies the practise.pem from your windows to linux
in the same way copy your practise.pem from your ec2  machine to ec2 machine
first check the key is present in your path or not if practise.pem is present in your current path give a relative path at the time of scp otherwise give complete path
Note: in your case the practise.pem file is not in yout current path that's way it shows an error.
I think it is useful to you if not please ignore.
if you got the answer from above error please close the issue.

tried in same way please have a look once again, thankyou

if you didn't solve the issue still please call this 6305969526 number

repo: QT-DevOps/AWSIssues


text:
Daily reminder

Daily remind to solve problems, if possible with daily challenge link or random problem link.

interesting... maybe add a toggle for people to opt-in daily reminders?

@QasimWani we could add this with the new feature. I can work my way around it.

let's be conservative on this. first, we'll see the launch of daily reminder and accordingly incorporate this.

perfect. noted.

authors: Abdu98malik QasimWani tuminzee

repo: QasimWani/LeetHub


text:
能不能建个QQ群

能不能建个QQ群，一旦发布了直接在群里同步一下消息就行了

赞楼上，类似tinker群一样，有新的版本发布信息在群里也实时同步

不好意思，我们这段时间一直忙开源的事情，没公开。其实我们有一个RePlugin微信群。
等今晚开源后，我们会放到WiKi上。
谢谢理解。

今晚就开源啊，刚用了滴滴的VirtualAPK 感觉体验不太好

是的，RePlugin已经开源。欢迎大家参阅，并提出宝贵的指正建议。
微信群已经建立，稍后我会上传到WiKi上，欢迎大家加入探讨！

没有在WiKi找到公开的微信群和qq群呢？

@jiongxuan 没找到微信群，可以在这里发下？

好的，我这就发一下。
微信号：

QQ群也建好了，欢迎大家访问：653205923

authors: Hiram-Y jiongxuan tokiii ysrfeng zourb


text:
处理项目目录结构外的jar

#166

非常感谢您的给力PR！
@lizhangqu 区长兄，要不方便的话你来看下有没有问题？（包括尝试一下哈）。辛苦了！

好的，我简单看了下改动地方，有些地方明天还要和俊杰对一下再确定。

@zzz40500 您的代码已合入Master。非常感谢！在下一版（2.1.5）中将体现。


text:
fps parser compability

fix some fps xml from zhblue/freeproblemset.git cannot be imported

感觉这种兼容可能导致一些数据是非预期的，而且不好发现是为什么，xml 数据不规范的问题，不如还是直接报错

好的，兼容性确实比较麻烦

authors: smallst virusdefender

repo: QingdaoU/OnlineJudge


text:
Loading experiments without the figures

Suggested feature
When loading an experiment from the service with ExperimentData.load(exp.experiment_id, service=service) it is sometimes preferable to save time by loading only the values and not the figures. it will be helpful to have such an option built into the load() function, for example ExperimentData.load(exp.experiment_id, service=service, ignore_figures=True).

@ItamarGoldman

The current behavior is that loaded experiment load figure only when calling to the method figure() using the service.
This feature is already implemented, closing the issue.

Thank you @ItamarGoldman! I assumed all figures are loaded with the experiment - sorry for wasting your time...

authors: ItamarGoldman TsafrirA

repo: Qiskit-Extensions/qiskit-experiments


text:
PauliTrotterEvolution.evolution_for_pauli gives incorrect 1q circuit

In the following code, circ is a QuantumCircuit equivalent to the identity, whereas it should be equivalent to exp(-i Z * X).
from qiskit.aqua.operators import *

op =   Z @ X
eop = EvolvedOp(op)
circop = PauliTrotterEvolution().convert(eop)
circop.reduce()
circ = circop.to_circuit()
print(circ)

     ┌─────┐┌───┐┌───────┐┌───┐┌───┐
q_0: ┤ SDG ├┤ H ├┤ RZ(0) ├┤ H ├┤ S ├
     └─────┘└───┘└───────┘└───┘└───┘

The code path avoids much of the complexity of PauliTrotterEvolution, calling PauliTrotterEvolution.evolution_for_pauli on the PauliOp Z @ X.
Aqua: b8f865eb

But is this a valid operation? I mean Z@X is not Hermitian,
op = Z @ X
op.adjoint() == op
---
False

therefore exp(-i Z*X) is not unitary.
Note that the following works as expected.
op = -1j * (Z @ X)
eop = EvolvedOp(op)
circop = PauliTrotterEvolution().convert(eop)
circop.reduce()
circ = circop.to_circuit()
print(circ)
---
     ┌─────┐┌───┐┌───────┐┌───┐┌───┐
q_0: ┤ SDG ├┤ H ├┤ RZ(2) ├┤ H ├┤ S ├
     └─────┘└───┘└───────┘└───┘└───┘

Yes, you are correct!  I got lost in trying combinations of operators, and forgot to restrict to Hermitian ops.

authors: georgios-ts jlapeyre

repo: Qiskit/qiskit-aqua


text:
misc session updates

reflecting changes from OneDocs

Pull Request Test Coverage Report for Build 6660011872

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 75.313%

Totals

Change from base Build 6655795295:
0.0%

Covered Lines:
2526

Relevant Lines:
3354

💛  - Coveralls

authors: beckykd coveralls

repo: Qiskit/qiskit-ibm-runtime


text:
Docs tutorials polishing

What are the issues this pull addresses (issue numbers / links)?
Closes #586
Did you add tests to cover your changes (yes/no)?
No
Did you update the documentation accordingly (yes/no)?
Yes
Did you read the CONTRIBUTING document (yes/no)?
Yes
Summary

matched the new content of tutorial notebook, renaming and rearranging as needed
copied the component example notebooks back in the tutorial folder (after clearing them and polishing)
added at the top of the notebooks the "link" to the actual githubrepo notebook, for download
added a faq entry for tutorial notebook download from the docs

The files in qiskit-metal/docs/tut/ are auto copies of qiskit-metal/tutorials/?

The files in qiskit-metal/docs/tut/ are auto copies of qiskit-metal/tutorials/?

No.  qiskit-metal/tutorials are not executed tutorials, but in the qiskit-metal/docs/tut they are already executed - so the folks reading our online documentation they see executed notebooks that they can also download and try themselves.  We can't execute them at docs build time due to certain dependencies like ansys.

This looks ok to me. Addressed the tutorial updates and the additional links to download notebook tutorials, which was the major request. (unfortunate that the link points to tut, instead of tutorial folder, but I am betting it would be a pain to change that through automation, so I am good with keeping things as-is.
I still get these warnings when I build docs (even after wiping the entire docs folder and pulling it back). get these 3 for each component of the library. No big deal:
WARNING: [autosummary] failed to import 'qiskit_metal.qlibrary.jj_manhattan.metadata': no module named qiskit_metal.qlibrary.jj_manhattan.metadata
WARNING: [autosummary] failed to import 'qiskit_metal.qlibrary.jj_manhattan.pins': no module named qiskit_metal.qlibrary.jj_manhattan.pins
WARNING: [autosummary] failed to import 'qiskit_metal.qlibrary.jj_manhattan.status': no module named qiskit_metal.qlibrary.jj_manhattan.status

That is odd that you see those warnings - I do not.  We can discuss offline perhaps.

authors: JeremyDrysdale-ibm zlatko-minev

repo: Qiskit/qiskit-metal


text:
QuantumCircuit methods need examples and better documentation

What is the expected enhancement?
QuantumCircuit methods need inline examples in their docstrings and, in some cases, much better descriptions, e.g. "Apply X to q." -> "Apply an X-gate to the specified qubit.  An X-gate corresponds to a pi rotation about the x-axis on the Bloch sphere."

I will be taking this up and provide some examples in docstrings for QuantumCircuit methods located in qiskit/extensions/standard/* folder.

authors: nonhermitian sumitpuri

repo: Qiskit/qiskit-terra


text:
Bit-string oracle for the circuit library

Summary
Adds a bit-string oracle to the circuit library.
Provided with a bit-strings specifying a target state, it applies a -1 phase if the qubit states match the bit-string.
E.g. if the bit-string reads '0xx1' it applies -1 if qubit 0 is in state |0> and qubit 3 is in state |1>.
Details and comments
Used in Quantum Amplitude Estimation and Grover's algorithm. Essentially implements a MCZ with open/closed controls, but I didn't want to add a new gate before we figure out where multi-controlled gates should go.

I think the name is too generic and what it implements is too specific.
IMHO it is weird to have this fancy way to add a MCZ gate.

Name suggestions are welcome 😄

IMHO it is weird to have this fancy way to add a MCZ gate.

Functionally it's the same as an MCZ yes, but you'd use it in a different context. If I want to create a circuit with a MCZ then I'd use ZGate().control(), or MCXGate directly. Here it's about having a standalone QuantumCircuit used as oracle in Grover or Amplitude Estimation. If we implement MCZ then this class could just be a wrapper but I think it's important having this as a circuit type to be able to use it interchangeably with other oracles and circuits in algorithms.

I have two issues with this:
1- The bit order should be reversed to be little-endian :)
2- Can we try to consolidate this with the oracle compiler in #4522? So the user would express the design intent for this oracle using a classical Python function, decorated with @oracle. Because you could write many types of "BitstringOracle" - here you put a phase on a qubit (i.e. MCZ), you may want to flip a qubit instead (i.e. MCX), you may want to put a phase on amplitudes without using ancilla (i.e. Diagonal operator). Can we generically write these in terms of Python functions?

1 - Ok 😉
2 - Do you mean integrating this into the oracle compiler or having the same interface? It would be nice if the oracles worked with Python functions consistently. However, it might be a bit inconvenient if you have an oracle with many qubits that does just a simple action, e.g.
@oracle
def my_oracle(a: Bit, b: Bit, c: Bit, d: Bit, e: Bit):
   return not e

Maybe we could add a list as input to the oracle compiler?
@oracle
def my_oracle(a: List[Bit]):  # do we need to explicitly give the length of the list?
   return a[4]

For this case I think we just need to add support for an if/else. Can we do that @1ucian0 @boschmitt?
@oracle
def myoracle(a: Int1, b: Int1, c: Int1, d: Int1, e: Int1) -> Int1:
if a==0 and b==0 and c==1:
return not e
else:
return e
This would be the logic, but we can support syntactic sugar on top like word-level rather than bit-level expressions:
@oracle
def myoracle(x: Int5) -> Int1:
if not x[4] and not x[3] and x[2]:
return not x[0]
else:
return x[0]
Or like your syntax:
@oracle
def myoracle(x: Int4, y: Int1) -> Int1:
if x == ‘110x’:
return not y
else:
return y

On Jul 23, 2020, at 4:59 AM, Julien Gacon notifications@github.com wrote:

1 - Ok 😉
2 - Do you mean integrating this into the oracle compiler or having the same interface? It would be nice if the oracles worked with Python functions consistently. However, it might be a bit inconvenient if you have an oracle with many qubits that does just a simple action, e.g.
@oracle
def my_oracle(a: Bit, b: Bit, c: Bit, d: Bit, e: Bit):
return not e
Maybe we could add a list as input to the oracle compiler?
@oracle
def my_oracle(a: List[Bit]):  # do we need to explicitly give the length of the list?
return a[4]
—
You are receiving this because your review was requested.
Reply to this email directly, view it on GitHub, or unsubscribe.

authors: Cryoris ajavadia boschmitt


text:
Remove namespace packaging and hardcode elements

Summary
Namespace packages are constant source of problems for users. The python
packaging ecosystem around splitting packages across namespaces is
fragile at the best of times and can often leave a you with an
environment that isn't recoverable (especially when mixing install
methods). There is also a performance hit whenever there is a piece of
the namespace we allow external packages to extend since it requires
doing a full python path search which can be slow depending on the
backing I/O and the number of paths in sys.path for an environment. This
commit starts the process of addressing this by removing the arbitrary
namespace hook points and hard coding the element namespace maps via a
custom import loader at the root of the namespace. This has 2 advantages
it removes the use of namespace packages so the fragility and
performance impact are fixed since every element will be renamed to use
'qiskit_' instead of 'qiskit.', but it also makes it explicit where we
extend the namespace. The previous method allowed any package to extend
qiskit.* and qiskit.providers.* with whatever they wanted.
We'll need to coordinate updating the elements with this merging,
because it is a breaking change for each element (although not for end
users).
A potential follow on is to add a plugin interface for 3rd party
providers like what was proposed in #1465 so that we can make external
providers externally discoverable without needing to add manual hook
points moving forward (this was done for backwards compat with the aqt
and honeywell provider).
Details and comments
Fixes Qiskit/qiskit#559

😍😍🥳🥳🎉🎉

authors: dongreenberg mtreinish


text:
introduce new plugin infra for circuit drawer

Summary
adding an infra to support adding custom circuit drawers
Closes https://github.com/Qiskit/qiskit/issues/11900
Details and comments
this change mainly introduces plugin.py file which will act as a skeleton for newer circuit drawer plugins and support of these plugins to run (change in circuit_visualization.py)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

Pull Request Test Coverage Report for Build 8437168870
Details

21 of 27 (77.78%)  changed or added relevant lines in 3 files are covered.
5 unchanged lines in 1 file lost coverage.
Overall coverage increased (+0.005%) to 89.333%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

qiskit/visualization/circuit/circuit_visualization.py
5
7
71.43%

qiskit/visualization/circuit/plugin.py
15
19
78.95%

Files with Coverage Reduction
New Missed Lines
%

crates/qasm2/src/lex.rs
5
92.37%

Totals

Change from base Build 8423693946:
0.005%

Covered Lines:
59854

Relevant Lines:
67001

💛  - Coveralls

@1ucian0 - I might need your help here.
I've been trying to fix this docs issue but I'm not sure how.
locally everything checks out but CI is not going through.
is this expected ? any advice on how to fix it ?

Hi @1ucian0,
is there anyway that we get a review on this soon ?

In general, PRs on features requests have a lower priority than bug fixes. Additionally, the freeze for API changing PRs is in two days. The team is focused towards that right now, so hard to tell.
As I noticed this is your first PR in the project, just a heads-up: Qiskit's time-to-merge time is not great but we are always trying to improve it. Thanks for your patience.

is there some kind of an ETA or means to progress it somehow.
it would be great getting a feedback regarding the estimation time of reviewing.
Thanks for understanding.

Hi @1ucian0
any updates regarding this would be much appreciated!

any update ?

authors: 1ucian0 CLAassistant coveralls karamsg

repo: Qiskit/qiskit


text:
STDIN が空の場合も API を叩いている

以下のログのように、空の場合でもキャッシュと API を呼び出しています。もったいない。
strings.TrimSpace() しても空の場合はストレートに空の文字列を返すべきです。
$ echo -n "" | qiitrans ja en ja --debug
badger 2021/07/07 02:37:39 INFO: All 2 tables opened in 0s
badger 2021/07/07 02:37:39 INFO: Discard stats nextEmptySlot: 0
badger 2021/07/07 02:37:39 INFO: Set nextTxnTs to 2
badger 2021/07/07 02:37:39 INFO: Deleting empty file: /tmp/QiiTrans/000003.vlog
badger 2021/07/07 02:37:39 INFO: Lifetime L0 stalled for: 0s
badger 2021/07/07 02:37:39 INFO:
Level 0 [ ]: NumTables: 02. Size: 584 B of 0 B. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 64 MiB
Level 1 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB
Level 2 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB
Level 3 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB
Level 4 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB
Level 5 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB
Level 6 [B]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB
Level Done
[LOG]: JA -> EN: 新規取得:
badger 2021/07/07 02:37:41 INFO: All 2 tables opened in 1ms
badger 2021/07/07 02:37:41 INFO: Discard stats nextEmptySlot: 0
badger 2021/07/07 02:37:41 INFO: Set nextTxnTs to 2
badger 2021/07/07 02:37:41 INFO: Deleting empty file: /tmp/QiiTrans/000004.vlog
badger 2021/07/07 02:37:41 INFO: Lifetime L0 stalled for: 0s
badger 2021/07/07 02:37:41 INFO:
Level 0 [ ]: NumTables: 03. Size: 876 B of 0 B. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 64 MiB
Level 1 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB
Level 2 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB
Level 3 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB
Level 4 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB
Level 5 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB
Level 6 [B]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB
Level Done
badger 2021/07/07 02:37:41 INFO: All 3 tables opened in 0s
badger 2021/07/07 02:37:41 INFO: Discard stats nextEmptySlot: 0
badger 2021/07/07 02:37:41 INFO: Set nextTxnTs to 3
badger 2021/07/07 02:37:41 INFO: Deleting empty file: /tmp/QiiTrans/000005.vlog
badger 2021/07/07 02:37:41 INFO: Lifetime L0 stalled for: 0s
badger 2021/07/07 02:37:41 INFO:
Level 0 [ ]: NumTables: 03. Size: 876 B of 0 B. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 64 MiB
Level 1 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB
Level 2 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB
Level 3 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB
Level 4 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB
Level 5 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB
Level 6 [B]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB
Level Done
[LOG]: EN -> JA: 新規取得:
badger 2021/07/07 02:37:41 INFO: All 3 tables opened in 1ms
badger 2021/07/07 02:37:41 INFO: Discard stats nextEmptySlot: 0
badger 2021/07/07 02:37:41 INFO: Set nextTxnTs to 3
badger 2021/07/07 02:37:41 INFO: Deleting empty file: /tmp/QiiTrans/000006.vlog
badger 2021/07/07 02:37:41 INFO: Lifetime L0 stalled for: 0s
badger 2021/07/07 02:37:41 INFO:
Level 0 [ ]: NumTables: 04. Size: 1.1 KiB of 0 B. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 64 MiB
Level 1 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB
Level 2 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB
Level 3 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB
Level 4 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB
Level 5 [ ]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB
Level 6 [B]: NumTables: 00. Size: 0 B of 10 MiB. Score: 0.00->0.00 StaleData: 0 B Target FileSize: 2.0 MiB
Level Done

Fixed in PR #9

repo: Qithub-BOT/QiiTrans


text:
world corruption

the crash report is on open eye and also here a link http://openeye.openmods.info/crashes/909a498ee69d9dcb790749421670d66e
the world crashed while starting

is this fixed in the latest version?

There is only one thing to do. Check if it's yourself ^^

I don't think, I also had this issue.

authors: GirafiStudios TheJulianJES johnfg12

repo: Qmunity/QmunityLib


text:
GETDEL command support

#18

@clarity0 @evoxmusic AFAIK the rust client does support it in the form of raw commands:
fn do_something(con: &mut redis::Connection) -> redis::RedisResult<String> {
    redis::cmd("GETDEL").arg("my_key").query(con)
}

repo: Qovery/RedisLess


text:
Add status to kernel info reply

Fixes https://github.com/computationalmodelling/nbval/issues/115
xeus was missing the "status" field in kernel info replies.

I would let the kernel developers deal with the status value, for the sake of homogeneity with the other requests. I can open PRs in xeus-cling and xeus-python

Done in https://github.com/QuantStack/xeus-cling/pull/230 and https://github.com/QuantStack/xeus-python/pull/100

authors: SylvainCorlay martinRenou

repo: QuantStack/xeus


text:
auto-missing flagging by category list (Dims. port)

DataSet.set_missing() should have a 'default' option to flag all categories like "Don't know" inside a DataSet by label.

Resolved by #475.

authors: alextanski jamesrkg

repo: Quantipy/quantipy


text:
min and max can now be added to the iterator spec of the descriptives…

… view mapper.

This PR resolves #175.

authors: AlasdairE jamesrkg


text:
Update docs

I made some changes to the docs for changebonds

Can you format the docstrings with the maximal line length, and maybe also add something about the behaviour of the trscheme kwarg?

Will do, and also, I'll try to get rid of the extra stuff in the PR :p

authors: Gertian lkdvos


text:
media query tests / fixes

I added some basic tests, one of which currently fails but I'm not sure I know babel well enough to solve the issue. It seems that you would need to evaluate the template literal and look for "@" to transform differently. I may go at it more and try to fix it on this PR but I figured I might as well initially open it now.

Excellent! This is a great start to fixing this and super helpful setup. Let me know if  you investigate further. I was planning to sneak in some work on this plugin this weekend and this issue was on my todo list to investigate.

Let me know if you see any changes needed! I updated the testMatch string since it didn't work for me on Windows. The new one works on both my Ubuntu and Windows 10 machine.


text:
NOP out call to VGUI_Shutdown during server DLL shutdown

Avoids a crash that occurs when quitting the game from the console.
Kind of a hacky workaround, but it seems to work fine.

Thanks!

authors: abarichello geniiii


text:
Add rendering for Datatypes

Datatype definitions are not showing in pyLODE documentation.
e.g. https://github.com/AGLDWG/asgs-ont/blob/master/asgs-code.ttl

Can you find me a better ontology to test with? I can only see 1 x ^^rdf:HTML & 1 x ^^xsd:boolean in that ont.

Sorry - https://github.com/AGLDWG/asgs-ont/blob/master/asgs-code.ttl is deprecated. I should have pointed you at https://github.com/AGLDWG/asgs-ont/blob/master/asgs-id.ttl
It also has a bunch of additional axioms (constraints) for classes that are primarily defined in one of the imports ...

@dr-shorthair if your interest is in pretty HTML for ORCID, as per:
dcterms:creator "Simon J D Cox, CSIRO"^^rdf:HTML ;

Then try the 2.1 release of pyLODE now as it caters for ORCID logo when an ORCID for a person is used, see the example AGRIF output.
This means you characterise a person as
dcterms:creator <https://orcid.org/0000-0002-3884-3420> ;
...
<https://orcid.org/0000-0002-3884-3420>
    a sdo:Person ;
    sdo:name "Simon J D Cox" ;
    sdo:affiliation <http://linked.data.gov.au/org/csiro> ;
    ...

...which is orders of magnitude better Semantic Web data than jamming HTML microformat into dcterms:creator

Indeed. The rdf:HTML was a stop-gap. It is appropriate for things like dc:description and skos:definition but a poor facsimile of structured data elsewhere.

So I think we are close to being able to bypass all the cases you have been using the embedded HTML for. If you can list all the cases (Agent links + ORCID; text markup (descriptions) then I'll check off the ones we can bypass and close this when all are done.

Does this discussion belong in #30 ?

OK, well closing this as the main issue - handling/bypassing of links - is done and leaving #30 open to deal with rendering HTML for formatted text.

authors: dr-shorthair nicholascar

repo: RDFLib/pyLODE


text:
🛑 RED7 Staff - Passwords is down

In 7a2709f, RED7 Staff - Passwords (https://bitwarden.red7.ml) was down:

HTTP code: 0
Response time: 0 ms

Resolved: RED7 Staff - Passwords is back up in 42b8d84.


text:
🛑 Cleanse Drops Kidney is down

In ec09e89, Cleanse Drops Kidney (http://cleansedropskidney.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Cleanse Drops Kidney is back up in 686c451 after 12 minutes.

repo: RJVCA/uptime


text:
🛑 BloatX is down

In e38cc9e, BloatX (https://bloatx.com/) was down:

HTTP code: 0
Response time: 0 ms

Resolved: BloatX is back up in e3e07be after 55 minutes.


text:
undefined returned from requestJoinableCustomGameModes();

Reminder to check this out later.
Had a few minutes to see if this function worked, but not enough time to spend on debugging it.
The requestJoinableCustomGameModes() doesn't appear to return anything, regardless of the region set.

The specific code I was testing: http://hastebin.com/yubacurexa.js

DO YOU EVEN README :p You've got an error in your code, check the event thrown by the handler:
this.emit("joinableCustomGameModes", modes.game_modes);

There is no error handling when we emit events, it's always either a correct response or null. So your data is in your error object. If you were to use the callback, there you could actually use the callback funtion you've written, as those do always return (error, data).

Well that was stupid of me.
I was looking at the function, and it just never clicked that the emit returns the data differently to the straight function.
https://github.com/RJacksonm1/node-dota2/blob/master/handlers/custom.js#L21
Do we have any examples of how to do the callback for methods that only have a callback parameter on the return function? Most other methods have a way of setting the callback in the request function, but requestJoinableCustomGameModes() does not.

I was putting together a method for the top custom games message, but it's annoying as it can't be tested as there is no request message. You have to wait for the message to be sent out to all clients.
https://github.com/RJacksonm1/node-dota2/blob/master/proto/dota_gcmessages_common.proto#L555

Seems like I actually borked the implementation, apparently this thing supports callbacks o_O' I'm fixing it right now, I'll make a pull for it together with a proto update

#244

As for the top custom game list, I've looked into that one as well when the proto was added, don't know why there isn't a request function for that one, seems messy you basically have to sit there and hope for Valve to send it out -_-'

Yep, and thanks for the change.

authors: Crazy-Duck jimmydorry


text:
onJoinChatChannelResponse not firing

A few days ago valve updated dota2 and my lobby-bot broke.
When i send joinChat (CMsgDOTAJoinChatChannel) message, GC do not send me CMsgDOTAJoinChatChannelResponse.

Need somebody to confirm this bug against the node-steam1.1.0 branch. If it's still an issue we should resolve it for the 1.0.0 release.

It's working on the node-steam1.1.0 branch.

Thanks @devilesk
In that case I'll close the issue, the fix will ship with 1.0.0.


text:
🛑 CEOTR Home Page loads is down

In 98d1897, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in 43e7139 after 2 minutes.

repo: RKTowse/upptime


text:
🛑 Sensor Tracker login is down

In 18e6109, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sensor tracker login is back up in 5ce9177 after .


text:
🛑 Sensor Tracker login is down

In 4eead55, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sensor tracker login is back up in fb3f78a after .


text:
🛑 CEOTR Home Page loads is down

In f585e62, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in d07d0b3 after 2 minutes.


text:
🛑 CEOTR Home Page loads is down

In c40598c, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in cb98b18 after 2 minutes.


text:
🛑 CEOTR Home Page loads is down

In 520fa00, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in 141a49a after 2 minutes.


text:
🛑 Sensor Tracker login is down

In b55f678, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sensor tracker login is back up in d33184d after 5 minutes.


text:
🛑 CEOTR Home Page loads is down

In 267c6f3, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in f946320 after 2 minutes.


text:
🛑 CEOTR Home Page loads is down

In 9c91425, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in 92fb272 after 2 minutes.


text:
🛑 CEOTR Home Page loads is down

In 784cd42, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in 5bed413 after 2 minutes.


text:
🛑 Sensor Tracker login is down

In 159bef9, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 502
Response time: 68 ms

Resolved: Sensor tracker login is back up in 5ef0dcb.


text:
🛑 Sensor Tracker login is down

In c5af9b2, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sensor tracker login is back up in d302bab after .


text:
🛑 CEOTR Home Page loads is down

In adbb09c, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in 3e379c8 after 2 minutes.


text:
🛑 CEOTR Home Page loads is down

In f7902d5, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in 41bb5e3 after 2 minutes.


text:
🛑 Sensor Tracker login is down

In 2283db8, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sensor tracker login is back up in 025d8b4 after 1 minute.


text:
🛑 CEOTR Home Page loads is down

In 8b1d9aa, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in fab6439.


text:
🛑 Sensor Tracker login is down

In 99719ef, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 502
Response time: 107 ms

Resolved: Sensor tracker login is back up in c966eea.


text:
🛑 CEOTR Home Page loads is down

In c9c374a, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in cd55793.


text:
🛑 Sensor Tracker login is down

In 351429c, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sensor tracker login is back up in b27050b after .


text:
🛑 Sensor Tracker login is down

In 3547f75, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sensor tracker login is back up in ca5c55b after .


text:
🛑 CEOTR Home Page loads is down

In 6d91ac3, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in 5cad778 after 2 minutes.


text:
🛑 Sensor Tracker login is down

In a5bc479, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 0
Response time: 0 ms

Resolved: Sensor tracker login is back up in 2d5d2ec after .


text:
🛑 Sensor Tracker login is down

In 81cc140, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 502
Response time: 43 ms

Resolved: Sensor tracker login is back up in 807b179.


text:
🛑 Sensor Tracker login is down

In 1258221, Sensor Tracker login (https://stg.ceotr.ca/sensor_tracker) was down:

HTTP code: 502
Response time: 42 ms

Resolved: Sensor tracker login is back up in 96167c4.


text:
🛑 CEOTR Home Page loads is down

In 1321f67, CEOTR Home Page loads (https://stg.ceotr.ca CEOTR Home) was down:

HTTP code: 0
Response time: 0 ms

Resolved: CEOTR Home Page loads is back up in 95a9d25 after 2 minutes.


text:
Turtlebot3_core doesn't grab the NAMESPACE configuration

Hello, I'm working with multiple turtlebot3.

Which TurtleBot3 you have?

Burger

Which SBC(Single Board Computer) is working on TurtleBot3?

Raspberry Pi 3

Which OS you installed in SBC?

Ubuntu MATE 16.04 or later

Which OS you installed in Remote PC?

Ubuntu 16.04 LTS (Xenial Xerus)

Write down software version and firmware version

Software version: [1.12.14]
Firmware version: [1.2.3]

turtlebot3_robot.launch
<launch>
  <arg name="multi_robot_name" default=""/>
  <arg name="set_lidar_frame_id" default="base_scan"/>

  <include file="$(find turtlebot3_bringup)/launch/turtlebot3_core.launch">
    <arg name="multi_robot_name" value="$(arg multi_robot_name)"/>
  </include>
  <include file="$(find turtlebot3_bringup)/launch/turtlebot3_lidar.launch">
    <arg name="set_frame_id" value="$(arg set_lidar_frame_id)"/>
  </include>

  <node pkg="turtlebot3_bringup" type="turtlebot3_diagnostics" name="turtlebot3_diagnostics" output="screen"/>
</launch>

which launches: turtlebot3_core.launch
<launch>
  <arg name="multi_robot_name" default=""/>

  <node pkg="rosserial_python" type="serial_node.py" name="turtlebot3_core" output="screen">
    <param name="port" value="/dev/ttyACM0"/>
    <param name="baud" value="115200"/>
    <param name="tf_prefix" value="$(arg multi_robot_name)"/>
  </node>
</launch>

The former is being run using this params:
ROS_NAMESPACE=tb3_1 roslaunch turtlebot3_bringup turtlebot3_robot.launch multi_robot_name:="tb3_1" set_lidar_frame_id:="tb3_1/base_scan"
but the TF tree doesn't successfully grab the namespace configuration for the odom and base_footprint: TF Tree here
I'm getting this warning on the console when launching (not sure if it has relation or not): Here
I've gone through the source code for both the serial_node.py and SerialClient.py, and effectively there's no room in the code to grab the namespace for the frames (odom & base_footprint), I've added the simple fix for the former source file:
tf_prefix = rospy.get_param('~tf_prefix','')  #line 53
client = SerialClient(port_name, baud, tf_prefix=tf_prefix, fix_pyserial_for_test=fix_pyserial_for_test) #line 90
but for the SerialClient.py the patching becomes a bit tricky (posted the same issue at the rosserial_python git but seems like it's not actively maintained, so hope over here I'd get some support)
def __init__(self, port=None, baud=57600, tf_prefix=None, timeout=5.0, fix_pyserial_for_test=False): #line 324
# fix for grabbing namespace configurations (line 336)
        if tf_prefix== None:
            # namespace was not initialized
            pass
        else:
            # setting the argument var to class var
            self.tf_prefix=tf_prefix

(this was the easy part)
after these come setupPublisher(self, data): & setupSubscriber(self, data):, and here becomes tricky, I've been spending the last couple of hours working the code, but the debugging gets a bit complex since we're working directly over the robot and the battery runs out very fast. So that's the reason I dare to ask for help from you guys.
(Read the two previous closed issues about this, however, it seems like the fix in the firmware wasn't yet added to the mainstream??)
Is it my guess that the problem can be fixed by changing this code correct? please advice otherwise.
Thanks

thanks for your response.
yes, of course, that is implicitly done and understood by default. :)

what's the meaning of this warning?
[INFO] [1540994241.540698]: Setup subscriber on reset [std_msgs/Empty]
[WARN] [1540994241.771340]: Failed to get param: timeout expired
[INFO] [1540994241.776798]: Setup TF on Odometry [odom]

it comes right before the odometry setting up. Can it mean ROS gets a timeout and that's why it can't grab the params to set the odom & base_footprint frames in order?

It is time out error caused by rosserial_python, It occationally occured.

found the problem in: turtlebot3_core.ino, the ROS NodeHandle nh is throwing a timeout after the method updateTFprefix() is being called in line 80, specifically in line 349 nh.getParam("~tf_prefix", &get_tf_prefix);, the condition in line 351 becomes true (due to the timeout) and the frames get "labeled" by the default configuration and not following the TF prefix setup...
Would you please help me debug this?, I really need to get over this problem to keep going with my research. Thanks

it seems under some wifi environments if the AP is with traffic (means an AP deployed under a normal environment but testing), the latency on the network introduces a delay on the ROS messages, and the ends cannot grab the params before the timeout is reached. What I did to solve the issue was to increase both the buffer size and the timeout limit, recompiled and the problem was solved.

I'm working on navigation with multi-turtlebot3. When I launch them in different namespace, the turtlebot3 can't navigete. And I give initial pose in the Rviz, it doesn't work.  How can i solve it?
Of cource, I want three turtlebot3 in the same rviz. I can give different targets, and  the turtlebot3 can navigate independently. It's diffcult for me. Can you give me some advice? Thank you very much!

@wx0205  Please open another issue. Your comment is not proper in this thread.

@brusangel @routiful
Hi，guys
I got the seem problem.I tried to increase the value of timeout in SerialClient.py file and the value of buffer_size based on this.But it can not work.
[INFO] [1575524884.421414]: Setup subscriber on reset [std_msgs/Empty] [WARN] [1575524884.450769]: Failed to get param: timeout expired [INFO] [1575524884.455505]: Setup TF on Odometry [odom] [INFO] [1575524884.459867]: Setup TF on IMU [imu_link] [INFO] [1575524884.464465]: Setup TF on MagneticField [mag_link] [INFO] [1575524884.468976]: Setup TF on JointState [base_link] [INFO] [1575524884.493382]: -------------------------- [INFO] [1575524884.497909]: Connected to OpenCR board! [INFO] [1575524884.502435]: This core(v1.2.3) is compatible with TB3 Burger
This machine was probably bought at the end of 2017.
How did you solve this problem? Can you tell me a detailed solution to this problem?

authors: EndlessLoops brusangel routiful wx0205