Denvi / Candle

GRBL controller application with G-Code visualizer written in Qt.
GNU General Public License v3.0
1.38k stars 549 forks source link

Win 10 64-Bit - App does not run #173

Open abhidatyahoocom opened 7 years ago

abhidatyahoocom commented 7 years ago

I have tried V0.8, 0.9 GrblControl and 1.0 Candlelight - It only runs once or twice and never again. Unless I move to a lower or higher version of the software and then it runs just once or twice.

Is Win 10 64-bit supported?

Thanks, Abhi

Denvi commented 7 years ago

Hello, post settings.ini file of non working program. Win 10 x64 supported.

abhidatyahoocom commented 7 years ago

Attached, thank you..... settings.ini.txt

biasedlogic commented 7 years ago

I observe similar behaviour, short time after failed restart of the software the whole system comes down with memory management error. The PC is otherwise stable with uptimes upwards of a month...

Denvi commented 7 years ago

@abhidatyahoocom

Closing "Candle" window in non-main screen in multiscreen setup will cause this bug.

So:

To avoid bug, please, close "Candle" when window is on your main screen.

abhidatyahoocom commented 7 years ago

@Denvi

Thanks very much !!! Working fine now.....

Abhi

azmanishak commented 4 years ago

Thank you so much.

@abhidatyahoocom

Closing "Candle" window in non-main screen in multiscreen setup will cause this bug.

So:

  • open "settings.ini" in text editor;
  • remove line, which starts with "formGeometry=@bytearray";
  • save changes;
  • start "Candle".

To avoid bug, please, close "Candle" when window is on your main screen.

glkeeney1951 commented 4 years ago

There's an easier way:

jholovacs commented 3 years ago

...that's an easier way? I'm also quite annoyed by this, and no matter if I follow these instructions, I'm still told that it won't work with windows, then there are a bunch of other DLLs it can't load and it ultimately crashes.

DEF7 commented 3 years ago

@jholovacs

...that's an easier way? I'm also quite annoyed by this, and no matter if I follow these instructions, I'm still told that it won't work with windows, then there are a bunch of other DLLs it can't load and it ultimately crashes.

Being annoyed isn't going to fix anything - the developer doesn't owe you anything. When you use free software you can either meet the developer halfway and figure out how to make it work by putting some effort into it, or you can try your luck elsewhere.

It works fine with Windows. I've only ever used grblControl/Candle with Windows. The point of the fix is that you apparently can't use it with a multi-monitor setup unless you only have Candle running on your primary monitor and when you close it you must directly close the window itself rather than having it in the background and right-clicking it in the taskbar to close it (from what I gather).

It sounds like you have an unusual Windows setup. Are you sure you're not trying to run a 64-bit program on a 32-bit version of Windows? Have you tried installing it in a user folder where Windows will give it access to its own files, or running as administrator? These are things you could be doing instead of telling the internet you're annoyed by completely free open source software that doesn't owe you anything, at all.

jholovacs commented 3 years ago

Can we forego the sanctimonious speeches please? I'm fully aware an open source developer doesn't owe me anything, but I don't have an unusual setup, this is the software that's included in the box of a large number of CNC routers (including mine), and the primary thing software needs to do is work; bells, whistles, and polish notwithstanding. What serious computer user doesn't have a multi-monitor setup nowadays? (that being said, this latest version literally does not work on my laptop straight from the factory.) As a professional technologist who's been in software development his whole life, contributed to many open-source projects, and also leads his own development team, I have a hard time considering this even at an alpha stage, and I think I'm justified in my annoyance at what is generally considered the "standard" in Grbl software available being this flaky.

To answer your questions: both my desktop and laptop are running Windows 10 Home x64. The desktop is dual-monitor but the laptop is not. I have attempted to run as administrator, though I haven't tried to set permissions on the file system; I will try that tonight. I feel quite justified in my annoyance, and IMO you could be spending your time more effectively by not attempting to lecture people who work in software development about what they are justified to be annoyed about regarding open source code, or by expressing their annoyance.

DEF7 commented 3 years ago

As someone who accuses others of being sanctimonious you then go and say things like:

As a professional technologist who's been in software development his whole life, contributed to many open-source projects, and also leads his own development team

Don't make the mistake of thinking so highly of yourself.

What serious computer user doesn't have a multi-monitor setup nowadays?

There are invariably countless developers who are more skilled, knowledgeable, and emotionally mature than you (and me and anybody else) who are only running one monitor out there in the great wide world. Buying an extra monitor doesn't make you an expert at anything.

I have a hard time considering this even at an alpha stage

Now I know you're joking about being a professional. You're welcome: https://bfy.tw/Q3eL

