Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » UppHub » Problems
Problems [message #57889] Mon, 27 December 2021 05:49 Go to next message
slashupp is currently offline  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 Go to previous messageGo to next message
Klugier is currently offline  Klugier
Messages: 1076
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:
git


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 #57899 is a reply to message #57891] Mon, 27 December 2021 19:03 Go to previous messageGo to next message
slashupp is currently offline  slashupp
Messages: 231
Registered: July 2009
Experienced Member
I installed git & now it works but another issue then crops up:

the install replaces my .config which contain a lot of own nests
the paths to which gets clobbered - WHY? why does the upphub
install need to mess in such a manner with the .config?

Remember that theide's default install is not always what is
on a local machine, please do not make assumptions and then hard-code them,
CHECK if the install is what is expected AND THEN ASK! if it is not

(On this note: upp-install should have a default beginner install script
AND a custom install (== if !default) script where it asks where & how to install)
Re: Problems [message #57908 is a reply to message #57899] Mon, 27 December 2021 21:40 Go to previous messageGo to next message
Klugier is currently offline  Klugier
Messages: 1076
Registered: September 2012
Location: Poland, Kraków
Senior Contributor
Hello,

What do you mean by install? Did instillation script (install.sh) mess with your configuration files or it was messed by installing UppHub package?

Klugier


U++ - one framework to rule them all.
Re: Problems [message #57916 is a reply to message #57908] Tue, 28 December 2021 08:16 Go to previous message
slashupp is currently offline  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 Smile )

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

Previous Topic: How to use/access UppHub?
Next Topic: Using TerminalCtrl - does not compile
Goto Forum:
  


Current Time: Sat Apr 20 03:22:03 CEST 2024

Total time taken to generate the page: 0.01994 seconds