Cannot install new software

Yesterday I have update DBeaver to v5.2.0.
After installing, it asked me to update my software extensions (Office support and SVG support).
As usual, it took a veeeeery long time to do the update and when it was about half way through (after more than 10 minutes) the lights went out.
After restarting the PC, DBeaver started up with no problems, but apparently without Office and SVG support extensions.
I tried to reinstall the Office support extension, but it stopped with an error (see below).
I tried to completely uninstall and reinstall DBeaver two times: first time it was a simple uninstall/reinstall, second time I cleaned the .eclipse directory after uninstalling and then reinstalled.
Each time I tried to install the Office support extension, I got the same error:
An error occurred while collecting items to be installed
session context was:(profile=DefaultProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.apache.commons.cli,1.3.1
No repository found containing: org.eclipse.update.feature,org.jkiss.dbeaver.ce.feature,<IP_ADDRESS>809092115
No repository found containing: org.eclipse.update.feature,org.jkiss.dbeaver.ce.nls.feature,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.core.application,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.core.application.nls,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.core.nls,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.db2.nls,<IP_ADDRESS>809092115
No repository found containing: org.eclipse.update.feature,org.jkiss.dbeaver.ext.db2.nls.feature,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.derby.nls,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.erd.nls,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.exasol.nls,<IP_ADDRESS>809092115
No repository found containing: org.eclipse.update.feature,org.jkiss.dbeaver.ext.exasol.nls.feature,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.firebird.nls,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.generic.nls,<IP_ADDRESS>809092115
No repository found containing: org.eclipse.update.feature,org.jkiss.dbeaver.ext.generic.nls.feature,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.h2.nls,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.hsqldb.nls,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.import_config.nls,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.informix.nls,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.mockdata.nls,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.mssql.nls,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.mysql.nls,<IP_ADDRESS>809092115
No repository found containing: org.eclipse.update.feature,org.jkiss.dbeaver.ext.mysql.nls.feature,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.netezza.nls,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.oracle.nls,<IP_ADDRESS>809092115
No repository found containing: org.eclipse.update.feature,org.jkiss.dbeaver.ext.oracle.nls.feature,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.phoenix.nls,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.postgresql.nls,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.sample.database,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.sample.database.nls,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.sqlite.nls,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.teradata.nls,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.ui.locks.nls,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.vertica.nls,<IP_ADDRESS>809092115
No repository found containing: org.eclipse.update.feature,org.jkiss.dbeaver.ext.wmi.nls.feature,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.model.nls,<IP_ADDRESS>809092115
No repository found containing: org.eclipse.update.feature,org.jkiss.dbeaver.rcp.feature,<IP_ADDRESS>809092115
No repository found containing: org.eclipse.update.feature,org.jkiss.dbeaver.rcp.nls.feature,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.runtime.ide.core.nls,<IP_ADDRESS>809092115
No repository found containing: org.eclipse.update.feature,org.jkiss.dbeaver.runtime.nls.feature,<IP_ADDRESS>809092115
No repository found containing: org.eclipse.update.feature,org.jkiss.dbeaver.standalone.feature,<IP_ADDRESS>809092115
No repository found containing: org.eclipse.update.feature,org.jkiss.dbeaver.standalone.nls.feature,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ui.nls,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.utils.nls,<IP_ADDRESS>809092115

I am out of ideas. I could delete the .dbeaver4 directory too, but I would not want to lose all my connections, and I'm not even sure it would help.
How do I fix this problem?
I am on linux openSUSE Tumbleweed, if it is of any help.
Thank you in advance.
Cris

Please see Issue #4110. I had the same issue with a previous upgrade. I had to do 2 things:

Delete the artifacts.xml file from your DBeaver location
Be sure to run DBeaver with administrator permissions by using 'Run as Administrator'

@Moggy6 unfortunately it did not work :(
First problem: there is no artifacts.xml file under ~/.dbeaver4. On the other hand, I have several "artifacts.xml" files under ~/.eclipse:
cristiano@xmper8q3 [~]$ cd .dbeaver4/
cristiano@xmper8q3 [~/.dbeaver4]$ find . -iname artifact*
cristiano@xmper8q3 [~/.dbeaver4]$ cd ../.eclipse/
cristiano@xmper8q3 [~/.eclipse]$ find . -iname artifact*
./826784040_linux_gtk_x86_64/configuration/org.eclipse.osgi/200/data/listener_1925729951/artifacts.jar
./826784040_linux_gtk_x86_64/configuration/org.eclipse.osgi/211/data/-1867824665/artifacts.xml
./826784040_linux_gtk_x86_64/configuration/org.eclipse.osgi/211/data/-189307374/artifacts.xml
./826784040_linux_gtk_x86_64/configuration/org.eclipse.osgi/211/data/1692773532/artifacts.xml
./826784040_linux_gtk_x86_64/configuration/org.eclipse.osgi/192/data/366016065/artifacts.xml
./826784040_linux_gtk_x86_64/configuration/org.eclipse.osgi/192/data/720162077/artifacts.xml
./826784040_linux_gtk_x86_64/p2/org.eclipse.equinox.p2.core/cache/artifacts.xml
./826784040_linux_gtk_x86_64/artifacts.xml
./org.jkiss.dbeaver.product_5.2.0_620785679_linux_gtk_x86_64/p2/org.eclipse.equinox.p2.core/cache/artifacts.xml
./org.jkiss.dbeaver.product_5.2.0_620785679_linux_gtk_x86_64/artifacts.xml

At first I tried to delete the ./org.jkiss.dbeaver.product_5.2.0_620785679_linux_gtk_x86_64/artifacts.xml file, but it did not work.
So I deleted both the artifacts.xml under the ~/.eclipse/org.jkiss.dbeaver.product_5.2.0_620785679_linux_gtk_x86_64 directory... it did not work, too.
About the "run as administrator" hint... I don't know if this is applicable to linux. I don't think so. Under linux, the equivalent thing would be to run dbeaver with "sudo", but that would run dbeaver under the context of the root user, so it would be a completely different thing.
I did not even try it as it would make no sense (and I don't want to run any random software as root, btw).

Cris70 - did you try searching for artifacts.xml outside of ~/.dbeaver4 and ~/.eclipse folders?

@Moggy6 no, but I'm doing it now:
cristiano@xmper8q3 [~]$ sudo updatedb
[sudo] password di root:
cristiano@xmper8q3 [~]$ locate artifacts.xml
/home/cristiano/.eclipse/826784040_linux_gtk_x86_64/artifacts.xml
/home/cristiano/.eclipse/826784040_linux_gtk_x86_64/configuration/org.eclipse.osgi/192/data/366016065/artifacts.xml
/home/cristiano/.eclipse/826784040_linux_gtk_x86_64/configuration/org.eclipse.osgi/192/data/720162077/artifacts.xml
/home/cristiano/.eclipse/826784040_linux_gtk_x86_64/configuration/org.eclipse.osgi/211/data/-1867824665/artifacts.xml
/home/cristiano/.eclipse/826784040_linux_gtk_x86_64/configuration/org.eclipse.osgi/211/data/-189307374/artifacts.xml
/home/cristiano/.eclipse/826784040_linux_gtk_x86_64/configuration/org.eclipse.osgi/211/data/1692773532/artifacts.xml
/home/cristiano/.eclipse/826784040_linux_gtk_x86_64/p2/org.eclipse.equinox.p2.core/cache/artifacts.xml
/home/cristiano/.eclipse/org.jkiss.dbeaver.product_5.2.0_620785679_linux_gtk_x86_64/artifacts.xml
/home/cristiano/.eclipse/org.jkiss.dbeaver.product_5.2.0_620785679_linux_gtk_x86_64/p2/org.eclipse.equinox.p2.core/cache/artifacts.xml
/opt/TIBCOJaspersoftStudio-6.3.1.final/artifacts.xml
/opt/TIBCOJaspersoftStudio-6.3.1.final/p2/org.eclipse.equinox.p2.core/cache/artifacts.xml
/usr/share/dbeaver/p2/org.eclipse.equinox.p2.core/cache/artifacts.xml

The only relevant one may be /usr/share/dbeaver/p2/org.eclipse.equinox.p2.core/cache/artifacts.xml, which is the system-wide equivalent of the file in my .eclipse directory.
I'm not sure it is a Good Thing to delete that one, but I may try to temporarily rename it and run DBeaver to see what happens.
I'll do it ASAP and will let you know.
Thank you!
Cris

@serge-rider I have already unistalled/reinstalled dbeaver two times. What do I have to do to fix the corrupted installation?
And BTW what do you mean by "workspace"? Do you mean the .dbeaver4 directory?
Should I delete it? And , if so, is there a way to save my connections?

Workspace  is the place where all your configuration, connections, scripts, etc are stored. By default it is folder .dbeaver4 in your user home.
What you need to do is to delete file artifacts.xml in dbeaver binaries folder (by default it is /usr/share/dbeaver on Linux machines). Or even better - delete /usr/share/dbeaver completely and install dbeaver again.

@serge-rider unfortunately I have just now verified that uninstalling dbeaver removes the /usr/share/dbeaver directory. So it is the same thing I have already done the past two times.
After uninstalling DBeaver, here is the situation of the artifacts.xml files (I also deleted the org.jkiss.dbeaver.product_5.2.0_620785679_linux_gtk_x86_64 directory in ~/.eclipse, just to be on the safe side):
cristiano@xmper8q3 [~]$ sudo updatedb
cristiano@xmper8q3 [~]$ locate artifacts.xml
/home/cristiano/.eclipse/826784040_linux_gtk_x86_64/artifacts.xml
/home/cristiano/.eclipse/826784040_linux_gtk_x86_64/configuration/org.eclipse.osgi/192/data/366016065/artifacts.xml
/home/cristiano/.eclipse/826784040_linux_gtk_x86_64/configuration/org.eclipse.osgi/192/data/720162077/artifacts.xml
/home/cristiano/.eclipse/826784040_linux_gtk_x86_64/configuration/org.eclipse.osgi/211/data/-1867824665/artifacts.xml
/home/cristiano/.eclipse/826784040_linux_gtk_x86_64/configuration/org.eclipse.osgi/211/data/-189307374/artifacts.xml
/home/cristiano/.eclipse/826784040_linux_gtk_x86_64/configuration/org.eclipse.osgi/211/data/1692773532/artifacts.xml
/home/cristiano/.eclipse/826784040_linux_gtk_x86_64/p2/org.eclipse.equinox.p2.core/cache/artifacts.xml
/opt/TIBCOJaspersoftStudio-6.3.1.final/artifacts.xml
/opt/TIBCOJaspersoftStudio-6.3.1.final/p2/org.eclipse.equinox.p2.core/cache/artifacts.xml

So it seems they're completely gone.
However, after reinstalling DBeaver I have the same problem:
An error occurred while collecting items to be installed
session context was:(profile=DefaultProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.apache.commons.cli,1.3.1
No repository found containing: org.eclipse.update.feature,org.jkiss.dbeaver.ce.feature,<IP_ADDRESS>809092115
No repository found containing: org.eclipse.update.feature,org.jkiss.dbeaver.ce.nls.feature,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.core.application,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.core.application.nls,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.core.nls,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.db2.nls,<IP_ADDRESS>809092115
No repository found containing: org.eclipse.update.feature,org.jkiss.dbeaver.ext.db2.nls.feature,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.derby.nls,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.erd.nls,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.exasol.nls,<IP_ADDRESS>809092115
No repository found containing: org.eclipse.update.feature,org.jkiss.dbeaver.ext.exasol.nls.feature,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.firebird.nls,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.generic.nls,<IP_ADDRESS>809092115
No repository found containing: org.eclipse.update.feature,org.jkiss.dbeaver.ext.generic.nls.feature,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.h2.nls,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.hsqldb.nls,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.import_config.nls,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.informix.nls,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.mockdata.nls,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.mssql.nls,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.mysql.nls,<IP_ADDRESS>809092115
No repository found containing: org.eclipse.update.feature,org.jkiss.dbeaver.ext.mysql.nls.feature,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.netezza.nls,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.oracle.nls,<IP_ADDRESS>809092115
No repository found containing: org.eclipse.update.feature,org.jkiss.dbeaver.ext.oracle.nls.feature,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.phoenix.nls,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.postgresql.nls,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.sample.database,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.sample.database.nls,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.sqlite.nls,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.teradata.nls,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.ui.locks.nls,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.vertica.nls,<IP_ADDRESS>809092115
No repository found containing: org.eclipse.update.feature,org.jkiss.dbeaver.ext.wmi.nls.feature,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.model.nls,<IP_ADDRESS>809092115
No repository found containing: org.eclipse.update.feature,org.jkiss.dbeaver.rcp.feature,<IP_ADDRESS>809092115
No repository found containing: org.eclipse.update.feature,org.jkiss.dbeaver.rcp.nls.feature,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.runtime.ide.core.nls,<IP_ADDRESS>809092115
No repository found containing: org.eclipse.update.feature,org.jkiss.dbeaver.runtime.nls.feature,<IP_ADDRESS>809092115
No repository found containing: org.eclipse.update.feature,org.jkiss.dbeaver.standalone.feature,<IP_ADDRESS>809092115
No repository found containing: org.eclipse.update.feature,org.jkiss.dbeaver.standalone.nls.feature,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ui.nls,<IP_ADDRESS>809092115
No repository found containing: osgi.bundle,org.jkiss.utils.nls,<IP_ADDRESS>809092115

:'-(

Hmm.
Are you running dbeaver under root when installing extensions?

@serge-rider no. Should I?
However, in the past I have always installed extensions under my own user, without problems.

@Cris70 Yes you should - if DBeaver was installed in a write-protected folder (like /usr/share). There is a special note about that here - https://github.com/dbeaver/dbeaver/wiki/Optional-extensions
Maybe you used zip archive or some 3rd party package in the past.

@peterhatz I don't think that you should care about root user workspace. Just run "sudo dbeaver" to install an extension and then restart it under you regular account.
Anyhow, this is not very convenient (and definitely not obvious).
Perhaps we should make /usr/share/dbeaver writable in deb installer. Although I'm not sure that this is safe enough.

@serge-rider today I tired installing the extensions under the root account (i.e. starting DBeaver with sudo) and it worked well. So I'd say the problem is somehow solved, though I'd call it more a workaround than a real solution. As you say, this is not very convenient and definitely not obvious.
I find it weird that extensions have to be installed in /usr/share/dbeaver. This way extensions are global. Wouldn't it be better to install extensions in ~/.dbeaver4 or in ~/.local/share/dbeaver ? This way extensions would be per-user, and there wouldn't be the need to install them as root.
One last remark: I am almost 100% sure I had no problem installing extensions previously with my own user. I have always used the rpm package downloaded from the DBeaver web site.

@serge-rider Hey Serge, I tried installing the extension under the root account (sudo) and started Beaver under my user account and didn't work. Regardless, it's working using the other workaround as I think the local .dbeaver4 was corrupted.
I agree, extensions should be local to the user account.
Thanks :)

We'll need to include extra Eclipse P2/Equinox plugins to achieve that.

With extra P2 plugin it is possible to install DBeaver extensions under non-root user. Extensions will be installed into ~/.eclipse/org.jkiss.dbeaver.product_*/ folder
Please check this in 5.2.1

With extra P2 plugin it is possible to install DBeaver extensions under non-root user. Extensions will be installed into ~/.eclipse/org.jkiss.dbeaver.product_*/ folder
Please check this in 5.2.1

@serge-rider I installed 5.2.1 yesterday. Today I tried to install the Office Integration plugin while using my regular user, but got again the same error as before:
An error occurred while collecting items to be installed
session context was:(profile=DefaultProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
No repository found containing: osgi.bundle,org.apache.commons.cli,1.3.1
No repository found containing: org.eclipse.update.feature,org.jkiss.dbeaver.ce.feature,<IP_ADDRESS>809240911
No repository found containing: org.eclipse.update.feature,org.jkiss.dbeaver.ce.nls.feature,<IP_ADDRESS>809240911
No repository found containing: osgi.bundle,org.jkiss.dbeaver.core.application,<IP_ADDRESS>809240911
No repository found containing: osgi.bundle,org.jkiss.dbeaver.core.application.nls,<IP_ADDRESS>809240911
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.db2.nls,<IP_ADDRESS>809240911
No repository found containing: org.eclipse.update.feature,org.jkiss.dbeaver.ext.db2.nls.feature,<IP_ADDRESS>809240911
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.exasol.nls,<IP_ADDRESS>809240911
No repository found containing: org.eclipse.update.feature,org.jkiss.dbeaver.ext.exasol.nls.feature,<IP_ADDRESS>809240911
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.firebird.nls,<IP_ADDRESS>809240911
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.generic.nls,<IP_ADDRESS>809240911
No repository found containing: org.eclipse.update.feature,org.jkiss.dbeaver.ext.generic.nls.feature,<IP_ADDRESS>809240911
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.hsqldb.nls,<IP_ADDRESS>809240911
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.mssql.nls,<IP_ADDRESS>809240911
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.mysql.nls,<IP_ADDRESS>809240911
No repository found containing: org.eclipse.update.feature,org.jkiss.dbeaver.ext.mysql.nls.feature,<IP_ADDRESS>809240911
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.oracle.nls,<IP_ADDRESS>809240911
No repository found containing: org.eclipse.update.feature,org.jkiss.dbeaver.ext.oracle.nls.feature,<IP_ADDRESS>809240911
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.postgresql.nls,<IP_ADDRESS>809240911
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.sample.database,<IP_ADDRESS>809240911
No repository found containing: osgi.bundle,org.jkiss.dbeaver.ext.sqlite.nls,<IP_ADDRESS>809240911
No repository found containing: org.eclipse.update.feature,org.jkiss.dbeaver.ext.wmi.nls.feature,<IP_ADDRESS>809240911
No repository found containing: org.eclipse.update.feature,org.jkiss.dbeaver.rcp.feature,<IP_ADDRESS>809240911
No repository found containing: org.eclipse.update.feature,org.jkiss.dbeaver.standalone.feature,<IP_ADDRESS>809240911
No repository found containing: org.eclipse.update.feature,org.jkiss.dbeaver.standalone.nls.feature,<IP_ADDRESS>809240911

Any hints?
T.I.A.
Cris

Verified under Ubuntu 16/18. Works without any errors.


Copy all when markdown document is collapsed is incomplete

We have written
Issue Type: Bug
I tried to attach the document but .md isn't allowed. Tried to attach as .txt but it failed, so it's inline.
If the document is collapsed (Ctrl+K, Ctrl+0) and Ctrl+A to select all, the copied text does not include the WaveRecord onwards, it is only copied as far as the #Data Structures (line 6)
# (APIBlueprint document)

# Introduction
This is my introduction

# Data Structures

## WaveRecord (object)

+ mailingId: 103 (number, required) - The mailing identifier.
+ waveId: 253 (number, required) - The wave identifier.
+ name: `Initial Test` (string, required) - The wave name.
+ portion: 500 (number, required) - The wave portion of the mailing (1 - 10000), 10000 represents the whole mailing.
+ status: `Processed` (enum, required) - The wave status.
    + Members
        + `Draft` - The wave has been created but not queued.
        + `Processed` - The wave has been processed.
        + `Queued` - The wave has been queued but not processed.
+ createDate: `2016-07-30T16:28:22` (string, required) - The create date (UTC).
+ modifyDate: `2016-07-31T07:49:18` (string, required) - The last modified date (UTC).

VS Code version: Code 1.39.2 (6ab598523be7a800d7f3eb4d92d7ab9a66069390, 2019-10-15T15:35:18.241Z)
OS version: Windows_NT x64 10.0.18362

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-4440 CPU @ 3.10GHz (4 x 3100)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onnative_gpu_memory_buffers: disabled_softwareoop_rasterization: unavailable_offprotected_video_decode: unavailable_offrasterization: unavailable_offskia_deferred_display_list: disabled_offskia_renderer: disabled_offsurface_synchronization: enabled_onvideo_decode: enabledviz_display_compositor: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
17.58GB (8.30GB free)

Process Argv

Screen Reader
no

VM
100%

Extensions (5)

Extension
Author (truncated)
Version

vscode-guid
hea
1.4.19

apib
Jar
0.0.2

csharp
ms-
1.21.5

vscode-apielements
vnc
0.6.7

maple
yjt
1.2.8

(9 theme extensions excluded)

the needed data into your clipboard because it was too large to send. Please paste.

Duplicate of #41744


Missing image is raising 500 on s3

In wagtailimages/models.py catching the OSError is not enough for non-existing images for S3 backed CDNs.
Namely the get_file_size method digs into s3boto storage and raises an Attribute Error here: https://github.com/jschneier/django-storages/blob/master/storages/backends/s3boto.py#L473
It's arguably an inexpressive error to raise here, however, is catching that error an option?
This _Work on my machine_™ (only difference is the added catching of the AttributeError):
    def get_file_size(self):
        if self.file_size is None:
            try:
                self.file_size = self.file.size
            except (OSError, AttributeError):
                # File doesn't exist
                return

            self.save(update_fields=['file_size'])

        return self.file_size

The exception that gets thrown depends on the Storage subclass you happen to be using. So if you're using boto3, you'll get a ClientError (from botocore.exceptions). If you've written your own custom storage, you could throw any old exception of your choice.
My hunch is that this is a failing in Django's storages, in that it isn't clear what something like size(name) should do if name doesn't exist, .
So I think this code kinda has to just become:
try:
    size = self.file.size
except Exception:
    # Catch any error from the storage, we assume that means the file doesn't exist
    return
# Separate this out so if - for some reason - setting the attribute errors, that won't be silently ignored
self.file_size = size
self.save(update_fields['file_size'])

Thanks for the PR, @plumdog.
I have to wonder: wouldn't it make more sense to go the other way, and not catch the exception at all? If the file is missing for some reason, then that's an error condition, and should be reported as such.
Alternatively, if we want to take a more developer-friendly stance (missing file is an error, but it's a mundane one that will frequently occur when copying databases between production/staging/developer environments, and it doesn't justify breaking the image-edit view or spamming the developer with error emails), we should probably throw a predictable exception from get_file_size and have the view code catch it. As it stands, get_file_size is returning None to indicate that the file size couldn't be determined, which feels like a misuse of return values.

@gasman Hi!
Yeah, a predictable exception would probably be the best of all worlds, but is a change to the API.
It looks like SourceImageIOError already exists for this purpose.
I'll push a commit for this. If it looks reasonable I'll write some tests.

Thanks @plumdog! Your PR #4468 fixes this and was merged (with some additional unit tests) in 24712b4.


Fix bounding box shifting

Types of PR

[ ] New Features
[ ] Upgrade of existing features
[x] Bugfix

Link to the issue
Description
This PR fixes bouding box shifting
How to review this PR.
Test if two bounding boxes appears exactly same postion
Others

Please also update Release Notes.md

Updated ReleaseNotes.md


Release to PyPI

Finally it comes to the end of 2019 and our tool is mature enough to release its 1.0 : )

Released. However we hence have the issue https://github.com/pycontw/pycontw-postevent-report-generator/issues/30

Release url https://pypi.org/project/pycontw-report-generator/


Python 3 support

This PR adds Python 2 / 3 support

As it stands this has a ton of semantics changes on Python 2. It would need massive cleanup to be viable. A good start though!

@coderanger we've spread six usage and removed formatting changes, unrelated to the topic. Take a look.

Awesome, thanks for doing this!


Clarification of SwAV's forward method

I noticed that SwAV's forward method only calls the model (resnet18 or resnet50)'s forward_backbone method but not the model's forward method:
    def forward(self, x):
        # pass single batch from the resnet backbone
        return self.model.forward_backbone(x)

Why is this? I can't find an explanation of this in the documentation or the paper.

@RylanSchaeffer the forward function of the lightning module is designed for validation and inference times, where we just want the features from the encoder.
Also,
We are deprecating the self-supervised learning paper implementations in bolts and instead provided a VISSL integration in PyTorch Lightning Flash which can be used to train models using self-supervised learning algorithms. You can refer to the documentation here.


[release/1.3 backport] shim v2 runc: propagate options.Root to Cleanup

Previously shim v2 (io.containerd.runc.{v1,v2}) always used /run/containerd/runc as the runc root.
backport of https://github.com/containerd/containerd/pull/4327
fixes https://github.com/containerd/containerd/issues/4326
fixes https://github.com/containerd/containerd/issues/2767

@AkihiroSuda ptal


Change FixedStreamMessage not to discard its stream message

Currently, FixedStreamMessage releases its elements as soon as the element was subscribed. But if we change it to release after all of the elements are subscribed, we can duplicate the FixedStreamMessage without using StreamMessageDuplicator.
But we have to consider that there's a tradeoff because we have to hold it in memory litter longer.

/cc @anuraaga who wrote FixedStreamMessage and its cousins.

I agree it should be fine to release after subscription, the extra time the objects stay around should be insignificant.


Unable to lock. Could not find package either named java-common or that provides java-common

apko lock openjdk.yaml
contents:
  keyring:
    -<EMAIL_ADDRESS>  repositories:
    - https://dl-cdn.alpinelinux.org/alpine/edge/main
    - https://dl-cdn.alpinelinux.org/alpine/edge/community
    - https://repos.azul.com/zulu/alpine
  packages:
    - alpine-baselayout
    - zulu17-jre-headless~=<IP_ADDRESS>
    - tzdata
    - ca-certificates
    - bash
    - curl

entrypoint:
  command: /bin/sh -l

environment:
  LANG: en_US.UTF-8
  LANGUAGE: en_US:en
  LC_ALL: en_US.UTF-8
  TZ: Etc/UTC
  JAVA_HOME: /usr/lib/jvm/zulu17-ca

paths:
  - path: /usr/lib/jvm/default-jvm
    type: symlink
    source: /usr/lib/jvm/zulu17-ca
    permissions: 0o777

archs:
  - arm64
  - amd64

Gives that output:
Workdir: /Users/farcop/Sources/kublr
ℹ            | loading config file: ./images/openjdk/openjdk.yaml
ℹ            | Determining packages for 2 architectures: [arm64 amd64]
ℹ            | loading config file: ./images/openjdk/openjdk.yaml
ℹ            | doing pre-flight checks
ℹ            | initializing apk database
2024/05/09 19:08:08 [DEBUG] GET https://alpinelinux.org/releases.json
2024/05/09 19:08:09 [DEBUG] GET https://alpinelinux.org/keys/alpine-devel%40lists.alpinelinux.org-616ae350.rsa.pub
2024/05/09 19:08:09 [DEBUG] GET https://alpinelinux.org/keys/alpine-devel%40lists.alpinelinux.org-616ae350.rsa.pub
ℹ            | finished initializing apk database
ℹ            | setting apk world
ℹ            | setting apk repositories
ℹ            | initializing apk keyring
2024/05/09 19:08:09 [DEBUG] HEAD<EMAIL_ADDRESS>ℹ            | resolving and calculating 'world' (packages to install)
ℹ            | determining desired apk world
2024/05/09 19:08:10 [DEBUG] HEAD https://dl-cdn.alpinelinux.org/alpine/edge/community/aarch64/APKINDEX.tar.gz
2024/05/09 19:08:10 [DEBUG] GET https://dl-cdn.alpinelinux.org/alpine/edge/community/aarch64/APKINDEX.tar.gz
2024/05/09 19:08:10 [DEBUG] HEAD https://dl-cdn.alpinelinux.org/alpine/edge/main/aarch64/APKINDEX.tar.gz
2024/05/09 19:08:10 [DEBUG] HEAD https://repos.azul.com/zulu/alpine/aarch64/APKINDEX.tar.gz
Error: failed to get package list for image: error getting package dependencies: could not find package either named java-common or that provides java-common for zulu17-ca-jre-headless
2024/05/09 19:08:11 error during command execution: failed to get package list for image: error getting package dependencies: could not find package either named java-common or that provides java-common for zulu17-ca-jre-headless

The same problem. I used to think it was my own problem, but after debugging, I found that it was fixed in 7f0b0bee70112ea6fe23ca17a13a5a25d68a0d12.
Can we release a new version? @imjasonh

For me, it has been repaired.


Beta tech debt

Alaska Airlines Pull Request
Please include a summary of the change and which issue is fixed. Please also include relevant motivation and context. List any dependencies that are required for this change.
Resolves: # (issue, if applicable)
Summary:
Please summarize the scope of the changes you have submitted, what the intent of the work is and anything that describes the before/after state of the project.
Type of change:
Please delete options that are not relevant.

[x] New capability
[x] Revision of an existing capability
[ ] Infrastructure change (automation, etc.)
[ ] Other (please elaborate)

Checklist:

[x] My update follows the CONTRIBUTING guidelines of this project
[x] I have performed a self-review of my own update

By submitting this Pull Request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
Pull Requests will be evaluated by their quality of update and whether it is consistent with the goals and values of this project. Any submission is to be considered a conversation between the submitter and the maintainers of this project and may require changes to your submission.
Thank you for your submission!
-- Auro Design System Team
Summary by Sourcery
Refactor the AuroSidenav component to AuroSideNav and update component registration to use RuntimeUtils for improved flexibility. Enhance documentation to reflect these changes and introduce a new CSS Shadow Part for styling icons.
New Features:

Introduce the ability to register components using RuntimeUtils, allowing for more dynamic component registration.

Enhancements:

Refactor the AuroSidenav component to AuroSideNav for consistency in naming conventions.
Update the CSS Shadow Parts documentation to include a new 'targetIcon' part for additional styling options.

Documentation:

Update documentation to reflect changes in component registration and naming conventions.
Revise demo and partial documentation to use the new RuntimeUtils for component registration.

:tada: This PR is included in version 3.0.0-beta.1 :tada:
The release is available on:

npm package (@beta dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


footer section for javascript-capstone-project pull request

Added footer content to the footer section

Great job 👏

[ ] nice footer design
[ ] linters error fixed


wechaty can not start up when I executed npm cache clean --force command

this demo auto exit when I scaned the pad QR code.
I was try to execute npm cache clean command
How to fix it ?

I was try to remove wechaty cache and resolved this problem.
cd ~/.wechaty
rm -rf *


It is not possible to align OverflowBar children in Cross Axis

Is there any way to align OverflowBar children in Cross Axis? It is always aligning to center. There is a overflowAlignment parameter, but it works only in vertical layout to align children horizontally. And I need to align vertically when OverflowBar is in horizontal layout.
What I have:

What I want to achieve:

I achieve that using Wrap widget, but it is not what I need, cause it wraps differently.
You can reproduce that by creating OverflowBar with any children that have not equal height.

I'm not sure I can see the difference between two screenshots. Can you please point out the case there along with detailed Actual result and Expected result?
Also, please provide a completed and minimal reproducible code sample so that we may verify this and the output of flutter doctor -v as well. Thank you!

@huycozy Really? That seems a bit strange.
Well, maybe now it'll be more obvious.
That is actual result:

As you can see all widgets are aligned vertically to the center.
That is the desired result:

All widgets are aligned to the top.
Flutter doctor:
Doctor summary (to see all details, run flutter doctor -v):
[✓] Flutter (Channel stable, 3.7.9, on macOS 13.2.1 22D68 darwin-arm64, locale ru-RU)
[✓] Android toolchain - develop for Android devices (Android SDK version 33.0.1)
[✓] Xcode - develop for iOS and macOS (Xcode 14.1)
[✓] Chrome - develop for the web
[✓] Android Studio (version 2022.1)
[✓] IntelliJ IDEA Ultimate Edition (version 2023.1)
[✓] IntelliJ IDEA Community Edition (version 2022.2)
[✓] VS Code (version 1.74.3)
[✓] Connected device (3 available)
[✓] HTTP Host Availability

• No issues found!

Thank you for pointing it out clearly. I also see it only can set MainAxisAlignment but can not set CrossAxisAlignment.
Demo from the above minimal sample code:

Labeling this as a proposal.

@huycozy  Thank you!

@huycozy  Thank you!


[DTSPO-18481] - Report crime requests to another channel

Jira link

See DTSPO-18481
Change description
Linda and Lax have agreed that the channels should be separated for Crime and non crime requests for now

Testing done
Manual end 2 end test of both crime and non crime

Checklist

[ ] commit messages are meaningful and follow good commit message guidelines
[ ] README and other documentation has been updated / added (if needed)
[ ] tests have been updated / new tests has been added (if needed)
[ ] Does this PR introduce a breaking change

Plan Result (cftptl)
No changes. Your infrastructure matches the configuration.


Microsoft SDK tarball does not exist

main build: https://dev.azure.com/dnceng/internal/_build/results?buildId=2448227&view=logs&j=c2a3fba4-babc-5882-e82a-8e0dc9edd6ec&t=57388f91-aa71-56c7-7172-a3ccb720198f
For all legs:
Prepare Tests step fails with:
Microsoft SDK tarball does not exist in '/mnt/vss/_work/1/Artifacts'. The associated build https://dev.azure.com/dnceng/internal/_build/results?buildId=2447623 might have failed.

Download MSFT SDK step fails with:
Pattern: **/dotnet-sdk-+([0-9]).+([0-9]).+([0-9])?(-@(alpha|preview|rc|rtm)*)-linux*-x64.tar.gz
Minimatch patterns: [**/dotnet-sdk-+([0-9]).+([0-9]).+([0-9])?(-@(alpha|preview|rc|rtm)*)-linux*-x64.tar.gz]
Applying include pattern against original list.
0 matches
0 final results

The associated builds:
Dotnet-dotnet build: https://dev.azure.com/dnceng/internal/_build/results?buildId=2447655&view=results
Sdk build: https://dev.azure.com/dnceng/internal/_build/results?buildId=2447623&view=results

There are no dotnet-sdk*.tar.gz files published in Sdk build link.
Only for Alpine319_Online_MsftSdk_x64:
Download Source Build SDK and Download Source Built Artifacts steps fail with:
Minimatch patterns: [**/assets/Release/dotnet-sdk-+([0-9]).+([0-9]).+([0-9])?(-@(alpha|preview|rc|rtm)*)-alpine.3.19-x64.tar.gz]
Filtered 0 files from the Minimatch filters supplied.

Minimatch patterns: [**/assets/Release/Private.SourceBuilt.Artifacts.+([0-9]).+([0-9]).+([0-9])?(-@(alpha|preview|rc|rtm)*).alpine.3.19-x64.tar.gz]
Filtered 0 files from the Minimatch filters supplied.

File name changed:
Private.SourceBuilt.Artifacts.9.0.100-preview.5.24258.1.alpine.3.19.1-x64.tar.gz
dotnet-sdk-9.0.100-preview.5.24258.1-alpine.3.19.1-x64.tar.gz

@ellahathaway should we close this issue now that you disabled the pipeline on main with https://github.com/dotnet/sdk/commit/51e1c31a875ff7c9652451f5e5b8875cf7127ada?

Actually, reopening this because the Alpine artifact name is now different. Is was **/assets/Release/dotnet-sdk-+([0-9]).+([0-9]).+([0-9])?(-@(alpha|preview|rc|rtm)*)-alpine.3.19-x64.tar.gz and is now **/assets/Release/dotnet-sdk-+([0-9]).+([0-9]).+([0-9])?(-@(alpha|preview|rc|rtm)*)-alpine.3.19.1-x64.tar.gz

[Triage] It would be nice if the RID could be portable so that the SB artifacts would be usable across alpine version upgrades.


PAS terraforming files won't work for PKS on AWS

Under http://docs-pcf-staging.cfapps.io/runtimes/pks/1-2/aws-om-deploy.html we have directed the users to Navigate to the Pivotal Application Service (PAS) release on Pivotal Network and the note states
Note: The AWS Terraform template installs Ops Manager for Pivotal Cloud Foundry (PCF). The template can be used when deploying either PAS or PKS.

This is not true. Using PAS terraforming files will create objects which are not needed by PKS at all. These objects include extra s3 buckets, load balancers, dns records etc. We can not assume that a user will modify these files to install PKS and ideally a user should not. Either these files should be catered for PKS or a manual install procedure should be detailed in the docs.
cc - @kroberts7

Hey @neil-hickey any thoughts on this?

Hi @outofmem0ry do the changes in PR https://github.com/pivotal-cf/docs-pks/pull/422 address the issues you mentioned here? I see that PR removed quite a bit of content but I'm not sure if it's the same content you're referring to.

Hi @mjgutermuth , Just checking in here.  @outofmem0ry is on PTO for the next 3 weeks.  Did you get the answer(s) you were looking for?

Hey @kroberts7! We're currently working with the OD-PKS team to get the new PKS AWS Terraform template documented. The PR that Melinda referenced above includes part of that work but there will be additional PRs to complete it. We hope to have those docs ready for you soon! Thanks.

Hey @outofmem0ry @kroberts7 we updated the PKS AWS documentation in collaboration with the OD-PKS Team to make it more accurately reflect the Terraform process: https://docs.pivotal.io/runtimes/pks/1-2/aws-index.html. Closing this for now. Thank you!


Music stops playing after a few seconds

Freezy leaves VC after playing the song a few seconds, and then replies "No new songs have been requested in time. Leaving voice channel!"

Need more context, logs, installed modules, have ffmpeg or libav or anything, have build-tools, etc.

Sorry, must specify. It was your bot.

I can't do much without knowing exactly when, how to repro, etc.


Devcontainer for vscode/github codespaces/etc.

Feature Request
It would be great if the template created an appropriate .devcontainer in the repo so that you could get started editing in vscode locally in a container without any setup (even in a browser with codespaces).
This should just require an appropriate docker file/etc. where you add in the necessary dependencies (e.g. ensure python is there to support the bibtex importer, etc.)
I believe that https://aarynsmith.com/posts/hugo-vscode-docker/ is most of the way there

Just something I found. Not too certain how it fits in, just yet. But this hugo container comes with go and a few other pieces installed. https://github.com/klakegg/docker-hugo

https://github.com/AarynSmith/vscode-dev-container-hugo
This has the docker files/etc. Might be out of date?

@jlperla So, I think that repo is a decent start.  Maybe @gcushen knows?
Additionally, the folks at hugo actually recommend the klakegg container in lieu of their own. So I'm definitely inclined to lean on this container for the hugo side of things. From what I've understood with @gcushen – the goal is to support VSCode Remote Containers and GitHub Codespaces, correct?
The example @jlperla linked strictly supports VSCode. That's definitely a good start, but there's some work to do. 😅


Error when running ./plytool codegen

Followed the instructions in the readme to try to build the code.

cd to plytool/repos directory
clone FlapHero repo
cd up a level to the workspace root
run ./plytool codegen

The last command results in the following:
$ ./plytool codegen
Wrote /projects/plywood/repos/FlapHero/src/flapGame/flapGame/codegen/switch-flap-GameState-Mode-Playing-TimeDilation.inl
Wrote /projects/plywood/repos/FlapHero/src/flapGame/flapGame/codegen/switch-flap-GameState-Mode-Falling-Mode.inl
Wrote /projects/plywood/repos/FlapHero/src/flapGame/flapGame/codegen/switch-flap-GameState-Mode.inl
Wrote /projects/plywood/repos/FlapHero/src/flapGame/flapGame/codegen/switch-flap-GameState-LifeState.inl
Wrote /projects/plywood/repos/FlapHero/src/flapGame/flapGame/codegen/switch-flap-GameState-Rotator.inl
Wrote /projects/plywood/repos/FlapHero/src/flapGame/flapGame/codegen/switch-flap-GameState-Camera.inl
Wrote /projects/plywood/repos/FlapHero/src/flapGame/flapGame/codegen/switch-flap-Button-State.inl
/projects/plywood/repos/FlapHero/src/flapGame/flapGame/DrawContext.h(15, 36): error: expected ';' before 'quantize'
/projects/plywood/repos/FlapHero/src/flapGame/flapGame/DrawContext.h(15, 36): error: declaration does not declare anything
/projects/plywood/repos/FlapHero/src/flapGame/flapGame/DrawContext.h(15, 47): error: declaration does not declare anything
/projects/plywood/repos/FlapHero/src/flapGame/flapGame/DrawContext.h(15, 53): error: expected declaration before '{'
/projects/plywood/repos/FlapHero/src/flapGame/flapGame/DrawContext.h(22, 36): error: expected ';' before 'clip'
/projects/plywood/repos/FlapHero/src/flapGame/flapGame/DrawContext.h(22, 41): error: 'const' qualifier not allowed here
/projects/plywood/repos/FlapHero/src/flapGame/flapGame/DrawContext.h(22, 51): error: expected ')' before '&'
[1]    30339 illegal hardware instruction  ./plytool codegen

Possibly related to https://github.com/arc80/plywood/issues/9
OS: macOS Catalina Version 10.15.7

Was definitely related to  arc80/plywood#9
After resolving that, I was able to build FlapHero just fine.


Add authentication and basic user accounts

Add an authentication mecanism with two 'hardcoded' users:

admin: with administrator privileges, can do everything that's actually available in portainer
guest: read-only account, will not be able to trigger any action

This is part of the work in #235

What is the storage mechanism for credentials? Setting environment variables during docker run would enable us to keep the simplicity for bootstrapping.
Example:
docker run -it --name portainer --env ADMIN_USERNAME=johndoe --env ADMIN_PASS=123456 -d -p 9000:9000v /var/run/docker.sock:/var/run/docker.sock portainer/portainer
Another approach would be to use an optional volume that should contain a structured file perhaps.

@diegoperini some other features that we want to implement in the next versions of Portainer will require it to be able to persist data. We're going to give a go at an embedded sqlite database inside the Portainer image to keep the deployment process easy as it is now.
So the user admin will be created in that database with default credentials, and you'll have the ability to update your password in the UI.

Then volumes are the way to go if my Docker knowledge doesn't misguide me. :)

I would suggest to name the default admin portaineradmin so if you add LDAP or other SSO later, those users don't overlap.

Can't wait for this feature=)

Waiting for it too.

It's on its way :)

The work on this feature is almost finished, it only support an administrator account for now but a read-only ('guest') will be easy to implement with RBAC in #235 !
A note on the technical side: After a few experimentations with SQLite and Golang (a lot of issues regarding multi-platform support), I've decided to use Bolt https://github.com/boltdb/bolt as the main datastore for persisting data. As it's a pure golang implementation of a file database, it allows us to keep the ability to build portainer on multiple platforms and the portainer image to still stay really light.
The current implementation automatically creates a new "administrator" account with the credentials admin / admin when starting Portainer for the first time. You'll be able to persist the database using a bind mount volume (although it's not really useful at the moment as there is no way to change the password yet inside the UI).
From the comments in this issue, I'd like to ask you all a few questions though...
@diegoperini about the ability to specify the credentials for the default administrator uing env variables.  I do like it (either via env. variables or portainer flags) but this would expose the credentials in clear view for anybody that would inspect the container. On a security point of view, I don't really like it.
An alternative I've thought about would be to keep the default username to admin but prompt the user to set a password on the first usage of portainer.
@tronicum I've decided to name the default user admin as it's a lot more easier to remember and also a more standard approach (again, portainer motto is simplicity) though this can evolve later.
@cichymks any comment/proposition/things you'd like to see?

@deviantony great to hear - even only one pass protected account makes portainer useful in production environment

@diegoperini about the ability to specify the credentials for the default administrator uing env variables. I do like it (either via env. variables or portainer flags) but this would expose the credentials in clear view for anybody that would inspect the container. On a security point of view, I don't really like it.

True, credentials should be hashed somewhere inside container; username is not a problem (admin, root or anything else), but password should be secured. The idea of setting with first login and/or changing in portainer is ok.
Sysadmin pov I would love to have it integrated with LDAP, but it's just an idea. General password protection is first main step now.

About how to manage the secrets, maybe you could use the new feature of 1.13: https://blog.nimbleci.com/2016/11/17/whats-coming-in-docker-1-13/#secrets-management

Any chance we can disable this feature through an environment variable?

@dimitrovs Indeed this is a great start, but thinking reverse-proxy-with-auth is a better idea for most envs - and as long as you can do a --no-auth on portainer, this should be easy enough for people to set up (tho if you're looking at RBAC then that's another ballgame).  Would also suggest setting via env var isn't so bad - you likely wouldn't do for prod, but if you did you should understand the implications regardless.  That, and you can use an env file to mitigate some of the issue (seeing it on proc deets). I'd like to set a consistent default admin account/pw by simply adding env vars for dev, but this currently isn't possible.

@deviantony +1 for the env var user/pass config, It adds flexibility to standing up a portainer instance. For instance Rocket.Chat uses the first user to register become admin method unless a env var is setup that specifies the admin account.

Thanks @gjonespf & @Nicknack1234, we're tracking this evolution in https://github.com/portainer/portainer/issues/428
Tho, it's specified as a portainer CLI flag in that issue, it may evolve in a ENV var or set of ENV vars (user/password).
Feel free to comment there.

try
username: admin-debug
password: admin-debug
if it worked this is what I used
docker run --privileged -it --name portainer --env ADMIN_USERNAME=admin-debug --env ADMIN_PASS=admin-debug -d -p 9000:9000 -v /var/run/docker.sock:/var/run/docker.sock portainer/portainer --admin-password '$2y$05$kKX3w4cdWZms1zppyHIza.P1ArKizvVg8xG9

Hi @deviantony keep up the good work man ...this is a awesome tool ,we are using it for all our applications ,we found some bug or i don't know how to do it ,we are not able to see the containers when we are able to login as user ,if we give admin permissions we are able to see everything ,but not as a user we are able to see just the images ,


underscore.js won't import

Tried:

adding it as a source lib in both orders

            nsmockup.createRESTlet({
...
                files: [
                    '<source file>' ,
                    'node_modules/underscore/underscore-min.js',
                ]
...
);

removed it from files. Instead, pasted the minified lib on the source file. Still getting

ReferenceError: _ is not defined

Suspect: maybe it has something to do with environment recognizing code inside the library (node vs browser)?
PS: underscore is used because lodash had problems with netsuite when i once tried it.

prepending the source file with var _ = require('underscore') did it as a workaround.

You can add one alias for your library, example:
          nsmockup.createRESTlet({
''...
                files: [
                    '<source file>' ,
                    ['node_modules/underscore/underscore-min.js', '_']
                ]
//...
);

Its a new configuration, and it will be include in release v0.10.0.

alias sounds great :+1:


Commitlint && semantic-release added

:tada: This PR is included in version 1.0.0 :tada:
The release is available on:

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


The Perl interpreter might be in a path with spaces, so maybe quote it

Note: some shells do not like the command verb to be quoted, so we avoid
it unless it's actually necessary.
RT#4665

For both master and 1.1.0 branches

Did the original poster agree this works?
+1

I don't agree that it works.  Update coming up!

Now, that should work better...

Okay, so this has only showed up on windows, because unix folks don't put spaces in their  directories.  Right?  I mean, I know they could, but in 18 years of openssl we haven't seen it.  But windows does have "Program Files" as a common directory name.
So why not just fix windows with something equivalent to
$perl = '"' . $perl . '"' if $perm ~= m/ /;

+1

So why not just fix windows with something equivalent to
$perl = '"' . $perl . '"' if $perm ~= m/ /;

Because suddenly in some future, near or far, comes along this other platform...
Oh, and let's not forget cygwin and msys/mingw, I've already dealt with similar cases there.  And...  see where I'm going here?  I'd rather cover a safely general case, so we don't have to repeat this more often than necessary.

Okie, merged into both branches


Restrict SG projection during SG matching on directly connected route segments

During our test rides there were occasions where routes where crossing itself (can be caused by round trips). On such intersections currently the SG projection (part of SG matching) may project the SG on two different route segments. This may result in an erroneous matching. The SG should only be projected on continuous route segments.

We discussed it today. We think it's an edge case that doesn't occur very often (based on recorded tracks). We consider the following to be the most robust solution that doesnt affect the previous matching: Split the route at intersections (where the route intersects) into multiple route segments and perform individual SG matching for these segments. This leaves normal tracks without intersections unaffected. For the intersection edge cases, however, we would be protected against projections of SGs onto different route segments. Although it is possible that false negatives could occur at the ends of the individual route segments (if an SG Map goes beyond an end), we still consider this to be the best solution.

Implementing the discussed concept is not as trivial as assumed (GeoDjango and Shapely do not have native APIs for the splitting of a Linestring at own intersection points). We will therefore postpone this for the time being and work on other things. The current progress is on the following branch: https://github.com/priobike/priobike-sg-selector/tree/feature/robustness-against-route-intersections

See #79 for a possible solution and explanation of that solution, locking the discussion here fore now


Added secure and samesite cookie option to configuration

Secure and samesite in options and also in set cookie utility function.

Hi
Shall I fix it with django 1.9 and python 2.7 and make new pull request again?
I'm making contribution to a project for the first time, please excuse me for the mistakes.

hi @binoyudayan and thanks for pull request. If you fix python travis error and push, commit will show here. Other than this it is good idea to create new branches patches and fixes.

Hi @bmihelac
I have resolved the issue with python 2.7 as well. Sorry for the delay.

Thanks for the package I think you should have already merged this important issue before releasing 0.3.0


Snippet transforms don't work

VSCode Version: Version 1.27.2 (1.27.2)
OS Version: 10.13.6 (17G65)

Steps to Reproduce:

Use the snippet from here.
Try it out. With it, I get the following, after typing Asdf: Asdf -> Asdf. Instead, it should show Asdf -> ASDF asdf.

Does this issue occur when all extensions are disabled?: Yes

Works for me... @garyking For the transformation to happen, you need to jump to next placeholder. Did you do that?

needs

Thanks, didn't know I had to hit Tab at the end again to trigger the transformation. It works now.


Distinct return codes for CLI

Interesting, it looks like things are still failing on windows. And the failures are all with the error:
java.lang.NumberFormatException: For input string: "%errorlevel%"

So it seems our new expectExitCode capture our echo line, and not the results. Looking at the output for the integration tests, we see things like this:
<?xml version="1.0" encoding="UTF-8"?>
<never-fails>2f6481e6-542c-11eb-ae93-0242ac130002</never-fails>
echo EXITCODE:%errorlevel%

D:\a\daffodil\daffodil>echo EXITCODE:%errorlevel%
EXITCODE:0

So we can see some output happened (the never-fails stuff), and before we got a prompt we call sendLine with echo EXITCODE:%errorlevel%, which we can see (that's output to the console). Then we will call expect("EXITCODE"). But even though echo command has already been output, windows will output it again, and we are going to match that. I guess Linux doesn't output that stuff twice.
So as to a solution? I wonder if rather than expecting EXITCODE:, we can instead look for `\nEXITCODE', with a prepended newline? That way we won't match the keyword in the echo because there's a space before that keyword? Which would mean the expect line becomes this:
shell.expect(contains("\n" + keyWord))

If we can get the CI to run, I am ok with the changes here.
I don't know why it doesn't run any more on each push of a new commit.

GitHub changed its CI policy two or three months ago because miners were spamming repos with one-off pull requests.  A new contributor now needs a committer to manually run CI with a button press each time.  Once the new contributor's first PR is merged, GitHub will run CI on the contributor's next PR automatically.  We could suggest that new contributors make a tiny PR as their first PR before making larger PRs.

Getting so close. Only a handful of windows tests are failing now. If we look at the output of a failing test, we see something like this:
 echo '<tns:e1 xmlns:tns="http://example.com">Hello</tns:e1>' | .\daffodil-cli\target\universal\stage\bin\daffodil.bat unparse -s .\daffodil-test\src\test\resources\org\apache\daffodil\section00\general\generalSchema.dfdl.xsd --root e1 -
D:\a\daffodil\daffodil>echo '<tns:e1 xmlns:tns="http://example.com">Hello</tns:e1>' | .\daffodil-cli\target\universal\stage\bin\daffodil.bat unparse -s .\daffodil-test\src\test\resources\org\apache\daffodil\section00\general\generalSchema.dfdl.xsd --root e1 -
echo EXITCODE:^|%errorlevel%
The system cannot find the file specified.
Error:  Unparse Error: Illegal content where start or end event expected: Error: Unexpected EOF in prolog
 at [row,col {unknown-source}]: [1,0] on line 1
Schema context: element reference tns:e1 Location line 19 in file:/D:/a/daffodil/daffodil/./daffodil-test/src/test/resources/org/apache/daffodil/section00/general/generalSchema.dfdl.xsd

D:\a\daffodil\daffodil>echo EXITCODE:^|%errorlevel%
EXITCODE:|21

I think this is the output for test_3529_CLI_Unparsing_SimpleUnparse_stdin3. This test runs the unparse command and then expects the output "Hello". I think this test passed previously for a similar reason that we just had to fix the expect exit code stuff: We are running a command, windows is outputting that command, and then we are matching the output. So when we expect "Hello", it's actually finding the Hello in the command, and not in the unparsed data. So these tests are just plain broken and we didn't know it.
So there are two issues:

Why are these tests failing on windows
Is there a way to ensure we aren't matching the command, and are instead matching the actual unparsed data.

I'm guessing that the answer to 1 is because these tests are using single quotes to escape the XML infoset. But single quotes don't do anything on windows--only double quotes escape things. So since the infoset isn't being escaped properly, windows see's the angle brackets as file redirection (hence "The system cannot find the file specified." error). We use single quotes in these tests because the infoset already includes double quotes in the XML. But I think an easy solution here is to just swap single quotes and double quotes for these tests that fail, so the command would look like this:
val cmd = String.format("""echo "<tns:e1 xmlns:tns='http://example.com'>Hello</tns:e1>" | %s ... """)

So the double quotes escape things correctly, and we use single quotes inside the XML, which is still valid XML.
For issue 2, I think we probably need to make it so what we unparse is different from the content in the infoset. So if we try to unaprse an infoset containing the string "Hello" the result can't also be "Hello" or expect won't know the difference. One way to make sure there is a diffrence is to add an initiator to the schea element. So for example, if our schema looks like this:
<element name="e1" dfdl:lengthKind="explicit" dfdl:length="5" type="xs:string" />

We can change it to this instead:
<element name="e1" dfdl:initiator="init:" dfdl:lengthKind="explicit" dfdl:length="5" type="xs:string" />

This way if our infoset looks like this:
<tns:e1 xmlns:tns="http://example.com">Hello</tns:e1>

It will unparse to init:Hello rather than just "Hello". And then we can expect the full init:Hello and be confident that we're expecting the unparsed data rather than the infoset data. This does mean that test inputs and outputs need to change. Parsed data needs to look like "init:foo" and unparsed data needs to expect "init:foo"--the XML infoset stays the same though.
An alternative might just to find a way to prevent windows from printing the command to stdout, but I'm not familiar enough with windows to know if that's possible.

@dasmallwood, please rebase these commits onto the latest master and fix the conflicts. It seems GitHub will not run the checks until the conflicts are resolved.

+1
This is good to squash and be merged. Unfortunately, because there's a merge commit (which should be avoided in the future), you can't just use rebase -i that's described in the code contributor workflow to squash everything. Instead you need to do this:
# make sure you are on the branch to squash
git checkout daf-2235-exitcode

# create a patch that is the diff between your current branch and
# the most recent common ancestor with asf/master
git diff $(git merge-base HEAD asf/master) > patch.diff

# throw away all changes on your current branch by resetting to that
# common ancestor
git reset --hard $(git merge-base HEAD asf/master)

# apply the patch with changes staged
git apply --index patch.diff

# commit the already staged changes, making sure to follow the standards
# for a good commit message mentioned in the code contributor workflow
git commit

If things don't look right at any point above, or a command failed, you can always reset back to where we started by running running:
git reset --hard origin/daf-2235-exitcode

But otherwise, if everything looks good, you can force push the squashed commit to update this PR and delete the patch file:
# push your changes to update this PR
git push --force origin daf-2235-exitcode

# delete the patch
rm patch.diff

hope we caught all the places where the tests exited the debugger already and didn't need to send a quit command before capturing the exit status.

I think we did. If we didn't, we would send the quit command to bash instead of the debugger. But quit isn't a valid command, so bash will set the exit code to 127 (command not found). And since we always check the exit code in these tests now, a test would fail if it got 127 instead of the expected exit code.


Unable to consume "VanityUrlAdjuster" in custom application

Required Information

AEM version : 6.5.7
ACS Commons version: 4.11.2
Reproducible on Latest? yes

Expected Behavior
Able to consume VanityUrlAdjuster Interface to provide custom implementations as per the documentation.
Actual Behavior
Unable to consume the Interface as its not exported.
Steps to Reproduce
Create a service class in custom application and write an implementation of VanityUrlAdjuster. Deploy the bundle to AEM and check bundle status.

@davidjgonzalez Can you please review this bug ? Its broken in this PR
https://github.com/Adobe-Consulting-Services/acs-aem-commons/pull/2351

Fixed in v4.12.0

Yesterday, should be available on maven central now. Just didn't have time to update the website!

Thanks @davidjgonzalez , can someone please test this as the custom Impl class that i have written is not being called. And this is a very critical feature for our go live, unless a fix is required and we end up rewriting VanityURLServiceImpl in our code base.
Appreciate your help here :)

Sorry, don't understand the ask. Only you has your customer class to test..?

So, i was trying to write the Impl for Adjuster class, but for some reason in "VanityURLServiceImpl" the vanityUrlAdjuster variable is always null. May be i am doing something wrong or something wrong on ACS commons end.

Have you tried compiling against 4.12.0 w the VanityUrlAdjuster interface in the updated (Public) location?

@davidjgonzalez https://github.com/Adobe-Consulting-Services/acs-aem-commons/issues/2548, need to make VanityUrlAdjuster volatile for dynamic references

@abhinavsinha347 This is not true for static reference like  https://github.com/Adobe-Consulting-Services/acs-aem-commons/blob/e049f0c091bbebfd074793e8490d1205394ba6d9/bundle/src/main/java/com/adobe/acs/commons/wcm/vanity/impl/VanityURLServiceImpl.java#L56.

@abhinavsinha347 Can you come up with a PR?

@kwin sure.

Should be fixed by https://github.com/Adobe-Consulting-Services/acs-aem-commons/pull/2552.

Fixed in 5.0.4 (released) - @abhinavsinha347 let me know if you need this back-ported to a 4.x.x line.

@davidjgonzalez , i can upgrade to 5.0.4 version that should be fine.


TypeScript error TS7016 occurs while building a React app with vite

Hi, I saw the following error message while using vite to build a React app that imports the<EMAIL_ADDRESS>package:
 $ npm run build

><EMAIL_ADDRESS>build
> tsc && vite build

src/components/Diagram.tsx:3:25 - error TS7016: Could not find a declaration file for module 'mdx-mermaid/lib/Mermaid'. '/Users/me/myapp/node_modules/mdx-mermaid/lib/Mermaid.mjs' implicitly has an 'any' type.
  There are types at '/Users/me/myapp/node_modules/mdx-mermaid/lib/Mermaid.d.ts', but this result could not be resolved when respecting package.json "exports". The 'mdx-mermaid' library may need to update its package.json or typings.

3 import { Mermaid } from "mdx-mermaid/lib/Mermaid";
                          ~~~~~~~~~~~~~~~~~~~~~~~~~

Found 1 error in src/components/Diagram.tsx:3

Other information about my environment:
$ vite --version
vite/4.5.0 darwin-arm64 node-v20.8.1
$ node --version
v20.8.1
$ npm --version
10.1.0
$ tsc --version
Version 5.2.2

As a workaround, I used patch-package to patch the package locally.
Here's a diff showing the patch:
diff --git a/node_modules/mdx-mermaid/package.json b/node_modules/mdx-mermaid/package.json
index 5168c23..2d1b998 100644
--- a/node_modules/mdx-mermaid/package.json
+++ b/node_modules/mdx-mermaid/package.json
@@ -7,15 +7,18 @@
   "exports": {
     ".": {
       "require": "./lib/mdxast-mermaid.cjs",
-      "import": "./lib/mdxast-mermaid.mjs"
+      "import": "./lib/mdxast-mermaid.mjs",
+      "types": "./lib/mdxast-mermaid.d.ts"
     },
     "./Mermaid": {
       "require": "./lib/Mermaid.cjs",
-      "import": "./lib/Mermaid.mjs"
+      "import": "./lib/Mermaid.mjs",
+      "types": "./lib/Mermaid.d.ts"
     },
     "./lib/Mermaid": {
       "require": "./lib/Mermaid.cjs",
-      "import": "./lib/Mermaid.mjs"
+      "import": "./lib/Mermaid.mjs",
+      "types": "./lib/Mermaid.d.ts"
     }
   },
   "author": "Sam Wall (oss@samuelwall.co.uk)",

I don't have any experience creating TypeScript or JavaScript packages. I wanted to pass along this information in case the maintainers and other people found it useful.
Here's a link to the GitHub Issue that led me to this workaround: https://github.com/microsoft/TypeScript/issues/52363
This issue body was partially generated by patch-package.

Fixed by #111


docs(READM)E: fix monospacing of delta

Apologies, I accidentally closed #39 when I deleted my fork, so reopening an identical PR here.

Thanks for re-opening! Sorry about the delay, I thought I'd already merged this, most have gotten lost somewhere. Cheers!


Apply max-width rules to all image tags

Per @weerd's suggestion, considering applying max-width rule to all <img> tags universally.

Done, in Neue 6.0!


MissingMethodException: Method not found: TooManyEmotes.UnlockableEmote...

[Error  : Unity Log] MissingMethodException: Method not found: TooManyEmotes.UnlockableEmote TooManyEmotes.Patches.PlayerPatcher.GetCurrentlyPlayingEmote(GameNetcodeStuff.PlayerControllerB)
Stack trace:
ModelReplacement.BodyReplacementBase.SafeGetEmoteID (System.Int32 currentID) (at <04ead122e9454c3ab64b59c6b8a378e3>:IL_0001)
ModelReplacement.BodyReplacementBase.Update () (at <04ead122e9454c3ab64b59c6b8a378e3>:IL_01B1)
Spams console.

:P

Not using LCVR or MRAPI
x2 :P

+1

Sorry about this! A hot fix will be incoming soon!

I pushed the hotfix update, and this should be fixed again (hopefully). Please create another issue if it still appears, thanks!


no errors and vroy/gha-kotlin-linter shows about 3000+ on a repo

workflow defined as follows:
# This is a basic workflow to help you get started with Actions

name: reviewdog

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
  # This workflow contains a single job called "build"
  build:
    # The type of runner that the job will run on
    runs-on: ubuntu-latest

    # Steps represent a sequence of tasks that will be executed as part of the job
    steps:
    # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
    - uses: actions/checkout@v2

    - name: ktlint
      uses: ScaCap/action-ktlint@master
      with:
        github_token: ${{ secrets.github_token }}
        reporter: github-pr-review # Change reporter

    - name: Kotlin Linter
      uses: vroy/gha-kotlin-linter@v2

workflow defined as follows:
# This is a basic workflow to help you get started with Actions

name: reviewdog

# Controls when the action will run. Triggers the workflow on push or pull request
# events but only for the master branch
on:
  push:
    branches: [ master ]
  pull_request:
    branches: [ master ]

# A workflow run is made up of one or more jobs that can run sequentially or in parallel
jobs:
  # This workflow contains a single job called "build"
  build:
    # The type of runner that the job will run on
    runs-on: ubuntu-latest

    # Steps represent a sequence of tasks that will be executed as part of the job
    steps:
    # Checks-out your repository under $GITHUB_WORKSPACE, so your job can access it
    - uses: actions/checkout@v2

    - name: ktlint
      uses: ScaCap/action-ktlint@master
      with:
        github_token: ${{ secrets.github_token }}
        reporter: github-pr-review # Change reporter

    - name: Kotlin Linter
      uses: vroy/gha-kotlin-linter@v2

Hey,
While gha-kotlin-linter uses ktlint 0.26, this action uses 0.36.
(see https://github.com/vroy/gha-kotlin-linter/blob/master/Dockerfile)

Hey,
While gha-kotlin-linter uses ktlint 0.26, this action uses 0.36.
(see https://github.com/vroy/gha-kotlin-linter/blob/master/Dockerfile)

Ok, I get it...this action uses a newer linter, but that's why it catches no issues at all?

@jarvis-jooycar have you found a solution for this?

Hey,
While gha-kotlin-linter uses ktlint 0.26, this action uses 0.36.
(see https://github.com/vroy/gha-kotlin-linter/blob/master/Dockerfile)

Ok, I get it...this action uses a newer linter, but that's why it catches no issues at all?

The filter mode https://github.com/ScaCap/action-ktlint#filter_mode impacts the overall findings. The default is added, so the whole repository is not analyzed. Please see if the filter behaviours are aligned.


After [this commit](https://github.com/rails/rails/blob/c9c293e19464c…

After this commit ActiveRecord.column_defaults returns frozen hash and this behaviour brakes the state machine initialize_state method. This PR fixes the issue.

see https://github.com/pluginaweek/state_machine/issues/343


Add feature to able to move message(s) from Trash to Inbox if accidentaly deleted it (them)

Expected behavior
Add feature to able to move message(s) from Trash to Inbox if accidentaly deleted it (them).
Using POP3 account.
Actual behavior
You are not able to move messages (or chain of messages) from Trash to Inbox back.
Steps to reproduce

POP3 account.
Delete one or chaing of messages

Environment
K-9 Mail version: 5.010
Android version: 6.x
Account type (IMAP, POP3, WebDAV/Exchange): POP3

It's not possible for emails to be sent to a POP3 server. So while it might be possible to move them to the Inbox on your device you couldn't get them on another device. It's just not possible with POP3 to add messages to the remote mailbox.
I've not had to study the POP3 implementation. Given that the default is to delete on download I assume that we maintain local copies of mails that aren't actually on the remote server. So it ought to be possible to move them back in theory. The 'Trash folder' isn't really a real folder in POP3 after all.

It's not about sending them to a POP3 server; it's about putting them back in the inbox when the all-too-easy-to-hit trash button gets pressed by accident when you're aiming for the < or > button on the toolbar. Just updating the local database to say which folder the downloaded, local copy of the message is in.

Yes, of course. POP3 is always locally deleted (or in case if there is option and it is set to do not delete from the server). So, it is required to just to move messages in the local database from one folder to another one folder. Because there is no any "hard-connection" with the server's messages copies. And it will solve all issue.

this makes k9 unusable IMO

Indeed unbelievable that it is impossible to undelete a message from Trash :dizzy_face:

This is driving me crazy. I keep fat fingering "Download full message" and accidentally deleting the message instead, this usually happens on my most interesting or important emails, and then the only way to get to it is by viewing it from Trash and then I can't put it back!! This is a POP account, the message is a local copy and not cleared from the server, so there isn't a technical reason why this can't be done.

Hello cketti,
it's fine to close a new issue with reference to an old one, but this old one is pending for 2 years, and the request is more than legitimate. I do not know of any other email client where a message cannot be moved from trash to another folder. ghsrcgh rightly points out that this is not about making changes to the POP3 server. It is about a very simple change to the local file structure. Any hope that this could be addressed soon ?
All the best - AJ

It's also incredulous that someone went through and marked several of the on-topic comments as "spam", for which there is no recourse.

As it is 2020 now and the issue persists for more than three years already, is there hope that this issue will be addressed and users are able to move a message to a different folder?

Obsolete because of #4974


terminal relative path can't recognize line:column

https://github.com/microsoft/vscode/assets/41773861/6f08ded7-4a38-447b-8b9c-3be4da72813a
@Tyriar
Version: 1.79.2
Commit: 695af097c7bd098fbf017ce3ac85e09bbc5dda06
Date: 2023-06-14T08:58:33.551Z
Electron: 22.5.7
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 22.5.0

@tjx666 does this reproduce in insiders? There was a similar issue I looked into recently. To help diagnose, you can set the log level to trace via the command palette, hover the line with the link, then check the "Terminal" channel in the Output panel (this is new to insiders).

@Tyriar Yes, latest insiders version also doesn't work:
Version: 1.80.0-insider
Commit: 49b8e2d5410795e5a23a9c6b7f99b97f4afb4b47
Date: 2023-06-23T14:12:20.836Z
Electron: 22.3.13
ElectronBuildId: 21803499
Chromium: 108.0.5359.215
Node.js: 16.17.1
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 22.5.0

@tjx666 I can't reproduce this so the logging requested above might be able to identify the problem.

I found that is caused because I set:
"terminal.integrated.wordSeparators": " ()[]{}',，\"`─‘’“”<>（）【】{}《》「」:："

@Tyriar As the setting description say, terminal.integrated.wordSeparators should only affect the word selection, but affect the link detection now.


fix https://github.com/bw2/ConfigArgParse/issues/69

I modified the relevant unit test and made it pass.  I wasn't able to get the test.test_argparse tests working (drop-in replacement testing), but I don't believe they should be affected.  If you can give me more info on how to get those tests working, I'd be happy to test those as well.

Thanks for fixing this


Enable SpEL expressions for @Document collection name

This pull request serves to enable SpEL expression resolution for com.microsoft.azure.spring.data.cosmosdb.core.mapping.Document annotation's collection field.
In this way it would be possible to dynamically load a collection name as follows:

from property source:
e.g.

@Document(collection = "${dynamic.collection.name}")
public class MyCollection

@Document(collection = "#{@environment.getProperty('dynamic.collection.name')}")
public class MyCollection

from bean field/method invocation:

@Document(collection = "#{@someBean.getCollectionName()}")
public class MyCollection

This PR would fix #391.

@saragluna @Incarnation-p-lee Is the Travis CI pipeline for integration tests currently broken? I get the following error:
Caused by: org.springframework.beans.BeanInstantiationException: Failed to instantiate [com.microsoft.azure.spring.data.cosmosdb.config.DocumentDBConfig]: Factory method 'getConfig' threw exception; nested exception is java.lang.IllegalArgumentException: connection string should have text!
	at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:185)
	at org.springframework.beans.factory.support.ConstructorResolver.instantiate(ConstructorResolver.java:622)
	... 44 more
Caused by: java.lang.IllegalArgumentException: connection string should have text!

@dsibilio I will look into this.

@dsibilio
I've tried the CI (check it here) and it worked. I also ran integration test against this PR locally which succeeded too. Perhaps we could add this to your branch to help debug and remove it later.
<exec osfamily="unix" executable="cat">
   <arg value="./src/test/resources/application.properties"/>
</exec>

@dsibilio
I've tried the CI (check it here) and it worked. I also ran integration test against this PR locally which succeeded too. Perhaps we could add this to your branch to help debug and remove it later.
<exec osfamily="unix" executable="cat">
   <arg value="./src/test/resources/application.properties"/>
</exec>

I've added the bit that you mentioned and obtained the following result:
[INFO] Executing tasks
main:
setup:
     [echo] setup test resource
[propertyfile] Updating property file: /home/travis/build/microsoft/spring-data-cosmosdb/src/test/resources/application.properties
     [exec] #Mon, 02 Sep 2019 07:13:45 +0000
     [exec] cosmosdb.uri=https\://testdb-09-02-07-12-25.documents.azure.com\:443
     [exec] cosmosdb.key=
     [exec] cosmosdb.secondaryKey=undefined
     [exec]
     [exec] #You can also use connection string instead of uri and key to connect to cosmos DB
     [exec] #cosmosdb.connection-string=${DOCUMENTDB_CONNECTION_STRING}
     [exec]
     [exec] dynamic.collection.name=spel-property-collection
     [exec] # Performance test configurations
     [exec] perf.recursive.times=10
     [exec] perf.batch.size=3
     [exec] perf.acceptance.percentage=10
     [exec]
[INFO] Executed tasks

It seems it's missing the key...?
PS. Codacy bot might have gone rogue, it's thinking some tests don't contain assertions when they actually do 😢

@dsibilio
I guess there's something wrong with azure-cli output when keys list command gets called.
Could you please also add this to your branch or allow me to push debug commits to your branch.

@dsibilio
This problem is probably caused by this.

@dsibilio
This problem is probably caused by this.

Thanks for investigating. Let me know if I can lend a hand somehow ;)

/azp run

/azp run Emulator-spring-data-cosmosdb-tests

/azp run

/azp run

@dsibilio, can you please check the logs of these two failed tests ?
If you can't I will paste the exceptions here.

@dsibilio, can you please check the logs of these two failed tests ?
If you can't I will paste the exceptions here.

I noticed the SpELDocumentDBAnnotationIT.testDatabaseOperationsOnDynamicallyNamedCollection test failed. Sadly I've got connection issues at the moment and can't replicate the problem locally to analyze it. You can either try and troubleshoot yourself or wait for my internet connection to get fixed 👍

@dsibilio, can you please check the logs of these two failed tests ?
If you can't I will paste the exceptions here.

I noticed the SpELDocumentDBAnnotationIT.testDatabaseOperationsOnDynamicallyNamedCollection test failed. Sadly I've got connection issues at the moment and can't replicate the problem locally to analyze it. You can either try and troubleshoot yourself or wait for my internet connection to get fixed 👍

Thanks for checking, it's good that you can view the logs. I will try to fix it if I get some time. I am fully packed today, but can help tomorrow.
Or if you get good connection, then please fix it.

@dsibilio, can you please check the logs of these two failed tests ?
If you can't I will paste the exceptions here.

I noticed the SpELDocumentDBAnnotationIT.testDatabaseOperationsOnDynamicallyNamedCollection test failed. Sadly I've got connection issues at the moment and can't replicate the problem locally to analyze it. You can either try and troubleshoot yourself or wait for my internet connection to get fixed +1

Thanks for checking, it's good that you can view the logs. I will try to fix it if I get some time. I am fully packed today, but can help tomorrow.
Or if you get good connection, then please fix it.

I'm living on the edge, USB tethering my way to production ahah
I fixed the test, it was using a wrong ObjectMapper (one without fail_on_unknown_fields set to false). That test should pass now, if you run the azp we can check if all tests pass :+1:

/azp run

@kushagraThapar
I am trying this fix on the version 3.7.0 but encounter a problem. The @Document collection SPeL evaluation (CosmosEntityInformation.getContainerName line 165) tries to resolve the expression by calling the static method ExpressionResolver.resolveExpression. here is the problem: the static variable embeddedValueResolver is still null! Consequently, the expression is not resolved Burt returned as is. Result: the application fails to boot.
For debug purpose, I replaced the SPeL expression by a simple string value ("abc") and
put a breakpoint in both the constructor of ExpressionResolver and on the static resolveExpression. The breakpoint in resolveExpression kicks in well before the one on the constructor.
Is there something I miss in my code to make it work as intended?
Thanks for your support
Eric

@kushagraThapar
I am trying this fix on the version 3.7.0 but encounter a problem. The @document collection SPeL evaluation (CosmosEntityInformation.getContainerName line 165) tries to resolve the expression by calling the static method ExpressionResolver.resolveExpression. here is the problem: the static variable embeddedValueResolver is still null! Consequently, the expression is not resolved Burt returned as is. Result: the application fails to boot.
For debug purpose, I replaced the SPeL expression by a simple string value ("abc") and
put a breakpoint in both the constructor of ExpressionResolver and on the static resolveExpression. The breakpoint in resolveExpression kicks in well before the one on the constructor.
Is there something I miss in my code to make it work as intended?
Thanks for your support
Eric

@ericher4worximity - This would mean that the expressionResolver bean is not getting created successfully.
Can you please debug creation of this bean ?
public ExpressionResolver(BeanFactory beanFactory) {
        if (beanFactory instanceof ConfigurableBeanFactory) {
            setEmbeddedValueResolver(new EmbeddedValueResolver((ConfigurableBeanFactory) beanFactory));
        }
    }

@dsibilio  - Can you please help us here ?
I can also miss any important piece here, as you wrote this code :)

If the embeddedValueResolver is still null when the resolveExpression method is called, it means the method was called before the bean was initialized. @ericher4worximity, you could try again by adding @DependsOn("expressionResolver") on top of a Spring configuration class that is certainly processed before the static method is invoked.

@kushagraThapar I did put a breakpoint in the constructor of ExpressionResolver. It is eventually being called but after the SPeL expression has been evaluated. I did find a workaround: by having a @Bean that depends on ExpressionResolver (it does not even use it!). It seems it forces Spring to create it before the SPeL is being evaluated. I'll try to simplify my code so I can be shared.

@dsibilio Adding the @DependsOn on the Application main class works. It's a better workaround that what I came up to, I agree... but a workaround nonetheless :)
Here the code (in Kotlin)
@DependsOn("expressionResolver")
@SpringBootApplication
class Application

fun main(args: Array<String>) {
	runApplication<Application>(*args)
}


Add multi-modal support to GAIA agents -- they should be able to handle images. Audio and video are a lower priority.

Marking this as complete since we can now support such files in complex_tasks, in the first turn of conversations.
It would be nice to see this merged with main. It would also be nice to have this integrated throughout the whole conversation. We can add these as separate issues/PRs for enhancements.
The important thing is we now have an "80% solution", and we are not blocking on multimodality anymore.


refactor(pipeline): optimized code

Proposed Changes:

Which issue(s) this PR fixes:

Fixes #
Additional documentation:

PR should not include other commits, please remove them.


Dropshadow filter broken (tested with Win7, WebGL, FF, Chrome, UC Browser)

Dropshadow filter has no effect when applied to a sprite. Tested on Win7 (WebGL) on Firefox, Chrome and UC Desktop browsers. None of them shows a drop shadow effect.
Same issue with a couple of other built-in filters. Only a few of them seem to work (blur filter works, for example -glow filter doesn't work).
Graphics card: Radeon HD 6800 Series. Pixi V3.
Code example: https://jsfiddle.net/5goztwcs/3/

I had the same problem but I think the cause is that the drop shadow filter only works if there is something below to show the shadow. As your renderer is transparent, the shadow of your object cannot be rendered.
See : https://jsfiddle.net/dLt1Lrmd/1/

Moved filters to pixi-filters 👍


TensorFlow install URL results in Error 403 (Forbidden)

Unable to setup TensorFlow built with C++17 following the readme.md.
The wget command results in 403 (Forbidden):
$ wget https://storage.googleapis.com/tf-pips/tf-c++17-support/tf_nightly-1.14.0-cp37-cp37m-linux_x86_64.whl
Will not apply HSTS. The HSTS database must be a regular and non-world-writable file.
ERROR: could not open HSTS store at '/home/source144/.wget-hsts'. HSTS will be disabled.
--2020-07-29 12:34:11--  https://storage.googleapis.com/tf-pips/tf-c++17-support/tf_nightly-1.14.0-cp37-cp37m-linux_x86_64.whl
Resolving storage.googleapis.com (storage.googleapis.com)... <IP_ADDRESS>, <IP_ADDRESS>, <IP_ADDRESS>, ...
Connecting to storage.googleapis.com (storage.googleapis.com)|<IP_ADDRESS>|:443... connected.
HTTP request sent, awaiting response... 403 Forbidden
2020-07-29 12:34:11 ERROR 403: Forbidden.

Hi, thanks for reaching out. I will look into this and get back to you when it's working again!


added actions in self.actions

added some setters in dex
added vote actions ,methods  and interfaces on governance
added setter for retirement bonus in loans

I have added some methods from "Modefy definfVote" PR which is yet to merge . So assuming those methods will be there in governance.py after it is merged i added these methods (setVoteDuration, setQuorum, setVoteDefinitionFee, setBalnVoteDefinitionCriterion).

i have changed action keys to same as method name in data_option,
added set minimum vote duration in governance on_install ,
added checks for address type in addNewDataSource method
updated governance unit tests

@simusud - Can we also please add the DAOfund disburse method to the vote actions.

@simusud - Can we also please add the DAOfund disburse method to the vote actions.

yeah sure!


Segfault or NaN for big-endian mask

I am experiencing some segfaults when the mask is in big-endian format. It happens sometimes when reading from FITS.
Easy workaround is to turn the mask into little-endian, so it is not critical.
Minimal example:
import healpy as hp
import numpy as np
import pymaster as nmt

nside=32
npix = hp.nside2npix(nside)

mask = np.ones(npix, dtype=">f8")
I_map = np.ones(npix, dtype=np.float64)

f_0 = nmt.NmtField(mask, [I_map])
binning = nmt.NmtBin(nside=nside,
            nlb=1 ,
            lmax=2*nside, is_Dell=False)
cl_namaster = nmt.compute_full_master(f_0, f_0, binning)
assert not np.isnan(cl_namaster).sum()

Sometimes instead of segfaults I get NaN, but currently I cannot seem to reproduce that behaviour.

@zonca many apologies for the huge delay on this. I think #161 will fix this. Can I check you'd agree?

yes, @damonge, thanks, I confirm the PR fixes it on my system (Debian 10 x86_64)

Great, thanks a lot!


Unable to set ELPP_FEATURE_CRASH_LOG without modifying source code

Hello,
The recent split to a separate C++ file has some caveats. Specifically, when I try to set ELPP_FEATURE_CRASH_LOG macro in my headers above easylogging headers, it does not apply to the easylogging C++ files. As such, the linker is failing with:
main.cpp:53: undefined reference to el::base::debug::CrashHandler::CrashHandler(bool)'`
Which is caused by INITIALIZE_EASYLOGGINGPP.
Is there a new guidance or are we expected to modify the C++ to include our macro preferences there as well?

Defining it before include directive is never a good idea because you may miss some and not others. Now in this design uou should always be defining preprocessor directives in compile command, makefile or cmake (depending on what you use)
You dont have to modify source code. It's not expected.

Ok, makes sense. Will move my definitions to CMAKE files. Thanks!


How can I cite this work

Hi, may I know which paper does the code correspond to please?

+Carl Henrik
There’s a few papers depending on what you’re using. Carl’s thesis is also
an important reference, what are you doing with the code?
On Thu, 19 Apr 2018 at 14:37, tengerye<EMAIL_ADDRESS>wrote:

Hi, may I know which paper does the code correspond to please?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/SheffieldML/SGPLVM/issues/1, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAIKWrStAxvpfwMZLiz2j5AAO_I89imaks5tqJMfgaJpZM4Tbz4G
.

Hi,
Glad that you are finding the code useful, as Neil says there are a few
papers that came out of that code, below are what I would say are the
main papers, they all cover slightly different things. The last paper is
a journal version trying to summarise the work and also include the
models that came after the SGPLVM work.
Cheers,
Carl Henrik
Ek, C. H., Torr, P. H. S., & Lawrence, N. D., Gaussian process latent
variable models for human pose estimation, International conference on
Machine learning for multimodal interaction, (), 132–143 (2007).
Ek, C. H., Rihan, J., Torr, P. H. S., Rogez, G., & Lawrence, N. D.,
Ambiguity modeling in latent spaces, International conference on Machine
learning for multimodal interaction, (), 62–73 (2008).
Salzmann, M., Ek, C. H., Urtasun, R., & Darrell, T., Factorized
Orthogonal Latent Spaces, In , International Conference on Airtificial
Inteligence and Statistical Learning (pp. 701–708) (2010). : .
Ek, C. H., Shared Gaussian Process Latent Variable Models (Doctoral
dissertation) (2009). Oxford Brookes University, Oxford.
Damianou, A., Lawrence, N. D., & Ek, C. H., Multi-view learning as a
nonparametric nonlinear inter-battery factor analysis, arXiv preprint
arXiv:1604.04939, (), (2016).
Neil Lawrence writes:

+Carl Henrik
There’s a few papers depending on what you’re using. Carl’s thesis is also an
important reference, what are you doing with the code?
On Thu, 19 Apr 2018 at 14:37, tengerye<EMAIL_ADDRESS>wrote:
Hi, may I know which paper does the code correspond to please?

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or mute the thread.*

--
Cheers
Carl Henrik


Command failed: identify: fV can't get cache 0 @ error/fx.c/ExecuteRPN/3639

Hi all,
I'm getting the following error while changing the splash screen in Android.

Can you please help me with this?

hi @ASakkeer, I'm facing this issue too. have you solved this?

hi @ASakkeer, I'm facing this issue too. have you solved this?

Not yet @hdvinhhoang . I just hold this task. I'm too waiting for the solution. :(

I'm trying to use https://github.com/crazycodeboy/react-native-splash-screen for the splash screen @ASakkeer

I'm trying to use https://github.com/crazycodeboy/react-native-splash-screen for the splash screen @ASakkeer

Are you getting the same issue in this package too??

Command failed: identify: GetHslInt failure 0 0,0 @ error/fx.c/ExecuteRPN/3110.
identify: ExcuteRPN failed   @ error/fx.c/FxEvaluateChannelExpression/3956.
identify: ExcuteRPN failed   @ error/fx.c/FxEvaluateChannelExpression/3956.
identify: ExcuteRPN failed   @ error/fx.c/FxEvaluateChannelExpression/3956.
identify: ExcuteRPN failed   @ error/fx.c/FxEvaluateChannelExpression/3956.

looks like an imagemagick issue

Has anyone got a solution to this? :(

get cache 0 @ error/fx.c/ExecuteRPN

I updated "ImageMagick". but I'm still facing this issue. Did you fix it with this package update?

same problem


[ja] Update content/ja/docs/concepts/containers/container-lifecycle-hooks.md to the latest.

Fixed content/ja/docs/concepts/containers/container-lifecycle-hooks.md according to the English text, because it is outdated.
Fixes #35905

https://github.com/kubernetes/website/blob/453736593be0b6a16b4926d6d8d988685984e4ba/content/ja/docs/concepts/containers/container-lifecycle-hooks.md?plain=1#L61
これら２つの実行に -> これら2つの実行に

https://github.com/kubernetes/website/blob/453736593be0b6a16b4926d6d8d988685984e4ba/content/ja/docs/concepts/containers/container-lifecycle-hooks.md?plain=1#L107
Japanese page is existed in this link. The following is better.
/ja/docs/tasks/configure-pod-container/attach-handler-lifecycle-event/

@t-inu
Thank you for your review.
I updated for your 4 comments.
And I checked to jump to Japanese page on netlify preview too.
Could you please confirm my update.

/assign @inductor

/assign
/approve


added similar

Codecov Report

Merging #64 (7db9a6e) into main (0a658cd) will increase coverage by 0.05%.
The diff coverage is 89.23%.

@@            Coverage Diff             @@
##             main      #64      +/-   ##
==========================================
+ Coverage   88.56%   88.62%   +0.05%
==========================================
  Files          14       15       +1
  Lines        1347     1477     +130
==========================================
+ Hits         1193     1309     +116
- Misses        108      119      +11
- Partials       46       49       +3

Impacted Files
Coverage Δ

similar.go
89.06% <89.06%> (ø)

runtime.go
90.47% <100.00%> (+0.31%)
:arrow_up:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0a658cd...7db9a6e. Read the comment docs.


Access to Pretraining Dataset Data Tables

I've been trying to locate the data tables associated with this dataset but have not been able to find them.
Could you please provide guidance on where these data tables are available or point me to the appropriate repository or source where I can access them?

Hello,
You can find the flattened data tables in the labels of this dataset: https://huggingface.co/datasets/ahmed-masry/unichart-pretrain-data
You need to filter the queries and only keep the rows that contains this prefix "<extract_data_table> "
Let me know if you have any questions.

Okay, thank you so much for the prompt response.


Monkeys and Kobolds are too clumsy to grind

Description
When attempting to grind a kobold or monkey by clicking and dragging them into the biomass reclaimer, they instead bonk their heads and cannot be grinded.
Reproduction

Take a dead zombified monkey/kobold
clickdrag them into the biomass reclaimer
Watch as you smash their head into it
Monkey/kobold unground

Screenshots

Additional context
Not sure if this is only zombified monkeys and kobolds or also normal dead ones too.

Any mob with ClumsyComponent will fail to grind in biomass reclaimer. That's because of the changes with events for climbing in Clumsy system refactor made in #31147. Clumsy system uses SelfBeforeClimbEvent and after that cancels it, this leads to return in ClimbSystem in Climb method, so other events are just not being risen.
That also causes inability for a clumsy mob to be climbed on something by somebody (I also found out that in that way you can bonk a clumsy person to death 💀)

I knew I'd miss something with that... The old way it was doing was very suspect but I assumed they were probably doing it for a reason 😭

Transitive property of clumsy