Why Zerobranestudio Configuration error occurs? - lua

Error while loading configuration file: 'cannot open C:\Users\안진형\Desktop\ZeroBraneStudio.zbstudio\user.lua: Invalid argument'.
Error while loading configuration file: cannot open C:\Users\안진형\Desktop\ZEROBR~1\cfg\tomorrow.lua: Invalid argument
What is "ZEROBR~1" in directory? and Why this message occurs?
I'm setting this program for code debugging and changeing color scheme of zerobranestudio, but I don't know how to open code file and how to change color scheme.
I've tried to do this and succeed to open tommorow.lua. Then Why this error message occurs?
How can i change color scheme?
http://bitstopixels.blogspot.com/2016/09/changing-color-theme-in-zerobrane-studio.html
I've tried this manual and succeed to open scheme-picker.lua. In that link's statement, If i choose color like "Tommorownightblue", Zerobranestudio's color changed to that color. But when i clicked "TommorownightBlue", Error while loading configuration file: cannot open C:\Users\안진형\Desktop\ZEROBR~1\cfg\tomorrow.lua: Invalid argument message occurs.

I'm not absolutely sure, but I'd try loading the configuration files from a different location. Can you move ZeroBrane Studio installation to a location that doesn't have your username in it, as I suspect it may be some encoding issue, which doesn't allow the file name to be properly passed to the open function.

Related

How to electron app start with yarn berry?

After moving the code that was running well in the standalone repo to the monorepo, it is not working properly.
As shown in the screen below, the message compiled successfully appears and stopped the message last.
enter image description here
If it is executed normally, the logger message in main.ts that should appear is not visible.
If the below is really executed normally, more messages should appear.
enter image description here
And the following error window appears as if to confirm that an error occurred in main process again.
Error message is here.
A JavaScript error occurred in the main processUncaught Exception:
TypeError [ERR_INVALID_ARG_TYPE]: The “path” argument must be of type string. Received undefined
at new NodeError (node:internal/errors:371:5)
at validateString (node:internal/validators:119:11)
at Object.normalize (node:path:1128:5)
at contains (/Users/chai/Codes/apple/.pnp.cjs:32828:18)
at Object.ppath.contains (/Users/chai/Codes/apple/.pnp.cjs:32842:32)
at isPathIgnored (/Users/chai/Codes/apple/.pnp.cjs:41344:27)
at findPackageLocator (/Users/chai/Codes/apple/.pnp.cjs:41414:9)
at Object.findPackageLocator (/Users/chai/Codes/apple/.pnp.cjs:41706:14)
at findApiPathFor (/Users/chai/Codes/apple/.pnp.cjs:41797:41)
at Object.getApiPathFromParent (/Users/chai/Codes/apple/.pnp.cjs:41848:36)
I know that a type error occurred because the path argument that should be entered as a string entered undefined, but I cannot identify the exact location of the error.
However, considering that .pnp.cjs is a 'map' for the dependency and installation location of yarn packages, it can be assumed that there is something wrong with the package installation.
I ran into something similar and the issue was that electron was not loading my .pnp.cjs. To fix this, I add the following environment variable to my start script:
"scripts": {
"start": "NODE_OPTIONS='--require path/to/.pnp.cjs' electron ."
}

Error reading resource.. access to path is denied(CS1566)

I have created a binding library in iOS and when I try to rebuild the solution the build fails with the error message as " Error CS1566: Error reading resource 'SampleFramework' -- 'Access to the path '/Users/leonrodrigues/Projects/SampleFramework' is denied.' (CS1566) (SampleFramework.Binding).
anyone with any inputs on this as to how can we fix it ??
You are trying to add wrong path as native reference, may be parent folder. add the framework exact location

How to prevent this error ? Vcl.Forms.hpp(925): E2316 'FMenu' is not a member of 'TCustomForm'

My project started to throw that error suddenly even though i dont use FMenu. I created a new empty project and tried to build it but got the same error. I didn't even add anything to the form just created new project and tried to build. I am using classic borland compiler on the project options btw.
Interesting side is that error coming from a library file Vcl.Forms.hpp. I dont know what to do. Here is the line that error navigated me when i click on it.
In Vcl.Forms.hpp Line 925;
__property Vcl::Menus::TMainMenu* Menu = {read=FMenu, write=SetMenu, stored=IsForm};

123 ERROR_INVALID_NAME after activate Wave audio liverecorder

I am using the wave audio component in my project and I run into a problem that I am unable to resolve.
I am using Delphi XE 5 and my operating system is Windows 8. When I am trying to the run the project and active the liveaudio recorder on Windows 7, I got this: error Exception EOSError in module Chatproject.exe at 00029633. System Error. Code: 123. The filename, directory name, or volume label syntax is incorrect. But its working normal on Windows 8,. I tried to debug and figure out the problem I got this error message when I am activating the recorder
Update of the question :
i debugged each of sendtocl , sendbuffer ,buffer^, buffersize and here is result in the image ,, but i have no idea how to fix sendbuffer and buffer^ and sendtocl
http://i.stack.imgur.com/5sZ05.jpg
You have four references to sendtocl:
#56: sendtocl: TIdUDPClient;
#235: if sendtocl.active then
#236: sendtocl.SendBuffer(RawToBytes(Buffer^, Buffersize))
#260: sendtocl.Broadcast(usertype.Text, 12000);
It should be getting created when the form is created, assuming it's a component dropped on the form. But for whatever reason, it isn't instantiated at some point.
This is consistent with the exception message you're getting.
The ERROR_INVALID_NAME is probably pointing to an invalid URI, path, or filename -- it's entirely possible that it's valid in Win 8 but not Win 7. So when you try to invoke .Active, it fails. But why sendtocl woudl be set to NIL doesn't make sense. Mabye the exception is on the SendBuffer method?
As Ken suggests, you just need to go in with the debugger and figure out what's going on. I'm not sure there's much more us "out here" can do for you other than comment on how the code appears.

lua lxp The specified module could not be found

I'm putting together an application that uses the moon soap, but when you run it reports the following error :
C:\Lua\5.1\lua.exe: error loading module 'lxp' from file 'C:\Lua\5.1\clibs\lxp.dll':
The specified module could not be found.
How do I fix this ?
This is not a "file not found" error. Note that the message stated that it tried to load the module "lxp" from a file ('C:\Lua\5.1\clibs\lxp.dll') but it didn't work. Maybe the file doesn't have a luaopen_lxp C function (which might be called by loadlib)... Or maybe you are not loading it with require...

Resources