text:
Extension causes playnite crash

Happening when backing up random entries (installed/not installed) as well as any new manually added entry. Crashing seems to be caused by specific entries only. Playnite 9.6 ludasavi extension 0.6.0 ludusavi 0.10.0

Thanks for reporting this! Could you share your Playnite log file (e.g., C:\Users\<name>\AppData\Roaming\Playnite\playnite.log)?

08-11 15:22:52.188|INFO |ProgramEntry:App arguments: ''
08-11 15:22:54.608|INFO |PlayniteApplication:Application started from 'C:\Users\Admin\AppData\Local\Playnite'
08-11 15:22:56.756|INFO |ExtensionFactory:Loaded plugin: AmazonGames library integration, version 2.3
08-11 15:22:56.849|INFO |ExtensionFactory:Loaded plugin: Battle.net library integration, version 2.3
08-11 15:22:56.912|INFO |ExtensionFactory:Loaded plugin: Bethesda library integration, version 2.2
08-11 15:22:57.006|INFO |ExtensionFactory:Loaded plugin: DKG Theme Modifier, version 2.2.4
08-11 15:22:57.131|INFO |ExtensionFactory:Loaded plugin: Epic Store library integration, version 2.5
08-11 15:22:57.233|INFO |ExtensionFactory:Loaded plugin: Extra Metadata Loader, version 1.19
08-11 15:22:57.424|INFO |ExtensionFactory:Loaded plugin: DuplicateHider, version 3.7.1
08-11 15:22:57.538|INFO |ExtensionFactory:Loaded plugin: QuickSearch, version 2.11.6
08-11 15:22:57.649|INFO |ExtensionFactory:Loaded plugin: StartPage, version 1.0.2
08-11 15:22:57.737|INFO |ExtensionFactory:Loaded plugin: GOG library integration, version 2.4
08-11 15:22:57.906|INFO |ExtensionFactory:Loaded plugin: HTML Exporter, version 3.2
08-11 15:22:57.984|INFO |ExtensionFactory:Loaded plugin: Humble library integration, version 2.2
08-11 15:22:58.047|INFO |ExtensionFactory:Loaded plugin: IGDB metadata provider, version 2.3
08-11 15:22:58.172|INFO |ExtensionFactory:Loaded plugin: Installation Status Updater, version 2.12
08-11 15:22:58.266|INFO |ExtensionFactory:Loaded plugin: itch.io library integration, version 2.2
08-11 15:22:58.297|INFO |ExtensionFactory:Loaded plugin: Ludusavi Restic, version 0.2.0
08-11 15:22:58.359|INFO |ExtensionFactory:Loaded plugin: Ludusavi, version 0.6.0
08-11 15:22:58.438|INFO |ExtensionFactory:Loaded plugin: Origin library integration, version 2.3
08-11 15:22:58.469|INFO |ExtensionFactory:Loaded plugin: PCGamingWiki Metadata Provider, version 0.3.1
08-11 15:22:58.563|INFO |ExtensionFactory:Loaded plugin: Playlist, version 1.4.2
08-11 15:22:58.922|INFO |ExtensionFactory:Loaded plugin: CheckLocalizations, version 2.0.3
08-11 15:22:59.173|INFO |ExtensionFactory:Loaded plugin: DescriptionEditor, version 2.0.2
08-11 15:22:59.563|INFO |ExtensionFactory:Loaded plugin: GameActivity, version 2.1.2
08-11 15:23:00.717|INFO |ExtensionFactory:Loaded plugin: HowLongToBeat, version 2.4
08-11 15:23:00.905|INFO |ExtensionFactory:Loaded plugin: LibraryManagement, version 2.2
08-11 15:23:01.186|INFO |ExtensionFactory:Loaded plugin: ScreenshotsVisualizer, version 2.1
08-11 15:23:01.546|INFO |ExtensionFactory:Loaded plugin: SuccessStory, version 2.4
08-11 15:23:02.920|INFO |ExtensionFactory:Loaded plugin: SystemChecker, version 2.0
08-11 15:23:03.688|INFO |ExtensionFactory:Loaded plugin: ThemeModifier, version 2.2.3
08-11 15:23:03.782|INFO |ExtensionFactory:Loaded plugin: PlayState, version 2.8
08-11 15:23:03.876|INFO |ExtensionFactory:Loaded plugin: PlayStation library integration, version 2.11
08-11 15:23:03.938|INFO |ExtensionFactory:Loaded plugin: Review Viewer, version 2.11
08-11 15:23:03.970|INFO |ExtensionFactory:Loaded plugin: Simple Game Import, version 2.0
08-11 15:23:04.048|INFO |ExtensionFactory:Loaded plugin: Splash Screen, version 2.6
08-11 15:23:04.126|INFO |ExtensionFactory:Loaded plugin: SteamGridDB Metadata Provider, version 1.0
08-11 15:23:04.470|INFO |ExtensionFactory:Loaded plugin: Steam library integration, version 2.3
08-11 15:23:04.548|INFO |ExtensionFactory:Loaded plugin: Universal Steam Metadata, version 2.3
08-11 15:23:04.642|INFO |ExtensionFactory:Loaded plugin: Uplay library integration, version 2.2
08-11 15:23:04.720|INFO |ExtensionFactory:Loaded plugin: Xbox library integration, version 2.3
08-11 15:23:06.321|INFO |ExtensionFactory:Loaded script extension: C:\Users\Admin\AppData\Roaming\Playnite\Extensions\Date_Importer_d0e7fb90-e74e-4955-b7bc-43a13339637e\DateImporter.psm1, version 2.4
08-11 15:23:06.368|INFO |ExtensionFactory:Loaded script extension: C:\Users\Admin\AppData\Roaming\Playnite\Extensions\Extra_Metadata_tools_2e0349ed-6da2-4095-9457-4c9fb544551e\ExtraMetadataTools.psm1, version 2.7
08-11 15:23:06.461|INFO |ExtensionFactory:Loaded script extension: C:\Users\Admin\AppData\Roaming\Playnite\Extensions\Game_Engine_Checker_7a21243e-c7cc-4ca7-85bd-f6f96f22e9db\GameEngineChecker.psm1, version 2.4
08-11 15:23:06.508|INFO |ExtensionFactory:Loaded script extension: C:\Users\Admin\AppData\Roaming\Playnite\Extensions\Game_Media_Processor\GameMediaProcessor.psm1, version 1.9.0
08-11 15:23:06.571|INFO |ExtensionFactory:Loaded script extension: C:\Users\Admin\AppData\Roaming\Playnite\Extensions\Game_Media_Tools\GameMediaTools.psm1, version 2.5
08-11 15:23:06.605|INFO |ExtensionFactory:Loaded script extension: C:\Users\Admin\AppData\Roaming\Playnite\Extensions\LibraryExporterPS_Builtin\LibraryExporter.psm1, version 2.0
08-11 15:23:06.651|INFO |ExtensionFactory:Loaded script extension: C:\Users\Admin\AppData\Roaming\Playnite\Extensions\Nexus_Mods_Checker_ece2874c-be52-4a64-b178-ed379a042f85\NexusModsChecker.psm1, version 2.7
08-11 15:23:06.714|INFO |ExtensionFactory:Loaded script extension: C:\Users\Admin\AppData\Roaming\Playnite\Extensions\Playnite_Fields_Tagger\FieldsTagger.psm1, version 1.0
08-11 15:23:06.761|INFO |ExtensionFactory:Loaded script extension: C:\Users\Admin\AppData\Roaming\Playnite\Extensions\SaveFileView_f68f302b-9799-4b77-a982-4bfca97130e2\SaveFileView.psm1, version 2.5
08-11 15:23:06.823|INFO |ExtensionFactory:Loaded script extension: C:\Users\Admin\AppData\Roaming\Playnite\Extensions\Twitch_Add_Link\TwitchAddLink.psm1, version 2.5
08-11 15:23:06.996|DEBUG|WindowFactory:Show window Playnite.DesktopApp.Windows.MainWindowFactory
08-11 15:23:06.996|DEBUG|WindowFactory:Opening window that was closed previously Playnite.DesktopApp.Windows.MainWindowFactory
08-11 15:23:07.369|DEBUG|WindowFactory:Show dialog window Playnite.Windows.ProgressWindowFactory
08-11 15:23:08.062|INFO |GameDatabase:Opening db C:\Users\Admin\AppData\Roaming\Playnite\library
08-11 15:23:08.368|WARN |ExecutionTimer:--- Timer 'DatabaseLoadCollections', 310 ms to complete.
08-11 15:23:08.368|INFO |DatabaseStats:Completely recalculating database statistics...
08-11 15:23:08.400|DEBUG|WindowFactory:Closing window Playnite.Windows.ProgressWindowFactory, True.
08-11 15:23:09.690|INFO |MainViewModelBase:Importing games from Amazon Games plugin.
08-11 15:23:09.774|INFO |PlayniteApplication:Application 9.6.0.15147 started
08-11 15:23:09.774|INFO |MainViewModelBase:Importing games from Battle.net plugin.
08-11 15:23:10.223|INFO |MainViewModelBase:Importing games from Bethesda plugin.
08-11 15:23:10.241|INFO |MainViewModelBase:Importing games from Epic plugin.
08-11 15:23:10.588|INFO |MainViewModelBase:Importing games from GOG plugin.
08-11 15:23:10.617|INFO |MainViewModelBase:Importing games from Humble plugin.
08-11 15:23:10.781|INFO |MainViewModelBase:Importing games from itch.io plugin.
08-11 15:23:10.781|INFO |MainViewModelBase:Importing games from Origin plugin.
08-11 15:23:10.790|INFO |MainViewModelBase:Importing games from PlayStation plugin.
08-11 15:23:10.790|INFO |MainViewModelBase:Importing games from Steam plugin.
08-11 15:23:10.822|INFO |MainViewModelBase:Importing games from Ubisoft Connect plugin.
08-11 15:23:11.067|INFO |MainViewModelBase:Importing games from Xbox plugin.
08-11 15:23:12.074|DEBUG|WindowFactory:Show dialog window Playnite.Windows.ProgressWindowFactory
08-11 15:23:12.113|DEBUG|WindowFactory:Closing window Playnite.Windows.ProgressWindowFactory, True.
08-11 15:23:12.139|DEBUG|WindowFactory:Show dialog window Playnite.Windows.ProgressWindowFactory
08-11 15:23:12.171|DEBUG|WindowFactory:Closing window Playnite.Windows.ProgressWindowFactory, True.
08-11 15:23:14.803|DEBUG|Downloader:Downloading string content from http://www.playnite.link/update/stable/9.6/update.json using System.Text.UTF8Encoding encoding.
08-11 15:23:16.295|DEBUG|Downloader:Downloading string content from https://github.com/JosefNemec/PlayniteExtensions/raw/master/manifests/IGDBMetadata_Builtin.yaml using System.Text.UTF8Encoding encoding.
08-11 15:23:16.465|ERROR|PlayniteApplication:Unhandled exception occured.
System.NullReferenceException: Object reference not set to an instance of an object.
at LudusaviPlaynite.LudusaviPlaynite.IsOnPc(Game game)
at LudusaviPlaynite.LudusaviPlaynite.GetGameName(Game game)
at LudusaviPlaynite.LudusaviPlaynite.b__24_1(Game x)
at System.Linq.Enumerable.WhereSelectListIterator2.MoveNext()    at System.Collections.Generic.List1..ctor(IEnumerable1 collection)    at System.Linq.Enumerable.ToList[TSource](IEnumerable1 source)
at LudusaviPlaynite.LudusaviPlaynite.<b__24_0>d.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<>c.b__6_0(Object state)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.DispatcherOperation.InvokeImpl()
at System.Windows.Threading.DispatcherOperation.InvokeInSecurityContext(Object state)
at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(Object obj)
at System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
at System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state)
at MS.Internal.CulturePreservingExecutionContext.Run(CulturePreservingExecutionContext executionContext, ContextCallback callback, Object state)
at System.Windows.Threading.DispatcherOperation.Invoke()
at System.Windows.Threading.Dispatcher.ProcessQueue()
at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndWrapper.WndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam, Boolean& handled)
at MS.Win32.HwndSubclass.DispatcherCallbackOperation(Object o)
at System.Windows.Threading.ExceptionWrapper.InternalRealCall(Delegate callback, Object args, Int32 numArgs)
at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(Object source, Delegate callback, Object args, Int32 numArgs, Delegate catchHandler)
at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(DispatcherPriority priority, TimeSpan timeout, Delegate method, Object args, Int32 numArgs)
at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr hwnd, Int32 msg, IntPtr wParam, IntPtr lParam)
at MS.Win32.UnsafeNativeMethods.DispatchMessage(MSG& msg)
at System.Windows.Threading.Dispatcher.PushFrameImpl(DispatcherFrame frame)
at System.Windows.Threading.Dispatcher.PushFrame(DispatcherFrame frame)
at System.Windows.Application.RunDispatcher(Object ignore)
at System.Windows.Application.RunInternal(Window window)
at System.Windows.Application.Run(Window window)
at Playnite.DesktopApp.ProgramEntry.Main(String[] args) in C:\projects\playnite\source\Playnite.DesktopApp\ProgramEntry.cs:line 61
08-11 15:23:16.501|DEBUG|WindowFactory:Show dialog window Playnite.Windows.ExtensionCrashHandlerWindowFactory
08-11 15:23:17.500|DEBUG|Downloader:Downloading string content from https://raw.githubusercontent.com/sharkusmanch/playnite-pcgamingwiki-metadata-provider/master/manifest.yaml using System.Text.UTF8Encoding encoding.
08-11 15:23:18.011|DEBUG|Downloader:Downloading string content from https://raw.githubusercontent.com/cooperate/SteamGridDBMetadata/master/Manifests/Installer_Manifest.yaml using System.Text.UTF8Encoding encoding.
08-11 15:23:18.457|DEBUG|Downloader:Downloading string content from https://github.com/JosefNemec/PlayniteExtensions/raw/master/manifests/Universal_Steam_Metadata.yaml using System.Text.UTF8Encoding encoding.
08-11 15:23:19.056|DEBUG|Downloader:Downloading string content from https://raw.githubusercontent.com/JosefNemec/PlayniteExtensions/master/manifests/AmazonLibrary_Builtin.yaml using System.Text.UTF8Encoding encoding.
08-11 15:23:19.507|DEBUG|Downloader:Downloading string content from https://raw.githubusercontent.com/JosefNemec/PlayniteExtensions/master/manifests/BattlenetLibrary_Builtin.yaml using System.Text.UTF8Encoding encoding.
08-11 15:23:19.955|DEBUG|Downloader:Downloading string content from https://github.com/JosefNemec/PlayniteExtensions/raw/master/manifests/BethesdaLibrary_Builtin.yaml using System.Text.UTF8Encoding encoding.
08-11 15:23:20.545|DEBUG|Downloader:Downloading string content from https://github.com/JosefNemec/PlayniteExtensions/raw/master/manifests/EpicGamesLibrary_Builtin.yaml using System.Text.UTF8Encoding encoding.
08-11 15:23:20.875|DEBUG|Downloader:Downloading string content from https://github.com/JosefNemec/PlayniteExtensions/raw/master/manifests/GogLibrary_Builtin.yaml using System.Text.UTF8Encoding encoding.
08-11 15:23:21.210|DEBUG|Downloader:Downloading string content from https://github.com/JosefNemec/PlayniteExtensions/raw/master/manifests/HumbleLibrary_Builtin.yaml using System.Text.UTF8Encoding encoding.

