Skip to main content

Questions tagged [console]

A mechanism for interacting with a computer operating system or software by typing commands to perform specific tasks

-4 votes
0 answers
28 views

Is there a way to make JavaScript vars non user editable for websites?

I have vars in my JavaScript script for a HTML website, and when I go into console on this website I can edit these vars. For example, I have a button which is collected from the HTML into the ...
zer0's user avatar
  • 1
0 votes
1 answer
29 views

Why code works different at IDE and Console?

I have simple code for locating and clicking button using pyautogui def click_at_button(button_name, count): count_tries = 0 while True: try: time.sleep(1) ...
Artem Halushka's user avatar
0 votes
0 answers
39 views

How do I specify a user secret in a .NET Core console app?

I've created a .NET 8 Console app. I have also created a user secret with a connection string to one of our SQL Server databases, that looks like this: { "TTConnectionString": { "...
Rod's user avatar
  • 4,291
-1 votes
0 answers
21 views

play.google.com developer console blocking phone numbers

Does Google currently block registration of developers from Ukraine and from Ukrainian numbers? I live in Ukraine, the city of Kharkiv. We can't register. At the moment we cannot register from the ...
formasters777's user avatar
0 votes
1 answer
40 views

Python code giving different ouputs for a function call when input taking from the python console or terminal

The following code is generating two different output if executed in console(>>> ) or from a function.py file ($ python3 function.py). 1 def test(): 2 print("I am happy") 3 ...
user26125734's user avatar
-1 votes
0 answers
28 views

Aditional quotation marks showing in console after using console.log() in Javascript [duplicate]

I'm new to coding and while doing this exercise (about multiplication and loops) my console shows additional double quotation marks when I execute the code BUT only when the code starts with a ...
Walter Cisneros's user avatar
0 votes
0 answers
8 views

The method 'setTrackingSource' was not found in "_paq" variable

Am getting the below error for the website am trying to setup the Free Version Piwik Pro. The website is made on Wordpress and am currently using the plugin to add the container address and siteID. Am ...
Manny_leal93's user avatar
-2 votes
0 answers
42 views

Why is input.value.trim() not returning anything in console? [closed]

So I've been trying to learn js after html and css (beginner). I have a program that I want to update a according to a user input after a button click. I've defined input, button and list variables ...
Vuyo Jantjies's user avatar
0 votes
0 answers
24 views

Git output into a document while keeping font colors?

I am trying to take the output of git log --graph --online --all --decorate and put it into a Word Document or PDF. I want to keep the font colors, for obvious reasons since a git commit tree looks ...
Yugene's user avatar
  • 19
0 votes
0 answers
14 views

MSTest Serilog Console issue

I have a library C# project which has services written. This is using serilog and able to print serilogs on console during normal execution. But when I am using same library within my functional test ...
Himanshu Garg's user avatar
0 votes
0 answers
18 views

Writing to `CONOUT$` on Windows for node.js 22

I am trying to fix a node.js package that writes directly to the console (/dev/tty in Unix-likes) in the case of Windows. It's using some internal bindings, sadly, which means it breaks with different ...
Jacob's user avatar
  • 78.5k
0 votes
0 answers
8 views

Showing calling file+line in console.log of a function [duplicate]

When using console.log("test"), the console will not only show "test" but also the file and line where that code was called from. How can I accomplish the same effect for my own ...
Markstar's user avatar
  • 783
0 votes
2 answers
48 views

JavaScript variables being called in html tags (button)?

I am following this online free course on YouTube, this is the link if you want to visit it: "Youtube link", but at around 2:15:00, he shows how to call javascript variables in HTML tags and ...
Rahand hemin's user avatar
0 votes
1 answer
39 views

How to get Java console scan 2 strings separated by TAB key

I cannot type the TAB key into the console for 2 strings separated by the tab key, i used the split method but it didn't work. The Java console does not accept the TAB key. Here's a snippet of my code ...
Sơn Trần's user avatar
-1 votes
1 answer
11 views

Implementing client side logger with console.log capabilities

