Multiple errors on shutdown / startup

Debug log ID
N/A, since BBT wasn't loaded any longer
After a restart: X9SLMXCX-fio-24vflMf76l5q
What happened?
This issue is probably a follow-up to #2892.
Zotero just crashed during the update from 7.0.0 to 7.0.1. After I started it again, it first worked fine. As soon as I closed Zotero, I saw two errors
Better BibTeX shutdown failed
InvalidStateError: IDBDatabase.transaction: Can't start a transaction on a closed database

directly followed by:
Better BibTeX startup failed
Error: Better BibTeX is already started

In the development console, another error is shown (that I reported earlier as #2892 already):
Zotero.getMainWindow() is null [better-bibtex.js:8695](jar:file://~/Library/Application%20Support/Zotero/Profiles/protcja8.default/extensions/better-bibtex@iris-advies.com.xpi!/content/better-bibtex.js)

Development Console

Further, I saw two other warnings when looking into the logs:
addons.xpi-utils	WARN	Add-on<EMAIL_ADDRESS>is not compatible with application version.

Missing resource in locale de: better-bibtex.ftl

 Development Console as text

DEPRECATION WARNING: Calling FileUtils.getDir(..., ..., true) causes main thread I/O and should be avoided especially during startup/shutdown
You may find more details about this deprecation at: https://bugzilla.mozilla.org/show_bug.cgi?id=921157
resource://gre/modules/FileUtils.sys.mjs 62 FileUtils_getDir
resource://gre/modules/UpdateService.sys.mjs 1057 getUpdateDirCreate
resource://gre/modules/UpdateService.sys.mjs 1160 getReadyUpdateDir
resource://gre/modules/UpdateService.sys.mjs 1332 cleanUpReadyUpdateDir
resource://gre/modules/UpdateService.sys.mjs 1442 cleanupReadyUpdate
resource://gre/modules/UpdateService.sys.mjs 3116 AUS__postUpdateProcessing
resource://gre/modules/UpdateService.sys.mjs 2715 AUS_observe
resource://gre/modules/UpdateServiceStub.sys.mjs 109 UpdateServiceStub
[Deprecated.sys.mjs:79:13](resource://gre/modules/Deprecated.sys.mjs)
    warning resource://gre/modules/Deprecated.sys.mjs:79
    FileUtils_getDir resource://gre/modules/FileUtils.sys.mjs:62
    getUpdateDirCreate resource://gre/modules/UpdateService.sys.mjs:1057
    getReadyUpdateDir resource://gre/modules/UpdateService.sys.mjs:1160
    cleanUpReadyUpdateDir resource://gre/modules/UpdateService.sys.mjs:1332
    cleanupReadyUpdate resource://gre/modules/UpdateService.sys.mjs:1442
    AUS__postUpdateProcessing resource://gre/modules/UpdateService.sys.mjs:3116
    AUS_observe resource://gre/modules/UpdateService.sys.mjs:2715
    UpdateServiceStub resource://gre/modules/UpdateServiceStub.sys.mjs:109
Error: Addon must include an id, version, and type 2 [XPIProvider.jsm:1723:13](resource://gre/modules/addons/XPIProvider.jsm)
unreachable code after return statement
[util.js:205:4](resource://zotero/bluebird/util.js)
Missing resource in locale de: better-bibtex.ftl
Plugin<EMAIL_ADDRESS>is missing bootstrap method 'onMainWindowUnload'
Zotero.getMainWindow() is null [better-bibtex.js:8695](jar:file://~/Library/Application%20Support/Zotero/Profiles/protcja8.default/extensions/better-bibtex@iris-advies.com.xpi!/content/better-bibtex.js)
1723714458819	addons.xpi-utils	WARN	Add-on<EMAIL_ADDRESS>is not compatible with application version. 3
Missing resource in locale de: toolkit/global/commonDialog.ftl 2
InstallTrigger is deprecated and will be removed in the future. 4 [reader.js:20134:16](resource://zotero/reader/reader.js)
Missing resource in locale de: better-bibtex.ftl
DOMException: Could not get children of file(~/Library/Application Support/Zotero/Crash Reports/events) because it does not exist [CrashManager.sys.mjs:663:17](resource://gre/modules/CrashManager.sys.mjs)
    _getUnprocessedEventsFiles resource://gre/modules/CrashManager.sys.mjs:663
Missing resource in locale de: toolkit/about/aboutAddons.ftl
Missing resource in locale de: toolkit/about/abuseReports.ftl
Missing resource in locale de: browser/components/mozSupportLink.ftl 2
Missing resource in locale de: toolkit/global/extensions.ftl
This page is in Quirks Mode. Page layout may be impacted. For Standards Mode use “<!DOCTYPE html>”.

Zotero Debug output

1723714426727	addons.xpi	WARN	Checking /Applications/Zotero.app/Contents/Resources/distribution/extensions for addons

1723714426847	addons.xpi-utils	WARN	addMetadata: Add-on undefined is invalid: Error: Invalid addon ID: expected addon ID undefined, found undefined in manifest(resource://gre/modules/addons/XPIDatabase.jsm:3108:15) JS Stack trace: addMetadata@XPIDatabase.jsm:3108:15
processFileChanges@XPIDatabase.jsm:3569:26
checkForChanges@XPIProvider.jsm:3121:60
startup@XPIProvider.jsm:2532:12
callProvider@AddonManager.sys.mjs:228:31
_startProvider@AddonManager.sys.mjs:536:17
startup@AddonManager.sys.mjs:742:14
startup@AddonManager.sys.mjs:3666:26
observe@amManager.sys.mjs:73:29

[JavaScript Error: "Error: Addon must include an id, version, and type" {file: "resource://gre/modules/addons/XPIProvider.jsm" line: 1723}]

[JavaScript Error: "Error: Addon must include an id, version, and type" {file: "resource://gre/modules/addons/XPIProvider.jsm" line: 1723}]

[JavaScript Error: "Zotero.getMainWindow() is null" {file: "jar:file://~/Library/Application%20Support/Zotero/Profiles/protcja8.default/extensions/better-bibtex@iris-advies.com.xpi!/content/better-bibtex.js" line: 8695}]

1723714458819	addons.xpi-utils	WARN	Add-on<EMAIL_ADDRESS>is not compatible with application version.

1723714458819	addons.xpi-utils	WARN	Add-on<EMAIL_ADDRESS>is not compatible with application version.

1723714458819	addons.xpi-utils	WARN	Add-on<EMAIL_ADDRESS>is not compatible with application version.

appName => Zotero, version => 7.0.1 (ARM64), os => macOS 14.6.1, locale => de, extensions => Better BibTex for Zotero (6.7.221, extension)

Please let me know if you need further details or assistance with the localization for German. Thanks for the great plugin.

I just created a debug log, but would assume that it doesn't contain any useful details (since I had to restart BBT): X9SLMXCX-fio-24vflMf76l5q

I'm looking into it but my response times are slower than usual, the zotero 7 release is bringing in a spike of requests, and I'm currently away to a competition with limited to to get behind a computer. I'm doing my best to address the issues and will be back to normal response times on Tuesday. I don't know why zotero 7 release responds differently than the beta I was testing on.

I just tried installing the test build dropped above. However, the installation failed. In the console, I see the following error:
<EMAIL_ADDRESS>WARN	Loading extension<EMAIL_ADDRESS>Reading manifest: Warning processing version: version must be a version string consisting of at most 4 integers of at most 9 digits without leading zeros, and separated with dots
addons.xpi-utils	WARN	Add-on<EMAIL_ADDRESS>is not compatible with application version. 4

Yeah you can ignore that. I've reported it to the Zotero team -- for some reason 4-part version numbers trigger this warning, but the plugin otherwise runs as normal.

Are you sure it fails? Is it not just the message?

No, unfortunately I cannot install it. I tried multiple times. Upon installation the following error is shown (in German, but simply says:
Failed to install the extension
The extension “Better BibTex for Zotero” could not be installed. It may be incompatible with this version of Zotero.

Even after quitting Zotero, re-checking and trying again, the version has not changed:

Oh that's just fantastic. This behavior wasn't in the betas. I'll have to see what the zotero team says, I've notified them, but it looks like the 5 part version numbers that I've used for debug builds forever are now suddenly cause to reject installation.
I don't have access to my regular workstation, and internet access here is crap, so I'm a bit handicapped in what I can diagnose currently, sorry.

Thanks for investigating and checking back with the Zotero team. I am sorry to hear about all those differences between the previous beta builds and the release version of Zotero 7.
Please take your time abroad and don't worry about my issue; I'll be patient and will be happy to hear back whenever you have the necessary resources.

The next build to drop has one less number in the version. Let me know whether that works.

I am really sorry to say but the new build has the very same error as the previous one (Add-on<EMAIL_ADDRESS>is not compatible with application version.). Once again, I tried multiple times (just to be sure), but the version number shown in the plugins pane hasn't changed.

And https://github.com/retorquere/zotero-better-bibtex/releases/download/builds/zotero-better-bibtex-5.7.221.xpi ?

No, I can't install it either -- am I making something wrong?
Upon installation, I got the same (already known) error message. This time, however, the plugins pane also announces "Available Updates: 1". Clicking on this entry shows ... nothing.
Screenshots

Just for my understanding: Could it be that the strict_min_version specified in the manifest.json is not correct? In the most recent https://github.com/retorquere/zotero-better-bibtex/releases/download/builds/zotero-better-bibtex-5.7.221.xpi, I see the following:
  "applications": {
    "zotero": {
      "id"<EMAIL_ADDRESS>      "update_url": "https://github.com/retorquere/zotero-better-bibtex/releases/download/release/updates.json",
      "strict_min_version": "8.0",
      "strict_max_version": "7.0.*"
    }
  }

My Zotero version is 7.0.1, running on macOS 14.6.1. For completeness, I captured another debug log (while trying to install the custom build from this issue): 2FZGRI3K-euc/6.7.221-7.

The new build is still not working (same error) and the manifest still contains "strict_min_version": "8.0".

New build incoming. Sorry about all of this, I'm ssh-ing into a headless box over a connection that makes me think back fondly of stable 56k6 dialup. My test suite catches most problems but I can't test anything visually.

Thank you so much, I successfully installed the new version ... and immediately got the same error as originally reported (shutdown and startup failed). After trying a few times, I also got some debug logging when this error happened 🥳. Here's the log: 2FZGRI3J-euc/<IP_ADDRESS>48.6767-7.

A new build will drop soon, please install that, restart Zotero, and attempt to reproduce the problem.

I attempted reproducing the issue (which is not trivial, since I don't know yet when exactly the issue happens). I have two debug logs for you:

U459HRLZ-euc/<IP_ADDRESS>48.6779-7
U459HRMA-euc/<IP_ADDRESS>48.6779-7 (probably the one with the actual issue)

As soon as the issue happens, sending debug logs is much harder, since the corresponding pane isn't loading any longer. For the second log that's the case, so I would assume you'll find some traces there.
Screenshot of unsuccessful pane loading to submit debug logs

The first log already shows the problem I think. New build incoming, same procedure please.

Thanks! The issue reoccurred, and I've sent another debug log U459HRMB-euc/<IP_ADDRESS>82-7. The second last line shows one of the issues: InvalidStateError: IDBDatabase.transaction: Can't start a transaction on a closed database.

Unfortunately, the problem still persists, here is another debug log: U459HRMC-euc/<IP_ADDRESS>07-7.
I also made quite good progress in just closing the Zotero window on macOS without quitting it (Like in cmd + W rather than cmd + Q). Doing so (and waiting a bit before and after) allows me to reproduce the issue more or less reliable. Still no guarantee that the bug will be triggered, but pretty close already. And to check whether the bug occurred, it's the easiest to open the "Send BBT debug logs..." pane. If it is not loading any of the dynamic text, the bug occurred.

Please send a new log from 6857

Sure, here you go: U459HRMD-euc-<IP_ADDRESS>57-7

Is that verbatim from the error report screen?

It's the output from "Help" > "Debug Output Logging" > "Show Log". Since BBT crashes, I cannot use the integrated error reporting.
BBT Error Reporting

I still have the window open; let me know if you need more / other logs.

The thing is there's supposed to be a slash in the ID. You can double-click the ID to select it, then paste it. That's not an ID that BBT will generate.

It's the output from "Help" > "Debug Output Logging" > "Show Log". Since BBT crashes, I cannot use the integrated error reporting.

... then how did you get that into my debug log pipeline? Because I'm picking up the logs from my pipeline. I was wondering why the header was missing from the logs. Are you assembling these yourself and sending them to AWS?
A new build will drop in a few minutes that will keep the FIO log option always enabled. Please use that.

The thing is there's supposed to be a slash in the ID. You can double-click the ID to select it, then paste it. That's not an ID that BBT will generate.

Sorry, I fixed the ID.

... then how did you get that into my debug log pipeline? Because I'm picking up the logs from my pipeline. I was wondering why the header was missing from the logs. Are you assembling these yourself and sending them to AWS?

Yes.

A new build will drop in a few minutes that will keep the FIO log option always enabled. Please use that.

Will try.

... then how did you get that into my debug log pipeline? Because I'm picking up the logs from my pipeline. I was wondering why the header was missing from the logs. Are you assembling these yourself and sending them to AWS?

Yes.

Please don't.

Also U459HRMD-euc/<IP_ADDRESS>57-7 talks about starting up <IP_ADDRESS>82. These IDs contain meaningful information to me. Please don't hand-assemble them, it makes the information I get from them untrustworthy.

Then, something went seriously wrong. The log I sent contained (in line 5):

appName => Zotero, version => 7.0.1 (ARM64), os => macOS 14.6.1, locale => de, extensions => Better BibTex for Zotero (<IP_ADDRESS>57, extension)

I have the newest version installed:

Sorry for breaking your debug pipeline; that wasn't my intention.
I installed version 6859, but still cannot upload logs.

But doesn't the fio log uploader in the Help menu work?

appName => Zotero, version => 7.0.1 (ARM64), os => macOS 14.6.1, locale => de, extensions => Better BibTex for Zotero (<IP_ADDRESS>57, extension)

Right, but line 608 reads

Calling bootstrap method 'startup' for plugin<EMAIL_ADDRESS>version <IP_ADDRESS>82 with reason APP_STARTUP

so I don't know what's going right now. A new build is underway that will log the running version in the log messages.

But doesn't the fio log uploader in the Help menu work?

I was able to submit an error report to Zotero, but I assume you cannot access. The report ID is 216159850.
Further, I can send another log, generated with the ID D1662925960. You don't have access either, I guess.
Which other menu option are you referring to? Here's my "Help" pane:

So far, I tried using "Send BBT debug logs".

The fio log doesn't even seem to init then. Can you install https://github.com/retorquere/zotero-debug-log/releases/tag/v2.0.17? That will put the fio log in the help menu. I do indeed not have access to D<number> logs.

I am out of luck, sorry. I installed https://github.com/retorquere/zotero-debug-log/releases/tag/v2.0.17 and verified that I had two new options in the "Help" menu to send debug logs to file.io. This worked. Then, I quit Zotero completely (just to be sure), and restarted (a second time), this time with debugging enabled. Then; I reproduced the issue.
After having the erroneous state, I thought sending a debug log would be easy. However, the menu entry to send logs completely vanished. Before giving up, I went to the plugins pane, disabled the "Debug Log for Zotero" plugin (not BBT), and enabled it again (in a hope this would reinitialize the plugin, giving me the menu option again). Luckily, it re-added the menu, but just with a single option to send "Debug Logs" (the second entry to send BBT logs was still gone). Then, I went ahead and clicked that link option to send Debug Logs. Upon clicking, I got the following error:

I can repeat this process, but it seems like no log is being sent.
Do you have any idea what could be going so bad with my Zotero installation? I don't have any plugin installed except yours (BBT + debug log). I created a clean profile with Zotero 7 and "just" imported my existing library afterwards.

If BBT isn't present in the fio menu that's not a problem, the generic option has most of what I need for this. I'll be AFK for a few hours but will look into the secondary plug-in when I'm back. Sorry for this mess, and thanks for sticking this out.

Ah fortunately that popup is easy to fix.

2.0.19 of debug-log is up.

Do you have any idea what could be going so bad with my Zotero installation?

I don't yet. The cache is being used before it is opened, and it is being closed before shutdown, the rest appears to be knock-on damage from that. I'm trying to find out what part of the code does the use-before-open and the early-close.

I think 6877 will enable the regular debug log for you.

Thanks for the two new builds and your time. I installed them early this morning and observed the situation throughout the day. Today, it was quite tough to get the actual error, but I managed to get three reports I can share with you:

6CL8HS8B-fio-ocQVkMuWoRgX: Another startup-related error occurred:

4MYXZN4H-euc/<IP_ADDRESS>77-7: Intermediate report before exporting, everything here should be included in the next one, too. I already got the feeling something would be off.

4D7RYU74-euc/<IP_ADDRESS>77-7: BBT stopped working, exporting didn't work any longer, and we see a log entry related to a transaction started on a closed database.

Would it be OK for me to get a copy of your zotero folder? I really have no idea what I'm chasing here but if I can reproduce it locally it will give me a much better shot at finding what causes it.

Sure, I can look into exporting the library (just need to remove the syncing, I guess). However, I don't have very clear reproduction steps yet. Rather, it looks like some race condition is happening from time to time.
In a preparation to reproduce the issue again and sharing the library, I created a new Zotero profile as described in the Zotero docs:
/Applications/Zotero.app/Contents/MacOS/zotero -P

Even with this clean and shiny new profile not containing any library items (but just your two plugins), I (finally) managed to reproduce the issue and send a debug log: 57FRNVHJ-fio-xVUPSUeHdpfN.
The error message I've seen was, once again: UnknownError: The operation failed for reasons unrelated to the database itself and not covered by any other error code.
My best approach to trigger the issue currently is to open and close Zotero (with different timings having it open and in the foreground, move the window to the background, close it without quitting, waiting a varying amount of time, reopening it, etc.). To me, it seems like that the "Zotero is running but no window is open" state possible with macOS is causing one of the issues. When trying with Windows (couldn't test Linux), I did not get that state: Closing Zotero (ctrl+W) quit Zotero too, with no trace in Task Manager. On macOS, however, there is a difference between Closing (cmd+W) and quitting (cmd+Q), where closing keeps the program run in the background (shown in Activity Monitor and indicated in macOS Dock).

Sure, I can look into exporting the library (just need to remove the syncing, I guess).

Not an export, a real copy. Cmd-Q zotero, zip up ~/Zotero. Sync info, settings and whatnot is not included in that, that is in your profile. I don't (think I) need that.

Even with this clean and shiny new profile not containing any library items (but just your two plugins), I (finally) managed to reproduce the issue and send a debug log: 57FRNVHJ-fio-xVUPSUeHdpfN.

wait what?!

That's not the same error though, nothing about the cache or sqlite database connections. I'll try to get the mainwindowload issue sorted, I thought that was separate, but maybe it has an influence.

Thanks for the new build. I tested that again using the empty profile (called Zotero BBT-BugReport-2948) and reproduced the cache-related issue. The log is uploaded with 35LDZSI3-fio-K6tjARZJnb7C.
Furthermore, I zipped my personal Zotero folder and the empty one, encrypted that archive with your GPG key D4A1A6BE8F8B32B1E0B7B988EC2B9137E228EB86, and uploaded it to our Nextcloud: https://nextcloud.hpi.de/s/NzkcPJMFCPsxCiq, Password zCsrznYjgd
I hope you find it useful, thanks again!

how do I unpack this zip?

I don't know what "your GPG key with fingerprint D4A1A6BE8F8B32B1E0B7B988EC2B9137E228EB86 being available" means. I am shamefully ignorant of encryption tools. I have received the other.

Here is a debug log with the empty profile and the newest plugin version: EDWEXBSI-fio-Vcc4IcFusPdw

This is super roundabout, but can you:

Go into Tools -> Developer -> Translator editor
Choose a directory (best if you create and select a new one)
go to the "Browser" tab
Paste in this URL: https://firefox-storage-test.glitch.me/

and tell me what the resulting page says

Have you copied your profile to another place at some point? There is the strangest error in the log which a google search seems to indicate is related to a metadata file pointing to the old location of the profile.

No. The profile that is located at ~/Library/Application Support/Zotero/Profiles/protcja8.default has been created by Zotero 7.0.0 (release version) on August 10, 2024 at 3:06 pm CEST. It has never been moved from that directory.
For the data directory at ~/Zotero, the case is different: I am using this data directly since years (since February 2019, to be specific) and have used it on other systems, too (before switching to my current machine). There, it has been located at the same place (macOS; same username and same path to the home directory).

Can you tell me what the resulting page says

For both profiles (my regular one and the empty one) it seems to pass, I'd say.
Test Results

Regular Profile:

Debug Info as Text

Overview:
Storage is working. This is your first visit or all storage was automatically cleared.
Specific Subsystem Statuses:

LocalStorage
    Good: Totally Working. (fullyOperational)
QuotaManager
    Good: Totally Working. (fullyOperational)
IndexedDB
    Good: Totally Working. (fullyOperational)
Cache API
    Good: Totally Working. (fullyOperational)

Debug Info:

{
  "v": 1,
  "curVersion": 115,
  "prevVersion": 0,
  "ls": {},
  "qm": {
    "lastWorkedIn": 115
  },
  "idb": {
    "persistentCreatedIn": 115,
    "persistentLastOpenedIn": 115,
    "clearDetectedIn": 0
  },
  "cache": {
    "firstCacheCreatedIn": 115,
    "unpaddedOpaqueCreatedIn": 0,
    "paddedOpaqueCreatedIn": 115
  }
}

Empty Profile:

Debug Info as Text

Overview:
Storage is working. This is your first visit or all storage was automatically cleared.
Specific Subsystem Statuses:

LocalStorage
    Good: Totally Working. (fullyOperational)
QuotaManager
    Good: Totally Working. (fullyOperational)
IndexedDB
    Good: Totally Working. (fullyOperational)
Cache API
    Good: Totally Working. (fullyOperational)

Debug Info:

{
  "v": 1,
  "curVersion": 115,
  "prevVersion": 0,
  "ls": {},
  "qm": {
    "lastWorkedIn": 115
  },
  "idb": {
    "persistentCreatedIn": 115,
    "persistentLastOpenedIn": 115,
    "clearDetectedIn": 0
  },
  "cache": {
    "firstCacheCreatedIn": 115,
    "unpaddedOpaqueCreatedIn": 0,
    "paddedOpaqueCreatedIn": 115
  }
}

For the data directory at ~/Zotero, the case is different

This isn't the problem it turns out. It's having trouble initializing the IndexedDB cache, that's separate from the storage directory. The error of interest is

UnknownError: The operation failed for reasons unrelated to the database itself and not covered by any other error code

but if you have started Zotero with a new profile, all the relevant files would have been recreated, so it can't really be that these are corrupted (which is what what little info I could find on this seems to indicate as the cause of this error).
The empty profile doesn't have any sync info or other privacy-related info? If so, I'd love to have a copy. I need to be able to replicate this locally.

The empty profile doesn't have any sync info or other privacy-related info? If so, I'd love to have a copy. I need to be able to replicate this locally.

Sure, I just shared a copy with you. The archive contains two directories:

Data Directory: The folder present is stored in my home directory located at ~.
Profile: The folder present is stored at ~/Library/Application Support. I zipped everything except my default profile at ~/Library/Application Support/Profiles/protcja8.default

Can you get me a new log from the empty profile?

Here's another log with the empty profile: VFJBJ9SZ-euc/<IP_ADDRESS>45-7. This time, the native BBT error reporting still worked and I didn't had to use the file.io alternative.
I still don't have clear reproduction steps but rather click around, close and re-open Zotero, ...

New build incoming, same with the empty profile again please, but what error are you experiencing in VFJBJ9SZ-euc/<IP_ADDRESS>45-7? As far as I can tell the cache was opened normally, the only problem I can see is that the error report can't fetch the cache.

Here's a new log: WYHCNWPD-euc/<IP_ADDRESS>51-7 without any item in the library.

New build incoming, same with the empty profile again please, but what error are you experiencing in VFJBJ9SZ-euc/<IP_ADDRESS>45-7? As far as I can tell the cache was opened normally, the only problem I can see is that the error report can't fetch the cache.

With the empty library, it is difficult to perform an export. Hence, I am relying on the debug output to identify errors as an indication:

For testing (and after sending WYHCNWPD-euc/<IP_ADDRESS>51-7), I've added one of my last publications to the empty profile through the "magic wand" by copying 10.1145/3657604.3662037. Then, I performed a right click and chose to export the item, which failed with a hang:

This issue, like a hang in exporting items, is one of the consequences when BBT has "crashed". Here is a second debug log of that state with additional errors: 9RCUKS37-euc/<IP_ADDRESS>51-7. Regardless of how long I'll wait, I won't get the export and can only force quit Zotero.

I got new logs, both with new error messages:

2INLQ5MD-euc/<IP_ADDRESS>74-7: The first error occurred during startup:

9YQEKAK9-euc/<IP_ADDRESS>74-7: After the first error occurred, I tried exporting the only item available: Error: An error has occurred while trying to export the selected file.

Despite the new message, the situation improved: Zotero didn't show a full overlay and I could still quit normally.

Here's the next log: 66C9VVQT-euc/<IP_ADDRESS>77-7. Error message seen was TypeError: this.db is null.

Ignore 6979 -- new build incoming.

Here's the new log with build 6980: Q25CVGLZ-euc/<IP_ADDRESS>80-7.

I got another TypeError: this.db is null: V9JXRDC3-euc/<IP_ADDRESS>82-7.
Since you've integrated the glitch test (and it seems damaged), I repeated the test with the Translator Editor:
Test Result

Then, I've quit Zotero completely and tried a second time. This time, I didn't get any error message, but exporting didn't work either: YYDPDBY6-euc/<IP_ADDRESS>82-7. Regarding the manual glitch test, I got the exact same result.
Do you think this is still BBT-related or rather a (general) Zotero bug I am observing? Or is it related to some initialization / termination order (since I am mostly experiencing these issues on opening / closing Zotero) and the manual glitch test seem to be fine?
Once again: Thank you for all the time and effort you put into this issue -- I really appreciate it! 💐

I have an idea where this may be coming from. It may just involve replacing a library I use.

I have an idea where this may be coming from. It may just involve replacing a library I use.

Or a total rewrite of it. Build incoming.

If this solves the problem I really want to roll it out in a new release.

Awesome, thank you! We are getting close, the new plugin version seems much more robust! 💪
While testing, I experienced one remaining issue during startup: TypeError: window is null, logged in: B5IG4VNI-euc/<IP_ADDRESS>93-7. However -- and that's great news -- exporting an item still worked correctly afterwards 🥳
When playing around with the plugin version, I also captured other errors in the error console (without any visible error alert popping up): AAIIJEXH-euc/<IP_ADDRESS>93-7. In this case, similarly, exporting still worked 🥳
With this experience, I would attest your recent changes a positive impact, mostly addressing the issue.

window is null will be addressed as part of #2965; for the Transaction is already committing I have a build incoming. Looks like I have a new library to my name -- none of the existing indexedDB libraries seem to address this. Not that I could blame them, necessarily, the people who specced indexedDB have made some really strange choices.
No idea why your system so consistently triggered these problems but very happy to have them addressed.

Sorry, I had overlooked the latest built 'there' and just reinstalled the latest built from the general repository.
It works as expected now. Thank you so much for your help and patience with my rookie mistakes.

Thanks for pointing out the issues with IndexedDB; I haven't used them myself yet, but it really sounds painful. I am glad you took the challenge to implement the necessary changes there, making BBT more robust and fault-tolerant.
I think that this new version is fine, and I haven't found a remaining issues with the transaction handling (just window is null, being handled in the other issue). Just to be sure, here's another debug log: It still contains some errors, but I would assume those are rather Zotero related? 2HQVQ4BB-euc/<IP_ADDRESS>96-7

Well that is annoying. The indexedDB issue still exists for the cache dump. That's not critical but it is very useful to have it for debug logs. I'll look into that later.
I use indexedDB because I need to share data between Zotero and the background thread I use for exports, and there are only a few mechanisms that allow that without also using a lot of memory. IndexedDB, as broken as it is, is the best option.
The other issues are general Zotero issues, yes.

Thanks for looking into the remaining minor issue. Here is another debug log (potentially still showing an issue, I assume?): 4Z9P8T3S-euc/<IP_ADDRESS>00-7

It wasn't a minor issue it turns out.

Glad to test the next version, too. Here are two debug logs:

MKDTUZMM-euc/<IP_ADDRESS>03-7 (I left Zotero open during night)
8MH2WMW3-euc/<IP_ADDRESS>03-7 (I aimed reproducing the bug today; the log might contain less BBT-unrelated issues)

you know the drill.

Sure, here's the next log: PANN75V6-euc/<IP_ADDRESS>16-7.

... and here you are again: SLFC35EQ-euc/<IP_ADDRESS>31-7

Here's another log file: G75JJLB8-euc/<IP_ADDRESS>34-7. I tried reproducing the issue multiple times, so that the log is pretty long. I made one observation, which I correlate to the cache dump occurrence: Before the issue occurred, I chose to display the cite key in the main list of publications. This column stayed there for multiple close and reopen cycles. However, as soon as the cache dump issue occurs, this column is just removed from the main list. I can then re-add it without problems and it is showing the expected cite key.
I was just wondering whether this is something you can relate to. I don't necessary want to say that one issue is causing the other, but I wanted to say that both seem to occur at the same time.
The log further shows an loadUI error I have never seen before (might be BBT-related), but this occurred way before the cite key column got removed and the cache dump failed.

Here's another log file: G75JJLB8-euc/<IP_ADDRESS>34-7. I tried reproducing the issue multiple times, so that the log is pretty long. I made one observation, which I correlate to the cache dump occurrence: Before the issue occurred, I chose to display the cite key in the main list of publications. This column stayed there for multiple close and reopen cycles. However, as soon as the cache dump issue occurs, this column is just removed from the main list. I can then re-add it without problems and it is showing the expected cite key.

I think the new build solves the cache dump issue.

I was just wondering whether this is something you can relate to. I don't necessary want to say that one issue is causing the other, but I wanted to say that both seem to occur at the same time.

I don't really see how these could be related, but I am not ruling it out.

The log further shows an loadUI error I have never seen before (might be BBT-related), but this occurred way before the cite key column got removed and the cache dump failed.

That's something I'm going to fix in #2965

I think the new build solves the cache dump issue.

I hope so, too, and didn't notice any remaining issues with that.

I don't really see how these could be related, but I am not ruling it out.

On the new tests I performed for build 7034, I observed that the column got removed a few times again, but without any cache dump issue.

That's something I'm going to fix in https://github.com/retorquere/zotero-better-bibtex/issues/2965

:+1:

Just to be sure that all startup issues are resolved, here are two debug logs for a final (🤞) check:

3EAL48JG-euc/<IP_ADDRESS>36-7: While starting Zotero, I saw an error Es gab einen Fehler beim Start von $S. (literally There was an error starting $S.). However, I am unsure whether that's BBT-related.
BJYIFXMD-euc/<IP_ADDRESS>36-7: I recognized the well-known error typeError: window is null (handled as part of #2965), but you can double-check for any cache dump related issue.

awesome. I'm rolling this out to release ahead of #2865 -- this already solves a real problem.

Awesome, thank you once again for all the time you spent in debugging and fixing the issue! 👏

And you for sticking this one out. It must have cost you a lot of time too.


linuxserver/qbittorrent/

IMAGE SYNC

对对，就是你反馈的这个。docker.io/linuxserver/qbittorrent:latest
On Sat, Aug 17, 2024 at 1:32 PM github-actions[bot] <
@.***> wrote:

Closed #25541
https://github.com/DaoCloud/public-image-mirror/issues/25541 as not
planned.
—
Reply to this email directly, view it on GitHub
https://github.com/DaoCloud/public-image-mirror/issues/25541#event-13918696702,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ABIZWQ7MVPFJ5ZILJEEQQELZR3N5TAVCNFSM6AAAAABMVDUQNOVHI2DSMVQWIX3LMV45UABCJFZXG5LFIV3GK3TUJZXXI2LGNFRWC5DJN5XDWMJTHEYTQNRZGY3TAMQ
.
You are receiving this because you were mentioned.Message ID:
@.***
com>

--
顾强
微信号:guqiang_sh
微信公众号:guqiang_think


[GitClone] Can get help?

Sorry, I dont know where I can type it, but I need help, I cant clone NodeOS Reposity, I getting error(Its attached as file). I am tried to google it, and I dont found solution, and when I tried to clone other reposities, that works well, without, I Dont know why, Can I get help? Thanks

You are clonning using git protocol instead of http, this requires you add a SSH private key on your Github account, so Github can be able to identify your computer.

How can I do that?

https://github.com/settings/keys

Please close this, it's not related to NodeOS itself, it has more to do with supporting people to use Github itself.


Add 404 Error Page

Attention
This PR updates vue and vue-router to new beta releases.
About this PR
Add a simple 404 error page which is displayed when the user navigates to a URL which is unassociated with any resource.

@tobias-wiese This is something we should discuss. There are a few options where we could use this 404 page:

a) a user enters an arbitrary, invalid url into his browser
b) we could reuse it, if we try to access e.g. a users page with a link on our ui, but in the meantime, the user was deleted.

If we only use it for a), I would not expect the website to return me to the last page, as I explicitly left the default flow of the website.
If we choose to use it with b), I would expect a little more specific information "Oops, the user you were trying to view has been moved or deleted, please reload the page and try again. If the error persists, please talk to your network administrator" or something like that.

@bastihav +1


Display dependent tests are flakey

Subject of the issue
As of the merging of #2405 the Linux jobs sometimes fail with the message "Failed to open X11 Display".
https://github.com/SFML/SFML/actions/runs/4161050116/jobs/7198613947#step:9:280
We're not alone in this. I found one other project experiencing a similar with no known fix.
https://github.com/maplibre/maplibre-gl-native/issues/720
My only tentative idea is to go back to disabling these tests on Linux to avoid the flakiness while letting macOS and Windows keep running them. Or maybe we allow these build jobs to get re-ran once if they fail.

Fixed by #2412

Ah, I thought you may want to keep this open, until we've actually found a fix for the flakiness of Xvfb, then again, we don't even know if there is a "fix".

Ah, I thought you may want to keep this open, until we've actually found a fix for the flakiness of Xvfb, then again, we don't even know if there is a "fix".

I think you're right. I want to keep this issue open for the xvfb-run problems. I'm holding out hope that a fix will appear one day.

@ChrisThrasher Wonder what the fix was.

@ChrisThrasher Wonder what the fix was.

https://github.com/SFML/SFML/issues/2408#issuecomment-1435906897


Remove all use of reflection

It takes a few steps to get there:

We get rid of ExtNodeConfig; see detailed commit message as to why.
We then pass the NodeConfig to SignedHeader, and then use that to remove the last use of reflection in the Byron instantiation
Finally, we remove all unnecessary gives.

bors r+

bors r+


Error: Dispatcher stream error, tuner may have crashed.

Describe the issue:
When I run in pycharm, it crashes all the time immediately. We do not know why.

Log is

[2022-04-24 19:49:06] Creating experiment, Experiment ID: mfk49db5
[2022-04-24 19:49:06] Starting web server...
[2022-04-24 19:49:06] (urllib3.connectionpool) Starting new HTTP connection (1): localhost:8080
[2022-04-24 19:49:07] (urllib3.connectionpool) Starting new HTTP connection (1): localhost:8080
[2022-04-24 19:49:07] (urllib3.connectionpool) http://localhost:8080 "GET /api/v1/nni/check-status HTTP/1.1" 200 36
[2022-04-24 19:49:07] Setting up...
[2022-04-24 19:49:07] (urllib3.connectionpool) Starting new HTTP connection (1): localhost:8080
[2022-04-24 19:49:08] (urllib3.connectionpool) http://localhost:8080 "POST /api/v1/nni/experiment HTTP/1.1" 200 28

/usr/bin/python3: No module named nni
Error: Dispatcher stream error, tuner may have crashed.
    at EventEmitter.<anonymous> (/home/fengjiao_gong/anaconda3/envs/pytorch190_new/lib/python3.9/site-packages/nni_node/core/nnimanager.js:651:32)
    at EventEmitter.emit (node:events:390:28)
    at Socket.<anonymous> (/home/fengjiao_gong/anaconda3/envs/pytorch190_new/lib/python3.9/site-packages/nni_node/core/ipcInterface.js:70:72)
    at Socket.emit (node:events:390:28)
    at emitErrorNT (node:internal/streams/destroy:157:8)
    at emitErrorCloseNT (node:internal/streams/destroy:122:3)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)

Our config is as follows:

search_space = {"iters": {"_type": "choice", "_value": [4, 6, 8, 10, 12, 14]},
                "lr": {"_type": "loguniform", "_value": [1e-6, 2e-4]},
                "gamma": {"_type": "quniform", "_value": [800, 1400, 50]}}

experiment = Experiment('local')
experiment.config.experiment_name = "ot_orl"
experiment.config.trial_command = 'python main.py --loss_fn L2 --epochs 300 --alpha 0 --data orl'

experiment.config.trial_code_directory = '..'
experiment.config.experiment_working_directory = '../log'
experiment.config.search_space = search_space

experiment.config.tuner.name = 'TPE'
experiment.config.tuner.class_args['optimize_mode'] = 'maximize'

experiment.config.max_trial_number = 300
experiment.config.trial_concurrency = 1

experiment.run(8080,debug=True)

Environment:
NNI version: 2.7
NNI mode (local|remote|pai): local
Client OS: Ubuntu 18.04
Server OS (for remote mode only):
Python version: 3.9
PyTorch/TensorFlow version: Pytorch 1.9
Is conda/virtualenv/venv used?: Anaconda
Is running in Docker?: No
Log message:
nnimanager.log:
[2022-04-24 19:37:33] INFO (nni.experiment/MainThread) Creating experiment, Experiment ID: ^[[36mzailfnmp^[[0m
[2022-04-24 19:37:33] INFO (nni.experiment/MainThread) Starting web server...
[2022-04-24 19:37:33] DEBUG (urllib3.connectionpool/MainThread) Starting new HTTP connection (1): localhost:8080
[2022-04-24 19:37:34] DEBUG (urllib3.connectionpool/MainThread) Starting new HTTP connection (1): localhost:8080
[2022-04-24 19:37:34] DEBUG (urllib3.connectionpool/MainThread) http://localhost:8080 "GET /api/v1/nni/check-status HTTP/1.1" 200 36
[2022-04-24 19:37:34] INFO (nni.experiment/MainThread) Setting up...
[2022-04-24 19:37:34] DEBUG (urllib3.connectionpool/MainThread) Starting new HTTP connection (1): localhost:8080
[2022-04-24 19:37:34] DEBUG (urllib3.connectionpool/MainThread) http://localhost:8080 "POST /api/v1/nni/experiment HTTP/1.1" 200 28
[2022-04-24 19:37:34] INFO (nni.experiment/MainThread) Web portal URLs: ^[[36mhttp://<IP_ADDRESS>:8080 http://<IP_ADDRESS>:8080^[[0m
[2022-04-24 19:37:44] DEBUG (urllib3.connectionpool/MainThread) Starting new HTTP connection (1): localhost:8080
[2022-04-24 19:37:44] DEBUG (urllib3.connectionpool/MainThread) http://localhost:8080 "GET /api/v1/nni/check-status HTTP/1.1" 200 80
[2022-04-24 19:37:44] INFO (nni.experiment/MainThread) Stopping experiment, please wait...

dispatcher.log:
2022-04-24 19:37:33] DEBUG (main) start() returned.
[2022-04-24 19:37:34] DEBUG (NNIRestHandler) GET: /check-status: body: {}
[2022-04-24 19:37:34] DEBUG (NNIRestHandler) POST: /experiment: body: {
  experimentName: 'ot_orl',
  searchSpace: {
    iters: { _type: 'choice', _value: [Array] },
    lr: { _type: 'loguniform', _value: [Array] },
    gamma: { _type: 'quniform', _value: [Array] }
  },
  trialCommand: 'python main.py --loss_fn L2 --epochs 300 --alpha 0 --data orl',
  trialCodeDirectory: '/home/fengjiao_gong/code/mvc',
  trialConcurrency: 1,
  maxTrialNumber: 300,
  useAnnotation: false,
  debug: false,
  logLevel: 'info',
  experimentWorkingDirectory: '/home/fengjiao_gong/code/mvc/log',
  tuner: { name: 'TPE', classArgs: { optimize_mode: 'maximize' } },
  trainingService: {
    platform: 'local',
    trialCommand: 'python main.py --loss_fn L2 --epochs 300 --alpha 0 --data orl',
    trialCodeDirectory: '/home/fengjiao_gong/code/mvc',
    debug: false,
    maxTrialNumberPerGpu: 1,
    reuseMode: false
  }
}
[2022-04-24 19:37:34] INFO (NNIManager) Starting experiment: zailfnmp
[2022-04-24 19:37:34] INFO (NNIManager) Setup training service...
[2022-04-24 19:37:34] INFO (LocalTrainingService) Construct local machine training service.
[2022-04-24 19:37:34] INFO (NNIManager) Setup tuner...
[2022-04-24 19:37:34] DEBUG (NNIManager) dispatcher command: python3 -m nni --exp_params eyJleHBlcmltZW50TmFtZSI6Im90X29ybCIsInRyaWFsQ29tbWFuZCI6InB5dGhvbiBtYWluLnB5IC0tbG9zc19mbiBMMiAtLWVwb2NocyAzMDAgLS1hbHBoYSAwIC0tZGF0YSBvcmwiLCJ0cmlhbENvZGVEaXJlY3RvcnkiOiIvaG9tZS9mZW5namlhb19nb25nL2NvZGUvbXZjIiwidHJpYWxDb25jdXJyZW5jeSI6MSwibWF4VHJpYWxOdW1iZXIiOjMwMCwidXNlQW5ub3RhdGlvbiI6ZmFsc2UsImRlYnVnIjpmYWxzZSwibG9nTGV2ZWwiOiJpbmZvIiwiZXhwZXJpbWVudFdvcmtpbmdEaXJlY3RvcnkiOiIvaG9tZS9mZW5namlhb19nb25nL2NvZGUvbXZjL2xvZyIsInR1bmVyIjp7Im5hbWUiOiJUUEUiLCJjbGFzc0FyZ3MiOnsib3B0aW1pemVfbW9kZSI6Im1heGltaXplIn19LCJ0cmFpbmluZ1NlcnZpY2UiOnsicGxhdGZvcm0iOiJsb2NhbCIsInRyaWFsQ29tbWFuZCI6InB5dGhvbiBtYWluLnB5IC0tbG9zc19mbiBMMiAtLWVwb2NocyAzMDAgLS1hbHBoYSAwIC0tZGF0YSBvcmwiLCJ0cmlhbENvZGVEaXJlY3RvcnkiOiIvaG9tZS9mZW5namlhb19nb25nL2NvZGUvbXZjIiwiZGVidWciOmZhbHNlLCJtYXhUcmlhbE51bWJlclBlckdwdSI6MSwicmV1c2VNb2RlIjpmYWxzZX19
[2022-04-24 19:37:34] INFO (NNIManager) Change NNIManager status from: INITIALIZED to: RUNNING
[2022-04-24 19:37:34] INFO (NNIManager) Add event listeners
[2022-04-24 19:37:34] DEBUG (NNIManager) Send tuner command: INITIALIZE: [object Object]
[2022-04-24 19:37:34] DEBUG (IpcInterface) ipcInterface command type: [IN], content:[{"iters":{"_type":"choice","_value":[4,6,8,10,12,14]},"lr":{"_type":"loguniform","_value":[0.000001,0.0002]},"gamma":{"_type":"quniform","_value":[800,1400,50]}}]
[2022-04-24 19:37:34] DEBUG (IpcInterface) ipcInterface command type: [PI], content:[]
[2022-04-24 19:37:34] INFO (LocalTrainingService) Run local machine training service.
[2022-04-24 19:37:34] ERROR (NNIManager) Dispatcher error: read ECONNRESET
[2022-04-24 19:37:34] ERROR (NNIManager) Error: Dispatcher stream error, tuner may have crashed.
    at EventEmitter.<anonymous> (/home/fengjiao_gong/anaconda3/envs/pytorch190_new/lib/python3.9/site-packages/nni_node/core/nnimanager.js:651:32)
    at EventEmitter.emit (node:events:390:28)
    at Socket.<anonymous> (/home/fengjiao_gong/anaconda3/envs/pytorch190_new/lib/python3.9/site-packages/nni_node/core/ipcInterface.js:70:72)
    at Socket.emit (node:events:390:28)
    at emitErrorNT (node:internal/streams/destroy:157:8)
    at emitErrorCloseNT (node:internal/streams/destroy:122:3)
    at processTicksAndRejections (node:internal/process/task_queues:83:21)
[2022-04-24 19:37:34] INFO (NNIManager) Change NNIManager status from: RUNNING to: ERROR
[2022-04-24 19:37:44] DEBUG (NNIRestHandler) GET: /check-status: body: {}
[2022-04-24 19:37:44] DEBUG (NNIRestHandler) DELETE: /experiment: body: {}
[2022-04-24 19:37:44] INFO (NNIManager) Change NNIManager status from: ERROR to: STOPPING
[2022-04-24 19:37:44] INFO (NNIManager) Stopping experiment, cleaning up ...
[2022-04-24 19:37:44] DEBUG (IpcInterface) ipcInterface command type: [TE], content:[]
[2022-04-24 19:37:44] WARNING (IpcInterface) Commands jammed in buffer!
[2022-04-24 19:37:44] INFO (LocalTrainingService) Stopping local machine training service...
[2022-04-24 19:37:44] INFO (NNIManager) Change NNIManager status from: STOPPING to: STOPPED
[2022-04-24 19:37:44] INFO (NNIManager) Experiment stopped.
[2022-04-24 19:37:44] DEBUG (NNIExperimentsManager) Stopping experiment manager.
[2022-04-24 19:37:44] DEBUG (NNIExperimentsManager) Experiment manager: all clean up
[2022-04-24 19:37:44] DEBUG (NNIExperimentsManager) Experiment manager stopped.
[2022-04-24 19:37:44] INFO (NNITensorboardManager) Forced stopping all tensorboard task.
[2022-04-24 19:37:44] INFO (NNITensorboardManager) All tensorboard task stopped.
[2022-04-24 19:37:44] INFO (NNITensorboardManager) Tensorboard manager stopped.
[2022-04-24 19:37:44] ERROR (NNIManager) TypeError: Cannot read properties of undefined (reading 'startsWith')
    at new RestServer (/home/fengjiao_gong/anaconda3/envs/pytorch190_new/lib/python3.9/site-packages/nni_node/rest_server/index.js:50:37)
    at Object.get (/home/fengjiao_gong/anaconda3/envs/pytorch190_new/lib/python3.9/site-packages/nni_node/node_modules/typescript-ioc/es5.js:202:108)
    at SingletonScope.resolve (/home/fengjiao_gong/anaconda3/envs/pytorch190_new/lib/python3.9/site-packages/nni_node/node_modules/typescript-ioc/es5.js:290:33)
    at ConfigImpl.getInstance (/home/fengjiao_gong/anaconda3/envs/pytorch190_new/lib/python3.9/site-packages/nni_node/node_modules/typescript-ioc/es5.js:252:30)
    at Function.IoCContainer.get (/home/fengjiao_gong/anaconda3/envs/pytorch190_new/lib/python3.9/site-packages/nni_node/node_modules/typescript-ioc/es5.js:147:23)
    at Function.Container.get (/home/fengjiao_gong/anaconda3/envs/pytorch190_new/lib/python3.9/site-packages/nni_node/node_modules/typescript-ioc/es5.js:93:29)
    at Object.get (/home/fengjiao_gong/anaconda3/envs/pytorch190_new/lib/python3.9/site-packages/nni_node/common/component.js:33:26)

How to reproduce it?:
Everytime I press run button in Pycharm
So how I should solve this issue?

The error is here:
/usr/bin/python3: No module named nni

Seems your python and python3 link to different environments, and NNI incorrectly used python3 to launch the tuner.
Can you link python3 to python in your environment?

I do not know how? Do you have the config option? I have not found it. At the same time, another machine that has this error message works just fine. So I kind of ignore this error at first time. Thank you for helping.
---- 回复的原邮件 ----
| 发件人 | @.> |
| 日期 | 2022年04月25日 00:31 |
| 收件人 | @.> |
| 抄送至 |<EMAIL_ADDRESS>|
| 主题 | Re: [microsoft/nni] Error: Dispatcher stream error, tuner may have crashed. (Issue #4799) |
The error is here:
/usr/bin/python3: No module named nni
Seems your python and python3 link to different environments, and NNI incorrectly used python3 to launch the tuner.
Can you link python3 to python in your environment?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you authored the thread.Message ID: @.***>

The error is here:
/usr/bin/python3: No module named nni

Seems your python and python3 point to different environments, and NNI incorrectly used python3 to launch the tuner. Can you link python3 to python in your environment?

I have done the link in my environment, but still it crashed as before. Messages below:
rror: Dispatcher stream error, tuner may have crashed.
at EventEmitter. (/home/fengjiao_gong/anaconda3/envs/pytorch190_new/lib/python3.9/site-packages/nni_node/core/nnimanager.js:651:32)
at EventEmitter.emit (node:events:390:28)
at Socket. (/home/fengjiao_gong/anaconda3/envs/pytorch190_new/lib/python3.9/site-packages/nni_node/core/ipcInterface.js:70:72)
at Socket.emit (node:events:390:28)
at emitErrorNT (node:internal/streams/destroy:157:8)
at emitErrorCloseNT (node:internal/streams/destroy:122:3)
at processTicksAndRejections (node:internal/process/task_queues:83:21)
[2022-04-25 09:59:06] (urllib3.connectionpool) Starting new HTTP connection (1): localhost:8080
[2022-04-25 09:59:06] (urllib3.connectionpool) http://localhost:8080 "GET /api/v1/nni/check-status HTTP/1.1" 200 80
[2022-04-25 09:59:06] Stopping experiment, please wait...
[2022-04-25 09:59:06] (urllib3.connectionpool) Starting new HTTP connection (1): localhost:8080
[2022-04-25 09:59:06] (urllib3.connectionpool) http://localhost:8080 "DELETE /api/v1/nni/experiment HTTP/1.1" 200 0
[2022-04-25 09:59:06] Experiment stopped

The error is here:
/usr/bin/python3: No module named nni

Seems your python and python3 point to different environments, and NNI incorrectly used python3 to launch the tuner. Can you link python3 to python in your environment?

I have changed the link to python3 on the Linux server(since I use the python interpreter on the server), but nni still uses the old python and I do not know how to change the python version that nni actually uses.
Here is the latest log just as before:
/usr/bin/python3: No module named nni Error: Dispatcher stream error, tuner may have crashed.     at EventEmitter.<anonymous> (/home/fengjiao_gong/anaconda3/envs/pytorch190_new/lib/python3.9/site-packages/nni_node/core/nnimanager.js:651:32)     at EventEmitter.emit (node:events:390:28)     at Socket.<anonymous> (/home/fengjiao_gong/anaconda3/envs/pytorch190_new/lib/python3.9/site-packages/nni_node/core/ipcInterface.js:70:72)     at Socket.emit (node:events:390:28)     at emitErrorNT (node:internal/streams/destroy:157:8)     at emitErrorCloseNT (node:internal/streams/destroy:122:3)     at processTicksAndRejections (node:internal/process/task_queues:83:21) [2022-04-25 10:53:27] (urllib3.connectionpool) Starting new HTTP connection (1): localhost:8080 [2022-04-25 10:53:27] (urllib3.connectionpool) http://localhost:8080 "GET /api/v1/nni/check-status HTTP/1.1" 200 80 [2022-04-25 10:53:27] Stopping experiment, please wait... [2022-04-25 10:53:27] (urllib3.connectionpool) Starting new HTTP connection (1): localhost:8080 [2022-04-25 10:53:27] (urllib3.connectionpool) http://localhost:8080 "DELETE /api/v1/nni/experiment HTTP/1.1" 200 0 [2022-04-25 10:53:27] Experiment stopped
So could you tell me how to change the python version NNI uses? How should I config it? Thanks a lot!

Or maybe you can install NNI in both environments.
python3 -m pip install nni

The interpreter used by NNI is hard-coded in JavaScript code.
If you want to edit the code, it's in /home/fengjiao_gong/anaconda3/envs/pytorch190_new/lib/python3.9/site-packages/nni_node/common/utils.js, getCmdPy() function.

It works! I run the following in server's command line and the crash disappeared. I think in this case, nni uses specified default python to startup. And I only need to config my expected python in the config  experiment.config.trial_command = option.

/usr/bin/python3 -m pip install nni
This helps a lot! Thank you very much!

For me the answer in this discussion worked. Just commenting here as it can be useful.
In short I just had to update thescikit-learn (pip install scikit-learn  -U`). More info can be found here.


Add translation for extensions_use_toggle to spanish

Hey @dantehemerson,
Your changes look good to me!
View build log
TravisBuddy Request Identifier: 622560f0-92ee-11ea-84cf-61c3ab5f248b

@dantehemerson please close this PR and make i18n PRs to i18n branch.


Win32 (native C++ windows app) diagnostics support

At the moment our game uses hockeyapp for crash reporting. We have UWP and win32 (Steam) versions of the game. Both use hockeyapp REST API method "Post Custom Crashes" (https://support.hockeyapp.net/kb/api/api-crashes#post-custom-crashes) to upload crash info.
Crashes from both versions are not forwarded to appcenter. For UWP app everything is clear - we need to integrate appcenter SDK. What about win32 version of the game? Does appcenter have REST API method similar to hockeyapps "Post Custom Crashes"?

@parapaul thanks for the feature request. App Center doesn't support Win32 at the moment but the custom crashes API is on the iteration plan this month. We expect to have this complete in the upcoming weeks. I'll post here with updates!
(For reference: https://github.com/microsoft/appcenter/issues/31)

I tried to upload win32 crash report as described in https://docs.microsoft.com/en-us/appcenter/diagnostics/upload-crashes#upload-an-attachment adding "wrapperSdkName": "custom.ndk" and setting exception type as "minidump" but no report has appeared in AppCenter.
If I remove wrapperSdkName and add mock frame in exception (without it crash not appeared in AppCenter) my minidump appears as attachment but no call stack from minidum is shown.
Also, is it possible to attach my custom properties to the crash? I tried to add fields in JSON as described in Swagger, but nothing changed.
Why don't you post any message to the 'diagnostics' section if some internal AppCenter happened during crash report parsing? Without it using API feels like being in a mine field.

Is there any progress? Our whole company is waiting for this matter.

Hi @mayenjoy we don't have any short term plans to add support for Win32 apps. You can upload your crashes via our API here: https://docs.microsoft.com/en-us/appcenter/diagnostics/upload-crashes
@Kinkard - apologies for the delay. Please start a support thread (blue chat bubble) and our team can help investigate. Thanks!

We would also very much like to see an App Center C++/Win32 SDK for Windows.

FYI #374 is basically the same request as far as I can see.

Issue #436 as well! Pete

We’ve moved on to use Sentry for crash reporting on Windows. Highly recommended!

@triplef same here - crazy, isn't it?! ;)


Refactor cancellation Session to be more flexible.

Instead of with_session that calls a Future with the session, have a more conventional constructor function, new_session, which returns a Session. The session is automatically removed from the cancellation map in Drop. This makes it nicer to use.
(Extracted from PR https://github.com/neondatabase/neon/pull/3433)

Rebased. This is a pretty minor refactoring but I think it still makes sense.

Commit ec8dcc223167aad145cc8b70cc3ac6801f0ed79c did more or less this, closing


Advanced Samples

Good Day
I want to have advanced sample on my project so I can access E-mail Client (IMAP) functionality. This functionality works perfectly on the demo site, however I want to include this on my project, how do I go about doing this because when I create a new project I only have access to the following modules i.e. Basic Samples, Northwind, Theme Samples(AdminLTE)  and not Advanced samples

This is the below screen shot that I get when creating a new project
Must serenity be updated? or is there another way for me to get advanced
samples module?
On 9 May 2018 at 17:27, Siyabonga Shandu<EMAIL_ADDRESS>wrote:

Good Day
I want to have advanced sample on my project so I can access E-mail Client
(IMAP) functionality. This functionality works perfectly on the demo site,
however I want to include this on my project, how do I go about doing this
because when I create a new project I only have access to the following
modules i.e. Basic Samples, Northwind, Theme Samples(AdminLTE) and not
Advanced samples
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/volkanceylan/Serenity/issues/3546, or mute the thread
https://github.com/notifications/unsubscribe-auth/AF6wd3Pl6BizJjj5JwZ2PRxHyPNVqK8iks5twwrzgaJpZM4T4hou
.

Obviously, license is perpetual and u can use functionality permanently. You just loose updates after one year support if you don't extend it.
Maybe you can contact product owner (@volkanceylan ) to get "special treatment" but I don't suppose there is much room for deal cutting at such reasonable price points...

ngiyabonga mfwethu 😁
On 10 May 2018 at 13:06, Juraj Benadik<EMAIL_ADDRESS>wrote:

Obviously, license is perpetual and u can use functionality permanently.
You just loose updates after one year support if you don't extend it.
Maybe you can contact product owner (@volkanceylan
https://github.com/volkanceylan ) to get "special treatment" but I
don't suppose there is much room for deal cutting at such reasonable price
points...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/volkanceylan/Serenity/issues/3546#issuecomment-388023657,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF6wd9uJlkLsarSSqVj9KDOhqbSvaBuPks5txB9EgaJpZM4T4hou
.

So since my project is currently on serene in terms of migrating to the
startup template will I get support or assistance in doing this? or is
migrating easier to do?
On 10 May 2018 at 14:45, Siyabonga Shandu<EMAIL_ADDRESS>wrote:

ngiyabonga mfwethu 😁
On 10 May 2018 at 13:06, Juraj Benadik<EMAIL_ADDRESS>wrote:

Obviously, license is perpetual and u can use functionality permanently.
You just loose updates after one year support if you don't extend it.
Maybe you can contact product owner (@volkanceylan
https://github.com/volkanceylan ) to get "special treatment" but I
don't suppose there is much room for deal cutting at such reasonable
price
points...
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<https://github.com/volkanceylan/Serenity/issues/
3546#issuecomment-388023657>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/
AF6wd9uJlkLsarSSqVj9KDOhqbSvaBuPks5txB9EgaJpZM4T4hou>
.

—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/volkanceylan/Serenity/issues/3546#issuecomment-388042521,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AF6wd_zH15ljk5BYCXDCwIW5V-_h4Ju4ks5txDZSgaJpZM4T4hou
.


fix(shell): use async command for open JS API

closes tauri-apps/tauri#11212

Do you know why not using async here causes the problem? We use open::with_detached/open::that_detached here which shouldn't be blocking?

I assume this also fixes https://github.com/tauri-apps/plugins-workspace/issues/1700 ?

I couldn't reproduce the freeze, but I also only have a shitty VM at the moment, so I'll take it.


Test_WorkflowLocalActivityWithMockAndListeners is flaky

    --- FAIL: TestUnitTestSuite/Test_WorkflowLocalActivityWithMockAndListeners (0.00s)
        internal_workflow_testsuite_test.go:1751: PASS:	func1(string,string)
        internal_workflow_testsuite_test.go:1752:
            	Error Trace:	internal_workflow_testsuite_test.go:1752
            	Error:      	Not equal:
            	            	expected: 2
            	            	actual  : 1
            	Test:       	TestUnitTestSuite/Test_WorkflowLocalActivityWithMockAndListeners
        internal_workflow_testsuite_test.go:1761:
            	Error Trace:	internal_workflow_testsuite_test.go:1761
            	Error:      	Should be true
            	Test:       	TestUnitTestSuite/Test_WorkflowLocalActivityWithMockAndListeners

After few restarts test usually pass.

Closed by #182.


Please add holidays from Prophet

Thank you for this great library. We at NeuralProphet would like to be able to rely 100% on your great package.
However, you are lacking a few important countries, which we have to manually sync from Prophet.
If you could add those, it would make NeuralProphet's and Prophet's codebase simpler to maintain.
Prophet supports the following countries missing in your library:

Indonesia
Thailand
Philippines
Pakistan
Belarus

You can find the relevant code here:
https://github.com/facebook/prophet/blob/master/python/prophet/hdays.py
"All that is needed" is to write tests for these countries, the holidays are all already defined.
If someone would be down to take on this task, we would be very thankful!

Hi @ourownstory thank you for your interest in python_holidays.
It would be great if you could contribute to it, if you can, thx!
In the meanwhile, I mark this as "help wanted".
Cheers!

Hi @dr-prodigy I am happy to contribute everything but the tests...

I can work on it

Thank you @tserekh ! Please let me know when your work is merged!


Partial data

This pull request is work by me and @sauliusg to represents a rather long discussion at the meeting among @sauliusg, @JPBergsma , @giovannipizzi , @gmrigna , myself, and others.
It attempts to generate a flexible enough format with which it is possible to transmit list property data that is too big to fit in a single response.
We have decided to separate this from the related issues of providing functionality for a client to "slice" provided data. That will be done in a separate pull request, defining a property_ranges parameter to the "normal" OPTIMADE endpoints. The response to such a request may (but need not) lead to data being transmitted the way described here.

This proposal looks OK to me. I am only slightly worried about data values stepping on the reserved symbols/structures, i.e., values with \n seem to break JSON-lines format and values containing ["ref"] or ["end"] may conflict with the special markers. I can think of a way to avoid the latter conflict by replacing conflicting values by URL references. Another solution would be to allow the provider to specify strings replacing "ref" and "end" in the JSON-lines header (compare to boundary in multipart/form-data).

@merkys

This proposal looks OK to me. I am only slightly worried about data values stepping on the reserved symbols/structures, [...] values containing ["ref"] or ["end"] may conflict with the special markers.

So, you are not able to (or at least not meant to be able to) have an OPTIMADE data value that is a list where the different items have different data types. Hence, there should be no risk of conflict. (We should further clarify that elsewhere in the specification, but I didn't want to put that edit in when we were two people editing the same PR to avoid conflicts.)

Stakeholders: @rartino @sauliusg @giovannipizzi @gmrigna @JPBergsma @merkys
Deadline: June 15, 2023

@rartino

This proposal looks OK to me. I am only slightly worried about data values stepping on the reserved symbols/structures, [...] values containing ["ref"] or ["end"] may conflict with the special markers.

So, you are not able to (or at least not meant to be able to) have an OPTIMADE data value that is a list where the different items have different data types. Hence, there should be no risk of conflict. (We should further clarify that elsewhere in the specification, but I didn't want to put that edit in when we were two people editing the same PR to avoid conflicts.)

Right, but by allowing data heterogeneity this mechanism could be applicable to any response an implementation wishes to serve in parts. But this extension could be added later.

Pinging stakeholders:  @rartino @sauliusg @giovannipizzi @gmrigna @JPBergsma @merkys
I've now made the updates according to what I've understood from the prior round and "resolved" the corresponding comments.
Note: a few comments to the effect of "maybe we should...?" have been left unresolved. If you agree, make sure to add a thumbs-up or an "I agree"-type comment; I'll harshly assume silence = vote against.

Right, but by allowing data heterogeneity this mechanism could be applicable to any response an implementation wishes to serve in parts. But this extension could be added later.

This is starting to become off-topic, but could be done by any kind of "quoting mechanism". E.g. ["verbatim", [...]] could be a marker that should be replaced by [...] as the client composes the response.
But, actually, looking at this -- would it be better to change our markers to this?:

["end", [""]] (or even ["end", []]
["ref", ["URL"]]
["next",["URL"]]

It just seems more generally extensible to view the markers as a string that is the code word, and a list of arguments?

From your example, I take that the idea is that if start=10, step=2, stop = 20 and you provide only 3 answers and a next link, then it means that I have to follow the next link and not assume the rest are null, right?  (i.e. there is no indication of the length of elements in this response) To me it sounds OK (we can still suggest to also return that) but there was disagreement on Friday.

I think you have a point here; however we mean this case should be interpreted, it should be clarified somewhere in this text. Since response_range apply to the page, my interpretation was that your example triggers an error.
If the server doesn't know how many lines it will manage to fit in the response, it should not include "stop".

I still have the feeling that it might be very slow to have to parse every entry like this [[11, 110], [["ref"], "https://example.db.org/value3"], [550, 333]] and decide case by case if it's an actual list or something to dereference. But if you feel that this is needed I don't want to block this (I'm still not sure this would be critical to have: you could just dereference the whole line and send to another link, I don't think it's a requirement to have the possibility to have ref links as individual elements in a line - I'd recommend to rethink if this is really needed. Of course we need a ref link for single values of the sparse format.

I may be missing something crucial here (feel free to set me right), but how does it work to only dereference whole rows (i.e. items of the dereferenced list) for "long list of dictionaries of long lists", e.g., the format of assemblies and species?
Lets say the original response gives the following URL https://example.org/partial/structures/1234/assemblies for partial data.
Alternative 1: present proposal with free inline dereference (new marker syntax)
First page of assemblies data:
{ // header
}
{
  sites_in_groups: ["ref", ["https://example.org/partial/structures/1234/assemblies/1/sites_in_groups/page1"] ]
  group_probabilities: ["ref", ["https://example.org/partial/structures/1234/assemblies/1/group_probabilities/page1"] ]
}
{
  sites_in_groups: ["ref", ["https://example.org/partial/structures/1234/assemblies/2/sites_in_groups/page1"] ]
  group_probabilities: ["ref", ["https://example.org/partial/structures/1234/assemblies/2/group_probabilities/page1"] ]
}
{
  sites_in_groups: ["ref", ["https://example.org/partial/structures/1234/assemblies/3/sites_in_groups/page1"] ]
  group_probabilities: ["ref", ["https://example.org/partial/structures/1234/assemblies/3/group_probabilities/page1"] ]
}
["next",[""https://example.org/partial/structures/1234/assemblies/page2"]]

Now for, e.g., https://example.org/partial/structures/1234/assemblies/1/sites_in_groups/page1:
{ // header
}
1
5
7
12
42
["next",[""https://example.org/partial/structures/1234/assemblies/1/sites_in_groups/page2"]]

Alternative 2: only dereference whole lines
First page of assemblies data:
{ // header
}
["ref", ["https://example.org/partial/structures/1234/assemblies/1"]
["ref", ["https://example.org/partial/structures/1234/assemblies/2"]
["ref", ["https://example.org/partial/structures/1234/assemblies/3"]
[next",[""https://example.org/partial/structures/1234/assemblies/page2"]]

This looks OK, but what are we now expecting these URLs to return?,
For, e.g., https://example.org/partial/structures/1234/assemblies/1:
{ // header
}
{
  sites_in_groups: [ ? ]
  group_probabilities: [ ? ]
}

We cannot fit those whole lists inline in this file. So how do we chop them up without ever using an inline dereference?

From your example, I take that the idea is that if start=10, step=2, stop = 20 and you provide only 3 answers and a next link, then it means that I have to follow the next link and not assume the rest are null, right?  (i.e. there is no indication of the length of elements in this response) To me it sounds OK (we can still suggest to also return that) but there was disagreement on Friday.

I think you have a point here; regardless of how we mean this case should be interpreted, it should be clarified somewhere in this text. Since response_range apply to the page, my interpretation was that your example triggers an error. If the server doesn't know how many lines it will manage to fit in the response, it should not include "stop".

Thinking through the alternatives, I have merged changes now that more or less implements @giovannipizzi's interpretation. I.e., if there are fewer lines than indicated by "stop", the client just ignores that and keeps going. This makes it easier to define "stop" for the slice, since now the default can always just be the last index.

Hi @rartino thanks for your example on assemblies, now I see your point. I wasn't thinking to that.
Would it then be enough to say that only the value of a dict key-value pair can be the value itself or a ref, while we do not do this for elements of a list (in which case you can always dereference the whole list?).
I think we agreed that we do not want to cover the case of a dictionary with too many keys, just of a list with too many items.
Then, while still requiring to check if there are ref links, as least it reduces how often you should do it when you get lists.
On the other hand, I see that if you get a flat list with one element per line, you have anyway to do this check per line=per element, to see if you find an end link or a next link.
So in the end what I'm suggesting is not going to help much, and I'm ok to keep the spec as you wrote them.

@giovannipizzi

Would it then be enough to say that only the value of a dict key-value pair can be the value itself or a ref, while we do not do this for elements of a list (in which case you can always dereference the whole list?).

I think we want to allow dereference also for list items that are lists.
It covers the case that you have a numerical array, say, in 3D, where the middle dimension is short.
But we can at least point out that reference-markers are only allowed where the client could otherwise encounter a list (which can be derived from the property definition).

Then, while still requiring to check if there are ref links, as least it reduces how often you should do it when you get lists.

For efficiency, it would be a nice if there was a guarantee that reference-markers can only appear in relatively few "places". I agree it is a bit nasty to have to dig through lots and lots of 1000 element arrays and check every item in cases where those reference-markers are rare.

On the other hand, I see that if you get a flat list with one element per line, you have anyway to do this check per line=per element, to see if you find an end link or a next link. So in the end what I'm suggesting is not going to help much, and I'm ok to keep the spec as you wrote them.

You can detect the existence of a ref-link just on the ascii-level by looking for the sequence ["next",[ while ignoring spaces. Perhaps we should change the marker keys to something even more unusual, in which case it is sufficient to just scan for the ascii-sequence of, e.g., "OPTIMADE-PARTIAL-DATA-NEXT" and in 99.999% of the cases, that string means there is something to dereference? And if there is something to dereference, then it is not a problem that you spend time on the item, since that CPU time is negligible compared to the resources you'll spend on the dereference itself.
Another thing we can do is to include an OPTIONAL key in the header: "has_references"  that the server can use to communicate that it knows there are no reference-markers in the response. That should speed up the most common cases.
Also, I realize, should we also include an OPTIONAL key for the item subschema? (It helps a little, since one can derive from the subschema where to look for markers).

Attention stakeholders: @rartino @sauliusg @giovannipizzi @gmrigna @JPBergsma @merkys
The deadline previously set for this PR expires midnight TODAY, June 15, 2023.
This is how I intend to proceed:

Ideally I'd like to see 5 approvals before midnight, at which point I will make a happy dance and merge the PR. If that is not the case, I will ignore approvals missing from stakeholders without clear open change requests, i.e., I will still merge, but with proportionally reduced levels of happiness.
Should any new major change requests appear before the current deadline, I will move the deadline forward to 24h after my last merge of an (attempted) fix to provide everyone time to check if they agree with the change and re-approve. (However, minor editorial changes will be merged without a deadline extension).

I much appreciate your change requests on the format of explicit text edits rather than "How about we also...?"-type comments.
If you cannot adhere to the deadline as given, fixes are of course still possible after we've merged via additional PRs. Just make sure to get them in before we release v1.2.0.

I have not slept properly in days and therefore have not made as much progress with reviewing as I wanted. I will continue tomorrow.

@giovannipizzi , @merkys Thanks for getting your text fixes in before the deadline. Can you please do the Review->Accept so we can get this merged? Thanks!

Thanks to everybody who contributed to this PR! Now lets turn our attention to #462


Getting error in windows on start

when I run the app using the npm run start command I am getting this error

    at Server.setupListenHandle [as _listen2] (node:net:1302:21)
    at listenInCluster (node:net:1367:12)
    at Server.listen (node:net:1454:7)
    at READ_WRITE (C:\Users\rohit\Desktop\open-board\node_modules\webpack-dev-server\lib\Server.js:3221:23)
   at new Promise (<anonymous>)
    at Server.start (C:\Users\rohit\Desktop\open-board\node_modules\webpack-dev-server\lib\Server.js:3219:7)
    at async Command.<anonymous> (C:\Users\rohit\Desktop\open-board\node_modules\@webpack-cli\serve\lib\index.js:242:25)
    at async Promise.all (index 1)
    at async Command.<anonymous> (C:\Users\rohit\Desktop\open-board\node_modules\webpack-cli\lib\webpack-cli.js:1672:7) {
  code: 'EACCES',
  errno: -4092,
  syscall: 'listen',
  address: '<IP_ADDRESS>',
  port: 3000
}```

This means that you already have something running on port 3000.

@jherr  any guide to use .env variables, btw appreciate your efforts in making dev life easy

@jherr any guide to use .env variables, btw appreciate your efforts in making dev life easy

Guidance on using .env variables in general? Or in regards to this application in particular? If you have general questions please visit my Discord server and ask your questions there. https://discord.gg/eUBvqyzJ


Issue with /docs/getting-started-guides/aws/ - no new EC2 instances

I'm trying to follow this guide to spin up a small K8s cluster on AWS. The installation reports success. I see a new EIP and VPC were created but I do not see any new EC2 instances. Also I do not see the any config generated for connecting kubectl to the new cluster (or I'm missing something obvious)
Here is what I ran:
export AWS_DEFAULT_PROFILE=default
export KUBE_AWS_ZONE=us-west-2a
export NUM_NODES=2
export MASTER_SIZE=m3.medium
export NODE_SIZE=m3.medium
export KUBE_AWS_INSTANCE_PREFIX=k8s
export KUBERNETES_PROVIDER=aws; wget -q -O - https://get.k8s.io | bash

Here is the output:
Downloading kubernetes release v1.3.7 to /Users/REDACTED/Development/kubernetes.tar.gz
--2016-09-21 14:12:16--  https://storage.googleapis.com/kubernetes-release/release/v1.3.7/kubernetes.tar.gz
Resolving storage.googleapis.com... 2607:f8b0:4007:80b::2010, <IP_ADDRESS>
Connecting to storage.googleapis.com|2607:f8b0:4007:80b::2010|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length:<PHONE_NUMBER> (1.4G) [application/x-tar]
Saving to: 'kubernetes.tar.gz'

kubernetes.tar.gz                                      100%[==========================================================================================================================>]   1.39G  4.42MB/s    in 7m 55s

2016-09-21 14:20:12 (2.99 MB/s) - 'kubernetes.tar.gz' saved [1489843499/1489843499]

Unpacking kubernetes release v1.3.7
Creating a kubernetes on aws...
... Starting cluster in us-west-2a using provider aws
... calling verify-prereqs
... calling kube-up
Starting cluster using os distro: jessie
Uploading to Amazon S3
+++ Staging server tars to S3 Storage: kubernetes-staging-REDACTED/devel
upload: ../../../../var/folders/2y/_w_pspnj3f5ddlk7f01wsh9h0000gn/T/kubernetes.XXXXXX.if6azScD/s3/bootstrap-script to s3://kubernetes-staging-REDACTED/devel/bootstrap-script
upload: ../../../../var/folders/2y/_w_pspnj3f5ddlk7f01wsh9h0000gn/T/kubernetes.XXXXXX.if6azScD/s3/kubernetes-salt.tar.gz to s3://kubernetes-staging-REDACTED/devel/kubernetes-salt.tar.gz
upload: ../../../../var/folders/2y/_w_pspnj3f5ddlk7f01wsh9h0000gn/T/kubernetes.XXXXXX.if6azScD/s3/kubernetes-server-linux-amd64.tar.gz to s3://kubernetes-staging-REDACTED/devel/kubernetes-server-linux-amd64.tar.gz
Uploaded server tars:
  SERVER_BINARY_TAR_URL: https://s3.amazonaws.com/kubernetes-staging-REDACTED/devel/kubernetes-server-linux-amd64.tar.gz
  SALT_TAR_URL: https://s3.amazonaws.com/kubernetes-staging-REDACTED/devel/kubernetes-salt.tar.gz
  BOOTSTRAP_SCRIPT_URL: https://s3.amazonaws.com/kubernetes-staging-REDACTED/devel/bootstrap-script

A client error (NoSuchEntity) occurred when calling the GetInstanceProfile operation: Instance Profile kubernetes-master cannot be found.
Creating master IAM profile: kubernetes-master
Creating IAM role: kubernetes-master
Creating IAM role-policy: kubernetes-master
Creating IAM instance-policy: kubernetes-master
Adding IAM role to instance-policy: kubernetes-master

A client error (NoSuchEntity) occurred when calling the GetInstanceProfile operation: Instance Profile kubernetes-minion cannot be found.
Creating minion IAM profile: kubernetes-minion
Creating IAM role: kubernetes-minion
Creating IAM role-policy: kubernetes-minion
Creating IAM instance-policy: kubernetes-minion
Adding IAM role to instance-policy: kubernetes-minion
Generating public/private rsa key pair.
Your identification has been saved in /Users/REDACTED/.ssh/kube_aws_rsa.
Your public key has been saved in /Users/REDACTED/.ssh/kube_aws_rsa.pub.
The key fingerprint is:
SHA256:REDACTED<EMAIL_ADDRESS>The key's randomart image is:
+---[RSA 2048]----+
REDACTED
+----[SHA256]-----+
Using SSH key with (AWS) fingerprint: SHA256:REDACTED
Creating vpc.
Adding tag to vpc-8e515aea: Name=kubernetes-vpc
Adding tag to vpc-8e515aea: KubernetesCluster=k8s
Using VPC vpc-8e515aea
Adding tag to dopt-58de513c: Name=kubernetes-dhcp-option-set
Adding tag to dopt-58de513c: KubernetesCluster=k8s
Using DHCP option set dopt-58de513c
Creating subnet.
Adding tag to subnet-77065301: KubernetesCluster=k8s
Using subnet subnet-77065301
Creating Internet Gateway.
Using Internet Gateway igw-84c46ae0
Associating route table.
Creating route table
Adding tag to rtb-7ed21b19: KubernetesCluster=k8s
Associating route table rtb-7ed21b19 to subnet subnet-77065301
Adding route to route table rtb-7ed21b19
Using Route Table rtb-7ed21b19
Creating master security group.
Creating security group kubernetes-master-k8s.
Adding tag to sg-88eb37f1: KubernetesCluster=k8s
Creating minion security group.
Creating security group kubernetes-minion-k8s.
Adding tag to sg-8eeb37f7: KubernetesCluster=k8s
Using master security group: kubernetes-master-k8s sg-88eb37f1
Using minion security group: kubernetes-minion-k8s sg-8eeb37f7
Creating master disk: size 20GB, type gp2
Adding tag to vol-8ecb6f3a: Name=k8s-master-pd
Adding tag to vol-8ecb6f3a: KubernetesCluster=k8s
Allocated Elastic IP for master: REDACTED_IP
Adding tag to vol-8ecb6f3a: kubernetes.io/master-ip=REDACTED_IP
Generating certs for alternate-names: IP:REDACTED_IP,IP:<IP_ADDRESS>,IP:<IP_ADDRESS>,DNS:kubernetes,DNS:kubernetes.default,DNS:kubernetes.default.svc,DNS:kubernetes.default.svc.cluster.local,DNS:k8s-master
./cluster/../cluster/../cluster/aws/../../cluster/common.sh: line 528: KUBE_MANIFESTS_TAR_URL: unbound variable
Kubernetes binaries at /Users/REDACTED/Development/kubernetes/cluster/
You may want to add this directory to your PATH in $HOME/.profile
Installation successful!

Closing this as after some more digging I believe this is related to https://github.com/kubernetes/kubernetes/issues/33202


Do not save location and direction in light

Currently the lights can sit within a tree (together with attributes like location and rotation) but they also hold location and rotation withing the light struct.
In the future the location and rotation sent to the shader should be optained from the node attrbutes.

Done with the next commit to master!


Official docker image for cli

Feature Request
Is your feature request related to a problem? Please describe.
Provide a versioned docker container for using the operator-sdk CLI
Describe the solution you'd like
Same as above, docker container with the binary in it. Lots of people have created these https://hub.docker.com/search?q=operator-sdk&type=image

/assign @bharathi-tenneti

@drewwells  Can you present your usecase, for this Docker image request. Depending on the usecases, we will consider creating/maintaining officialdocker image for SDK.

A use case I have for this to use the SDK CLI in a CI pipeline to build an operator image. We use docker on CI nodes to run build tools, rather than install the tools directly.
We use a third party image now, but would certainly prefer an officially maintained image.

@joelanford  is point of contact for this issue.

since operator-sdk build relies on docker it can become a bit tricky.

just to register +1 shows be looking for it in https://github.com/operator-framework/operator-sdk/issues/2978

/lifecycle frozen

docker in docker has been around for a long time, it is not challenging to support https://www.docker.com/blog/docker-can-now-run-within-docker/
Even if the docker calls failed, it would be a major improvement to support specific versions of operator-sdk from docker cli. As mentioned above, we need to be able to build CICD pipelines on stable versions of applications. Having an operator-sdk docker image will be very useful to us.
Please reopen, this is still needed.

Re-opened add move to 1.2.0 since the 1.1.0 is released already 👍
c/c @asmacdo

This was completed in 1.1 and the operator-SDK image is now available at quay.io/operator-framework/operator-sdk:v1.1.0

Does the image support in-cluster configuration?
I always get an error when I run operator-sdk run bundle ... from a container. It seems it cannot find the in-cluster configuration. oc on the other hand works fine.


[repl] Do not advance token when there are invalid messages

In the existing replication logic, when a CRC mismatch occurs, the system simply bypasses those keys and moves forward with the token. Consequently, we end up overlooking those specific keys, and there is no opportunity to revisit them later.
For instance, we encountered a bug that caused us to unintentionally skip the backup of 1090 blobs as a direct consequence of this issue.

some tests are failing because they expect the token to be advanced inspite of invalid messages, so need to modify those test. But this fundamentally changes the behaviour of replication.


⚠ Samsung has degraded performance

In cf06b90, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 3003 ms

Resolved: Samsung performance has improved in 1771458.


Flask silently overrides Jinja2 tojson filter

Expected Behavior
The tojson filter from Jinja2 will be used.
{{ some_object | tojson }}

Actual Behavior
The Flask tojson filter overwrites the Jinja2 tojson filter. The Flask's filter is not as configurable as the Jinja2 one and when one configures the Jinja2 one and tries to use it in a template this behavior and silent override is hard to debug.
Environment

Python version: 3.9.1
Flask version: 1.1.2
Werkzeug version: 1.0.1

Suggested changes
Add a configuration option to choose between overriding the Jinja2 tojson filter or not. Make the default to override to keep current behavior. Will make a PR for this if it seems reasonable.

I think I'd rather make the flask one as configurable as the jinja one, so flask just adds functionality on top of it...

I think I'd rather make the flask one as configurable as the jinja one, so flask just adds functionality on top of it...

The two do the exact same thing, except Jinja's has an indent parameter. Given that indentation shouldn't matter anyway, I don't see that as particularly important. That said, you too can override the tojson filter to do whatever you want, just remember to at least do Markup(flask.json.dumps()).

The two do the exact same thing, except Jinja's has an indent parameter. Given that indentation shouldn't matter anyway, I don't see that as particularly important. That said, you too can override the tojson filter to do whatever you want, just remember to at least do Markup(flask.json.dumps()).

Took another look at how Jinja's is implemented, and it allows setting the dumps function through Environment.policies, so we could actually completely drop our implementations of tojson and htmlsafe_dumps by adding the following to Flask.create_jinja_environment:
rv.policies["json.dumps_function"] = flask.json.dumps

Users could further customize the dumps kwargs by setting app.jinja_env.policies["json.dumps_kwargs"].

Took another look at how Jinja's is implemented, and it allows setting the dumps function through Environment.policies, so we could actually completely drop our implementations of tojson and htmlsafe_dumps by adding the following to Flask.create_jinja_environment:
rv.policies["json.dumps_function"] = flask.json.dumps

Users could further customize the dumps kwargs by setting app.jinja_env.policies["json.dumps_kwargs"].


Changing Images Issue

Trying out this plugin. Having issue on changing another image in the plugin.

Image Zoom jQuery Demo

Script .  After 4 seconds it will add the new image but it didn't.   Appreciate your help .

Regards
Pedro

Managed to resolved this issue.


Courses button doesn't light up on hovering over it

When we hover over the courses button, it doesn't light up like the other button. I can fix this issue.
I am a contributor in GSSoC '23.Please assign this to me.

Please this is duplicate one! could you look at other issues. and better fix/feature

Closed as duplicate


Add support for 'sticky' elements

The report page should be able to make the navigation 'sticky' without custom css

@arahansen, what are your thoughts on this, should we close it and add custom css whenever fixed positioningn is needed or come up with a way to implement it as part of reflex?

I think the current consensus is to use custom CSS for this. If we come up with a clean approach we may add it later on, closing for now


Remove duplicated code in assessment service

There was quite a lot of duplicated code. This PR tries to unify it and to remove unnecessary @Transactional annotations.
Checklist

[ ] I tested all changes and all related features with different users (student, tutor, instructor, admin) on the test server https://artemistest.ase.in.tum.de.
[x] Server: I followed the coding and design guidelines.

Description
In this PR we tried to reduce duplicated code and unify some steps of the exercise assessments. There should be no functional changes in this PR.
Steps for Testing
Some of these steps are more easily tested in a group (multiple submissions).
Text Exercise:

Create text exercise with assessment suggestions.
Create multiple submissions (at least 5).
Assess the submissions (save, submit, override).
Verify that the automatic assessment suggestions are working.
Complain about the assessment.
Respond to the assessment.

Programming Exercise:

Create programming exercise.
Add submission.
Assess submission (save, submit, override).
Complain about those assessments.
Respond to the complaints.

Modeling Exercise:

Create modeling exercise with assessment suggestions.
Create multiple submissions (at least 5).
Assess the submissions (save, submit, override).
Verify that the automatic assessment suggestions are working.
Complain about the assessment.
Respond to the assessment.

Test Coverage
ProgrammingAssessmentResource 87%
TextAssessmentResource 92%
ModelingAssessmentResource 96%
ModelingSubmissionResource 97%
FileUploadAssessmentResource 98%
FileUploadSubmissionResource 91%
AssessmentResource 93%
SubmissionResource 90%
AssessmentService 87%
ProgrammingAssessmentService 91%
TextAssessmentService 93%
ComplaintService 87%
FileUploadSubmissionService 82%
TextSubmissionService 80%
ModelingSubmissionService 80%
ParticipationService 78%

When trying to save modeling or text assessment:

I created a programming exercise and complained about the assesment, but the complaint does not show in the exercise dashboard. When i opened the assesment, the complaint is shown there, but i cannot review or add more comments to it.

@DenizShabani This is probably because the complaint is about your assessment. Tutors cannot see complaints about their own assessments. Other tutors need to evaluate the complaints :)

When trying to save modeling or text assessment:

When evaluating a complaint of a programming exercise:

Tested with @nutatuna and the rest worked fine for us.

Issue with saving text and modeling is fixed and also the problem with entering the evaluation of a complaint :)

I created a programming exercise and complained about the assesment, but the complaint does not show in the exercise dashboard. When i opened the assesment, the complaint is shown there, but i cannot review or add more comments to it.

@DenizShabani This is probably because the complaint is about your assessment. Tutors cannot see complaints about their own assessments. Other tutors need to evaluate the complaints :)

I did the submission and complaint with User 1 and the assessment with User 14, so different users. The complaint showed when I open Instructor Course Dashboard and then Exercise Dashboard, but it would not show when I would open Assesment Dashboard straight away. Maybe its because the Instructors cannot review complaints, since User 14 is an instructor?

I created a programming exercise and complained about the assesment, but the complaint does not show in the exercise dashboard. When i opened the assesment, the complaint is shown there, but i cannot review or add more comments to it.

@DenizShabani This is probably because the complaint is about your assessment. Tutors cannot see complaints about their own assessments. Other tutors need to evaluate the complaints :)

I did the submission and complaint with User 1 and the assessment with User 14, so different users. The complaint showed when I open Instructor Course Dashboard and then Exercise Dashboard, but it would not show when I would open Assesment Dashboard straight away. Maybe its because the Instructors cannot review complaints, since User 14 is an instructor?

@DenizShabani Yes, but with which user did you tried to evaluate the complaint? You user 14 will not see a complaint about his own assessment (assessment of user 1). You need to evaluate the complaint e.g. with user 10

I tested the assessment on TS5 with a focus on textual exercises and functionality wise it is fine.


Loads schema from folder rather than file

Coverage increased (+0.6%) to 75.08% when pulling 428e75b21ee48217ccf5ba530387365d64c260de on feature/85-read-versioned-schema into dc71870a3dbcbee15b7ca1487075e5b25fb2ce93 on master.


[FLINK-15344][documentation] Update limitations in hive udf document

What is the purpose of the change
In hive udf document
The limitation is not valid now after hive module supported.
Brief change log
In hive udf document

Remove limitation
Move up hive built-in functions.

Verifying this change
This change is a trivial rework without any test coverage.
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changed class annotated with @Public(Evolving): no
The serializers: no
The runtime per-record code paths (performance sensitive): no
Anything that affects deployment or recovery: JobManager (and its components), Checkpointing, Yarn/Mesos, ZooKeeper: no
The S3 file system connector: no

Documentation

Does this pull request introduce a new feature? no

CC: @bowenli86


Possible feature: Select multiple namespaces starting with substring

The idea is to add hooks and functions to be able to select multiple namespaces that start with substring.
This way it's easier to work with for example subforms or rows.
Example subforms
You have the following namespaces:
user
user.address
user.phonenumbers
With useNamespaceIsValidStartingWith('user') you can check if all these forms are valid. You can say that user is the main form in this example.
Example rows
This useful if you working with a table with identical subform rows.
You have the following namespaces that are rows using a timestamp to make them unique:
row|1606080567
row|1606080589
row|1606080614
With useNamespaceIsDirtyStartingWith('row') you can check if one or more rows are updated.
Workaround
Currently you can get the same result using multiple hooks or functions:
const hasFocus1 = useNamespaceHasFocus('user')
const hasFocus2 = useNamespaceHasFocus('user.address')
const hasFocus3 = useNamespaceHasFocus('user.phonenumbers')
const hasFocus = hasFocus1 || hasFocus2 || hasFocus3

But for dynamically created forms, like the rows example, it's much hard to do this. You'll then have to create you own hook using the subscribeToNamespace function.

Yes please, this would be a great addition.


Not working for me....

Hi, I can not run the program ... (may be due to I am a inexperienced user)
Using from command line
Using defaults
python3 -m vidstab --input input_video.mov --output stable_video.avi

'vidstab' is a package and cannot be directly executed

Then, as a class

ImportError: cannot import name 'vidstab_utils'

Br

@Emalbornoz81 any follow-up on this issue? if not I'll close this soon for house keeping

@Emalbornoz81 I'm closing this issue.  Please re-open as needed

Thank you very much, after doing
pip install --upgrade --force-reinstall vidstab
and using python 3.7, this is working well!
El vie., 25 de ene. de 2019 a la(s) 13:03, Enrique Marcelo Albornoz (
<EMAIL_ADDRESS>escribió:

Hi, thank you for your dedication
I am on vacations right now, I will work on it when I return
Br
Enrique
El vie., 25 de ene. de 2019 11:11, Adam Spannbauer <
<EMAIL_ADDRESS>escribió:

@Emalbornoz81 https://github.com/Emalbornoz81 any update on this?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/AdamSpannbauer/python_video_stab/issues/61#issuecomment-457568189,
or mute the thread
https://github.com/notifications/unsubscribe-auth/Asw-M60y5EONCiKd5h8_t2g9gfSlk-Olks5vGwJ_gaJpZM4aNant
.

--
Dr. Enrique Marcelo Albornoz
Research Assistant
sinc(i), FICH-UNL/CONICET, Santa Fe, Argentina
www.sinc.unl.edu.ar | Tel: +54<PHONE_NUMBER> ext 191


I want to provide the custom name for the IoT Hub, storage and Key Vault  when deploying the Azure IIoT 2.9.2 platform. Can someone guide me on how I can do that?

Describe the bug
I want to provide the custom name for the IoT Hub, storage and Key Vault  when deploying the Azure IIoT 2.9.2 platform. Can someone guide me on how I can do that?
To Reproduce
Steps to reproduce the behavior:

Download the code in local machine using git clone https://github.com/Azure/Industrial-IoT
cd Industrial-IoT
Run the poweshell ./aad-register.ps1 -Name testapp -ReplyUrl https://sampleapp.azurewebsites.net/ -TenantId ************************* -Output aad.json
After that run the powershell ./deploy.ps1 -version 2.9.2 -type all -aadConfig aad.json-applicationName sampleapp
After deploying Azure IIoT 2.9.2 in the Azure portal, the IoT hub is named 'iothub-6qwp6t.' However, I would like to choose a custom name for the IoT hub, such as 'sampleiothub.' I'd appreciate guidance on how to achieve this.

Expected behavior
I would like to choose a custom name for the IoT hub, such as 'sampleiothub.' I'd appreciate guidance on how to achieve this.

The deploy.ps1 script is just a convenient wrapper around the ARM templates in the templates folder.
However, you can deploy azuredeploy.json those yourself using az cli or portal.  Right now the resource names are only parameters of an inner template, they would need to be added to the outer template and plumbed through to the inner.  Contributions welcome.

I checked and azuredeploy.json has parameters to name the requested resources.  Closing as complete.