Sorry, couldn't figure how to send in plaintext so there's unexpected formatting due to github. Couldn't setup a portable playnite to test either but it should be easily recreatable if you try to backup a newly created manually added game. It seems to be consistent with new manually added entries but changing them to be identical or similar to older working entries did not work so I doubt if this is caused by any particular entry. There are also some old, not-installed manually added games which somehow don't cause this error.

@N1N74 Just dropping in to briefly give you some useful information for the future:
You can use a code block-- triple backticks (`) on either end of the quoted text.
For instance:
Hello there
Line 2
Line 3

would be done as
```
Hello there
Line 2
Line 3
```
Hope this helps!

I just published v0.6.1 to fix this. Please let me know if you run into any additional problems.

authors: Firehawke N1N74 mtkennerly

repo: mtkennerly/ludusavi-playnite


text:
Cancelling is slow

Cancelling a scan will show "Cancelling..." until the entire scan has been done in the background (at least, according to the progress bar).
Ludusavi 0.11.0
Windows 11

The reason for this is that, at the start of the backup, Ludusavi creates a list of asynchronous tasks, one per game, and then waits for all tasks to finish. When a task starts, it checks whether the user has pressed cancel, and if so, it just doesn't do anything. But every task still has to start up and check if it's been cancelled.
I'll see if I can improve this by just creating a few tasks at the start and only scheduling more in a rolling fashion.

Fixed:

source: gharchive/issue

authors: mtkennerly redactedscribe

repo: mtkennerly/ludusavi

license: MIT

license_type: permissive

license_source: github-api


text:
Handle throwing plug call

Hi,
Thanks for writing this great library!
It seems that uncaught throws inside the plug call currently end up with a socket closed the following in the logs
[error] GenServer #PID<0.4420.0> terminating
** (stop) bad return value: "something was thrown"
Last message: {:continue, :handle_connection}

(no stacktrace)
With the changes in this PR
[error] ** (throw) "something was thrown"
    ... PROPER STACKTRACE HERE ...

and a corresponding telemetry event, similar to exceptions.
Thoughts?
Haven't looked closely yet, but I think the same can be said of non-normal exits. Will take a look later.

Hi,
Opened a new pull request (https://github.com/mtrudel/bandit/pull/398) that should supersede this one.

Kept digging more on this and I realized what I report in #410.
I thought it might be useful to report clearly as an issue before fixing.

source: gharchive/pull-request

repo: mtrudel/bandit


text:
Win MSI | When updating existing installations delete files from the previous version

It would be an effective workaround to this problem: https://github.com/mu-editor/mu/issues/1421#issuecomment-823662098
Basically each new Mu release will have newer versions of all the required wells (any dependency or subdependency that is not version locked will fetch the latest at the time the installer is created) and we encounter issues like this when wheels from a previous installation are present after Mu has been updated:
ERROR: Cannot install cryptography 3.4.6 (from C:\Users\mike\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\wheels\cryptography-3.4.6-cp36-abi3-win_amd64.whl) and cryptography 3.4.7 (from C:\Users\mike\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\wheels\cryptography-3.4.7-cp36-abi3-win_amd64.whl) because these package versions have conflicting dependencies.

The conflict is caused by:
    The user requested cryptography 3.4.6 (from C:\Users\mike\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\wheels\cryptography-3.4.6-cp36-abi3-win_amd64.whl)
    The user requested cryptography 3.4.7 (from C:\Users\mike\AppData\Local\Programs\Mu Editor\Python\lib\site-packages\mu\wheels\cryptography-3.4.7-cp36-abi3-win_amd64.whl)

To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict

ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies

Thanks for the report. Will investigate!
Back of mind thought: might be due to the fact that MSI versions are not as "expressive" as PEP 440's. Existing pup-created Mu MSIs are all version 1.0.0!

THESIS:

Our MSIs do not remove files from previous version because the MSIs we have produced so far are all the same version -- Mu versions 1.1.0b1 through 1.0.0b5 all resolve down MSI version 1.0.0.

DIAG PLAN:

Create a new puppy 1.5.0 version with an additional file.

MSI package it.

Create a subsequent version where that file is removed.

Package it as MSI 1.5.0, 1.5.1, 1.6.0, and 2.0.0.

THEN:

Install the first 1.5.0 and the "newer" 1.5.0 with the removed file -- observe behaviour.
Install the first 1.5.0 and then 1.5.1 -- observe behaviour.
Install the first 1.5.0 and then 1.6.0 -- observe behaviour.
Install the first 1.5.0 and then 2.0.0 -- observe behaviour.

...ensuring, of course, that no puppy is installed when starting each of the above listed experiments.

PROGRESS:

Created and packaged puppy 1.5.0 with a bundled hello.txt file.
Created and packaged puppy 1.6.0 much like 1.4.0, without the bundled file in 1.5.0.
Repacakged puppy 1.6.0 as 1.5.1.
Repackaged puppy 1.6.0 as 1.5.0.
Repackaged puppy 1.6.0 as 2.0.0.

1.5.0 (original) to 1.5.0 (replacement):

No puppy installed.
Installed 1.5.0 (original) MSI file.
Does not run -- Made stupid Python packaging mistake.

NEXT:

Redo this all over again with:

1.7.0 includes a bundled file (properly packaged!)
1.8.0 removes it.

PROGRESS:

Created and packaged puppy 1.7.0 with a bundled hello.txt file.
Created and packaged puppy 1.8.0 much like 1.4.0, without the bundled file in 1.7.0.
Repackaged puppy 1.8.0 as 1.7.0.post1.
Repacakged puppy 1.8.0 as 1.7.1.
Repackaged puppy 1.8.0 as 2.0.0.

1.7.0 >> 1.7.0.post1:

No puppy versions installed.
Installed 1.7.0 MSI: launches and works as expected, bundled file is there, used and displayed.
Installed 1.7.0.post1 MSI on top of it:

Programs and Features shows two installed versions (?!?!?!): 1.7.0 and 1.7.0.post1 in the description, but both 1.7.0 MSI version.
Launching shows 1.7.0 in the title bar but does not use/show the bundled hello.txt file.
The hello.txt file is still on disk.

This is somehow expected and along the lines of the reported behaviour.

1.7.0 >> (uninstall) >> 1.7.0.post1:

No puppy versions installed.
Installed 1.7.0 MSI: launches and works as expected, bundled file is there, used and displayed.
Uninstalled 1.7.0.
Installed 1.7.0.post1 MSI: launches and works as expected, bundled file is not there.

1.7.0 >> 1.7.1:

No puppy versions installed.
Installed 1.7.0 MSI: launches and works as expected, bundled file is there, used and displayed.
Installed 1.7.1 MSI on top of it:

Programs and Features shows a single 1.7.1 version installed.
Launching works as expected with 1.7.1 in the title bar no bundled text file displayed.
The previously bundled hello.txt file is no longer on disk.

1.7.0 >> 1.8.0:

No puppy versions installed.
Installed 1.7.0 MSI: launches and works as expected, bundled file is there, used and displayed.
Installed 1.8.0 MSI on top of it:

Programs and Features shows a single 1.8.0 version installed.
Launching works as expected with 1.8.0 in the title bar no bundled text file displayed.
The previously bundled hello.txt file is no longer on disk.

1.7.0 >> 2.0.0:

No puppy versions installed.
Installed 1.7.0 MSI: launches and works as expected, bundled file is there, used and displayed.
Installed 2.0.0 MSI on top of it:

Programs and Features shows a single 2.0.0 version installed.
Launching works as expected with 2.0.0 in the title bar no bundled text file displayed.
The previously bundled hello.txt file is no longer on disk.

CONCLUSION:

The established THESIS is confirmed.
The pup-produced MSI files properly replace/remove existing files when installed on top of a previously installed pup-produced MSI file for the same product...
...if and only if the new MSI version is greater than the installed MSI version.

The originally described issue results from the fact that all pup-produced Mu MSI files, from PEP 440 versions 1.1.0b1 to 1.0.0b5 result in the same 1.1.0 MSI version.
NEXT:

Document this behaviour.

authors: carlosperate tmontes

repo: mu-editor/pup


text:
Autoupdate

Hey,
I really like the mojibar, very handy. I think an autoupdate would be a nice addition because currently one has to check the github repo and redownload the app.
I know there are some electron packages that are supposed to provide an easy autoupdate, however I never tried it, so I don't know if this is a huge thing or just a small package install and configuration.
While I appreciate that this might not be the most important feature, I think it is still very valuable and would be a nice addition.
Thanks.

Hey @muan, I did not know it was available via brew. This makes everything much nicer already, thanks for letting me know. (I appreciate it is written in the docs)

Hey @muan is this not done? The notes say it now updates automatically.

@lukasoppermann The app itself doesn't auto update. The app just fetches the newest version of emojilib automatically.

Ahh, okay, thanks for clarifying.

authors: lukasoppermann muan

repo: muan/mojibar

license: mit

license_source: bigquery


text:
Use promises

Thanks for the module, amazing, I saw the documentation says this about promises, however dev is excluded from the npm package.
Would be nice to type import RecordRTC from 'recordrtc/promise' and have the version using promises
Cheers

Latest git-clone supports this:
// node test.js
var RecordRTC = require('./RecordRTC.js');
var RecordRTCPromisesHandler = require('./dev/RecordRTC.promises.js');

global.RecordRTC = RecordRTC;

var recorder = new RecordRTCPromisesHandler({}, {
    type: 'video',
    recorderType: RecordRTC.WhammyRecorder
});

recorder.startRecording().then(function() {
    console.log('startRecording success callback');
}).catch(function(error) {
    console.erorr(error);
});

Closing out of this: https://github.com/muaz-khan/RecordRTC/commit/2240f35fd2cbd6acb0715dc9f778f17ef16346d4

authors: muaz-khan piuccio

repo: muaz-khan/RecordRTC


text:
Add .mailmap

To consolidate git shortlog because Àlex uses inconsistent Git configurations.

Thanks, I have too many computers !

authors: alevinval dolmen

repo: mubit/sse


text:
Bookmark folder background invisible when opening

Hi,
today I've update to firefox 76 and my bookmark folder turn invisible.
Screenshot: https://prnt.sc/sdeb6i
Thanks for this amazing theme btw.

and right button menu

Same thing here too, on Windows 10 (2 PCs) and also Manjaro

I had this as well, but reinstalling MaterialFox (using the master branch version rather than release version) seemed to have fixed it. Either that or it was fixed from one of the tweaks I added.

Reinstalling MaterialFox (with v76.2) fixed this for me. 👍

Yep, everything's alright now

I can confirm, installing material fox from the master branch it fixed the issue

authors: Bogghi ConfusedOwlet Grogs feinir sticsk

repo: muckSponge/MaterialFox


text:
using v4() on key property breaking styles

Type of problem: bug?
Using a uuid as a key value looks to break the material-ui-styles. It seems material-ui is relying on an incrementing counter when using a key property in the component hierarchy.
For example, using v4() uuid in the following code breaks the material-ui styles:
import React from 'react';
import PropTypes from 'prop-types';
import {MenuList, MenuItem} from 'material-ui/Menu';
import Paper from 'material-ui/Paper';
import {withStyles} from 'material-ui/styles';
import {ListItemIcon, ListItemText} from 'material-ui/List';
import DraftsIcon from '@material-ui/icons/Drafts';
import SendIcon from '@material-ui/icons/Send';
import {NavLink} from 'react-router-dom';
import {connect} from 'react-redux'
import { withRouter } from 'react-router';
import {v4} from 'uuid';
import classNames from 'classnames';

const styles = theme => ({
  menuItem: {
    '&:focus': {
      backgroundColor: theme.palette.primary.main,
      '& $primary, & $icon': {
        color: theme.palette.common.white
      }
    }
  },
  primary: {},
  icon: {}
});

function Navigation(props) {
  const {classes} = props;
  console.log('Navigation',props)

  return (<Paper>
    <MenuList>
      <NavLink to="/" className={props.classes.removeUnderline}>
        <MenuItem className={classes.menuItem}>
          {/* <ListItemIcon className={classes.icon}>
            <SendIcon/>
          </ListItemIcon> */}
          <ListItemText classes={{
              primary: classes.primary
            }} inset={true} primary="Home"/>
        </MenuItem>
      </NavLink>
      {props.services.map( s =>
        <NavLink to={s.urlPattern} className={classNames(props.classes.removeUnderline)} key={v4()}>
          <MenuItem className={classNames(classes.menuItem)}>
            {/* <ListItemIcon className={classes.icon}>
              <SendIcon/>
            </ListItemIcon> */}
            <ListItemText classes={{
                primary: classes.primary
              }} inset={true} primary={s.headerTitle}/>
          </MenuItem>
        </NavLink>
      )}
    </MenuList>
  </Paper>);
}

Navigation.propTypes = {
  classes: PropTypes.object.isRequired
};

Navigation = withStyles(styles)(Navigation);

export default withRouter(connect((state) => ({services: state.onshoreApp.services, isFetching : state.onshoreApp.isFetching}))(Navigation))

Changing the key property to use an incrementing counter instead fixes the styles.
import React from 'react';
import PropTypes from 'prop-types';
import {MenuList, MenuItem} from 'material-ui/Menu';
import Paper from 'material-ui/Paper';
import {withStyles} from 'material-ui/styles';
import {ListItemIcon, ListItemText} from 'material-ui/List';
import DraftsIcon from '@material-ui/icons/Drafts';
import SendIcon from '@material-ui/icons/Send';
import {NavLink} from 'react-router-dom';
import {connect} from 'react-redux'
import { withRouter } from 'react-router';
import {v4} from 'uuid';
import classNames from 'classnames';

const styles = theme => ({
  menuItem: {
    '&:focus': {
      backgroundColor: theme.palette.primary.main,
      '& $primary, & $icon': {
        color: theme.palette.common.white
      }
    }
  },
  primary: {},
  icon: {}
});

function Navigation(props) {
  const {classes} = props;
  console.log('Navigation',props)

  return (<Paper>
    <MenuList>
      <NavLink to="/" className={props.classes.removeUnderline}>
        <MenuItem className={classes.menuItem}>
          {/* <ListItemIcon className={classes.icon}>
            <SendIcon/>
          </ListItemIcon> */}
          <ListItemText classes={{
              primary: classes.primary
            }} inset={true} primary="Home"/>
        </MenuItem>
      </NavLink>
      {props.services.map( (s,i) =>
        <NavLink to={s.urlPattern} className={classNames(props.classes.removeUnderline)} key={i}>
          <MenuItem className={classNames(classes.menuItem)}>
            {/* <ListItemIcon className={classes.icon}>
              <SendIcon/>
            </ListItemIcon> */}
            <ListItemText classes={{
                primary: classes.primary
              }} inset={true} primary={s.headerTitle}/>
          </MenuItem>
        </NavLink>
      )}
    </MenuList>
  </Paper>);
}

Navigation.propTypes = {
  classes: PropTypes.object.isRequired
};

Navigation = withStyles(styles)(Navigation);

export default withRouter(connect((state) => ({services: state.onshoreApp.services, isFetching : state.onshoreApp.isFetching}))(Navigation))

The styles that are breaking in this case is the background color of my navigation items:
how it looks with key={v4()}:

renders correctly using an incrementing counter key={i}:

Tech
Version

Material-UI
1.0.0-beta.42

React
16.2.0

browser
any

etc

@Gribbs Do you have a live reproduction example?

@Gribbs I was able to reproduce your issue in https://codesandbox.io/s/j7yjj1l9mw. This is a react question. When a link is pressed. It gets the CSS active state. The active state change the background color. Clicking a link also triggers a rerender. Given you are using key={v4()}, you will inject a new dom node at each render, losing the active state and the background color.
I fear you have set yourself a bad track record. Don't expect us from answering your question in the future. We will close them.

I appreciate the response, but that's a pretty strange comment from you at the end there @oliviertassinari. You have categorised this as support, not me. I found my workaround by using key={i} actually but raised this as a potential issue since material-ui@next is still in Beta. Enjoy your day

"Given you are using key={v4()}, you will inject a new dom node at each render". Unless I'm missing something, it renders exactly the same amount of times whether I use key={i} or key={v4()} and there's no extra dom nodes created? When I changed your example to use the array key it worked as expected https://codesandbox.io/s/mjly8xk52x !

authors: Gribbs oliviertassinari

repo: mui-org/material-ui


text:
Sample source code link has been broken

Sample source code link has been broken. It shows 404.
https://github.com/mui-org/material-ui/tree/master/docs/src/pages/page-layout-examples/dashboard

@desha Your documentation version is outdated. We have moved the demo to a different location. Hard refresh the documentation, you should see v1.5.1 in the top left corner and the links updated.

Found it. Thanks @oliviertassinari
https://github.com/mui-org/material-ui/tree/master/docs/src/pages/getting-started/page-layout-examples/dashboard

authors: desha oliviertassinari


text:
FormControlLabel should have "labelTypographyProps" just like ListItemText has "primaryTypographyProps"

FormControlLabel should provide a method to customize its label which is wrapped by typography just as ListItemText has primaryTypographyProps, so could be something like:
<FormControlLabel labelTypographyProps={...} />

@Bouncue Maybe you don't need the FormControlLabel component in this case. Have you tried using a label + Typography component directly?

Have you tried using a label + Typography component directly?

Did you mean like this: <Typography>myLabel</Typography>
I am using FormControlLabel to give my Checkbox component a label next to it:
<FormControlLabel
          label={prop.myLabel}
          control={<Checkbox />}
/>

I don't know how to add label to Checkbox other than that way.
I look into the DevTool, myLabel is wrapped by:
myLabel
And I need to change the variant to "body2"
But I dont have access do it.

@Bouncue Ok, in this case, I would encourage you to use the CSS API or to create your own label. I don't think that there is much value at allowing further customization.

You are right. I didn't notice there is CSS API for label.
How do I delete this stupid issue post, I don't want more people read this, especially companys. This is bad for my career as a front-end dev. They won't hire me, they would think that I am really stupid programmer (it's true).

@Bouncue I wouldn't worry about it. I doubt people will dig into past open issues :). At least, it's how we learn, by making mistakes, that's 100% fine and often required.

Related StackOverflow question: https://stackoverflow.com/questions/58674888/how-change-default-typography-class-of-a-formcontrollabel-material-ui-react/58697484#58697484

authors: Bouncue oliviertassinari ryancogswell


text:
Criteria for “Lab” to move to “Core”

In the "Lab" section, is it possible to modify or remove the first criteria for a component to be ready to move to the core?

[x ] I have searched the issues of this repository and believe that this is not a duplicate.

Summary 💡

The first criteria says that a "Lab" component "needs to be used" in order to be moved into the "core" components.  However, there is a "catch-22" with the criteria.  Most companies (or users) are not going to feel comfortable using these components until they are in the core, so therefore, the Google analytics stats are never going to see usage, and so the component may never be move to the "core".  Our company really wants to use several of these "Lab" components.  Please let us know if anything can be done to change / remove this first criteria.
Examples 🌈

Motivation 🔦

Our company really wants to use several of these "Lab" components.  Please let us know if anything can be done to change / remove this first criteria.

From our experience so far, the lab doesn't stop people from using the components. We are good. We have seen great adoption from some of the components in the lab, enough to give us confidence it's valuable.

Regarding what we plan, https://github.com/mui-org/material-ui/issues/19448#issuecomment-579658449 is still up-to-date. We have no plan to drop any of the components that are in the lab. A good chunk of them will be made stable in v5. The Tree View is the one that lags the most behind. We still have paid enterprise features to build on top of the existing MIT ones: drag & drop, checkboxes, multi-selection.

authors: obillwan oliviertassinari


text:
JSS style being applied to wrong component

I'm seeing a weird issue where jss is being applied to a different component.

[x] The issue is present in the latest release.
[x] I have searched the issues of this repository and believe that this is not a duplicate.

Steps to Reproduce 🕹
Go here https://webstore-deploy-jkh9y1vwn.vercel.app/product/mars-greeting-flat-card
click add to space cart button
click the cart image in the top right corner
Now on cart page, refresh the page, see footer at bottom is all screwed up. The style for the cart product image is being applied to the footer.
Your Environment 🌎
"@material-ui/core": "^4.11.0",
"next": "9.5.1",
"react": "16.13.1",

This look like an server-side hydration mismatch. You will likely have to check our documentation for the issue and apply a dichotomy to figure out the origin. I think that we can close the issue.

server-side hydration mismatch

Thanks, that was exactly the issue, closing

@FutureKode  I'm having the same issue when lazy loading components.
How did you resolve?

@dial3x So my issue was that I was rehydrating my store on frontend so nextJs was seeing a mismatch between what was rendered on the server and what was rendered on the client.
I resolved it by doing the rehydration inside a useEffect. Hope this helps with your issue

authors: FutureKode dial3x oliviertassinari


text:
Select icon misaligned, not enough padding when html font size is not 16px

Current Behavior 😯
After setting the font size to «Very large» in Chrome:

Expected Behavior 🤔
After setting top of the icon to calc(50% - .5em), and padding-right of the select to 1.5em:

Duplicate of https://github.com/mui-org/material-ui/issues/26401

authors: mnajdova wereHamster


text:
[DatePicker] Provide ability to add css className to DatePicker Dialog for Selenium WebDriver Testing

Versions

Material-UI: 0.15.4
React: 15.3.2
Browser: Any

Description
We have a large scale, in-house react application we would like to incorporate the DatePicker into.  However, the <DatePicker /> component does not provide a way to assign a className to the Picker's Dialog Component, nor it's Calendar Component.  This means there is no reliable way to locate a specific <DatePicker />'s associated Calendar to automate our integration tests using Capybara & Selenium WebDriver.
In the code below, there is a [data-reactroot] attribute assigned to the outermost div (where styling is applied by material-ui.)  If we could assign a className to this element, perhaps along the lines of <DatePicker containerClassName="" />, that would provide a hook for the webdriver to find, so we could automate the UI events from there.  Ideally, we'd like to be able to differentiate between the dialog component and the calendar component, since the Input component already receives the className assigned to <DatePicker />.
Possibilities:
<DatePicker containerClassName="" />
<DatePicker dialogClassName="" calendarClassName="" />

Or, alternatively, make the id required for <DatePicker /> and provide constructed id's on the dialog and calendar's container elements.
<DatePicker id="myDatePicker" />
<DatePicker.Input id="myDatePicker_Input" />
<DatePicker.Dialog id="myDatePicker_Dialog" />
<DatePicker.Calendar id="myDatePicker_Calendar />

Below is the output in the DOM of the rendered dialog and calendar components when you have clicked on a <DatePicker /> component.  I haven't expanded everything, just enough to illustrate the point.
Images & references

Any solution for this problem?

Second this issue, running into this same problem right now.

Also would like this feature.

add a testId prop or something else navigating your project in selenium is extremely taxing

Closing for #4787

This issue it closed? But, I tried passing   dialogClassName  and containerClassName to the Datepicker component, and unfortunately none of them gets applied. The document also doesn't talk much about these two props. How do I pass a classname  to datepicker's dialog component. Any help would be appreciated.

@nitte93 The issue was closed because it won't land in v0.x.

@oliviertassinari Ok, is it coming in next version? I can create a PR if you need.

@oliviertassinari are we not having Datepicker in material@next. If not, what is the recommended workaround?

@oliviertassinari it's not there in the materialui@next's too. The recommended components for datepicker on the picker page doesn't supprt passing a dialogContainerClassname.Is there any plans on that, If required I can create a PR, if not! Is there any recommended way to pass classname to datepicker dialog.

There is no solution as of yet. However there is a workaround to pass a css class name to popup/dialog container. Pass an img tag for rightArrowIcon props of datepicker with onload function to call its parent and inject css class.
<DatePicker
   disableToolbar={true}
   variant="inline"
   inputVariant="outlined"
   rightArrowIcon={}
leftArrowIcon={}
....
....
....
/>

const injectTheme=()=>{
let node = document.getElementById("datepicker-arrow-right").parentNode.parentNode.parentNode.parentNode.parentNode.parentElement;
    node.classList.add("Css-Class-Name");
}

anyone have solution for this? it's so bad if I can not add a container class

@huykon This issue is very old. If you can reproduce the issue with v5, please open a new issue.

authors: ProtectedVoid Quas94 Reshad-A adepatie aljones15 chrouzz huykon nitte93 oliviertassinari


text:
Unable to add custom color to the

[ ] I have searched the issues of this repository and believe that this is not a duplicate.

Expected Behavior

Current Behavior

Steps to Reproduce (for bugs)

Context

Your Environment

Tech
Version

Material-UI

React

browser

etc

I am also looking at this. Is there a way to modify the color of the placeholders in a TextField?

I believe is related to this https://css-tricks.com/almanac/selectors/p/placeholder/
Maybe it can be solved by passing the right class

any update on this? in docs there are no way to change label color!

@cinder92 https://material-ui.com/demos/text-fields/#customized-inputs


text:
[test] Fix duplicate key in TreeItem test

This broke the build on next after I merged https://github.com/mui-org/material-ui/pull/25835 because of a merge with https://github.com/mui-org/material-ui/pull/25939.

You win


text:
Material Icons: The page will auto load when search value change

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Current behavior 😯

Expected behavior 🤔
No response
Steps to reproduce 🕹
Steps:

Context 🔦
No response
Your environment 🌎

npx @mui/envinfo
  Don't forget to mention which browser you used.
  Output from `npx @mui/envinfo` goes here.

Please describe what problem are you experiencing

authors: BarneyRoos michaldudak

repo: mui/material-ui


text:
[system] set before directly without using prepend for global styles

closes #44597
Root cause
Each GlobalStyles create its own sheet and injected at this line:
…
before = this.container.firstChild
…
this.container.insertBefore(tag, before) // this.container = head

This cause the 2nd GlobalStyles in the app to be injected above (insertBefore) the 1st GlobalStyles.
Solution
set before to be the insertion point at the insert method of the custom sheet.
Benefit of insertion point

prepend (deprecated) is replaced by insertionPoint https://github.com/emotion-js/emotion/tree/main/packages/sheet#prepend.
prepend is unpredictable for GlobalStyles. Different order of GlobalStyles and components produce different injection order 😮 (even without <StyledEngine injectFirst>. This PR makes the order of GlobalStyles and components same as using the default cache.

Test
Added a regression test. I don't think this can be easily tested with a unit test.

[x] I have followed (at least) the PR section of the contributing guide.

Should we also update this section and this warning on the docs?

To be honest, I think they are separate issues, not specific to StyledEngineProvider. I believe they need a rewrite to use insertionPoint instead but it should not be in this PR.


text:
Switching between loaded resources should be instant

Duplicates

[X] I have searched the existing issues

Latest version

[X] I have tested the latest version

Summary 💡
Currently we seem to always load page content even if we already loaded it before
Examples 🌈
https://user-images.githubusercontent.com/437214/209144296-5c0071f8-1600-4c77-a811-1dfb88f32647.mp4
Motivation 🔦
The UX is pretty bad considering we already have it loaded, at the very least it should be way faster than it is

React query should have some automatic caching functionality so this shouldn't be too hard? I've only done with Apollo client though where it's very simple.

React query should have some automatic caching functionality so this shouldn't be too hard?

I think currently the page is hard reloaded when the url of the iframe changes.
For me, personally, in production, it consistently loads well under 1 second. I think "The UX is pretty bad" is a bit of hyperbole.

For me, personally, in production, it consistently loads well under 1 second. I think "The UX is pretty bad" is a bit of hyperbole.

https://www.nngroup.com/articles/response-times-3-important-limits/
Given it's already loaded once I don't really see a reason why it couldn't be instantaneous when switching back.
I don't really understand then why we keep prematurely optimising code with useCallback and memos if we ignore visibly slow parts of UI?

Given it's already loaded once I don't really see a reason why it couldn't be instantaneous when switching back.

The current implementation runs the app and editor overlay in an iframe. When the page changes the url is changed and the whole iframe reloads. It does this to make sure everything is loaded and initialized the same way as if it was the first page that was opened, or when the page is navigated to from another one. This is similar to how e.g. appsmith switches between pages. You're invited to investigate alternatives to this approach, I'd be happy to evaluate concrete suggestions.

I don't really understand then why we keep prematurely optimising code with useCallback and memos if we ignore visibly slow parts of UI?

I would suggest reading this post to help shape your opinion on what would and what wouldn't classify as a premature optimization. Just like in the article we use useCallback and useMemo primarily to stabilize objects between renders, not to optimize repeated calculations. It argues that there is a mismatch between javascript and the react programming model and suggests this as a code convention to remedy that mismatch. a code convention we apply globally as to not waste our time figuring out the necessity of individual cases (a practice which would not unironically classify as premature optimization). We can argue about whether or not we should adopt this code convention. But I don't think it's fair characterizing it a premature optimization to make a point about which UI interactions we should optimize.

The current implementation runs the app and editor overlay in an iframe. When the page changes the url is changed and the whole iframe reloads. It does this to make sure everything is loaded and initialized the same way as if it was the first page that was opened, or when the page is navigated to from another one. This is similar to how e.g. appsmith switches between pages. You're invited to investigate alternatives to this approach, I'd be happy to evaluate concrete suggestions.

It is similar to appsmiths but even in their case it feels better as they don't have 3-stage loading as we do (spinner -> loading text -> loading bar)
Even if someone else does it the same way we should not be limited if we see there is a better way to something. In this case the better way would be "loading things instantly". IMO that could be applicable to everything that we do
Alternatives to this approach:
a) Do not use iframe at all to render content of the page
b) Speed up iframe page content rendering - in our case even the empty pages take the same amount of time to render. I'd expect pages with mostly static content should render in the same ballpark as other static HTML pages
c) At the very least reduce UI flickering to single loader so that perceived performance is better
FYI I'm not expecting we start working on this today or even in the near future, this issue was created to keep track of possibilities or better explain limitations to whoever is interested in this. (that's to explain that I understand that certain decisions to do things differently can result in significant refactoring/effort)

I would suggest reading this post to help shape your opinion on what would and what wouldn't classify as a premature optimization. Just like in the article we use useCallback and useMemo primarily to stabilize objects between renders, not to optimize repeated calculations

Thanks for sharing. While you can call it that you are not "optimising for performance" in this case, I'd consider it "optimising for potential very low chance bug not to be introduced". That all would be fine if this optimisation came without any price, but:

It makes code harder to read
It can potentially even hurt the actual performance

But I don't think it's fair characterizing it a premature optimization just to make a point about which UI interactions we should optimize first.

Fair enough, my apologies for bringing this up here in this thread 🙇

a) Do not use iframe at all to render content of the page

We use the iframe to provide isolation between editor and runtime in terms of DOM, global scope and routing on the browser level. It provides us with a new React root and isolates the editor react-query from the runtime one. It allows us to separate Theme providers for editor and runtime. It prevents us from drifting the canvas implementation too much from the runtime implementation. There are tons of reasons why this is implemented on top of an iframe, and any other page builder does the same. I'd always encourage to prototype such proposals first.

It can potentially even hurt the actual performance

Maybe on paper, but in practice, it's a claim that I have yet to see backed up by data. While I've seen the corollary been backed up by data numerous times.

authors: Janpot apedroferreira bytasv

repo: mui/mui-toolpad


text:
init switch component

#745

[x] I've read and followed the contributing guide on how to create great pull requests.
[x] I've updated the relevant documentation for any new or updated feature.
[x] I've linked relevant GitHub issue with "Closes #".
[x] I've added a visual demonstration in the form of a screenshot or video.

@Janpot i done this

@Janpot hi Janpot
How can I join your team? because I want to be exposed to an English-speaking environment more and also discuss some of my preliminary ideas. On the other hand, I hope to use GitHub Copilot. Thank you so much in advance

@JerryWu1234 Thank you for your interest. We currently don't have any open positions for the toolpad team. When a job opening becomes available it will be announced on our careers page.

@JerryWu1234 Thank you for your interest. We currently don't have any open positions for the toolpad team. When a job opening becomes available it will be announced on our careers page.

Is it only regular staff who can join this group as maintainer ?
is there any opportunity for me to join the group without being a regular staff member and without having to pay.
but I can participate your meet.

As far as I can see these are either employees, ex-employees or members of the project from before the incorporation. The latter don't have write access to repositories, no external contributors attend meetings.


text:
Fix missing key warning

Should we add a check for certain warnings in the integration tests?

Should we add a check for certain warnings in the integration tests?

Shouldn't eslint catch that kind of stuff if we add the proper rules?

Shouldn't eslint catch that kind of stuff if we add the proper rules?

It seems to miss this specific case. It is enabled for the file though, I can trigger it using another pattern (const x = [<div />, <div />]).
An integration test could catch these and possible more React warnings

I've never used integration tests for code related issues but if you think it's a valid approach I would be curious to see how it would work :) I guess it could be useful to catch the issues that eslint can't.

I would be curious to see how it would work

We can capture console messages in playwright and throw when we detect certain patterns

I would be curious to see how it would work

We can capture console messages in playwright and throw when we detect certain patterns

ok that's what i was thinking, sounds good!

authors: Janpot apedroferreira


text:
CHAT_LINK_DOMAIN in .env?

Hi, I am a first timer.
I just forked the repo. What should I fill CHAT_LINK_DOMAIN in my .env file?

Generally, it's https://localhost:3000

it works 👍


text:
Xamarin.Forms compatibility

Say I need to use the cs-multihash nuget on a Xamarin.Forms mobile app to create a KECCACK-256 hash on a byte array. How is this supported? Thanks in Advance.

Hi, that should not be a problem if you’re using a relatively recent version of Xamarin.Forms that supports .NET Standard 1.6. Read here for assistance.

Hi ,
I managed to use the plugin by making use of .Net standard library .
Regards,
Kiran
On Thu, Apr 12, 2018, 12:22 PM Trond Arne Bråthen notifications@github.com
wrote:

Hi, that should not be a problem if you’re using a relatively recent
version of Xamarin.Forms that supports .NET Standard 1.6. Read here
https://blog.xamarin.com/building-xamarin-forms-apps-net-standard for
assistance.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/multiformats/multihash/issues/91#issuecomment-380697719,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ARaPVxnGKsuipps_YkrzxELTqgx9FJPRks5tnvmygaJpZM4TRL2w
.

authors: kiranbasvaraj tabrath

repo: multiformats/multihash


text:
scriptfiles path is incorrect

Describe the bug
There is a problem with scriptfiles. Probably my problem is bad reading of the documentation. But I can't work with scriptfiles.
I tried to put scriptfiles into the amx/scriptfiles, and amx-mygamemode/scriptfiles
I tried to move amx into /resources/amx and put file there.
But all my moves didn't work.
To reproduce
Just try to read data from scriptfiles. Or try to launch something like https://github.com/Open-GTO/Open-GTO
Expected behaviour
It must work fine. The files from script files must be available.
Additional context
https://github.com/multitheftauto/amx/blob/1cb22d58995d1871006ab6a8b3c2099f532f6e1b/amx-deps/src/util.cpp#L207-L219

The main problem seems to be that the getScriptFilePath function isn't referenced anywhere except for sqlite reading stuff, so the path is probably never set.

The main problem seems to be that the getScriptFilePath function isn't referenced anywhere except for sqlite reading stuff, so the path is probably never set.

https://github.com/Disinterpreter/pmta-wrapper/search?q=getScriptFilePath&unscoped_q=getScriptFilePath
I think it can help. It is latest version of adamix's AMX.

You may find it useful to incorporate the fix from 1325abf20ceab228e89c21d041849742dcc6d5bb

Ah, it's true, AMX has that SA-MP specific change, I just forgot about it when changing the AMX version. I'll have to put it back in.

OK, there's a small inconsistency with SA-MP in the previous AMX. SA-MP uses a single path for the scriptfiles of every AMX script, and, for security reasons (to avoid malicious compiled scripts touching the rest of the file system), the natives aren't allowed to go outside this folder. This module's implementation looks on both for an existing file before defaulting to the script's file.
Although at first glance SA-MP's approach might seem problematic, it's been the standard an some scripts might rely on it. A script might create a file or database and expect another script to use its contents. With this resources implementation, this wouldn't work.
I looked into the current file natives implementation and I noticed it uses a completename function which looks for the env var AMXFILE_VAR (which currently is defined as "AMXFILE"), which can be specified by the user.  I'd suggest to use setenv while initializing the module with the overwrite value set to false so users can set it to whatever they want. This would implement and extend (rather than change) SA-MP's behaviour.
Any comments?

Thanks @theSpool, resolved in https://github.com/multitheftauto/amx/commit/422b841d8f07a43d56a5463a56ef151e91bc55f5#diff-f5ac81a5af817525061fa6eafe4ca6eaR140

And where the scriptfiles folder must be now?

It's unfortunately still hardcoded to resources/amx/scriptfiles. So if your amx resource is in a different folder (likely), it won't work.

It's unfortunately still hardcoded to resources/amx/scriptfiles. So if your amx resource is in a different folder (likely), it won't work.

I don't know what I do incorrect. I build from latest commit. I put scriptfiles. And got an error. (I trying to launch OpenGTO)

authors: Disinterpreter colistro123 qaisjp theSpool

repo: multitheftauto/amx

license: Zlib


text:
请调整fdroid编译顺序

当前各版本均为armv7排第一个成为默认推荐和自动更新对象，而普遍也是合理的方法是v8作为默认更新推荐。

https://gitlab.com/fdroid/fdroiddata/-/merge_requests/16149

authors: ivysrono mumu-lhl

repo: mumu-lhl/Ciyue


text:
Add signed mail support

This should be hopefully enough to support getting the attachments of signed mails. At least I was able to download the attached invoices that a company sends me. Regular attachments also still worked.
Another user also raised this issue some time ago https://github.com/munir131/attachment-downloader/issues/21

@lpirkwieser Apologies for the late response. Thanks for contribution


text:
Question HA remove HACS intergration keep sensor data (histories)

i have now the HACS en Grott solution running(both).. double in energy dasbord in HA :-)
i want temporary stop to use the HACS intergration.(stop polling new data)
when disable the intergration and data disappears in engergy dasbord.
when remove the intergration and date disappears and gone after 10 days (i have read)
how can I temporarily stop polling data from server.growatt.com?
thanks for the support and help!!

Hi @NosNL sorry I never replied to this, did you solve this?
Have you seen my HA integration for Grott? https://github.com/muppet3000/homeassistant-grott it provides much more sensors than the one that comes with the Grott repo.

Hey..
see pic

disabled
now i want to remove hacs and het growat server ..but i want to leave one itentity

are you able to help me?
My now solution works greate:
Grott docker -> MQTT

config in HA
thank you in advance


text:
MA doesn't start with the newest HA beta

What version of Music Assistant has the issue?
latest
The problem
MA doesn't start with the newest HA beta
How to reproduce
Update to HA 2022.12.b0
Relevant log output
Logger: homeassistant.util.package
Source: util/package.py:98
First occurred: 04:07:08 (3 occurrences)
Last logged: 04:07:22

Unable to install package music-assistant==1.8.7: ERROR: Cannot install music-assistant==1.8.7 because these package versions have conflicting dependencies. ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/topics/dependency-resolution/#dealing-with-dependency-conflicts [notice] A new release of pip available: 22.3 -> 22.3.1 [notice] To update, run: pip install --upgrade pip

Logger: homeassistant.setup
Source: setup.py:202
First occurred: 04:07:37 (1 occurrences)
Last logged: 04:07:37

Setup failed for custom integration mass: Requirements for mass not found: ['music-assistant==1.8.7'].

Additional information
No response
What version of Home Assistant Core are your running
2022.12.b0
What type of installation are you running?
Home Assistant OS
On what type of hardware are you running?
Generic x86-64 (e.g. Intel NUC)

Issue still present in 2022.12.b1

Marcel is aware and will have a fix before the 2022.12.0 comes out.

when updating to MA-core v1.8.8 MA is back.

~when updating to MA-core v1.8.8 MA is back.~
MA is starting again, but there are some other errors

yes, it needs more work. I'm sure I can fix it before 2022.12 drops, just a little patience please.
This reminds me btw to setup an automated test that tests MA against HA dev (nightly) to detect breaking changes early....

Is doesn't start in the final 2022.12. Is there a workaround until the fix is there?

Correct, failing w/ the GA release

You can change "music-assistant==1.8.7" to "music-assistant==1.8.8" in the manifest.json file.
MA will start but it isn't fully functional.

Yes the MA patch is not yet available. There will be a short MA outage as a result…

2022.12 version just installed but still mass will not load.
Seeing error "ModuleNotFoundError: No module named 'music_assistant'" in the logs.
Also, can't delete the integration either.

Thanks, please be patient while this gets investigated

Hi, same here with 2022.12
After reinstalling the integration, mass is working fine again, thanks for the good work!

@marcelveldt
Thanks for your hard work.

authors: OzGav WebfinityDesign fredamn76 gieljnssns johntdyer marcelveldt nickh66 stobiaskoch

repo: music-assistant/hass-music-assistant


text:
[feature request] Emulate a Spotify Connect device

Have MA configured players show up in Spotify apps as "Speakers" (Spotify Connect devices).

I'm not sure, but this seems a totally another concept to me, as MA controls what is played to existing players.
This is conceptually much closer to the Spotify Connect add-on: https://community.home-assistant.io/t/home-assistant-community-add-on-spotify-connect/61210. which will allow you to play your Spotify music on the Pi, but offers only local speakers connected to HA. I suggest raising a feature request there.
Best Eric

Thanks for this feature requests, it’s moved to the discussions.

authors: erkr nagyrobi


text:
Bluesound NAD CI580

What version of Music Assistant has the issue?
2.3.2
What version of the Home Assistant Integration have you got installed?
2024.11.2
Have you tried everything in the Troubleshooting FAQ and reviewed the Open and Closed Issues and Discussions to resolve this yourself?

[X] Yes

The problem
Bluesound / NAD CI580 only reveals main player on port 11000. This unit has four (4) zones. The other zones are on the following ports 11010, 11020 and 11030.
This have earlier been mentioned (and solved) within Home Assistant. Please see
https://github.com/home-assistant/core/issues/63176
How to reproduce
Players are visible as Home Assistant but not when Bluesound Players are selected.
Music Providers
Tidal. Not relevant.
Player Providers
Bluesound
Full log output
No response
Additional information
No response
What version of Home Assistant Core are your running
2024.11.2
What type of installation are you running?
Home Assistant Container
On what type of hardware are you running?
Alternative

Interesting device. Can you send me the mdns properties of the device on the network ?
It will be discovered as "_musc._tcp.local." service.
I'm curious if it broadcasts multiple discovery packets (one for each zone) or just one

Thank you for your reply.
Using a WiFi scanner, I found the following information. It seems like there is 4 of each service, except there is 1 “musc” and 3 “musp”. I don’t know the difference?

Interesting device. Can you send me the mdns properties of the device on the network ? It will be discovered as "_musc._tcp.local." service.
I'm curious if it broadcasts multiple discovery packets (one for each zone) or just one

@marcelveldt, was the above inform sufficient?

Yes, thanks. We'll look into this.

authors: Martinhaustorp marcelveldt


text:
Podcast provider via RSS Feed

Podcast feeds can be added directly via RSS Feed.

No podcasts show up in frontend. So it is difficult to test. Waiting for frontend implementation.

No podcasts show up in frontend. So it is difficult to test. Waiting for frontend implementation.

I am working on the frontend implementation now so it will be test-able soon.
While working on that, discovered a couple of issues in the backend so make sure to rebase your PR once the new frontend is ready.
I'll ping you when that is the case.

authors: marcelveldt saeugetier

repo: music-assistant/server


text:
Update tablature-ig

Merge latest development of develop
Add a data.COURSETUNING data type (#856)
Add lute.baroque.d.minor data type value

@lpugin could you merge in the latest changes from the develop branch into your tablature-ig branch? I think that might help clean up some of the additional commits we're seeing here.

I think I've fixed this now?

Great, thanks!

authors: ahankinson lpugin

repo: music-encoding/music-encoding


text:
New Olympus OM-1

The plugin works great for my Olympus OM-D1 mark 3 but not for my new olympus OM-1.  When I look at the metadata I don't see an auto focus area.  Any ideas on how how to resolve?
I have attached data from both cameras below
OM1 MetaData.txt
OMD-M1 iii MetaData.txt
Regards
Jerry Veal

I had fixed this after I picked up my OM-1, but so far did not merge the fix as promised. Mostly, because I have not been able to figure out why "AF Point Selected" information in EXIF is not always identical to what OM Workspace visualizes (see issue #162).
Anyway, it's not likely that I will make more progress, since the majority of AF EXIF information is undocumented and too large and complex to decode. So I will take the time in the next few days to merge what I have to make the functionality available to all interested OM-1 users.
BTW, are you running Mac or Windows?

I am running windows.
Thanks and I love my om-1, how about you?
Regards
Jerry
Sent from my Verizon, Samsung Galaxy smartphone
Get Outlook for Androidhttps://aka.ms/AAb9ysg

From: Karsten Gieselmann @.>
Sent: Thursday, November 3, 2022 4:56:35 AM
To: musselwhizzle/Focus-Points @.>
Cc: JRV62 @.>; Author @.>
Subject: Re: [musselwhizzle/Focus-Points] New Olympus OM-1 (Issue #168)
I had fixed this after I picked up my OM-1, but so far did not merge the fix as promised. Mostly, because I have not been able to figure out why "AF Point Selected" information in EXIF is not always identical to what OM Workspace visualizes (see issue #162https://github.com/musselwhizzle/Focus-Points/issues/162).
Anyway, it's not likely that I will make more progress, since the majority of AF EXIF information is undocumented and too large and complex to decode. So I will take the time in the next few days to merge what I have to make the functionality available to all interested OM-1 users.
BTW, are you running Mac or Windows?
—
Reply to this email directly, view it on GitHubhttps://github.com/musselwhizzle/Focus-Points/issues/168#issuecomment-1301802698, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AG5SW2XEVQTB4G3JEWODKT3WGN44HANCNFSM6AAAAAARVM5KJI.
You are receiving this because you authored the thread.Message ID: @.***>

I loved my Olympus gear before (E-M5II and E-M1II/III), and I do love the OM-1 even more:
https://www.flickr.com/photos/karstengieselmann/

I had the M1 ii and iii also… I see you are in Germany.
I am actually headed that way later this year to visit some of my friends.
I worked for SAP for 25 years and retired 2 years ago.
FYI - I would also be willing to do some data analysis to if you would like me to, maybe we can figure out where they are storing the focus data.
Regards
Jerry Veal
From: Karsten Gieselmann @.>
Sent: Thursday, November 3, 2022 5:43 AM
To: musselwhizzle/Focus-Points @.>
Cc: JRV62 @.>; Author @.>
Subject: Re: [musselwhizzle/Focus-Points] New Olympus OM-1 (Issue #168)
I loved my Olympus gear before (E-M5II and E-M1II/III), and I do love the OM-1 even more:
https://www.flickr.com/photos/karstengieselmann/
—
Reply to this email directly, view it on GitHub https://github.com/musselwhizzle/Focus-Points/issues/168#issuecomment-1301850927 , or unsubscribe https://github.com/notifications/unsubscribe-auth/AG5SW2SVAFNDJK6ROBCRPZTWGOCMBANCNFSM6AAAAAARVM5KJI .
You are receiving this because you authored the thread.  https://github.com/notifications/beacon/AG5SW2RW4DYPBF2FAPA2EWLWGOCMBA5CNFSM6AAAAAARVM5KJKWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTSNTCVS6.gif Message ID: @.*** @.***> >

Jerry - if you don't mind let's continue a personal discussion on email: karsten.gieselmann@t-online.de

Hello.   @capricorn8
Do you have an ETA for your OM1 support?
I've a very large number of photos to review and OM1 support would be quite helpful.
Thanks in advance

I will upload my stuff during the week, so that it can be merged.
If you want a pre-version (same as what I will check-in) you can mail me - see the post before yours.

Thanks you !

I'll see if I can give you repo ownership so you can merge without me
On Mon, Nov 14, 2022, 9:29 AM FarFromSane @.***> wrote:

Thanks you !
—
Reply to this email directly, view it on GitHub
https://github.com/musselwhizzle/Focus-Points/issues/168#issuecomment-1313837245,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AARTUQXF6UZP7AQZNE2XM63WIJEGLANCNFSM6AAAAAARVM5KJI
.
You are receiving this because you are subscribed to this thread.Message
ID: @.***>

@musselwhizzle
I can try and will see if I can handle this. I might need your support.
My career as SW developer has ended 25 yrs ago, and apart from my engagement for this plug-in I have never worked with Github… 😃

repo: musselwhizzle/Focus-Points


text:
Syntax highlighting for .tag file?

Hi,
How to highlight syntax for .tag file?
What editor/plugin you are using for highlighting syntax?
Thanks

Pretty similar to React's JSX, syntax wise. Seems to work fine, but maybe need some tweaks:

@ptz0n are you using react's syntax highlight?

@luisrudge Yes, as you can see in the bottom right in the screenshot above; JavaScript (JSX).

Oh, sorry! I didn't noticed! Thanks :)

Nice. Is there any chance for you to make a Riot tag specific sublime extension? I'm glad to refer to it on our website.

@ptz0n is that the original JSX package or did you took a copy to experiment with? Tried the original one, but the tags are not highlighted.

@lanwin Yes, have you tried avtivating the JSX syntax in Sublime? It won't activate by default.

@ptz0n any chance for you to make an official "sublime-riot" repository with the syntax file? I could link to it from our website.
Just trying my luck here :)

@ptz0n ah sorry. I that hat your screenshot was Atom.io.

Oh. Okay. I'm sure we'll have syntax definitions for both editors at some point.

In the meantime for atom I'm using these packages:
https://atom.io/packages/file-types
https://atom.io/packages/language-jsx
And add this to config.cson:
"file-types":
  "tag": "source.jsx"

@derekr but this will highlight only javascript but not html.

I am using vim. Any vim plugin?

Emacs with web-mode works very well, especially if you use <script> tags and quotes for attributes.

After introducing "script tag" syntax is automatically getting highlighted in vim also. But i need to change the file extension from .tag to .html.
But then how to implement file watch and auto compile? May be we have to wait for until
#238 is fixed

@ekanna: #238 is now fixed and will be released soon.
So it's now possible to use .html instead of .tag if you like.

@aurri Thats great! thank you.

@ekanna: you can teach vim to recognize .tag files as HTML by adding this to your .vimrc:
au BufRead,BufNewFile *.tag :set filetype=html

@chocolateboy Thanks. It is working perfectly alright.

Vue goes with something like this, maybe we could steal there a bit?!

https://github.com/vuejs/vue-syntax-highlight

There is a more "official" package for Sublime at https://github.com/babel/babel-sublime. It supports ES6 syntaxes as well.

I had some issues with ES6 highlighting using the babel-sublime and the JSX syntax highlighting while using Riot Tags.
Just discovered this package: https://github.com/crisward/sublime-tag and this worked well for me.
Heads up for anyone still looking for a sublime text syntax highlighter that highlights html and ES6 properly in a .tag file!

It is here https://packagecontrol.io/packages/Riot Tag

@ilblog Great, great, great... :tada:

If anyone's still looking for one then try https://github.com/Rayraegah/riotjs-sublime it comes with added support for riot template engine. Its based on babel-sublime just like the other plugin.

authors: Rayraegah aurri chocolateboy derekr ecraven ekanna ilblog jefflam lanwin luisrudge ptz0n sntran tipiirai yckart

repo: muut/riotjs


text:
texstudio-beta 4.7.0rc1

Created with brew bump-cask-pr.

I ran brew update too infrequent.

repo: muzimuzhi/homebrew-texstudio-beta


text:
Release 20.09 tool tests

/run-all-tool-tests

/run-all-tool-tests

/run-all-tool-tests

Find all tool test results here

/run-all-tool-tests

/run-all-tool-tests

/run-all-tool-tests

/run-all-tool-tests

/run-all-tool-tests

/run-all-tool-tests

/run-all-tool-tests

/run-all-tool-tests

/run-all-tool-tests

Summary:
1 failure 87 success
Find all tool test results here

repo: mvdbeek/tools-iuc


text:
Nomad based Hypervisor

closes #88

[x] Remove Ignite
[x] Install and run Nomad
[ ] Install and run Consul
[ ] Install Envoy (compatible version with Consul)
[x] Install docker
[x] Install containerd
[ ] Install Qemu v7
[ ] Update tests

The nomad 1.3 release https://github.com/hashicorp/nomad/releases/tag/v1.3.0 has support for native service discovery which might be good enough for now! Prevents having to support consul/envoy.

repo: mvgijssel/setup


text:
chore(Dependencies) : update zio, zio-streams from 1.0.18 to 2.0.17

About this PR
📦 Updates

dev.zio:zio
dev.zio:zio-streams

from 1.0.18 to 2.0.17 ⚠
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "dev.zio" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "dev.zio" }
}]

labels: library-update, early-semver-major, semver-spec-major, commit-count:1

Superseded by #655.

repo: mvillafuertem/scalcite


text:
ZLIB compression and decompression

I have been able to get compression and decompression to work just fine with every algorithm except the ones pertaining to ZLIB. So pretty much just deflate/inflate and compress/decompress with .ZLIB. I am taking a URL, getting it's data representation and passing it into the compression method and then posting it to the server. For decompression I am pulling the data down from the server, passing it into the decompression method and the creating a URL with the decompressed data. Like I said this process has worked every time as long as I am not using ZLIB. I am pretty much trying to see if anyone has had this problem in the past. Thanks.

Hi,
looks like something is happening to your data while transferring it. When you use the .zip() method, please make sure the first byte of the compressed data is 0x78 before uploading and after downloading it from your server. Also check if it has the same length.


text:
mw-toggle has to be extended to support text as well

It doesn't look pleasing when you put a long text into a toggle. Actually the toggle should not have any text (probably also no icon) at all. Fixed it for the public filter bar by adjusting the label and using a checkbox: https://github.com/mwaylabs/uikit/pull/97

authors: Zarlex ipandl

repo: mwaylabs/uikit


text:
Suggest using Sass instead CSS

Hi guys,
As you can see. Sass is now very popular. It is more familiar with developer mindset. I would like suggest the config change from CSS into Sass by default. How you guys think?

See Docs

repo: mxstbr/react-boilerplate


text:
Setup failed on windows 10  x64 with nodejs 6.5.0

The error info is as following:
PS E:\vanlos\DevWS\react-boilerplate-3.1.0> npm run setup

> react-boilerplate@3.1.0 presetup E:\vanlos\DevWS\react-boilerplate-3.1.0
> npm i chalk shelljs

react-boilerplate@3.1.0 E:\vanlos\DevWS\react-boilerplate-3.1.0
+-- chalk@1.1.3
+-- UNMET PEER DEPENDENCY eslint-plugin-import@1.12.0
+-- shelljs@0.7.3
`-- UNMET PEER DEPENDENCY webpack@2.1.0-beta.15

npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.14
npm WARN eslint-config-airbnb@10.0.1 requires a peer of eslint-plugin-import@^1.13.0 but none was installed.
npm WARN eslint-config-airbnb-base@5.0.3 requires a peer of eslint@^3.3.1 but none was installed.
npm WARN eslint-config-airbnb-base@5.0.3 requires a peer of eslint-plugin-import@^1.13.0 but none was installed.
npm WARN extract-text-webpack-plugin@1.0.1 requires a peer of webpack@^1.9.11 but none was installed.
npm WARN react-addons-test-utils@15.3.1 requires a peer of react@^15.3.1 but none was installed.
npm WARN scroll-behavior@0.7.0 requires a peer of history@^1.12.1 || ^2.0.0 but none was installed.

> react-boilerplate@3.1.0 setup E:\vanlos\DevWS\react-boilerplate-3.1.0
> node ./internals/scripts/setup.js

module.js:457
    throw err;
    ^

Error: Cannot find module 'E:\vanlos\DevWS\react-boilerplate-3.1.0\internals\scripts\setup.js'
    at Function.Module._resolveFilename (module.js:455:15)
    at Function.Module._load (module.js:403:25)
    at Module.runMain (module.js:590:10)
    at run (bootstrap_node.js:394:7)
    at startup (bootstrap_node.js:149:9)
    at bootstrap_node.js:509:3

npm ERR! Windows_NT 10.0.10586
npm ERR! argv "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\bin\\npm-cli.js" "run" "setup"
npm ERR! node v6.5.0
npm ERR! npm  v3.10.3
npm ERR! code ELIFECYCLE
npm ERR! react-boilerplate@3.1.0 setup: `node ./internals/scripts/setup.js`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the react-boilerplate@3.1.0 setup script 'node ./internals/scripts/setup.js'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the react-boilerplate package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node ./internals/scripts/setup.js
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs react-boilerplate
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls react-boilerplate
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     E:\vanlos\DevWS\react-boilerplate-3.1.0\npm-debug.log

Error: Cannot find module 'E:\vanlos\DevWS\react-boilerplate-3.1.0\internals\scripts\setup.js'

Seems you have run setup on this clone before? It's self-deleting, so you can only run it once. That's done to avoid destroying an existing project.
What happens if you just run npm install?

@gihrig
PS E:\vanlos\DevWS\react-boilerplate-3.1.0> npm install

react-boilerplate@3.1.0 preinstall E:\vanlos\DevWS\react-boilerplate-3.1.0
npm run npmcheckversion

react-boilerplate@3.1.0 npmcheckversion E:\vanlos\DevWS\react-boilerplate-3.1.0
node ./internals/scripts/npmcheckversion.js

react-boilerplate@3.1.0 postinstall E:\vanlos\DevWS\react-boilerplate-3.1.0
npm run build:dll

react-boilerplate@3.1.0 build:dll E:\vanlos\DevWS\react-boilerplate-3.1.0
node ./internals/scripts/dependencies.js

Building the Webpack DLL...
Hash: 98d9576b4031608da393
Version: webpack 2.1.0-beta.15
Time: 5050ms
Asset     Size  Chunks             Chunk Names
reactBoilerplateDeps.dll.js  2.61 MB       0  [emitted]  reactBoilerplateDeps
chunk    {0} reactBoilerplateDeps.dll.js (reactBoilerplateDeps) 2.34 MB [rendered]
[658] dll reactBoilerplateDeps 12 bytes {0} [built]
+ 662 hidden modules
npm WARN optional Skipping failed optional dependency /chokidar/fsevents:
npm WARN notsup Not compatible with your operating system or architecture: fsevents@1.0.14
npm WARN eslint-config-airbnb@10.0.1 requires a peer of eslint-plugin-import@^1.13.0 but none was installed.
npm WARN eslint-config-airbnb-base@5.0.3 requires a peer of eslint@^3.3.1 but none was installed.
npm WARN eslint-config-airbnb-base@5.0.3 requires a peer of eslint-plugin-import@^1.13.0 but none was installed.
npm WARN extract-text-webpack-plugin@1.0.1 requires a peer of webpack@^1.9.11 but none was installed.
npm WARN react-addons-test-utils@15.3.1 requires a peer of react@^15.3.1 but none was installed.
npm WARN scroll-behavior@0.7.0 requires a peer of history@^1.12.1 || ^2.0.0 but none was installed.

OK, no ERRORs only WARNings. Those are normal. Does the project build with npm start and load the example app in the browser?

@gihrig Yes, I can visit the example app now. But howto visit structor ui?

Already access structor now, close this issue.

authors: gihrig vanloswang


text:
🛑 Website Load Balancers is down

In e1f82ea, Website Load Balancers ($WEB_SERVER) was down:

HTTP code: 522
Response time: 15694 ms

Resolved: Website Load Balancers is back up in 2abe099.

repo: myavsuper/upptime


text:
undefined is not an object (evaluating 'RNMediaMeta.get')

"react-native": "^0.51.0",
"react-native-media-meta": "^0.0.10",
My implementation
MediaMeta.get('content://media/external/images/media/986')
      .then(metadata => console.log('HERE METADATA ', metadata))
      .catch(err => console.error(err));

I have the same problem，Have you solved it?

Any One there to solve the error for never version of React-Native

I'm also getting an error like this, i get
 Possible Unhandled Promise Rejection (id: 0)
TypeError: null is not an object (evaluating 'RNMediaMeta.get')

I got it to work after removing the dev app from my phone and rebuilding it.
I think anytime you add a react-native module you need to rebuild your native  source code

Resolved: [https://github.com/mybigday/react-native-media-meta/issues/21#issuecomment-544144626]

Resolved

Hi, I'm having the same exact problem as above. Couldn't solve with any of the listed steps.
Currently using "react-native": "0.64.3" and "react-native-media-meta": "^0.0.11"
Would appreciate any help!

I have the same problem I have create the podspec file but I am still having trouble as anyone resolved this isssue

repo: mybigday/react-native-media-meta


text:
Weather Underground PWS

Please can you add the following to Weather Underground service as it currently only does temperature and humidity ...

pressure
wind speed
wind direction
wind gust
rain
rain rate

Thank you

Another issue with Weather Underground updates is that Weather Underground needs all sensor values passed at once. At the moment MyController is sending individual sensor updates each time that particular sensor changes. This causes Weather Underground to show "--" for all other sensor values.

repo: mycontroller-org/mycontroller


text:
能不能支持一下筹码分布

在个股的K线图部分，能不能加上筹码分布，类似同花顺和东方财富

以后会增加这个功能

authors: Celeba myhhub

repo: myhhub/stock


text:
抛出异常 No module named 'transformers_modules.'

在执行单元格：
from transformers import AutoTokenizer
tokenizer = AutoTokenizer.from_pretrained("../ChatGLM-6B/models/chatglm-6b, trust_remote_code=True)
抛出异常 No module named 'transformers_modules.'
当我切换transformers成4.26.1时
执行如下代码异常:
model.enable_input_require_grads()
抛出 enable_input_require_grads属性不存在
因此我无法无法正常微调，希望能给出指示。

就是说如若按照默认的transformers4.27.1版本，在执行
tokenizer = AutoTokenizer.from_pretrained("../ChatGLM-6B/models/chatglm-6b, trust_remote_code=True)时报错
因此我切换到transformers成4.26.1，上面错误没有了，但是
结果另外一个单元格执行出错：
enable_input_require_grads属性不存在

我和你一样的情况，但是transformers4.27.1版本换成"THUDM/ChatGLM-6B"就行了(就是不用本地的../ChatGLM-6B/models/chatglm-6b，换成huggingface的那个)

同问。如何不用huggingface，用本地的完成呢

关注，finetune之后evaluate的时候，同样出现此错误：
Traceback (most recent call last):   File "D:\works\ChatGLM-6B\ptuning\main.py", line 393, in <module>     main()   File "D:\works\ChatGLM-6B\ptuning\main.py", line 107, in main     config = AutoConfig.from_pretrained(model_args.model_name_or_path, trust_remote_code=True)   File "D:\tools\miniconda\envs\llama\lib\site-packages\transformers\models\auto\configuration_auto.py", line 911, in from_pretrained     config_class = get_class_from_dynamic_module(   File "D:\tools\miniconda\envs\llama\lib\site-packages\transformers\dynamic_module_utils.py", line 399, in get_class_from_dynamic_module     return get_class_in_module(class_name, final_module.replace(".py", ""))   File "D:\tools\miniconda\envs\llama\lib\site-packages\transformers\dynamic_module_utils.py", line 177, in get_class_in_module     module = importlib.import_module(module_path)   File "D:\tools\miniconda\envs\llama\lib\importlib\__init__.py", line 127, in import_module     return _bootstrap._gcd_import(name[level:], package, level)   File "<frozen importlib._bootstrap>", line 1030, in _gcd_import   File "<frozen importlib._bootstrap>", line 1007, in _find_and_load   File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked   File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed   File "<frozen importlib._bootstrap>", line 1030, in _gcd_import   File "<frozen importlib._bootstrap>", line 1007, in _find_and_load   File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked   File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed   File "<frozen importlib._bootstrap>", line 1030, in _gcd_import   File "<frozen importlib._bootstrap>", line 1007, in _find_and_load   File "<frozen importlib._bootstrap>", line 984, in _find_and_load_unlocked ModuleNotFoundError: No module named 'transformers_modules.'

关注，finetune之后evaluate的时候，同样出现此错误： Traceback (most recent call last): File "D:\works\ChatGLM-6B\ptuning\main.py", line 393, in <module> main() File "D:\works\ChatGLM-6B\ptuning\main.py", line 107, in main config = AutoConfig.from_pretrained(model_args.model_name_or_path, trust_remote_code=True) File "D:\tools\miniconda\envs\llama\lib\site-packages\transformers\models\auto\configuration_auto.py", line 911, in from_pretrained config_class = get_class_from_dynamic_module( File "D:\tools\miniconda\envs\llama\lib\site-packages\transformers\dynamic_module_utils.py", line 399, in get_class_from_dynamic_module return get_class_in_module(class_name, final_module.replace(".py", "")) File "D:\tools\miniconda\envs\llama\lib\site-packages\transformers\dynamic_module_utils.py", line 177, in get_class_in_module module = importlib.import_module(module_path) File "D:\tools\miniconda\envs\llama\lib\importlib\__init__.py", line 127, in import_module return _bootstrap._gcd_import(name[level:], package, level) File "<frozen importlib._bootstrap>", line 1030, in _gcd_import File "<frozen importlib._bootstrap>", line 1007, in _find_and_load File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed File "<frozen importlib._bootstrap>", line 1030, in _gcd_import File "<frozen importlib._bootstrap>", line 1007, in _find_and_load File "<frozen importlib._bootstrap>", line 972, in _find_and_load_unlocked File "<frozen importlib._bootstrap>", line 228, in _call_with_frames_removed File "<frozen importlib._bootstrap>", line 1030, in _gcd_import File "<frozen importlib._bootstrap>", line 1007, in _find_and_load File "<frozen importlib._bootstrap>", line 984, in _find_and_load_unlocked ModuleNotFoundError: No module named 'transformers_modules.'  --------------------------------add---------------------------------- evaluate的时候更换为4.26.1可正常进行推理

同上，把transformer降级为4.26.1即可正常运行。

我找到原因了兄弟们，注意下在4.27版本transformers时使用本地模型得使用/，用\就不得行
eg:  .\models\chatGLM 改为./models/chatGLM

鉴于chatglm模型目前更新非常频繁，而其又依赖于多个开源工具，最好不要使用绝对路径加载，而是选择跟保持huggingface hub 上的代码和模型同步（trust_remote_code）。如果你已经下载了 bin 模型文件（每个1-2G，总共8个），可以这样子做：
1、设置环境变量 HF_HOME 到指定的存放数据目录。
2、使用 trust_remote_code = True 参数 运行 from_pretrained，huggingface 会试图从 remote 下载 shards，这时请退出。
3、找到 $HF_HOME/hub/models--THUDM--chatglm-6b/blobs，将已下载 bin 文件拷贝到此处。
4、在 https://huggingface.co/THUDM/chatglm-6b 目录下，打开每个 bin 模型文件，找到其 SHA256。
5、用SHA256重新命名blobs下的 bin 文件
6、重新启动 from_pretrained
如果确实要用本地文件，可以将huggingface_hub 设置为offline 模式并且在 from_pretrained 时指定 local_files_only，具体参考 'mange cache'

同问。如何不用huggingface，用本地的完成呢

tokenizer = AutoTokenizer.from_pretrained("./", trust_remote_code=True)
model = AutoModel.from_pretrained("./", trust_remote_code=True).half().cuda()
模型文件在当前目录即可。我之前是“.”，也报错 No module named 'transformers_modules.'，后来改成 “./”, 就OK了

鉴于chatglm模型目前更新非常频繁，而其又依赖于多个开源工具，最好不要使用绝对路径加载，而是选择跟保持huggingface hub 上的代码和模型同步（trust_remote_code）。如果你已经下载了 bin 模型文件（每个1-2G，总共8个），可以这样子做： 1、设置环境变量 HF_HOME 到指定的存放数据目录。 2、使用 trust_remote_code = True 参数 运行 from_pretrained，huggingface 会试图从 remote 下载 shards，这时请退出。 3、找到 $HF_HOME/hub/models--THUDM--chatglm-6b/blobs，将已下载 bin 文件拷贝到此处。 4、在 https://huggingface.co/THUDM/chatglm-6b 目录下，打开每个 bin 模型文件，找到其 SHA256。 5、用SHA256重新命名blobs下的 bin 文件 6、重新启动 from_pretrained
如果确实要用本地文件，可以将huggingface_hub 设置为offline 模式并且在 from_pretrained 时指定 local_files_only，具体参考 'mange cache'

我用本地bin文件，好像没设置那么多，就把  AutoTokenizer.from_pretrained 函数第一个参数改成 “./"，然后确保 bin 文件和 py 文件在一个目录即可。centos 7

鉴于chatglm模型目前更新非常频繁，而其又依赖于多个开源工具，最好不要使用绝对路径加载，而是选择跟保持huggingface hub 上的代码和模型同步（trust_remote_code）。如果你已经下载了 bin 模型文件（每个1-2G，总共8个），可以这样子做： 1、设置环境变量 HF_HOME 到指定的存放数据目录。 2、使用 trust_remote_code = True 参数 运行 from_pretrained，huggingface 会试图从 remote 下载 shards，这时请退出。 3、找到 $HF_HOME/hub/models--THUDM--chatglm-6b/blobs，将已下载 bin 文件拷贝到此处。 4、在 https://huggingface.co/THUDM/chatglm-6b 目录下，打开每个 bin 模型文件，找到其 SHA256。 5、用SHA256重新命名blobs下的 bin 文件 6、重新启动 from_pretrained
如果确实要用本地文件，可以将huggingface_hub 设置为offline 模式并且在 from_pretrained 时指定 local_files_only，具体参考 'mange cache'

我用本地bin文件，好像没设置那么多，就把 AutoTokenizer.from_pretrained 函数第一个参数改成 “./"，然后确保 bin 文件和 py 文件在一个目录即可。centos 7

选择 trust remote 而不是本地目录，不需要操心模型更新。

使用绝路路径吧

repo: mymusise/ChatGLM-Tuning


text:
🛑 LSU-E Enterprise is down

In c8ad878, LSU-E Enterprise (https://lsue.ent.sirsi.net/client/en_US/lsue/search/results?te=) was down:

HTTP code: 503
Response time: 292 ms

Resolved: LSU-E Enterprise is back up in 44afd76.

repo: myqua/LOUIS-upptime


text:
Updating link

Would it be ok if we could update the link to Holidayextras please? We are moving over to .com and https :)

This is now moved over and live, is it ok to merge this please?

repo: mysqljs/mysql


text:
Support locust version 2

Describe the bug
Using locust version 1.6 yields the following errors:
/ERROR/locust.runners: An old (pre 2.0) worker tried to connect (foobar-d92tf_95b79873e7684c3980d36658b19e54ee). That's not going to work.

To Reproduce
Steps to reproduce the behavior:

Startup locust 2 as a master
Connect with boomer

Expected behavior
Newer locust versions should exist
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):

OS: debian
Go Version: 1.16

Hi @joshcarp, are you willing to submmit a MR for this?

Working on this issue, I think it's time to versionize boomer and drop support for every version of locust in the master branch.

@myzhan thanks a lot for your efforts, locust + boomer is a great combo

Now the master branch supports locust 2 and drops support for locust 1, please give it a try.

Hey thanks heaps for the quick response on this

@53652864 you should update boomer first.

[2021-08-31 14:44:50,965] will-nb/ERROR/locust.runners: An old (pre 2.0) worker tried to connect (will-nb_b32b58c4468b409880af31264d9913c9). That's not going to work.

Of course it's not going to work, have you updated boomer?

why go get github.com/myzhan/boomer It pull to version 1.6.0

hi I'm also experienced this, when do "go get github.com/myzhan/boomer" it always pull version 1.6.0 which not compatible with the locust 2.0

@nansuri Maybe you have pulled boomer before? Try to run "go get -U github.com/myzhan/boomer"

I am also unable to pull a more recent version than 1.6.0 - cannot run with a new version locust

authors: 53652864 Slach cwhight joshcarp myzhan nansuri wangtao2213405054

repo: myzhan/boomer


text:
Installation

Good afternoon, I really need audacity for my MacBook air m1! How do I install your version via HomeBrew?

When entering the brew install audacity-m1 command, it throws the sha256 mismatch error

Hmm, that is strange. I don't even have a checksum defined for audacity-m1. Could you please post your output from your terminal?
Thanks for your attention in this formula.

Okay. I'll send tomorrow! Tell me, I just have to enter the command brew install audacity-m1

If you have this Tap tapped, then yes. But I guess it would be better to use
brew install myzhang1029/myzhang1029/audacity-m1

I'll try tomorrow, thank you! It's just that I record songs through audacity, and now launching through rozetta causes a big delay

Error: audacity-m1: SHA256 mismatch
Expected: beebd47ee4ef49a3d69183b1b3142e2b8c28fe68d6bc37bf8ff8a6f3cde56584
Actual: 92bcf5b68bb67fdc102373b96fd8177cb49320b0b290d89714aa71b5486f3fed
File: /Users/anufrievmaksimanatolevic/Library/Caches/Homebrew/downloads/342cd7a1372a2b64069bf711f50a8c3f219b57c351ad00e967956..
To retry an incomplete download, remove the file above.

Sorry for waiting

Thanks. That is my problem. There was a change in gas-preprocessor and the checksum changed.

What do we do?

Could you please try again and see if there are more problems?

I'm at work right now, I'll try it tonight

No worries.
And I forgot to mention, since the app installation script does not link the result to /Applications, you may want to run
ln -s /opt/homebrew/opt/audacity-m1/Audacity.app ~/Applications

after installation in order to find the app in Launchpad.

Good! Thank you

Error: audacity-m1: SHA256 mismatch
Expected: no_check
Actual: a146844a7d2f07cc11a0acbf14f7a75e0bf9e3ab80ab83af240027e211f52841
File: /Users/anufrievmaksimanatolevic/Library/Caches/Homebrew/downloads/c4b882aba8b0cdcb6450fd4dd61b416e225a02a326ad42b8ce76dcaf03399497--audacity-applesilicon-arm64-macos.tar.gz
To retry an incomplete download, remove the file above.

up

I have pushed the fix but I'll do a local reinstall before further bothering you. Sorry...

ok) thanks, bro

Ok I suppose it should work now. I apologize for making some edits that were not well tested.

No problem, I'll try tomorrow


text:
完整数据文件请求

作者您好：
可否提供data_example文件夹下完整的lincs药物特征向量文件，非常感谢

I also want to ask where I can get the complete dataset for LINCS2020/data_example/KPGT_emb2304.pickle, thanks!

repo: myzhengSIMM/TranSiGen


text:
🛑 mziyut.com is down

In ab7bbfd, mziyut.com (https://mziyut.com) was down:

HTTP code: 0
Response time: 0 ms

Resolved: mziyut.com is back up in f1a7ede after 35 minutes.

repo: mziyut/upptime


text:
Exportdialogfix

Hey Tomas,
I noticed the issue that the theme was not properly applied in the export dialog anymore. Especially the titles were not updated.
I also removed some deprecated parameters, so the charts are exported as-is.
Additionally I increased the size of the color palette picker dialog a little bit, because the scroll bar was always showing.
Best
Steffen

Thanks, Steffen!

authors: SteffenHeu tomas-pluskal


text:
refactor(iroh-net): Make derp_map not an option in MagicEndpoint

Description
This removes the Option from MagicEndpoint::derp_map.  An empty
DerpMap is treated the same as a missing DerpMap in all the code so
this is just a noisy indirection.

Notes & open questions
Is this change important enough to break the public API of
MagicEndpoint?  Should the Option<DerpMap> also disappear from
that API?
In favour of not changing that public API is that this way it is an
implementation detail that an empty DerpMap is treated the same as no
DerpMap.  Though in that case maybe we should make it an error to use
an empty DerpMap?

Change checklist

[ ] Self-review.
[ ] Documentation updates if relevant.
[ ] Tests if relevant.

Allowing None gives us the ability to force non-derp connections only and directly through the provided tickets.

Allowing None gives us the ability to force non-derp connections only and to talk directly through the provided addresses in tickets.

You can still do this by using an empty DerpMap.  Though there should probably be a DerpMap::empty() constructor to make this easy and obvious.

Allowing None gives us the ability to force non-derp connections only and to talk directly through the provided addresses in tickets.

You can still do this by using an empty DerpMap. Though there should probably be a DerpMap::empty() constructor to make this easy and obvious.

oh wait, the public API still has it as an option, but with a TODO to consider this.
So yes the question is both about the internal and external api.  I think internal it makes sense.  External maybe too and I could like a DerpMap::emtpy() for this.

I would like to see sth like this
enum Derp {
  Enabled(DerpMap), // Constructor checks that this is not empty and the node checks that at least the local region id is available
  Disabled,
}

I would like to see sth like this
enum Derp {
  Enabled(DerpMap), // Constructor checks that this is not empty and the node checks that at least the local region id is available
  Disabled,
}

So the only really public API is the MagicEndpointBuilder::derp_map(mut self, derp_map: Option<DerpMap) call.  Are you saying this for there or for internal as well?
This PR started as just acknowledging that internally the code does not ever distinguish a None DerpMap from an empty one, it does eventually end up as an empty one.  So it just peeled back some layers and simplified this.  As this is internal I'm largely fine with that.
I think switching internally to this Disabled enum will be a lot more work.  Maybe the code will end up being clearer, maybe not.  Hard to say ahead of time.

for the public api I would do sth like disable_derp() and enable_derp(map) which forces map to not be empty

I've now updated the public API to be MagicEndpointBuilder::enable_derp(derp_map) and .disable_derp().  This touches a surprising number of places.
I've moved validation of the DerpMap into the constructors itself, the constructor is basically DerpMap::from_regions which is now fallible.  This again touches a lot of places but ensures that if the type exists we have a valid one, which was nicer than having a separate validation function.
(I tried having this constructor in TryFrom<T: Into<Iterarator<Item = DerpRegion>>> since the old one was in such a From, but I lost that fight with the compiler)

can you update the Node::builder api as well, to match this new public api?

can you update the Node::builder api as well, to match this new public api?

oh yes, good call.  sorry to gloss over that at first.
Note that I also changed the default DerpMap used in iroh::Node::builder: this was also empty originally and now uses defaults::default_derp_map.

authors: Arqu dignifiedquire flub