in order to extend console.log in the browser with a few extras (like a timestamp and loglevel) I came up with the following implementation: const LOG_LEVELS = { DEBUG: 0, INFO: 1, WARN: ...
devnull69's user avatar
  • 16.4k
-1 votes
0 answers
30 views

Linux console not outputing the expected amount of characters [duplicate]

I am trying to fill the entire visable screen, with characters, in this case 0-9. Yet, when I compile and run it with gcc. The output of the console is diffrent sized blocks of text. Yet the ...
cum-bria's user avatar
0 votes
0 answers
25 views

JPA console error in IntelliJ IDEA 2024.1.4

I try to select entity in IntelliJ IDEA Ultimate, but I get error: java.lang.ClassNotFoundException: jakarta.json.bind.JsonbException PluginClassLoader(plugin=PluginDescriptor(name=Jakarta EE: ...
Papp Zoltán's user avatar
0 votes
4 answers
175 views

What is the difference between Console.WriteLine and Console.Out.WriteLineAsync in an async method?

Once, when I used the cw snippet (type cwTAB) in an async method, Visual Studio would use await Console.Out.WriteLineAsync(); instead of the original Console.WriteLine();. Today I updated Visual ...
shingo's user avatar
  • 23.8k
0 votes
0 answers
47 views

How do I remove the console window in a C++ application in Visual Studio?

I have a GLFW and OpenGL program in C++ Visual Studio with a window. The console window popping up whenever I run the program is annoying. How do I remove it? I'm on windows but I don't want to make ...
Aseed Second's user avatar
0 votes
0 answers
16 views

Python console in Taipy

I've been trying to create a section in my Taipy application in which I print the content of the underlying Python console, to have a read-only application log that stays up-to-date in real time. So ...
Lucio Carrara's user avatar
-1 votes
0 answers
34 views

API Quota limit 250 Query

I want to know API limit of 250 per user per second means 250 is concerned to the developer account of company or 250 is the limit to user's email that we integrate like we are x company and we have a,...
Varun Deepak Kotwani's user avatar
4 votes
0 answers
75 views

Reading emojis using WinAPI console functions returns UTF-8 Replacement Character instead

For a project of mine I need to be able to read all possible MBCS UTF-8 codepoints from the Windows console. As it is well known that Windows works internally with wchar_t (UTF-16), I tried an ...
Anic17's user avatar
  • 790
0 votes
1 answer
32 views

react-native-document-picker is not working

I implement file uploads in react native but there is one issue in console: const [file, setFile] = useState(null); const pickDocument = async () => { try { const res = await ...
Xena's user avatar
  • 377
0 votes
0 answers
65 views

Access to "ConsoleHost_history.txt" denied on Windows PowerShell

I am trying to run a file on python but the following error message is getting rendered: Error reading or writing history file 'C:\Users\ibrah\AppData\Roaming\Microsoft\Windows\PowerShell\PSReadLine\...
IbraProjects's user avatar
-1 votes
2 answers
19 views

How to cut/crop an image file in the half in console

I have an image file image.png, and I want to make a vertical cut in the half and generate two images of equal size.
fguillen's user avatar
  • 38.1k
1 vote
1 answer
55 views

Is there a way to print 2 characters in one space within console?

So, I am attempting to make a maze game for some coursework at college. I have managed to get a maze generation algorithm working which makes use of recursive backtracking. However, the issue with ...
Maskd's user avatar
  • 11
0 votes
0 answers
16 views

C# List of running processes using windows services vs console app [duplicate]

I tried to use the version described in#37 from .NET console application as Windows service #37 with the files: Program.cs MyService.cs MyServiceInstaller.cs in order to list into a file the ...
Monast's user avatar
  • 1
1 vote
1 answer
78 views

Is it possible to run a WPF application that is started as an console application in Linux

I have a test WPF application that I have changed so it now can startup as an console application, like this. How to be dynamically either console application or Windows Application My application is ...
andersmi's user avatar
-1 votes
2 answers
62 views

How can i print an ASCI drawing in Python?

I'm trying to make a an if else game which has ASCI drawings, every time I paste an ASCI drawing inside the print() I keep getting errors "String literal is unterminated" and "also ...
Samuel-Riedel's user avatar
0 votes
1 answer
29 views

How to disable non-intended user input in the terminal C#

When i write a infinite loop that doesn't have any behaviour on its body, the user still have the possibility to write text at it, even without calling any input function: Note: I'm using Linux, ...
Marvin Marjan's user avatar
0 votes
0 answers
53 views

Dart Console Application Not Printing Input Value

I am trying to read a string input from the console in a Dart application and print it. However, after entering the input, the output does not appear in the console. Here is my code: import 'dart:io'; ...
Manav Ramani's user avatar
0 votes
0 answers
30 views

We couldn't reach this Repl Make sure this Repl has a port open and is ready to receive HTTP traffic

I ran into this error, while trying to launch my webview on replit. (some pythion code) Hmm... We couldn't reach this Repl. Make sure this Repl has a port open and is ready to receive HTTP traffic. ...
Folakemi Ogunseiju's user avatar
1 vote
0 answers
31 views

How to display elements in an array to the console using JavaScript? [duplicate]

How do I display each of the elements in detail in the following array in the VS Code console using JavaScript? var myList = [["cereal", 3], ["milk", 2], ["bananas", 3], [...
Notus's user avatar
  • 11
0 votes
0 answers
31 views

Sharprompt: Input data with a regular expression and a selection list

I decided to use the Sharprompt library to enter data in the console application. The Prompt class contains the Input method where I can customize my template, and the Select method for selecting ...
Konstantin Makarov's user avatar
2 votes
1 answer
51 views

Password leak in MemoryDump from Java File which uses Java.io.Console

I got this code adapted from the official Java-Tutorial Page Console - Java Tutorial public class RedirectOutputStreamExample { public static void main(String[] args) throws InterruptedException { ...
Yoo oo's user avatar
  • 93
0 votes
1 answer
62 views

Trouble clicking "Event" button using injected javacript in browser in google calendar

My work is to click on the "event" button after clicking on "Create" button on Google calendar. Here is my script, which can be run on console or scripty: console.log("...
Ayush's user avatar
  • 49
0 votes
0 answers
12 views

Received the email in only one Shared Mailbox even if the receiver / To is 3 Shared Mailbox emails

I'm working with a C# console app. There are 3 shared mailbox. I need to make sure that when a user sends an email in one of the shared mailbox, the email will go to the corresponding shared mailbox ...
cln aln's user avatar
1 vote
1 answer
66 views

How to ignore and hide certain console warning in Playwright UI

When I run tests on our web app in the Playwright UI, the console gets completely cluttered by this message: "Third-party cookie will be blocked. Learn more in the Issues tab." I am aware ...
Mytzenka's user avatar
  • 225
0 votes
1 answer
56 views

Confused about how eof-object? works when applying read-line to input data from (current-input-port) in (MIT) scheme

I'm using the MacOS port of MIT Scheme 12.1. I was trying to generalize a code pattern (I've used a lot) that reads a text file's contents to read instead from the standard in. I think there's ...
Paul Brown's user avatar
0 votes
0 answers
57 views

Console does not work in Pycharm 2024.1.2

Not long ago I installed Pycharm 2024.1.2 to replace Pycharm 2022. I start the console and it gives an error: C:/python-3.12.3-embed-amd64\python.exe “C:/Program Files/JetBrains/PyCharm Community ...
Kevin's user avatar
  • 1
0 votes
0 answers
39 views

Why am I unable to access my object in the console?

Given a class definition and creating an object of the class, when trying to access the object in console, I get an error "dodger_hat is not defined". class Hat { constructor( size, ...
ogplant's user avatar
0 votes
1 answer
27 views

C++ console program read and print text with selectable font and style

I'm going to write a C++ console program that can read my input text and print it with selectable font and style (such as loop rolling and one-by-one print). How can I do that? Thanks for your guys ...
Dayloop's user avatar
0 votes
1 answer
76 views

End Test Case in playwright when the error code is 500

I have a test case where I would like the test case to fail or end when the error code is 500. But the test.fail() does not immediately stop the test case. page.on('console', msg => { if (msg....
Sagar Sathyanarayanan's user avatar
0 votes
0 answers
29 views

Spyder: An error ocurred while starting the kernel. Cannot run conda install spyder-kernels=2.4

I set up a virtual environment with python 3.7.9 Spyder runs on 3.11 and I changed the interpreter to 3.7.9. I am using Anaconda3 The console in Spyder shows the following error message: "An ...
christophe travelletti's user avatar
2 votes
0 answers
62 views

Why is Console.readPassword() inserting a line?

I am creating a password manager, and I am using Console.readPassword() to enter passwords without it displaying on the screen. However, I have noticed some interesting behavior of this method. ...
Hhadley's user avatar
  • 119
1 vote
1 answer
87 views

GetConsoleScreenBufferInfo returning wierd values when called using function

I have a program where I want to print out the size of the terminal window in columns and rows. To do this I want to call this function from int main(): int getConsoleSize(){ ...
Skalmanen's user avatar
0 votes
0 answers
79 views

Strange assertion in WinAPI when calling fclose on console handle

I am developing C++ shared library that is embedded as a plugin into my application using the Unity engine, and, possibly, into Qt applications (also developed by my company). I want to allocate ...
whs31-'s user avatar
  • 19
1 vote
0 answers
71 views

SAFARI Browser locally: "Failed to load resource: The network connection was lost."

everyone. I need help with understanding and solving issue with Safari browser. There is a running website locally and en issue in console with loading google font, ajax.googleapis and bootstap.min . ...
Maria's user avatar
  • 11
0 votes
1 answer
36 views

How do I make a terminal command for my compiler?

I tried searching for an answer but I can't seem to find the right 'term' for it, I would go back and forth and type 'how to create your own environment variable' or 'how to create your own path ...
Bax STAR's user avatar
1 vote
1 answer
97 views

Console attribute output is different when debugging and when running manually

I used the code from this example and changed it because I need to test the character grid. #include <windows.h> #include <stdio.h> void write_symbol_in_color(HANDLE h, SHORT x, SHORT y, ...
slimebro_'s user avatar

15 30 50 per page
1
2 3 4 5
284