Home » Developing U++ » UppHub » Problems
Problems [message #57889] |
Mon, 27 December 2021 05:49 |
slashupp
Messages: 231 Registered: July 2009
|
Experienced Member |
|
|
using nightly 16138
[Setup/UppHub] option is disabled in menu - why?
Available only on package-selector:
lists stuff from 'AutoScroller' ... 'sundials'
'Install' fails - it fails to install a package to the default location
(I should be able to change this download location - at least it should ask,
or via the 'More..'-menu ... )
I tried to 'install' TerminalCtrl but git-clone doesn't seem to work, fails
with "Failed to start executable"
[Updated on: Mon, 27 December 2021 05:50] Report message to a moderator
|
|
|
Re: Problems [message #57891 is a reply to message #57889] |
Mon, 27 December 2021 12:26 |
|
Klugier
Messages: 1077 Registered: September 2012 Location: Poland, Kraków
|
Senior Contributor |
|
|
Hello Slash,
It seems that you do not git in your environment. Could you enter terminal and call:
The UppHub option in the Setup -> UppHub.. is disable via HasGit() method:
#ifdef PLATFORM_WIN32
String GetInternalGitPath()
{
return GetExeDirFile("bin/mingit/cmd/git.exe");
}
bool HasGit()
{
String dummy;
static bool b = FileExists(GetInternalGitPath()) || Sys("git", dummy) >= 0;
return b;
}
#else
bool HasGit()
{
String dummy;
static bool b = Sys("git", dummy) >= 0;
return b;
}
#endif
UppHub requires git in order to work. We will need to communicate it batter.
----------------
I created following PR to adress some issues from this thread.
Klugier
U++ - one framework to rule them all.
[Updated on: Mon, 27 December 2021 13:30] Report message to a moderator
|
|
|
|
|
Re: Problems [message #57916 is a reply to message #57908] |
Tue, 28 December 2021 08:16 |
slashupp
Messages: 231 Registered: July 2009
|
Experienced Member |
|
|
'Install' is the button label & I am using that to refer to the whole process that happens when it is clicked.
(this refer to upphub 'install'-button for selected upphub-package)
What happened was: before I clicked it, my setup, environment, etc, was just fine, and after I clicked it
Upp/theide behaved as if it was a new install on first run, my customizations were all gone.
(sorry for my 'shouting' in the prev post, but I think it understandable that I was not very happy when
I saw what happened )
I think some kind of standard customizable install plan for Upp/theide should exist that prevents this
kind of random overwrites, the current installing scheme is not well.
[Updated on: Tue, 28 December 2021 08:19] Report message to a moderator
|
|
|
Goto Forum:
Current Time: Mon Jun 10 12:41:35 CEST 2024
Total time taken to generate the page: 0.01409 seconds
|