2018.02.22 07:17 For those dedicated to practicing cold approach pickup.
2015.10.08 17:02 aplumafreak500 Wiimmfi
2014.11.30 23:13 MGTS For all things bike related pre 1990
2023.06.10 06:05 AlvaroCSLearner C$50 Finance Error: "Expected to find select field with name "symbol", but none found"
# Forget any user_id session.clear() # User reached route via POST (as by submitting a form via POST) if request.method == "POST": # Ensure username was submitted if not request.form.get("username"): return apology("Must Provide Username", 400) # Ensure password was submitted elif not request.form.get("password"): return apology("Must Provide Password", 400) # Query database for username rows = db.execute("SELECT * FROM users WHERE username = ?", request.form.get("username")) # Ensure username exists and password is correct if len(rows) != 1 or not check_password_hash(rows[0]["hash"], request.form.get("password")): return apology("Invalid Username and/or Password", 400) # Remember which user has logged in session["user_id"] = rows[0]["id"] # Redirect user to home page return redirect("/") # User reached route via GET (as by clicking a link or via redirect) else: return render_template("login.html")@app.route("/logout") def logout(): """Log user out"""
# Forget any user_id session.clear() # Redirect user to login form return redirect("/")@app.route("/quote", methods=["GET", "POST"]) @login_required def quote(): """Get stock quote.""" if request.method == 'POST': symbol = request.form.get("symbol") if not symbol: return apology("Enter a symbol", 400) lookup_dict = lookup(symbol) if not lookup_dict: return apology("Invalid Symbol", 400) return render_template("quoted.html", stock=lookup_dict) else: return render_template("quote.html")
usernames = db.execute("SELECT username FROM users;") if not username or username == '': return apology("Username not avaliable", 400) for char in username: if char in invalid_chars: return apology("Username has not appropiate characters", 400) for dict in usernames: if username == dict['username']: return apology("Username already exists", 400) if not password or password == '' or not confirmation: return apology("Password not avaliable", 400) if password != confirmation or confirmation == '': return apology("Passwords doesn't match", 400) for character in password: if character in invalid_chars: return apology("Password has not appropiate characters", 400) for char in password: if not char.isalnum() and not char.isspace(): has_symbol = True if char.islower(): has_lower = True if char.isupper(): has_upper = True if char.isdigit(): has_number = True if has_symbol and has_lower and has_upper and has_number: requirements_meeted = True if requirements_meeted == True: db.execute("INSERT INTO users (username, hash) VALUES (?, ?);", username, generate_password_hash(confirmation)) return redirect("/login") else: return apology("Password don't meet the requirements. Passwords must have symbols, digits, lower and upper letters", 400) else: return render_template("register.html")@app.route("/sell", methods=["GET", "POST"]) @login_required def sell(): """Sell shares of stock""" # If the request method is POST: if request.method == "POST": # Getting the current time of the sell current_time = datetime.datetime.now().strftime("%H:%M:%S") # Getting the current date of the sell current_date = datetime.date.today().strftime("%d/%m/%Y") # Getting the selled symbol symbol = request.form.get("symbol") if not symbol: return apology("Must enter a symbol", 400) # Getting the stock data: stock = lookup(symbol) # If there's no stock return an apology if not stock: return apology("Symbol doesn't exits", 400) # Getting the stocks symbols of the user stocks_symbol = db.execute("SELECT symbol FROM stocks JOIN user_stocks ON user_stocks.stock_id = stocks.id JOIN users ON user_stocks.user_id = users.id WHERE users.id = ?;", session["user_id"]) if stocks_symbol: # Getting all the symbols of the user as a list symbols = [each_symbol for stock_symbol in stocks_symbol for each_symbol in stock_symbol.values()] # If the symbol is not in the list return an apology if not symbol in symbols: return apology("Symbol not acquired", 400) else: return apology("Must buy stocks", 400) # Getting the shares that we want to sell shares = str(request.form.get("shares")) # Checking valid input for shares if shares.count('.'): return apology("Should be an integer", 400) elif any(char.isalpha() for char in shares): return apology("Should be an integer entirely", 400) elif shares.startswith('-'): return apology("Amount of shares must be positive",400) else: shares = int(shares) # If the number of shares is not positive or the number of shares is greater than the number of acquired shares return an apology if shares < 0: return apology("Shares must be positive", 400) if shares == 0: return apology("Amount of shares must be greater than 0", 400) # Getting the total shares of the selled symbol shares_symbol = db.execute("SELECT SUM(user_stocks.shares) AS Total_Shares, stocks.symbol FROM user_stocks JOIN users ON user_stocks.user_id = users.id JOIN stocks ON user_stocks.stock_id = stocks.id WHERE users.id = ? AND stocks.symbol = ? GROUP BY (user_stocks.stock_id);", session["user_id"], symbol) # Checking if the user has the appropiate amount of shares if shares > int(shares_symbol[0]['Total_Shares']): return apology("Amount of shares not acquired", 400) # Getting the current price of the stock Price_Symbol = db.execute("SELECT price FROM stocks WHERE symbol = ?;", symbol) # Getting the total dollars amount of the selled stock Total_AmountSelled = Price_Symbol[0]['price'] * shares # Getting the current cash of the user cash = db.execute("SELECT cash FROM users WHERE users.id = ?;", session["user_id"]) # Updating the cash of the user: current_cash = cash[0]['cash'] + Total_AmountSelled db.execute("UPDATE users SET cash = ? WHERE users.id = ?;", current_cash, session["user_id"]) # Getting the current shares of the stock symbol_id = db.execute("SELECT id FROM stocks WHERE symbol = ?;", symbol) Total_Shares = (shares * -1) # Updating the shares of the user: db.execute("INSERT INTO user_stocks (user_id, stock_id, cost, shares, transaction_type, time, date) VALUES (?, ?, ?, ?, ?, ?, ?);",session["user_id"], symbol_id[0]['id'], stock['price'], Total_Shares, "SELL", current_time, current_date) return redirect("/") else: return render_template("sell.html")
usernamesdict = db.execute("SELECT username FROM users;") usernames = [username for dictionary in usernamesdict for username in dictionary.values()] if username not in usernames: return apology("Username not registered", 400) for char in username: if char in invalid_chars: return apology("Username has not appropiate characters", 400) if new_password != new_password_confirmation: return apology("Password not matched", 400) if not new_password or new_password == '': return apology("Password not avaliable", 400) for char in new_password: if char in invalid_chars: return apology("Password has not appropiate characters", 400) user_id = db.execute("SELECT users.id FROM users WHERE users.username = ?", username) db.execute("UPDATE users SET hash = ? WHERE users.id = ?;", generate_password_hash(new_password_confirmation), user_id[0]['id']) return redirect("/login") else: return render_template("changepassword.html")```
2023.06.10 04:00 cheech_chong_95372 Game only crashing when I create a new world
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray([KnotClassDelegate.java:427](https://KnotClassDelegate.java:427)) at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass([KnotClassDelegate.java:323](https://KnotClassDelegate.java:323)) at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass([KnotClassDelegate.java:218](https://KnotClassDelegate.java:218)) at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass([KnotClassLoader.java:112](https://KnotClassLoader.java:112)) at java.base/java.lang.ClassLoader.loadClass([ClassLoader.java:520](https://ClassLoader.java:520)) at net.minecraft.class\_525.method\_41847(class\_525.java:468) at net.minecraft.class\_525.method\_45683(class\_525.java:451) at net.minecraft.class\_7196.method\_41892(class\_7196.java:303) at net.minecraft.class\_525.method\_2736(class\_525.java:451) at net.minecraft.class\_525.method\_19922(class\_525.java:404) at net.minecraft.class\_4185.method\_25306(class\_4185.java:94) at net.minecraft.class\_4264.method\_25348(class\_4264.java:56) at net.minecraft.class\_339.method\_25402(class\_339.java:189) at net.minecraft.class\_4069.method\_25402(class\_4069.java:38) at net.minecraft.class\_312.method\_1611(class\_312.java:98) at net.minecraft.class\_437.method\_25412(class\_437.java:409) at net.minecraft.class\_312.method\_1601(class\_312.java:98) at net.minecraft.class\_312.method\_22686(class\_312.java:169) at net.minecraft.class\_1255.execute(class\_1255.java:102) at net.minecraft.class\_312.method\_22684(class\_312.java:169) at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback([GLFWMouseButtonCallbackI.java:43](https://GLFWMouseButtonCallbackI.java:43)) at org.lwjgl.system.JNI.invokeV(Native Method) at org.lwjgl.glfw.GLFW.glfwWaitEventsTimeout([GLFW.java:3474](https://GLFW.java:3474)) at com.mojang.blaze3d.systems.RenderSystem.limitDisplayFPS([RenderSystem.java:237](https://RenderSystem.java:237)) at net.minecraft.class\_310.method\_1523(class\_310.java:1244) at net.minecraft.class\_310.method\_1514(class\_310.java:802) at net.minecraft.client.main.Main.main([Main.java:250](https://Main.java:250)) at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch([MinecraftGameProvider.java:468](https://MinecraftGameProvider.java:468)) at net.fabricmc.loader.impl.launch.knot.Knot.launch([Knot.java:74](https://Knot.java:74)) at net.fabricmc.loader.impl.launch.knot.KnotClient.main([KnotClient.java:23](https://KnotClient.java:23))Caused by: org.spongepowered.asm.mixin.transformer.throwables.MixinTransformerError: An unexpected critical error was encountered
at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins([MixinProcessor.java:392](https://MixinProcessor.java:392)) at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClass([MixinTransformer.java:234](https://MixinTransformer.java:234)) at org.spongepowered.asm.mixin.transformer.MixinTransformer.transformClassBytes([MixinTransformer.java:202](https://MixinTransformer.java:202)) at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray([KnotClassDelegate.java:422](https://KnotClassDelegate.java:422)) ... 29 moreCaused by: org.spongepowered.asm.mixin.throwables.MixinApplyError: Mixin [mixins.cardinal_components_level.json:common.MixinLevelProperties from mod cardinal-components-level] from phase [DEFAULT] in config [mixins.cardinal_components_level.json] FAILED during APPLY
at org.spongepowered.asm.mixin.transformer.MixinProcessor.handleMixinError([MixinProcessor.java:638](https://MixinProcessor.java:638)) at org.spongepowered.asm.mixin.transformer.MixinProcessor.handleMixinApplyError([MixinProcessor.java:589](https://MixinProcessor.java:589)) at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins([MixinProcessor.java:379](https://MixinProcessor.java:379)) ... 32 moreCaused by: org.spongepowered.asm.mixin.injection.throwables.InvalidInjectionException: Critical injection failure: u/Inject annotation on initComponents could not find any targets matching 'Lnet/minecraft/class_31;
at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.validateTargets([InjectionInfo.java:656](https://InjectionInfo.java:656)) at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.findTargets([InjectionInfo.java:587](https://InjectionInfo.java:587)) at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.readAnnotation([InjectionInfo.java:330](https://InjectionInfo.java:330)) at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.([InjectionInfo.java:316](https://InjectionInfo.java:316)) at org.spongepowered.asm.mixin.injection.struct.InjectionInfo. ([InjectionInfo.java:308](https://InjectionInfo.java:308)) at org.spongepowered.asm.mixin.injection.struct.CallbackInjectionInfo. ([CallbackInjectionInfo.java:46](https://CallbackInjectionInfo.java:46)) at jdk.internal.reflect.GeneratedConstructorAccessor60.newInstance(Unknown Source) at java.base/jdk.internal.reflect.DelegatingConstructorAccessorImpl.newInstance([DelegatingConstructorAccessorImpl.java:45](https://DelegatingConstructorAccessorImpl.java:45)) at java.base/java.lang.reflect.Constructor.newInstanceWithCaller([Constructor.java:499](https://Constructor.java:499)) at java.base/java.lang.reflect.Constructor.newInstance([Constructor.java:480](https://Constructor.java:480)) at org.spongepowered.asm.mixin.injection.struct.InjectionInfo$InjectorEntry.create([InjectionInfo.java:149](https://InjectionInfo.java:149)) at org.spongepowered.asm.mixin.injection.struct.InjectionInfo.parse([InjectionInfo.java:708](https://InjectionInfo.java:708)) at org.spongepowered.asm.mixin.transformer.MixinTargetContext.prepareInjections([MixinTargetContext.java:1329](https://MixinTargetContext.java:1329)) at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.prepareInjections([MixinApplicatorStandard.java:1053](https://MixinApplicatorStandard.java:1053)) at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.applyMixin([MixinApplicatorStandard.java:395](https://MixinApplicatorStandard.java:395)) at org.spongepowered.asm.mixin.transformer.MixinApplicatorStandard.apply([MixinApplicatorStandard.java:327](https://MixinApplicatorStandard.java:327)) at org.spongepowered.asm.mixin.transformer.TargetClassContext.apply([TargetClassContext.java:421](https://TargetClassContext.java:421)) at org.spongepowered.asm.mixin.transformer.TargetClassContext.applyMixins([TargetClassContext.java:403](https://TargetClassContext.java:403)) at org.spongepowered.asm.mixin.transformer.MixinProcessor.applyMixins([MixinProcessor.java:363](https://MixinProcessor.java:363)) ... 32 more
at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.getPostMixinClassByteArray([KnotClassDelegate.java:427](https://KnotClassDelegate.java:427)) at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.tryLoadClass([KnotClassDelegate.java:323](https://KnotClassDelegate.java:323)) at net.fabricmc.loader.impl.launch.knot.KnotClassDelegate.loadClass([KnotClassDelegate.java:218](https://KnotClassDelegate.java:218)) at net.fabricmc.loader.impl.launch.knot.KnotClassLoader.loadClass([KnotClassLoader.java:112](https://KnotClassLoader.java:112)) at java.base/java.lang.ClassLoader.loadClass([ClassLoader.java:520](https://ClassLoader.java:520)) at net.minecraft.class\_525.method\_41847(class\_525.java:468) at net.minecraft.class\_525.method\_45683(class\_525.java:451) at net.minecraft.class\_7196.method\_41892(class\_7196.java:303) at net.minecraft.class\_525.method\_2736(class\_525.java:451) at net.minecraft.class\_525.method\_19922(class\_525.java:404) at net.minecraft.class\_4185.method\_25306(class\_4185.java:94) at net.minecraft.class\_4264.method\_25348(class\_4264.java:56) at net.minecraft.class\_339.method\_25402(class\_339.java:189) at net.minecraft.class\_4069.method\_25402(class\_4069.java:38) at net.minecraft.class\_312.method\_1611(class\_312.java:98) at net.minecraft.class\_437.method\_25412(class\_437.java:409) at net.minecraft.class\_312.method\_1601(class\_312.java:98) at net.minecraft.class\_312.method\_22686(class\_312.java:169) at net.minecraft.class\_1255.execute(class\_1255.java:102) at net.minecraft.class\_312.method\_22684(class\_312.java:169) at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback([GLFWMouseButtonCallbackI.java:43](https://GLFWMouseButtonCallbackI.java:43)) at org.lwjgl.system.JNI.invokeV(Native Method) at org.lwjgl.glfw.GLFW.glfwWaitEventsTimeout([GLFW.java:3474](https://GLFW.java:3474))
Screen name: net.minecraft.class\_525Stacktrace:
at net.minecraft.class\_437.method\_25412(class\_437.java:409) at net.minecraft.class\_312.method\_1601(class\_312.java:98) at net.minecraft.class\_312.method\_22686(class\_312.java:169) at net.minecraft.class\_1255.execute(class\_1255.java:102) at net.minecraft.class\_312.method\_22684(class\_312.java:169) at org.lwjgl.glfw.GLFWMouseButtonCallbackI.callback([GLFWMouseButtonCallbackI.java:43](https://GLFWMouseButtonCallbackI.java:43)) at org.lwjgl.system.JNI.invokeV(Native Method) at org.lwjgl.glfw.GLFW.glfwWaitEventsTimeout([GLFW.java:3474](https://GLFW.java:3474)) at com.mojang.blaze3d.systems.RenderSystem.limitDisplayFPS([RenderSystem.java:237](https://RenderSystem.java:237)) at net.minecraft.class\_310.method\_1523(class\_310.java:1244) at net.minecraft.class\_310.method\_1514(class\_310.java:802) at net.minecraft.client.main.Main.main([Main.java:250](https://Main.java:250)) at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch([MinecraftGameProvider.java:468](https://MinecraftGameProvider.java:468)) at net.fabricmc.loader.impl.launch.knot.Knot.launch([Knot.java:74](https://Knot.java:74)) at net.fabricmc.loader.impl.launch.knot.KnotClient.main([KnotClient.java:23](https://KnotClient.java:23))
Reload number: 1 Reload reason: initial Finished: Yes Packs: vanilla, fabricStacktrace:
at net.minecraft.class\_6360.method\_36565(class\_6360.java:49) at net.minecraft.class\_310.method\_1587(class\_310.java:2413) at net.minecraft.class\_310.method\_1514(class\_310.java:821) at net.minecraft.client.main.Main.main([Main.java:250](https://Main.java:250)) at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch([MinecraftGameProvider.java:468](https://MinecraftGameProvider.java:468)) at net.fabricmc.loader.impl.launch.knot.Knot.launch([Knot.java:74](https://Knot.java:74)) at net.fabricmc.loader.impl.launch.knot.KnotClient.main([KnotClient.java:23](https://KnotClient.java:23))
Minecraft Version: 1.20 Minecraft Version ID: 1.20 Operating System: Windows 11 (amd64) version 10.0 Java Version: 17.0.3, Microsoft Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Microsoft Memory: 376412792 bytes (358 MiB) / 973078528 bytes (928 MiB) up to 5368709120 bytes (5120 MiB) CPUs: 8 Processor Vendor: AuthenticAMD Processor Name: AMD Ryzen 5 3450U with Radeon Vega Mobile Gfx Identifier: AuthenticAMD Family 23 Model 24 Stepping 1 Microarchitecture: Zen / Zen+ Frequency (GHz): 2.10 Number of physical packages: 1 Number of physical CPUs: 4 Number of logical CPUs: 8 Graphics card #0 name: AMD Radeon(TM) Graphics Graphics card #0 vendor: Advanced Micro Devices, Inc. (0x1002) Graphics card #0 VRAM (MB): 2048.00 Graphics card #0 deviceId: 0x15d8 Graphics card #0 versionInfo: DriverVersion=31.0.12028.2 Memory slot #0 capacity (MB): 8192.00 Memory slot #0 clockSpeed (GHz): 3.20 Memory slot #0 type: DDR4 Virtual memory max (MB): 16270.26 Virtual memory used (MB): 11442.71 Swap memory total (MB): 10240.00 Swap memory used (MB): 1138.84 JVM Flags: 9 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance\_javaw.exe\_minecraft.exe.heapdump -Xss1M -Xmx5G -XX:+UnlockExperimentalVMOptions -XX:+UseG1GC -XX:G1NewSizePercent=20 -XX:G1ReservePercent=20 -XX:MaxGCPauseMillis=50 -XX:G1HeapRegionSize=32M Fabric Mods: additionallanterns: Additional Lanterns 1.0.4-a advancednetherite: Advanced Netherite 2.0.1-1.20 audioplayer: AudioPlayer 1.20-1.5.2 fabric-api-base: Fabric API Base 0.4.29+b04edc7a27 fabric-command-api-v2: Fabric Command API (v2) 2.2.11+b3afc78b27 bebooks: Better Enchanted Books 1.4.3 cardinal-components: Cardinal Components API 5.2.0 cardinal-components-base: Cardinal Components API (base) 5.2.0 cardinal-components-block: Cardinal Components API (blocks) 5.2.0 cardinal-components-chunk: Cardinal Components API (chunks) 5.2.0 cardinal-components-entity: Cardinal Components API (entities) 5.2.0 cardinal-components-item: Cardinal Components API (items) 5.2.0 cardinal-components-level: Cardinal Components API (world saves) 5.2.0 cardinal-components-scoreboard: Cardinal Components API (scoreboard) 5.2.0 cardinal-components-world: Cardinal Components API (worlds) 5.2.0 cloth-config: Cloth Config v11 11.0.99 cloth-basic-math: cloth-basic-math 0.6.1 collective: Collective 6.56 connectedglass: Connected Glass 1.1.6 creativeonepunch: Creative One-Punch 1.3 dashloader: DashLoader 5.0.0-beta.1+1.20.0 com\_github\_luben\_zstd-jni: zstd-jni 1.5.2-2 dev\_notalpha\_taski: Taski 2.1.0 dev\_quantumfusion\_hyphen: Hyphen 0.4.0-rc.3 dyeallthethings: Dye All The Things 1.3.0-1.20 fabric-api: Fabric API 0.83.0+1.20 fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.6.34+4d8536c927 fabric-biome-api-v1: Fabric Biome API (v1) 13.0.10+b3afc78b27 fabric-block-api-v1: Fabric Block API (v1) 1.0.9+e022e5d127 fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.39+b3afc78b27 fabric-client-tags-api-v1: Fabric Client Tags 1.0.20+b3afc78b27 fabric-command-api-v1: Fabric Command API (v1) 1.2.32+f71b366f27 fabric-commands-v0: Fabric Commands (v0) 0.2.49+df3654b327 fabric-containers-v0: Fabric Containers (v0) 0.1.61+df3654b327 fabric-content-registries-v0: Fabric Content Registries (v0) 4.0.7+b3afc78b27 fabric-convention-tags-v1: Fabric Convention Tags 1.5.3+b3afc78b27 fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.2.18+aeb40ebe27 fabric-data-generation-api-v1: Fabric Data Generation API (v1) 12.1.10+b3afc78b27 fabric-dimensions-v1: Fabric Dimensions API (v1) 2.1.51+b3afc78b27 fabric-entity-events-v1: Fabric Entity Events (v1) 1.5.21+b3afc78b27 fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.6.0+b3afc78b27 fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.61+df3654b327 fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.38+b04edc7a27 fabric-item-api-v1: Fabric Item API (v1) 2.1.26+b3afc78b27 fabric-item-group-api-v1: Fabric Item Group API (v1) 4.0.7+b3afc78b27 fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.36+fb8d95da27 fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.34+df3654b327 fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.2.20+b3afc78b27 fabric-loot-api-v2: Fabric Loot API (v2) 1.1.37+b3afc78b27 fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.1.41+9e7660c627 fabric-message-api-v1: Fabric Message API (v1) 5.1.6+b3afc78b27 fabric-mining-level-api-v1: Fabric Mining Level API (v1) 2.1.47+b3afc78b27 fabric-models-v0: Fabric Models (v0) 0.3.35+b3afc78b27 fabric-networking-api-v1: Fabric Networking API (v1) 1.3.8+b3afc78b27 fabric-networking-v0: Fabric Networking (v0) 0.3.48+df3654b327 fabric-object-builder-api-v1: Fabric Object Builder API (v1) 11.0.6+b3afc78b27 fabric-particles-v1: Fabric Particles (v1) 1.0.28+b3afc78b27 fabric-recipe-api-v1: Fabric Recipe API (v1) 1.0.18+b3afc78b27 fabric-registry-sync-v0: Fabric Registry Sync (v0) 2.2.6+b3afc78b27 fabric-renderer-api-v1: Fabric Renderer API (v1) 3.0.1+b3afc78b27 fabric-renderer-indigo: Fabric Renderer - Indigo 1.3.1+b3afc78b27 fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 3.2.44+df3654b327 fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.33+b3afc78b27 fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 3.0.26+b3afc78b27 fabric-rendering-v0: Fabric Rendering (v0) 1.1.47+df3654b327 fabric-rendering-v1: Fabric Rendering (v1) 3.0.6+b3afc78b27 fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 2.3.4+b3afc78b27 fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.11.7+f7923f6d27 fabric-screen-api-v1: Fabric Screen API (v1) 2.0.6+b3afc78b27 fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.3.27+b3afc78b27 fabric-sound-api-v1: Fabric Sound API (v1) 1.0.12+b3afc78b27 fabric-transfer-api-v1: Fabric Transfer API (v1) 3.2.2+b3afc78b27 fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 4.2.0+b3afc78b27 fabricloader: Fabric Loader 0.14.21 geckolib: Geckolib 4.2 com\_eliotlash\_mclib\_mclib: mclib 20 immediatelyfast: ImmediatelyFast 1.1.13 net\_lenni0451\_reflect: Reflect 1.1.0 jade: Jade 11.0.3 jamlib: JamLib 0.6.0+1.20 java: OpenJDK 64-Bit Server VM 17 midnightlib: MidnightLib 1.4.0 minecraft: Minecraft 1.20 modmenu: Mod Menu 7.0.1 reeses-sodium-options: Reese's Sodium Options 1.5.1+mc1.20-build.74 resourcefullib: Resourceful Lib 2.0.5 com\_teamresourceful\_yabn: yabn 1.0.3 rightclickharvest: Right Click Harvest 3.2.2+1.19.x-1.20-fabric smartbrainlib: SmartBrainLib 1.11 sodium: Sodium 0.4.10+build.27 stackrefill: Stack Refill 4.0 starterkit: Starter Kit 5.2 supermartijn642corelib: SuperMartijn642's Core Lib 1.1.9 terrestria: Terrestria 6.0.0 biolith: Biolith 1.0.0-alpha.4com_github_llamalad7_mixinextras: MixinExtras 0.2.0-beta.5
terraform-biome-remapper-api-v1: Terraform Biome Remapper API (v1) 7.0.0-beta.1 terraform-config-api-v1: Terraform Config API (v1) 7.0.0-beta.1 terraform-dirt-api-v1: Terraform Dirt API (v1) 7.0.0-beta.1 terraform-shapes-api-v1: Terraform Shapes API (v1) 7.0.0-beta.1 terraform-surfaces-api-v1: Terraform Surfaces API (v1) 7.0.0-beta.1 terraform-tree-api-v1: Terraform Tree API (v1) 7.0.0-beta.1 terraform-wood-api-v1: Terraform Wood API (v1) 7.0.0-beta.1 terrestria-client: Terrestria: Client 6.0.0 terrestria-common: Terrestria: Common 6.0.0 terrestria-worldgen: Terrestria: World Generation 6.0.0 travelersbackpack: Traveler's Backpack 1.20-9.0.1 treeharvester: Tree Harvester 8.1 trinkets: Trinkets 3.7.0 varietyaquatic: Variety Aquatic [1.0.4.2](https://1.0.4.2) voicechat: Simple Voice Chat 1.20-2.4.8 xaerominimap: Xaero's Minimap 23.4.4 xaeroworldmap: Xaero's World Map 1.30.3 Launched Version: fabric-loader-0.14.21-1.20 Backend library: LWJGL version 3.3.1 SNAPSHOT Backend API: AMD Radeon(TM) Graphics GL version 3.2.0 Core Profile Context 22.20.28.220830, ATI Technologies Inc. Window size: 854x480 GL Caps: Using framebuffer using OpenGL 3.2 GL debug messages: Using VBOs: Yes Is Modded: Definitely; Client brand changed to 'fabric' Type: Client (map\_client.txt) Graphics mode: fast Resource Packs: vanilla, fabric Current Language: en\_us CPU: 8x AMD Ryzen 5 3450U with Radeon Vega Mobile Gfx
2023.06.09 23:53 Forsaken_Good7372 Which would be better to get between the two?
![]() | submitted by Forsaken_Good7372 to AskMechanics [link] [comments] |
2023.06.09 23:52 Forsaken_Good7372 Which would be better to get between the two?
![]() | submitted by Forsaken_Good7372 to MechanicAdvice [link] [comments] |
2023.06.09 19:01 AlvaroCSLearner Can't check until a frown turns upside down
# Forget any user_id session.clear() # User reached route via POST (as by submitting a form via POST) if request.method == "POST": # Ensure username was submitted if not request.form.get("username"): return apology("Must Provide Username", 400) # Ensure password was submitted elif not request.form.get("password"): return apology("Must Provide Password", 400) # Query database for username rows = db.execute("SELECT * FROM users WHERE username = ?", request.form.get("username")) # Ensure username exists and password is correct if len(rows) != 1 or not check_password_hash(rows[0]["hash"], request.form.get("password")): return apology("Invalid Username and/or Password", 400) # Remember which user has logged in session["user_id"] = rows[0]["id"] # Redirect user to home page return redirect("/") # User reached route via GET (as by clicking a link or via redirect) else: return render_template("login.html")@app.route("/logout") def logout(): """Log user out"""
# Forget any user_id session.clear() # Redirect user to login form return redirect("/")@app.route("/quote", methods=["GET", "POST"]) @login_required def quote(): """Get stock quote.""" if request.method == 'POST': symbol = request.form.get("symbol") lookup_dict = lookup(symbol) if not symbol or not lookup_dict: return apology("Invalid Symbol", 400) # If everything is OK get all the symbols that the stocks table currently has stocks = db.execute("SELECT symbol FROM stocks;") # If there's no the quoted stock insert it into the stocks table: if not stocks or not any(lookup_dict['symbol'] in stock.values() for stock in stocks): db.execute("INSERT INTO stocks (symbol, price) VALUES (?, ?)", lookup_dict['symbol'], lookup_dict['price']) return render_template("quoted.html", stock=lookup_dict) else: return render_template("quote.html")
usernames = db.execute("SELECT username FROM users;") if not username or username == '': return apology("Username not avaliable or already exists", 400) for char in username: if char in invalid_chars: return apology("Username has not appropiate characters", 400) for dict in usernames: if username == dict['username']: return apology("Username already exists", 400) if not password or password == '' or not confirmation: return apology("Password not avaliable", 400) if password != confirmation or confirmation == '': return apology("Passwords doesn't match", 400) for character in password: if character in invalid_chars: return apology("Password has not appropiate characters", 400) for char in password: if not char.isalnum() and not char.isspace(): has_symbol = True if char.islower(): has_lower = True if char.isupper(): has_upper = True if char.isdigit(): has_number = True if has_symbol and has_lower and has_upper and has_number: requirements_meeted = True if requirements_meeted == True: db.execute("INSERT INTO users (username, hash) VALUES (?, ?);", username, generate_password_hash(confirmation)) return redirect("/login") else: return apology("Password don't meet the requirements. Passwords must have symbols, digits, lower and upper letters", 400) else: return render_template("register.html")@app.route("/sell", methods=["GET", "POST"]) @login_required def sell(): """Sell shares of stock""" # If the request method is POST: if request.method == "POST": # Getting the current time of the sell current_time = datetime.datetime.now().strftime("%H:%M:%S") # Getting the current date of the sell current_date = datetime.date.today().strftime("%d/%m/%Y") # Getting the stocks symbols of the user stocks_symbol = db.execute("SELECT symbol FROM stocks JOIN user_stocks ON user_stocks.stock_id = stocks.id JOIN users ON user_stocks.user_id = users.id WHERE users.id = ?;", session["user_id"]) # Getting the selled symbol symbol = request.form.get("symbol") # Getting the total shares of the selled symbol shares_symbol = db.execute("SELECT SUM(user_stocks.shares) AS Total_Shares, stocks.symbol FROM user_stocks JOIN users ON user_stocks.user_id = users.id JOIN stocks ON user_stocks.stock_id = stocks.id WHERE users.id = ? AND stocks.symbol = ? GROUP BY (user_stocks.stock_id);", session["user_id"], symbol) # Getting the shares that we want to sell shares = request.form.get("shares") # Checking valid input for shares if shares.count('.'): return apology("Should be an integer", 400) elif any(char.isalpha() for char in shares): return apology("Should be an integer entirely", 400) elif shares.startswith('-'): return apology("Amount of shares must be positive",400) else: shares = int(shares) # Getting the stock data: stock = lookup(symbol) # If there's no stock return an apology if not stock: return apology("Symbol doesn't exits", 400) # Getting all the symbols of the user as a list symbols = [symbol for stock_symbol in stocks_symbol for symbol in stock_symbol.values()] # If the symbol is not in the list return an apology if not symbol in symbols: return apology("Symbol not acquired", 400) # If the number of shares is not positive or the number of shares is greater than the number of acquired shares return an apology if shares < 0: return apology("Shares must be positive", 400) if shares > int(shares_symbol[0]['Total_Shares']): return apology("Amount of shares not acquired", 400) if shares == 0: return apology("Amount of shares must be greater than 0", 400) # Getting the current price of the stock Price_Symbol = db.execute("SELECT price FROM stocks WHERE symbol = ?;", symbol) # Getting the total dollars amount of the selled stock Total_AmountSelled = Price_Symbol[0]['price'] * shares # Getting the current cash of the user cash = db.execute("SELECT cash FROM users WHERE users.id = ?;", session["user_id"]) # Updating the cash of the user: current_cash = cash[0]['cash'] + Total_AmountSelled db.execute("UPDATE users SET cash = ? WHERE users.id = ?;", current_cash, session["user_id"]) # Getting the current shares of the stock symbol_id = db.execute("SELECT id FROM stocks WHERE symbol = ?;", stock['symbol']) current_shares = int(shares_symbol[0]['Total_Shares']) Last_Total_Shares = 0 Total_Shares = current_shares - shares if Total_Shares == 0: Last_Total_Shares = (shares * -1) else: Last_Total_Shares = ((Total_Shares) * -1) # Updating the shares of the user: db.execute("INSERT INTO user_stocks (user_id, stock_id, cost, shares, transaction_type, time, date) VALUES (?, ?, ?, ?, ?, ?, ?);",session["user_id"], symbol_id[0]['id'], stock['price'], Last_Total_Shares, "SELL", current_time, current_date) return redirect("/") else: return render_template("sell.html")
usernamesdict = db.execute("SELECT username FROM users;") usernames = [username for dictionary in usernamesdict for username in dictionary.values()] if username not in usernames: return apology("Username not registered", 400) for char in username: if char in invalid_chars: return apology("Username has not appropiate characters", 400) if new_password != new_password_confirmation: return apology("Password not matched", 400) if not new_password or new_password == '': return apology("Password not avaliable", 400) for char in new_password: if char in invalid_chars: return apology("Password has not appropiate characters", 400) user_id = db.execute("SELECT users.id FROM users WHERE users.username = ?", username) db.execute("UPDATE users SET hash = ? WHERE users.id = ?;", generate_password_hash(new_password_confirmation), user_id[0]['id']) return redirect("/login") else: return render_template("changepassword.html")```
Symbol | Price | |
---|---|---|
1 | {{ stock['symbol'] }} | {{ stock['price'] }} |
2023.06.09 18:11 Fimeg Encountering DNS resolution issue with Lemmy and NPM (Nginx Proxy Manager)
error sending request for url (https://lemmy.ml/.well-known/webfinger?resource=acct:[email protected]): error trying to connect: dns error: failed to lookup address information: Try againIt seems the application can't resolve the address information which indicates a possible DNS issue.
lemmy_1 2023-06-09T15:54:35.914184Z ERROR HTTP request{http.method=GET http.scheme="https" http.host=lemmy.REDACTED.net http.target=/api/v3/ws otel.kind="server" request_id=f9490221-8bda-4172-979f-1be74ccbacf6 http.status_code=101 otel.status_code="OK"}: lemmy_server::api_routes_websocket: couldnt_find_object: Request error: error sending request for url (https://lemmy.ml/.well-known/webfinger?resource=acct:[email protected]): error trying to connect: dns error: failed to lookup address information: Try again
2023.06.09 17:15 Steezycoom Matching two columns in two separate sheets
2023.06.09 11:45 icestormstickstone StubHub Order Lookup
2023.06.09 11:33 MeseNerd Mod menu keeps crahing my game when trying to use it
at com.terraformersmc.modmenu.gui.ModsScreen$1.method\_25394([ModsScreen.java:150](https://ModsScreen.java:150)) at net.minecraft.class\_437.method\_25394(class\_437.java:81) at com.terraformersmc.modmenu.gui.ModsScreen.method\_25394([ModsScreen.java:344](https://ModsScreen.java:344)) at net.minecraft.class\_757.method\_3192(class\_757.java:616) at net.minecraft.class\_310.method\_1523(class\_310.java:1048) at net.minecraft.class\_310.method\_1514(class\_310.java:681) at net.minecraft.client.main.Main.main([Main.java:215](https://Main.java:215)) at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch([MinecraftGameProvider.java:462](https://MinecraftGameProvider.java:462)) at net.fabricmc.loader.impl.launch.knot.Knot.launch([Knot.java:74](https://Knot.java:74)) at net.fabricmc.loader.impl.launch.knot.KnotClient.main([KnotClient.java:23](https://KnotClient.java:23))
at com.terraformersmc.modmenu.gui.ModsScreen$1.method\_25394([ModsScreen.java:150](https://ModsScreen.java:150)) at net.minecraft.class\_437.method\_25394(class\_437.java:81) at com.terraformersmc.modmenu.gui.ModsScreen.method\_25394([ModsScreen.java:344](https://ModsScreen.java:344))
Screen name: com.terraformersmc.modmenu.gui.ModsScreen Mouse location: Scaled: (121, 140). Absolute: (243.000000, 280.000000) Screen size: Scaled: (512, 375). Absolute: (1024, 749). Scale factor of 2.000000Stacktrace:
at net.minecraft.class\_757.method\_3192(class\_757.java:616) at net.minecraft.class\_310.method\_1523(class\_310.java:1048) at net.minecraft.class\_310.method\_1514(class\_310.java:681) at net.minecraft.client.main.Main.main([Main.java:215](https://Main.java:215)) at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch([MinecraftGameProvider.java:462](https://MinecraftGameProvider.java:462)) at net.fabricmc.loader.impl.launch.knot.Knot.launch([Knot.java:74](https://Knot.java:74)) at net.fabricmc.loader.impl.launch.knot.KnotClient.main([KnotClient.java:23](https://KnotClient.java:23))
Minecraft Version: 1.16.5 Minecraft Version ID: 1.16.5 Operating System: Windows 10 (amd64) version 10.0 Java Version: 1.8.0\_51, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode), Oracle Corporation Memory: 747331816 bytes (712 MB) / 1912602624 bytes (1824 MB) up to 3817865216 bytes (3641 MB) CPUs: 4 JVM Flags: 4 total; -XX:HeapDumpPath=MojangTricksIntelDriversForPerformance\_javaw.exe\_minecraft.exe.heapdump -Xss1M -Xmx4096m -Xms256m Fabric Mods: adorn: Adorn 1.14.2+1.16.5 angerable-patch: Angerable Patch 1.1.0-1.16.4 armor\_hud: BerdinskiyBear's ArmorHUD 0.3.1 artifacts: Artifacts 4.0.3+fabric autoconfig1u: Auto Config v1 Updated 3.3.1 bclib: BCLib 0.1.45 bettercaves: YUNG's Better Caves 1.16.5-1.2 betterdungeons: YUNG's Better Dungeons 1.16.5-1.0.1 betterend: Better End 0.9.8.5-pre bettermineshafts: YUNG's Better Mineshafts 1.16.4-1.0.2 betternether: Better Nether 5.0.7 bettersleeping: Better Sleeping 0.4.0 betterstrongholds: YUNG's Better Strongholds 1.16.5-1.1.1 bettervillage: Better village 3.1.0 blue\_endless\_jankson: jankson 1.2.0 bobby: Bobby 1.2.0 cardinal-components: Cardinal Components API 2.8.3 cardinal-components-base: Cardinal Components API (base) 2.8.3 cardinal-components-block: Cardinal Components API (blocks) 2.8.3 cardinal-components-chunk: Cardinal Components API (chunks) 2.8.3 cardinal-components-entity: Cardinal Components API (entities) 2.8.3 cardinal-components-item: Cardinal Components API (items) 2.8.3 cardinal-components-level: Cardinal Components API (world saves) 2.8.3 cardinal-components-scoreboard: Cardinal Components API (scoreboard) 2.8.3 cardinal-components-util: Cardinal Components API (utilities) 2.8.3 cardinal-components-world: Cardinal Components API (worlds) 2.8.3 chipped: Chipped 1.1.1 cloth-api: Cloth API 1.6.59 cloth-armor-api-v1: Cloth Armor API v1 1.6.59 cloth-basic-math: cloth-basic-math 0.6.1 cloth-client-events-v0: Cloth Client Events v0 1.6.59 cloth-common-events-v1: Cloth Common Events v1 1.6.59 cloth-config2: Cloth Config v4 4.16.91 cloth-datagen-api-v1: Cloth Datagen v1 1.6.59 cloth-durability-bar-api-v1: Cloth Durability Bar API v1 1.6.59 cloth-dynamic-registry-api-v1: Cloth Dynamic Registry API v1 1.6.59 cloth-scissors-api-v1: Cloth Scissors API v1 1.6.59 cloth-utils-v1: Cloth Utils v1 1.6.59 com\_typesafe\_config: config 1.4.1 confabricate: confabricate 2.0.3+4.0.0 dynamicsoundfilters: Dynamic Sound Filters 1.2.0+1.16.5 eldritch\_mobs: Eldritch Mobs 1.8.0 emerald\_tools: Emerald Tools 1.1.4 expandability: ExpandAbility 2.0.1 extraorigins: Extra Origins 1.16.5-13 fabric: Fabric API 0.42.0+1.16 fabric-api-base: Fabric API Base 0.4.0+3cc0f0907d fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.3.1+3cc0f0907d fabric-biome-api-v1: Fabric Biome API (v1) 3.1.13+3cc0f0907d fabric-blockrenderlayer-v1: Fabric BlockRenderLayer Registration (v1) 1.1.6+3cc0f0907d fabric-command-api-v1: Fabric Command API (v1) 1.1.3+3cc0f0907d fabric-commands-v0: Fabric Commands (v0) 0.2.3+3cc0f0907d fabric-containers-v0: Fabric Containers (v0) 0.1.12+3cc0f0907d fabric-content-registries-v0: Fabric Content Registries (v0) 0.2.5+3cc0f0907d fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.1.4+3cc0f0907d fabric-dimensions-v1: Fabric Dimensions API (v1) 2.0.8+3cc0f0907d fabric-entity-events-v1: Fabric Entity Events (v1) 1.2.4+3cc0f0907d fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.4.5+3cc0f0907d fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.2+3cc0f0907d fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.7+3cc0f0907d fabric-item-api-v1: Fabric Item API (v1) 1.2.2+3cc0f0907d fabric-item-groups-v0: Fabric Item Groups (v0) 0.3.1+3cc0f0907d fabric-key-binding-api-v1: Fabric Key Binding API (v1) 1.0.5+3cc0f0907d fabric-keybindings-v0: Fabric Key Bindings (v0) 0.2.2+3cc0f0907d fabric-language-kotlin: Fabric Language Kotlin 1.9.4+kotlin.1.8.21 fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 1.2.2+3cc0f0907d fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.0.3+3cc0f0907d fabric-mining-levels-v0: Fabric Mining Levels (v0) 0.1.4+3cc0f0907d fabric-models-v0: Fabric Models (v0) 0.3.1+3cc0f0907d fabric-networking-api-v1: Fabric Networking API (v1) 1.0.5+3cc0f0907d fabric-networking-blockentity-v0: Fabric Networking Block Entity (v0) 0.2.9+3cc0f0907d fabric-networking-v0: Fabric Networking (v0) 0.3.3+3cc0f0907d fabric-object-builder-api-v1: Fabric Object Builder API (v1) 1.9.6+3cc0f0907d fabric-object-builders-v0: Fabric Object Builders (v0) 0.7.3+3cc0f0907d fabric-particles-v1: Fabric Particles (v1) 0.2.5+3cc0f0907d fabric-registry-sync-v0: Fabric Registry Sync (v0) 0.7.6+3cc0f0907d fabric-renderer-api-v1: Fabric Renderer API (v1) 0.4.5+3cc0f0907d fabric-renderer-indigo: Fabric Renderer - Indigo 0.4.5+3cc0f0907d fabric-renderer-registries-v1: Fabric Renderer Registries (v1) 2.3.1+3cc0f0907d fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.1.6+3cc0f0907d fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 0.1.15+3cc0f0907d fabric-rendering-v0: Fabric Rendering (v0) 1.1.3+3cc0f0907d fabric-rendering-v1: Fabric Rendering (v1) 1.6.1+3cc0f0907d fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.4.8+3cc0f0907d fabric-screen-api-v1: Fabric Screen API (v1) 1.0.1+3cc0f0907d fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.1.6+3cc0f0907d fabric-structure-api-v1: Fabric Structure API (v1) 1.1.12+3cc0f0907d fabric-tag-extensions-v0: Fabric Tag Extensions (v0) 1.1.2+3cc0f0907d fabric-textures-v0: Fabric Textures (v0) 1.0.7+3cc0f0907d fabric-tool-attribute-api-v1: Fabric Tool Attribute API (v1) 1.2.8+3cc0f0907d fabric-transfer-api-v1: Fabric Transfer API (v1) 1.5.0+3cc0f0907d fabricenchantments: Fabric Enchantments 0.4.1 fabricloader: Fabric Loader 0.14.19 fallflyinglib: FallFlyingLib 1.1.0 farmersdelight: Farmer's Delight 1.16.5-0.0.7 ferritecore: FerriteCore 2.1.1 harvest\_scythes: Harvest Scythes 2.0.4 hidearmor: Hide Armor 2.4 inventorysorter: Inventory Sorter 1.7.9-1.16 io\_leangen\_geantyref\_geantyref: geantyref 1.3.11 jankson: Jankson 3.0.1+j1.2.0 java: Java HotSpot(TM) 64-Bit Server VM 8 kanos\_config: Kanos Config 0.4.0+1.14.4-1.19.4 kyrptconfig: Kytpt Config 1.1.6-1.16 lambdynlights: LambDynamicLights 1.3.4+1.16 libcd: LibCapableData 3.0.3+1.16.3 libgui: LibGui 3.3.3+1.16.5 libipn: libIPN 3.0.1 libraryferret: Library ferret 4.0.0 lithium: Lithium 0.6.6 medieval\_origins: Medieval Origins 1.1.1 minecraft: Minecraft 1.16.5 mixedslab: Mixed Slab 1.16.3-1.2 moborigins: Mob Origins 1.4.0 modifiers: Modifiers 0.1.1 modmenu: Mod Menu 1.16.10 mooblooms: Mooblooms 1.4.0 morediscs: More discs 1.16.5-28-fabric morevillagers-fabric: MoreVillagersFabric 1.4.1-SNAPSHOT mostructures: Mo' Structures 1.2.0-1.16.5 omega-config: OmegaConfig 1.0.4 org\_aperlambda\_lambdajcommon: lambdajcommon 1.8.1 org\_jetbrains\_kotlin\_kotlin-reflect: kotlin-reflect 1.8.21 org\_jetbrains\_kotlin\_kotlin-stdlib: kotlin-stdlib 1.8.21 org\_jetbrains\_kotlin\_kotlin-stdlib-jdk7: kotlin-stdlib-jdk7 1.8.21 org\_jetbrains\_kotlin\_kotlin-stdlib-jdk8: kotlin-stdlib-jdk8 1.8.21 org\_jetbrains\_kotlinx\_atomicfu-jvm: atomicfu-jvm 0.20.2 org\_jetbrains\_kotlinx\_kotlinx-coroutines-core-jvm: kotlinx-coroutines-core-jvm 1.6.4 org\_jetbrains\_kotlinx\_kotlinx-coroutines-jdk8: kotlinx-coroutines-jdk8 1.6.4 org\_jetbrains\_kotlinx\_kotlinx-datetime-jvm: kotlinx-datetime-jvm 0.4.0 org\_jetbrains\_kotlinx\_kotlinx-serialization-cbor-jvm: kotlinx-serialization-cbor-jvm 1.5.0 org\_jetbrains\_kotlinx\_kotlinx-serialization-core-jvm: kotlinx-serialization-core-jvm 1.5.0 org\_jetbrains\_kotlinx\_kotlinx-serialization-json-jvm: kotlinx-serialization-json-jvm 1.5.0 org\_spongepowered\_configurate-core: configurate-core 4.0.0 org\_spongepowered\_configurate-extra-dfu4: configurate-extra-dfu4 4.0.0 org\_spongepowered\_configurate-gson: configurate-gson 4.0.0 org\_spongepowered\_configurate-hocon: configurate-hocon 4.0.0 origins: Origins 0.7.3 pehkui: Pehkui 3.7.3+1.14.4-1.20 phosphor: Phosphor 0.8.0 reach-entity-attributes: Reach Entity Attributes 1.1.1 repurposed\_structures: Repurposed Structures 1.16.5-1.11.6-fabric roughlyenoughitems: Roughly Enough Items 5.12.385 roughlyenoughitems-api: REI (API) 5.12.385 roughlyenoughitems-default-plugin: REI (Default Plugin) 5.12.385 roughlyenoughitems-runtime: REI (Runtime) 5.12.385 seasons: Fabric Seasons 1.2-BETA sodium: Sodium 0.2.0+build.4 spruceui: SpruceUI 2.0.4+1.16 step-height-entity-attribute: Step Height Entity Attribute 1.0.0 trinkets: Trinkets 2.6.7 voicechat: Simple Voice Chat 1.16.5-2.4.8 voyager: Voyager 1.0.0 xaerominimap: Xaero's Minimap 23.4.0 yungsapi: YUNG's API 1.16.5-Fabric-9 Launched Version: fabric-loader-0.14.19-1.16.5 Backend library: LWJGL version 3.2.2 build 10 Backend API: NVIDIA GeForce GT 1030/PCIe/SSE2 GL version 4.6.0 NVIDIA 516.94, NVIDIA Corporation GL Caps: Using framebuffer using OpenGL 3.0 Using VBOs: Yes Is Modded: Definitely; Client brand changed to 'fabric' Type: Client (map\_client.txt) Graphics mode: fancy Resource Packs: vanilla, Fabric Mods, file/-+BetterDefault\_1.5.zip (incompatible), file/Default-Dark-Mode-1.16-v1.4.0.zip, file/Crops-3D\_MC1.16.5\_v1.0.0.zip, file/NoZ-Fighting-v1.2.1-(1.19.4).zip (incompatible), file/Inventory+Flat+Pack+\[Addon\].zip (incompatible) Current Language: English (US) CPU: 4x Intel(R) Core(TM) i5-4690K CPU @ 3.50GHz
2023.06.09 09:05 AutoModerator /r/NintendoSwitch's Daily Question Thread (06/09/2023)
2023.06.09 05:09 Fantastic-Address-44 odd crash occurs only when launching galacticraft rockets, appears to be ticking entity
at starmaker.utils.json.ParseFiles.getBlock([ParseFiles.java:638](https://ParseFiles.java:638)) at starmaker.dimension.WorldProviderBody.genSettings([WorldProviderBody.java:265](https://WorldProviderBody.java:265)) at asmodeuscore.core.astronomy.dimension.world.worldengine.WE\_ChunkProviderSpace.(WE\_ChunkProviderSpace.java:85) at asmodeuscore.core.astronomy.dimension.world.worldengine.WE\_WorldProviderSpace.func\_186060\_c(WE\_WorldProviderSpace.java:93) at net.minecraft.world.WorldServer.func\_72970\_h([WorldServer.java:848](https://WorldServer.java:848)) at net.minecraft.world.WorldServer. ([WorldServer.java:118](https://WorldServer.java:118)) at net.minecraft.world.WorldServerMulti. ([WorldServerMulti.java:18](https://WorldServerMulti.java:18)) at net.minecraftforge.common.DimensionManager.initDimension([DimensionManager.java:263](https://DimensionManager.java:263)) at net.minecraft.server.MinecraftServer.func\_71218\_a([MinecraftServer.java:832](https://MinecraftServer.java:832)) at micdoodle8.mods.galacticraft.api.prefab.entity.EntityTieredRocket.func\_70071\_h\_([EntityTieredRocket.java:203](https://EntityTieredRocket.java:203)) at galaxyspace.core.prefab.entities.EntityTier6Rocket.func\_70071\_h\_([EntityTier6Rocket.java:282](https://EntityTier6Rocket.java:282)) at net.minecraft.world.World.func\_72866\_a([World.java:1996](https://World.java:1996)) at net.minecraft.world.WorldServer.func\_72866\_a([WorldServer.java:832](https://WorldServer.java:832)) at net.minecraft.world.World.func\_72870\_g([World.java:1958](https://World.java:1958)) at net.minecraft.world.World.func\_72939\_s([World.java:1762](https://World.java:1762)) at net.minecraft.world.WorldServer.func\_72939\_s([WorldServer.java:613](https://WorldServer.java:613)) at net.minecraft.server.MinecraftServer.func\_71190\_q([MinecraftServer.java:767](https://MinecraftServer.java:767)) at net.minecraft.server.MinecraftServer.func\_71217\_p([MinecraftServer.java:668](https://MinecraftServer.java:668)) at net.minecraft.server.integrated.IntegratedServer.func\_71217\_p([IntegratedServer.java:279](https://IntegratedServer.java:279)) at [net.minecraft.server.MinecraftServer.run](https://net.minecraft.server.MinecraftServer.run)([MinecraftServer.java:526](https://MinecraftServer.java:526)) at [java.lang.Thread.run](https://java.lang.Thread.run)(Unknown Source)
[net.minecraft.world.World](https://net.minecraft.world.World): stevekung.mods.stevekunglib.mixin.WorldMixin (mixins.stevekung's\_lib.json) \[SteveKunG's-Lib-mc1.12.2-v1.3.0.jar\] net.minecraft.world.WorldServer: stevekung.mods.stevekunglib.mixin.WorldServerMixin (mixins.stevekung's\_lib.json) \[SteveKunG's-Lib-mc1.12.2-v1.3.0.jar\]
2023.06.08 23:32 suineg Intermittent Error Popping Up
WebUI :: Mako template render error: (SystemError) AST constructor recursion depth mismatch (before=150, after=145) ("data = defaultdict(lambda: 'Unknown', **session)\ns") in file '/app/tautulli/data/interfaces/default/current_activity_instance.html' at line: 69 char: 1Traceback (most recent call last): File "/app/tautulli/lib/mako/lookup.py", line 241, in get_template return self._check(uri, self._collection[uri]) ~~~~~~~~~~~~~~~~^ KeyError: 'current_activity_instance.html'
tautulli:image: lscr.io/linuxservetautulli container_name: tautulli environment: - PUID=1000 - PGID=1000 - TZ=America/New_York
2023.06.08 17:55 Xcissors280 1.20 fabric server crash
at java.base/java.util.concurrent.CompletableFuture.encodeThrowable([CompletableFuture.java:332](https://CompletableFuture.java:332)) at java.base/java.util.concurrent.CompletableFuture.completeThrowable([CompletableFuture.java:347](https://CompletableFuture.java:347)) at java.base/java.util.concurrent.CompletableFuture.uniWhenComplete([CompletableFuture.java:874](https://CompletableFuture.java:874)) at java.base/java.util.concurrent.CompletableFuture.uniWhenCompleteStage([CompletableFuture.java:887](https://CompletableFuture.java:887)) at java.base/java.util.concurrent.CompletableFuture.whenComplete([CompletableFuture.java:2325](https://CompletableFuture.java:2325)) at org.geysermc.geyser.GeyserImpl.startInstance([GeyserImpl.java:378](https://GeyserImpl.java:378)) at org.geysermc.geyser.GeyserImpl.initialize([GeyserImpl.java:216](https://GeyserImpl.java:216)) at org.geysermc.geyser.GeyserImpl.start([GeyserImpl.java:710](https://GeyserImpl.java:710)) at org.geysermc.geyser.platform.fabric.GeyserFabricMod.startGeyser([GeyserFabricMod.java:143](https://GeyserFabricMod.java:143)) at net.fabricmc.fabric.api.event.lifecycle.v1.ServerLifecycleEvents.lambda$static$2([ServerLifecycleEvents.java:49](https://ServerLifecycleEvents.java:49)) at net.minecraft.server.MinecraftServer.handler$zdj000$fabric-lifecycle-events-v1$afterSetupServer([MinecraftServer.java:2842](https://MinecraftServer.java:2842)) at net.minecraft.server.MinecraftServer.method\_29741([MinecraftServer.java:650](https://MinecraftServer.java:650)) at net.minecraft.server.MinecraftServer.method\_29739([MinecraftServer.java:265](https://MinecraftServer.java:265)) at java.base/java.lang.Thread.run([Thread.java:833](https://Thread.java:833))Caused by: java.net.BindException: Address already in use: bind
at java.base/sun.nio.ch.Net.bind0(Native Method) at java.base/sun.nio.ch.Net.bind([Net.java:555](https://Net.java:555)) at java.base/sun.nio.ch.DatagramChannelImpl.bindInternal([DatagramChannelImpl.java:1194](https://DatagramChannelImpl.java:1194)) at java.base/sun.nio.ch.DatagramChannelImpl.bind([DatagramChannelImpl.java:1164](https://DatagramChannelImpl.java:1164)) at [io.netty.util.internal.SocketUtils$6.run](https://io.netty.util.internal.SocketUtils$6.run)([SocketUtils.java:133](https://SocketUtils.java:133)) at [io.netty.util.internal.SocketUtils$6.run](https://io.netty.util.internal.SocketUtils$6.run)([SocketUtils.java:130](https://SocketUtils.java:130)) at java.base/java.security.AccessController.doPrivileged([AccessController.java:569](https://AccessController.java:569)) at io.netty.util.internal.SocketUtils.bind([SocketUtils.java:130](https://SocketUtils.java:130)) at io.netty.channel.socket.nio.NioDatagramChannel.doBind0([NioDatagramChannel.java:201](https://NioDatagramChannel.java:201)) at io.netty.channel.socket.nio.NioDatagramChannel.doBind([NioDatagramChannel.java:196](https://NioDatagramChannel.java:196)) at io.netty.channel.AbstractChannel$AbstractUnsafe.bind([AbstractChannel.java:562](https://AbstractChannel.java:562)) at io.netty.channel.DefaultChannelPipeline$HeadContext.bind([DefaultChannelPipeline.java:1334](https://DefaultChannelPipeline.java:1334)) at io.netty.channel.AbstractChannelHandlerContext.invokeBind([AbstractChannelHandlerContext.java:506](https://AbstractChannelHandlerContext.java:506)) at io.netty.channel.AbstractChannelHandlerContext.bind([AbstractChannelHandlerContext.java:491](https://AbstractChannelHandlerContext.java:491)) at io.netty.channel.DefaultChannelPipeline.bind([DefaultChannelPipeline.java:973](https://DefaultChannelPipeline.java:973)) at io.netty.channel.AbstractChannel.bind([AbstractChannel.java:260](https://AbstractChannel.java:260)) at org.cloudburstmc.netty.handler.codec.raknet.ProxyOutboundRouter.bind([ProxyOutboundRouter.java:48](https://ProxyOutboundRouter.java:48)) at io.netty.channel.AbstractChannelHandlerContext.invokeBind([AbstractChannelHandlerContext.java:506](https://AbstractChannelHandlerContext.java:506)) at io.netty.channel.AbstractChannelHandlerContext.bind([AbstractChannelHandlerContext.java:491](https://AbstractChannelHandlerContext.java:491)) at io.netty.channel.DefaultChannelPipeline.bind([DefaultChannelPipeline.java:973](https://DefaultChannelPipeline.java:973)) at org.cloudburstmc.netty.channel.proxy.ProxyChannel.bind([ProxyChannel.java:188](https://ProxyChannel.java:188)) at [io.netty.bootstrap.AbstractBootstrap$2.run](https://io.netty.bootstrap.AbstractBootstrap$2.run)([AbstractBootstrap.java:356](https://AbstractBootstrap.java:356)) at io.netty.util.concurrent.AbstractEventExecutor.runTask([AbstractEventExecutor.java:174](https://AbstractEventExecutor.java:174)) at io.netty.util.concurrent.AbstractEventExecutor.safeExecute([AbstractEventExecutor.java:167](https://AbstractEventExecutor.java:167)) at io.netty.util.concurrent.SingleThreadEventExecutor.runAllTasks([SingleThreadEventExecutor.java:470](https://SingleThreadEventExecutor.java:470)) at [io.netty.channel.nio.NioEventLoop.run](https://io.netty.channel.nio.NioEventLoop.run)([NioEventLoop.java:569](https://NioEventLoop.java:569)) at [io.netty.util.concurrent.SingleThreadEventExecutor$4.run](https://io.netty.util.concurrent.SingleThreadEventExecutor$4.run)([SingleThreadEventExecutor.java:997](https://SingleThreadEventExecutor.java:997)) at [io.netty.util.internal.ThreadExecutorMap$2.run](https://io.netty.util.internal.ThreadExecutorMap$2.run)([ThreadExecutorMap.java:74](https://ThreadExecutorMap.java:74)) at [io.netty.util.concurrent.FastThreadLocalRunnable.run](https://io.netty.util.concurrent.FastThreadLocalRunnable.run)([FastThreadLocalRunnable.java:30](https://FastThreadLocalRunnable.java:30)) ... 1 more
Minecraft Version: 1.20 Minecraft Version ID: 1.20 Operating System: Windows 10 (amd64) version 10.0 Java Version: 17.0.1, Oracle Corporation Java VM Version: Java HotSpot(TM) 64-Bit Server VM (mixed mode, sharing), Oracle Corporation Memory: 1147282080 bytes (1094 MiB) / 2751463424 bytes (2624 MiB) up to 7491026944 bytes (7144 MiB) CPUs: 16 Processor Vendor: AuthenticAMD Processor Name: AMD Ryzen 7 5700G with Radeon Graphics Identifier: AuthenticAMD Family 25 Model 80 Stepping 0 Microarchitecture: Zen 3 Frequency (GHz): 3.79 Number of physical packages: 1 Number of physical CPUs: 8 Number of logical CPUs: 16 Graphics card #0 name: NVIDIA GeForce GTX 1660 SUPER Graphics card #0 vendor: NVIDIA (0x10de) Graphics card #0 VRAM (MB): 4095.00 Graphics card #0 deviceId: 0x21c4 Graphics card #0 versionInfo: DriverVersion=31.0.15.3598 Graphics card #1 name: AMD Radeon(TM) Graphics Graphics card #1 vendor: Advanced Micro Devices, Inc. (0x1002) Graphics card #1 VRAM (MB): 4095.00 Graphics card #1 deviceId: 0x1638 Graphics card #1 versionInfo: DriverVersion=31.0.12027.9001 Memory slot #0 capacity (MB): 8192.00 Memory slot #0 clockSpeed (GHz): 3.20 Memory slot #0 type: DDR4 Memory slot #1 capacity (MB): 8192.00 Memory slot #1 clockSpeed (GHz): 3.20 Memory slot #1 type: DDR4 Memory slot #2 capacity (MB): 8192.00 Memory slot #2 clockSpeed (GHz): 3.20 Memory slot #2 type: DDR4 Memory slot #3 capacity (MB): 8192.00 Memory slot #3 clockSpeed (GHz): 3.20 Memory slot #3 type: DDR4 Virtual memory max (MB): 32915.84 Virtual memory used (MB): 22713.66 Swap memory total (MB): 4352.00 Swap memory used (MB): 81.85 JVM Flags: 0 total; Fabric Mods: fabric-api: Fabric API 0.83.0+1.20 fabric-api-base: Fabric API Base 0.4.29+b04edc7a27 fabric-api-lookup-api-v1: Fabric API Lookup API (v1) 1.6.34+4d8536c927 fabric-biome-api-v1: Fabric Biome API (v1) 13.0.10+b3afc78b27 fabric-block-api-v1: Fabric Block API (v1) 1.0.9+e022e5d127 fabric-command-api-v1: Fabric Command API (v1) 1.2.32+f71b366f27 fabric-command-api-v2: Fabric Command API (v2) 2.2.11+b3afc78b27 fabric-commands-v0: Fabric Commands (v0) 0.2.49+df3654b327 fabric-containers-v0: Fabric Containers (v0) 0.1.61+df3654b327 fabric-content-registries-v0: Fabric Content Registries (v0) 4.0.7+b3afc78b27 fabric-convention-tags-v1: Fabric Convention Tags 1.5.3+b3afc78b27 fabric-crash-report-info-v1: Fabric Crash Report Info (v1) 0.2.18+aeb40ebe27 fabric-data-generation-api-v1: Fabric Data Generation API (v1) 12.1.10+b3afc78b27 fabric-dimensions-v1: Fabric Dimensions API (v1) 2.1.51+b3afc78b27 fabric-entity-events-v1: Fabric Entity Events (v1) 1.5.21+b3afc78b27 fabric-events-interaction-v0: Fabric Events Interaction (v0) 0.6.0+b3afc78b27 fabric-events-lifecycle-v0: Fabric Events Lifecycle (v0) 0.2.61+df3654b327 fabric-game-rule-api-v1: Fabric Game Rule API (v1) 1.0.38+b04edc7a27 fabric-item-api-v1: Fabric Item API (v1) 2.1.26+b3afc78b27 fabric-item-group-api-v1: Fabric Item Group API (v1) 4.0.7+b3afc78b27 fabric-lifecycle-events-v1: Fabric Lifecycle Events (v1) 2.2.20+b3afc78b27 fabric-loot-api-v2: Fabric Loot API (v2) 1.1.37+b3afc78b27 fabric-loot-tables-v1: Fabric Loot Tables (v1) 1.1.41+9e7660c627 fabric-message-api-v1: Fabric Message API (v1) 5.1.6+b3afc78b27 fabric-mining-level-api-v1: Fabric Mining Level API (v1) 2.1.47+b3afc78b27 fabric-networking-api-v1: Fabric Networking API (v1) 1.3.8+b3afc78b27 fabric-networking-v0: Fabric Networking (v0) 0.3.48+df3654b327 fabric-object-builder-api-v1: Fabric Object Builder API (v1) 11.0.6+b3afc78b27 fabric-particles-v1: Fabric Particles (v1) 1.0.28+b3afc78b27 fabric-recipe-api-v1: Fabric Recipe API (v1) 1.0.18+b3afc78b27 fabric-registry-sync-v0: Fabric Registry Sync (v0) 2.2.6+b3afc78b27 fabric-rendering-data-attachment-v1: Fabric Rendering Data Attachment (v1) 0.3.33+b3afc78b27 fabric-rendering-fluids-v1: Fabric Rendering Fluids (v1) 3.0.26+b3afc78b27 fabric-resource-conditions-api-v1: Fabric Resource Conditions API (v1) 2.3.4+b3afc78b27 fabric-resource-loader-v0: Fabric Resource Loader (v0) 0.11.7+f7923f6d27 fabric-screen-handler-api-v1: Fabric Screen Handler API (v1) 1.3.27+b3afc78b27 fabric-transfer-api-v1: Fabric Transfer API (v1) 3.2.2+b3afc78b27 fabric-transitive-access-wideners-v1: Fabric Transitive Access Wideners (v1) 4.2.0+b3afc78b27 fabricloader: Fabric Loader 0.14.21 floodgate: Floodgate-Fabric 2.2.0-SNAPSHOT adventure-platform-fabric: adventure-platform-fabric 5.8.0-SNAPSHOTnet_kyori_adventure-api: adventure-api 4.13.0
cloud: Cloud 1.8.3cloud_commandframework_cloud-brigadier_: cloud-brigadier 1.8.3
geyser-fabric: Geyser-Fabric 2.1.1-SNAPSHOT fabric-permissions-api-v0: fabric-permissions-api 0.2-SNAPSHOT java: Java HotSpot(TM) 64-Bit Server VM 17 minecraft: Minecraft 1.20 Server Running: true Player Count: 0 / 20; \[\] Data Packs: vanilla, fabric Enabled Feature Flags: minecraft:vanilla World Generation: Stable Is Modded: Definitely; Server brand changed to 'fabric' Type: Dedicated Server (map\_server.txt)
2023.06.08 09:16 Cit1zeN4 The SSL connection could not be established
System.Net.WebException: The SSL connection could not be established, see inner exception. - System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception. - System.Security.Authentication.AuthenticationException: The remote certificate is invalid because of errors in the certificate chain: UntrustedRoot at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception) at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm) at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Boolean async, Stream stream, SslClientAuthenticationOptions sslOptions, CancellationToken cancellationToken) --- End of inner exception stack trace --- at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Boolean async, Stream stream, SslClientAuthenticationOptions sslOptions, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.GetHttpConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpClient.SendAsyncCore(HttpRequestMessage request, HttpCompletionOption completionOption, Boolean async, Boolean emitTelemetryStartStop, CancellationToken cancellationToken) at System.Net.HttpWebRequest.SendRequest(Boolean async) at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) --- End of inner exception stack trace --- at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result) at System.Net.WebClient.GetWebResponseTaskAsync(WebRequest request) at System.Net.WebClient.DownloadBitsAsync(WebRequest request, Stream writeStream, AsyncOperation asyncOp, Action`3 completionDelegate) at PuppeteerSharp.BrowserFetcher.DownloadAsync(String revision) in C:\projects\puppeteer-sharp\lib\PuppeteerSharp\BrowserFetcher.cs:line 200 at WebAPI.Services.DownLoaderService.GetLoadedPage(String uri, String body, Dictionary`2 headers, Boolean waitNavigation) in /media/MYDATA/Dev/WebApi/WebAPI/Services/DownLoaderService.cs:line 272 at WebAPI.Services.Parsers.SberbankService.Test() in /media/MYDATA/Dev/WebApi/WebAPI/Services/Parsers/SberbankService.cs:line 17 at WebAPI.Controllers.ParseController.Sberbank(String codeStart, Int32 pageCount) in /media/MYDATA/Dev/WebApi/WebAPI/Controllers/ParseController.cs:line 151 at lambda_method24(Closure , Object ) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.I used the following commands to solve this problem, but it didn't work:g__Awaited12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker. g__Awaited10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker. g__Awaited13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker. g__Awaited25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
dotnet dev-certs https --clean dotnet dev-certs https --trustI know that the last command cannot be executed automatically and I followed the instructions from Microsoft, but it also didn't work.
openssl verify dotnet-devcert.crt CN = localhost error 18 at 0 depth lookup: self signed certificate error dotnet-devcert.crt: verification failedI think the problem is in openssl because it doesn't validate the certificate.
2023.06.08 09:15 Cit1zeN4 The SSL connection could not be established
System.Net.WebException: The SSL connection could not be established, see inner exception. - System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception. - System.Security.Authentication.AuthenticationException: The remote certificate is invalid because of errors in the certificate chain: UntrustedRoot at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception) at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm) at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Boolean async, Stream stream, SslClientAuthenticationOptions sslOptions, CancellationToken cancellationToken) --- End of inner exception stack trace --- at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Boolean async, Stream stream, SslClientAuthenticationOptions sslOptions, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.GetHttpConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpClient.SendAsyncCore(HttpRequestMessage request, HttpCompletionOption completionOption, Boolean async, Boolean emitTelemetryStartStop, CancellationToken cancellationToken) at System.Net.HttpWebRequest.SendRequest(Boolean async) at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) --- End of inner exception stack trace --- at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result) at System.Net.WebClient.GetWebResponseTaskAsync(WebRequest request) at System.Net.WebClient.DownloadBitsAsync(WebRequest request, Stream writeStream, AsyncOperation asyncOp, Action`3 completionDelegate) at PuppeteerSharp.BrowserFetcher.DownloadAsync(String revision) in C:\projects\puppeteer-sharp\lib\PuppeteerSharp\BrowserFetcher.cs:line 200 at WebAPI.Services.DownLoaderService.GetLoadedPage(String uri, String body, Dictionary`2 headers, Boolean waitNavigation) in /media/MYDATA/Dev/WebApi/WebAPI/Services/DownLoaderService.cs:line 272 at WebAPI.Services.Parsers.SberbankService.Test() in /media/MYDATA/Dev/WebApi/WebAPI/Services/Parsers/SberbankService.cs:line 17 at WebAPI.Controllers.ParseController.Sberbank(String codeStart, Int32 pageCount) in /media/MYDATA/Dev/WebApi/WebAPI/Controllers/ParseController.cs:line 151 at lambda_method24(Closure , Object ) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.I used the following commands to solve this problem, but it didn't work:g__Awaited12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker. g__Awaited10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker. g__Awaited13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker. g__Awaited25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
dotnet dev-certs https --clean dotnet dev-certs https --trustI know that the last command cannot be executed automatically and I followed the instructions from Microsoft, but it also didn't work.
openssl verify dotnet-devcert.crt CN = localhost error 18 at 0 depth lookup: self signed certificate error dotnet-devcert.crt: verification failedI think the problem is in openssl because it doesn't validate the certificate.
2023.06.08 09:14 Cit1zeN4 The SSL connection could not be established
System.Net.WebException: The SSL connection could not be established, see inner exception. - System.Net.Http.HttpRequestException: The SSL connection could not be established, see inner exception. - System.Security.Authentication.AuthenticationException: The remote certificate is invalid because of errors in the certificate chain: UntrustedRoot at System.Net.Security.SslStream.SendAuthResetSignal(ProtocolToken message, ExceptionDispatchInfo exception) at System.Net.Security.SslStream.ForceAuthenticationAsync[TIOAdapter](TIOAdapter adapter, Boolean receiveFirst, Byte[] reAuthenticationData, Boolean isApm) at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Boolean async, Stream stream, SslClientAuthenticationOptions sslOptions, CancellationToken cancellationToken) --- End of inner exception stack trace --- at System.Net.Http.ConnectHelper.EstablishSslConnectionAsyncCore(Boolean async, Stream stream, SslClientAuthenticationOptions sslOptions, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.ConnectAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.CreateHttp11ConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.GetHttpConnectionAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpConnectionPool.SendWithRetryAsync(HttpRequestMessage request, Boolean async, Boolean doRequestAuth, CancellationToken cancellationToken) at System.Net.Http.RedirectHandler.SendAsync(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.DiagnosticsHandler.SendAsyncCore(HttpRequestMessage request, Boolean async, CancellationToken cancellationToken) at System.Net.Http.HttpClient.SendAsyncCore(HttpRequestMessage request, HttpCompletionOption completionOption, Boolean async, Boolean emitTelemetryStartStop, CancellationToken cancellationToken) at System.Net.HttpWebRequest.SendRequest(Boolean async) at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) --- End of inner exception stack trace --- at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult) at System.Net.WebClient.GetWebResponse(WebRequest request, IAsyncResult result) at System.Net.WebClient.GetWebResponseTaskAsync(WebRequest request) at System.Net.WebClient.DownloadBitsAsync(WebRequest request, Stream writeStream, AsyncOperation asyncOp, Action`3 completionDelegate) at PuppeteerSharp.BrowserFetcher.DownloadAsync(String revision) in C:\projects\puppeteer-sharp\lib\PuppeteerSharp\BrowserFetcher.cs:line 200 at WebAPI.Services.DownLoaderService.GetLoadedPage(String uri, String body, Dictionary`2 headers, Boolean waitNavigation) in /media/MYDATA/Dev/WebApi/WebAPI/Services/DownLoaderService.cs:line 272 at WebAPI.Services.Parsers.SberbankService.Test() in /media/MYDATA/Dev/WebApi/WebAPI/Services/Parsers/SberbankService.cs:line 17 at WebAPI.Controllers.ParseController.Sberbank(String codeStart, Int32 pageCount) in /media/MYDATA/Dev/WebApi/WebAPI/Controllers/ParseController.cs:line 151 at lambda_method24(Closure , Object ) at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.I used the following commands to solve this problem, but it didn't work:g__Awaited12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker. g__Awaited10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker. g__Awaited13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted) at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker. g__Awaited25_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
dotnet dev-certs https --clean dotnet dev-certs https --trustI know that the last command cannot be executed automatically and I followed the instructions from Microsoft, but it also didn't work.
openssl verify dotnet-devcert.crt CN = localhost error 18 at 0 depth lookup: self signed certificate error dotnet-devcert.crt: verification failedI think the problem is in openssl because it doesn't validate the certificate.
2023.06.08 09:05 AutoModerator /r/NintendoSwitch's Daily Question Thread (06/08/2023)
2023.06.08 06:19 planetidiot How to make enum-driven CustomEditor script that allows me to drag prefabs to each field in the inspector, and then instantiate them in code?
![]() | I've never messed with the CustomEditor stuff before and was hoping to figure this out. submitted by planetidiot to Unity3D [link] [comments] Normally I would just use a public Generic List, assign the prefabs and internally keep track of the enum order whenever I change things (manually reassign which prefab goes with what, shuffle and reassign if I insert something). But I'd ideally like to be able to add, remove and change the enum values during development until I've settled on the final ones, have the ones that didn't change stick, and be able to read the names in the inspector so I easily can tell what's missing or if something is incorrectly assigned. This is the CreatureSpawnerEditor script that goes along with a CreatureSpawner script (which currently does nothing so I've not included it here): using UnityEngine; using UnityEditor; namespace Creatures { [CustomEditor(typeof(CreatureSpawner))] public class CreatureSpawnerEditor : Editor { public override void OnInspectorGUI() { serializedObject.Update(); CreatureSpawner creatureSpawner = (CreatureSpawner)target; foreach (CreatureLookup.CreatureTypes creatureType in System.Enum.GetValues(typeof(CreatureLookup.CreatureTypes))) { EditorGUILayout.BeginHorizontal(); EditorGUILayout.LabelField(creatureType.ToString(), GUILayout.Width(100)); EditorGUILayout.ObjectField(null, typeof(GameObject), false); EditorGUILayout.EndHorizontal(); } serializedObject.ApplyModifiedProperties(); } } }This *looks* really good, I get all the creatures listed from the enum in the inspector. There's a field for the GameObject next to each one, but of course it doesn't *do* anything, and I have no idea how I would get the values back out again. Is there a way to do this? The currently useless but nice-looking custom editor bits ----------------------- EDIT! nulldiver over in /UnityHelp got me on the right path. This code does pretty much exactly what I want. It doesn't "reorder" if I delete an enum, but since I can read the labels I can clearly tell when things are out of whack. The only slight issue is if I delete an enum, there's an extra value at the end, which I've added a Remove Empty button to sort out. Here's the example code and it seems good to me! using System; using System.Collections; using System.Collections.Generic; using System.Linq; using UnityEditor; using UnityEngine; [Serializable] public class EnumObject : IEnumerable { [SerializeField] private List |
2023.06.08 04:27 planetidiot How to make enum-driven CustomEditor that allows me to drag prefabs to each field, and get them in code?
using UnityEngine; using UnityEditor; namespace Creatures { [CustomEditor(typeof(CreatureSpawner))] public class CreatureSpawnerEditor : Editor { public override void OnInspectorGUI() { serializedObject.Update(); CreatureSpawner creatureSpawner = (CreatureSpawner)target; foreach (CreatureLookup.CreatureTypes creatureType in System.Enum.GetValues(typeof(CreatureLookup.CreatureTypes))) { EditorGUILayout.BeginHorizontal(); EditorGUILayout.LabelField(creatureType.ToString(), GUILayout.Width(100)); EditorGUILayout.ObjectField(null, typeof(GameObject), false); EditorGUILayout.EndHorizontal(); } serializedObject.ApplyModifiedProperties(); } } }It got me really excited to see the creature types showing up! However, I have absolutely no idea how to get these values OUT. How do I use them from my CreatureSpawner code? I want to be able to call SpawnCreature(creatureType) and have it instantiate the prefab assigned in the editor.
2023.06.08 01:51 TheBlackMini 'Patching' YAML using Ansible?
2023.06.07 18:08 Joadm Ayuda con CORS en .NET Core 6 Desespreadisímo
Application '/LM/W3SVC/60/ROOT' with physical root 'E:\Inetpub\vhosts\pymgestionesprueba.online\server\' hit unexpected managed exception, exception code = '0xe0434352'. First 30KB characters of captured stdout and stderr logs: warn: Microsoft.AspNetCore.DataProtection.Repositories.EphemeralXmlRepository[50] Using an in-memory repository. Keys will not be persisted to storage. warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[59] Neither user profile nor HKLM registry available. Using an ephemeral key repository. Protected data will be unavailable when application exits. warn: Microsoft.AspNetCore.DataProtection.KeyManagement.XmlKeyManager[35] No XML encryptor configured. Key {3c8c9530-643c-4234-98fb-11927a5206b9} may be persisted to storage in unencrypted form. crit: Microsoft.AspNetCore.Hosting.Diagnostics[6] Application startup exception System.InvalidOperationException: The CORS protocol does not allow specifying a wildcard (any) origin and credentials at the same time. Configure the CORS policy by listing individual origins if credentials needs to be supported. at Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder.Build() at Microsoft.AspNetCore.Cors.Infrastructure.CorsOptions.AddPolicy(String name, Action`1 configurePolicy) at Program.<>c.<Mi código de CORS en el Program.cs es este:$>b__0_2(CorsOptions options) in C:\Users\JoacoPC\Documents\GitHub\pymgestiones\pym_server\PyM\Program.cs:line 62 at Microsoft.Extensions.Options.ConfigureNamedOptions`1.Configure(String name, TOptions options) at Microsoft.Extensions.Options.OptionsFactory`1.Create(String name) at Microsoft.Extensions.Options.UnnamedOptionsManager`1.get_Value() at Microsoft.AspNetCore.Cors.Infrastructure.CorsService..ctor(IOptions`1 options, ILoggerFactory loggerFactory) at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions) at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitDisposeCache(ServiceCallSite transientCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0. b__0(ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.Internal.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider) at Microsoft.Extensions.Internal.ActivatorUtilities.CreateInstance(IServiceProvider provider, Type instanceType, Object[] parameters) at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass5_0. b__0(RequestDelegate next) at Microsoft.AspNetCore.Builder.ApplicationBuilder.Build() at Microsoft.AspNetCore.Builder.WebApplicationBuilder. b__27_0(RequestDelegate next) at Microsoft.AspNetCore.Builder.ApplicationBuilder.Build() at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken) Unhandled exception. System.InvalidOperationException: The CORS protocol does not allow specifying a wildcard (any) origin and credentials at the same time. Configure the CORS policy by listing individual origins if credentials needs to be supported. at Microsoft.AspNetCore.Cors.Infrastructure.CorsPolicyBuilder.Build() at Microsoft.AspNetCore.Cors.Infrastructure.CorsOptions.AddPolicy(String name, Action`1 configurePolicy) at Program.<>c.< $>b__0_2(CorsOptions options) in C:\Users\JoacoPC\Documents\GitHub\pymgestiones\pym_server\PyM\Program.cs:line 62 at Microsoft.Extensions.Options.ConfigureNamedOptions`1.Configure(String name, TOptions options) at Microsoft.Extensions.Options.OptionsFactory`1.Create(String name) at Microsoft.Extensions.Options.UnnamedOptionsManager`1.get_Value() at Microsoft.AspNetCore.Cors.Infrastructure.CorsService..ctor(IOptions`1 options, ILoggerFactory loggerFactory) at System.RuntimeMethodHandle.InvokeMethod(Object target, Span`1& arguments, Signature sig, Boolean constructor, Boolean wrapExceptions) at System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitConstructor(ConstructorCallSite constructorCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSiteMain(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.VisitDisposeCache(ServiceCallSite transientCallSite, RuntimeResolverContext context) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteVisitor`2.VisitCallSite(ServiceCallSite callSite, TArgument argument) at Microsoft.Extensions.DependencyInjection.ServiceLookup.CallSiteRuntimeResolver.Resolve(ServiceCallSite callSite, ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceLookup.DynamicServiceProviderEngine.<>c__DisplayClass2_0. b__0(ServiceProviderEngineScope scope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType, ServiceProviderEngineScope serviceProviderEngineScope) at Microsoft.Extensions.DependencyInjection.ServiceProvider.GetService(Type serviceType) at Microsoft.Extensions.Internal.ActivatorUtilities.ConstructorMatcher.CreateInstance(IServiceProvider provider) at Microsoft.Extensions.Internal.ActivatorUtilities.CreateInstance(IServiceProvider provider, Type instanceType, Object[] parameters) at Microsoft.AspNetCore.Builder.UseMiddlewareExtensions.<>c__DisplayClass5_0. b__0(RequestDelegate next) at Microsoft.AspNetCore.Builder.ApplicationBuilder.Build() at Microsoft.AspNetCore.Builder.WebApplicationBuilder. b__27_0(RequestDelegate next) at Microsoft.AspNetCore.Builder.ApplicationBuilder.Build() at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken) at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken) at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token) at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token) at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.Run(IHost host) at Microsoft.AspNetCore.Builder.WebApplication.Run(String url) at Program. $(String[] args) in C:\Users\JoacoPC\Documents\GitHub\pymgestiones\pym_server\PyM\Program.cs:line 96
builder.Services.AddCors(options => { options.AddPolicy("production", builder => { builder.WithOrigins("https://miPaginaWeb.com") .WithMethods("POST", "PUT", "GET") .AllowAnyHeader() .AllowCredentials() .SetIsOriginAllowed(origin => true); }); });Alguien tiene alguna idea como puedo solucionar esto? Los del soporte me mandaron este link, pero intenté lo que dicen y tampoco funciona.
2023.06.07 09:05 AutoModerator /r/NintendoSwitch's Daily Question Thread (06/07/2023)