I think I'm justified in my annoyance at what is generally considered the "standard" in Grbl software available being this flaky.

I've never heard of Candle being called or considered the standard, and I've been doing the hobby CNC thing for years. Just because someone packaged it with their CNC hardware doesn't mean it's what everyone uses - there are other programs that people have been using, since before Candle even existed (i.e. UGS). This is just a FOSS program someone was nice enough to share with the rest of the world, in the event that someone else could benefit from it. Your annoyance should be directed at the people who took your money.

my desktop and laptop are running Windows 10 Home x64

That's not something a "serious" computer user would be running :P Just sayin!

you could be spending your time more effectively by not attempting to lecture people who work in software development

You're not the only one in software development, son.

Braunfeltd commented 3 years ago

I don't think his issue is the software itself. I run it on many windows 10 machines with no issue. What I do know is there are many cheap controllers out there that have USB issues which seems to be the cause of a lot of things that I see outside in groups / forums. Beyond controllers the other issues in most cases are lack of understanding and or technical knowledge. Candle maybe packaged with machines because its open source but it does not come preconfigured. just like probe settings you have to manually put in your own settings just like selecting a serial port for communications with the controller. even if you get it communicating with your machines that does not mean that GBRL is setup correctly on your controller. Many people buy these machines expecting it to be a printer with a driver and out of the box think they can just slap some wood down and run it. I am not stating that this is Jhol's issue but more than likely its not Candle thats the issue is what I am trying to get at. check all your settings, com ports and if you are using a GBRL controller make sure its all setup correctly. There are many parameters in the controller itself if not setup will cause all sorts of issues. just my thoughts on this.

jholovacs commented 3 years ago

@DEF7 You seem to have lost your mind. Not reading your diatribe, and shame on you for turning a github issue into some youtube rant with personal attacks. Let me know when you actually have some value to add to the issue, and I'll read it.

jholovacs commented 3 years ago

@Braunfeltd my problem is I can't even get the sw to start up; errors with various dependency libraries, and not the ones I'm used to (like 32/64 format or wrong version stuff)... as mentioned above I've tried with my main desktop and a laptop I bought expressly for working with my new CNC router, so I can accept I'm missing something but the problem is not obvious at all.

Braunfeltd commented 3 years ago

for mine, I download the beta zip file. unzip into candle folder on desktop and just run candle.exe I have different versions as I was testing each in a different folder. the DLL's should all be in the same folder along with the rest of the candle directory structure. Could be something else missing. Are the machines all windows patched up? I run mine on a windows 10 pro really old tablet from Samsung which works, as well I ran it on two other laptops one on Home and the other pro as well. when does it crash exactly? when you are loading a file or soon as you click on the executable?

DEF7 commented 3 years ago

Sounds like the classic "running from the zip file" problem.

On Mon, Jan 4, 2021 at 3:49 PM Braunfeltd notifications@github.com wrote:

for mine, I download the beta zip file. unzip into candle folder on desktop and just run candle.exe I have different versions as I was testing each in a different folder. the DLL's should all be in the same folder along with the rest of the candle directory structure. Could be something else missing. Are the machines all windows patched up? I run mine on a windows 10 pro really old tablet from Samsung which works, as well I ran it on two other laptops one on Home and the other pro as well. when does it crash exactly? when you are loading a file or soon as you click on the executable?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Denvi/Candle/issues/173#issuecomment-754293065, or unsubscribe https://github.com/notifications/unsubscribe-auth/ACYGB5LVQIHKCDN4FKY26JDSYJHW5ANCNFSM4D6FLKHA .

DEF7 commented 3 years ago

image

If this is the kind of thing you're seeing it's because you're trying to run it from the zip file, which is a very common thing for inexperienced users - I have had a few of my software's less experienced users do it too (which is why I'll be moving to a legitimate installer upon reaching beta).

Any programs that come in a zip archive which have other files that they need to run included need to be extracted, or "unzipped", from the archive into a folder on your computer somewhere. The zip file isn't a real folder, that's an illusion the Windows shell provides to make it seamless when navigating the file system, but programs contained inside a zip aren't treated to the same smoke and mirrors. It used to be that we had to use a 3rd party program to extract content from a zip back in the 90s which made it impossible to make the mistake of assuming it was just another folder (WinZip anyone?)

Riot54 commented 3 years ago

I know this is old but for the sake of google searches:

If the above fixes aren't working, run the windows 10 compatibility troubleshooter, it should reset the window to your primary monitor, this is how I fixed the issue for myself.

blounolito commented 2 years ago

I used to encounter this weird problem, quick fix is to open Candle / grblControl from your main screen. Works like a charm.