Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not start with windows #139

Closed
charmarkk opened this issue Mar 4, 2018 · 18 comments
Closed

Does not start with windows #139

charmarkk opened this issue Mar 4, 2018 · 18 comments

Comments

@charmarkk
Copy link

Despite all my efforts, I can't get T-Clock to relaibly start with windows. I've tried running as admin, moving the program, setting startup settings in CCleaner and other managers - nothing.

@White-Tiger
Copy link
Owner

how does this unreliability manifest itself?

@charmarkk
Copy link
Author

The program simply doesn’t open; it’s not present in task manager and I only see Windows’ clock until I manually start the program.

@White-Tiger
Copy link
Owner

well, if that's the case, I wonder why (and actually how) your tries to manually setup the startup settings in CCleaner and others could have failed as well... what's the difference between manually running it and having it run on startup?

Some part of T-Clock has to be running though. Either a zombie process or an error message. Even if it crashes for some reason, you should be able to see an entry in Windows event log.
However, you might try the build I've posted here: #118 (comment)
I've changed some hooking code and it'll create a log file on your desktop which might help as well.

It might also help to know more about your PC's software setup. (OS, bitness, Windows updates, software that modifies parts of Windows etc.)

@charmarkk
Copy link
Author

charmarkk commented Mar 4, 2018

I'll try that version, thanks. It seems nothing is in Windows' log to report any errors about it, but it definitely hasn't been running any process when I haven't seen it running in the taskbar.

I do have it set to run at startup now (just to verify), and I can come back when I notice that it hasn't run - might have something to do with sleep.

image

image

I use Win10 64-bit, 1709 build 16299.248. The only "major" thing I have that "modifies" Windows is Rainmeter and Rocketdock, but these are both applications and don't change anything inherent about Windows.

@White-Tiger
Copy link
Owner

did you reboot your Windows yet?

@charmarkk
Copy link
Author

Yep, it seems to have persisted this time. I don’t have access to my machine at the moment, but I’ll check again when I can and update with more details!

@charmarkk
Copy link
Author

charmarkk commented Mar 10, 2018

Just restarted for updates - settings left as above. T-Clock hasn't started and no, the process is not running.

Here's your log!

2018/03/07 05:37:05.577 UTC [Clock64.exe] tray clock initialized
2018/03/10 21:04:33.640 UTC [Clock64.exe] exiting...
2018/03/10 21:04:33.910 UTC [Clock64.exe,T-Clock64.DLL] wait exit: 00000000000003F8
2018/03/10 21:04:34.077 UTC [explorer.exe,T-Clock64.DLL] DLL_PROCESS_DETACH
2018/03/10 21:04:34.078 UTC [Clock64.exe,T-Clock64.DLL] waited

I included the one line from 3/7 so you could see when today's started.

@White-Tiger
Copy link
Owner

hmm.. yeah, as far as T-Clock is concerned... it never ran... (at least to a point where it would log)
Does the startup entry point to the correct T-Clock at all? (Task Manager -> Startup -> T-Clock Redux -> Right-click: Open file location)

@charmarkk
Copy link
Author

Odd - it's actually just not there! And that's with the settings mentioned earlier!

@White-Tiger
Copy link
Owner

White-Tiger commented Mar 11, 2018

does T-Clock still believe that it'll start with Windows? What does the about dialog say?

@charmarkk
Copy link
Author

image

Exact same as before/

@White-Tiger
Copy link
Owner

White-Tiger commented Mar 11, 2018

so neither your Task Manager's "Startup" tab, nor the folder
%AppData%\Microsoft\Windows\Start Menu\Programs\Startup (you can Copy&Paste this into the File Explorer address line)
have anything with T-Clock in there?

@charmarkk
Copy link
Author

charmarkk commented Mar 12, 2018

Ah. Okay, so there is a shortcut, but its for an old, nonexistent file. Let me try deleting that, rechecking the setting, and restarting.
Edit: Looks like that did it! I hadn't know that it was just dropping a shortcut into the startup folder, else I would've checked that first. That makes total sense, why the errors were happening.

@charmarkk
Copy link
Author

I'll close this here, as behavior has now been consistent. Thanks for all the help, and patience, with solving this issue!

White-Tiger added a commit that referenced this issue Mar 17, 2018
* T-Clock now compares the link target with itself
* the link is now actually smaller :P
@MartinD55
Copy link

This helped me get T-Clock to start reliably on Windows 10.
A.) How can I stop the logging now?
B.) Why don't later versions act this way?

@White-Tiger
Copy link
Owner

what exactly did you do or had been the problem?
A) if you're using a log enabled build, simply uncheck the logging functionality at the "about" screen
B) if you're referring to this issue, the latest build (that came to be after the fix) is indeed the testing build with logging. However it's not the one from #118 mentioned above, that's actually older than this fix.

@MartinD55
Copy link

MartinD55 commented Mar 5, 2020 via email

@blackcrack
Copy link

blackcrack commented Mar 6, 2020

you should not past the whole Mail from your mail account, you need only answer in this tread :
"Reply to this email directly, view it on GitHub, or unsubscribe."

2nd this is the Actual Release https://github.com/White-Tiger/T-Clock/releases

there:
https://github.com/White-Tiger/T-Clock/

(2nd line commits=>branches=>Packages=> RELEASES)

it's not start, klick the F... nice Clock on your Systtray, open with right Mouseklick the Lists and klick T-Clock Options, check the
[ ] Start T-Clock Redux when Windows starts

it's off, then klick it, if not, klick it off and okey, later open the Options again and check it on again.. then test it by reboot..

edit: and if it's not works, kick your Computer out of the f.. Window and take a new Release of your Computer, if this not works (kickin' out of the Window) and the Window have a too small Release number from your House .. Update your Window from your House ! *bg*

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants