Ada: Error in GetRegistryEntry open AdaGIDE - ada

Yesterday I was using AdaGIDE and all was fine. Today... not so much.
Everytime I attempt to open AdaGIDE this message pops up:
Error in GetRegistryEntry open AdaGIDE code: 0
I'll click OK then get this:
Error in GetRegistryEntry query code: 0
Again, click OK and this comes up:
Not enough environment space
Does anyone have any idea whatsoever what is going on and how to fix it? I tried uninstalling and reinstalling it but this problem still occurs. For now I'm doing all my Ada homework in the one comp sci lab that has AdaGIDE and I'd love to work on my laptop again. (I'm running Windows 10 if that matters!)

Related

Error: "Windows can't find 'C:/PROGRA~1/'. Check the spelling and try again."

I am getting an error in R in Windows 10 about finding a directory while trying to install a package from GitHub*. Trying to troubleshoot this error led me to a few observations.
For example, both Windows Explorer and my browser can find C:/PROGRA~1, but only my browser can find C:/PROGRA~1/R, where R is installed. The specific Windows Explorer error is:
Windows can't find 'C:/PROGRA~1/R'. Check the spelling and try again.
Yet, Windows Explorer can find C:/Program Files/R no problem. And the error above is the same with C:/PROGRA~1/Adobe, C:/PROGRA~1/Google, or any other. Even more interesting, Windows Explorer can't even find the raw program files path as long as we add a simple slash at the end! So C:/PROGRA~1/ will output a similar error.
So can anyone explain to me why Windows Explorer is not able to find C:/PROGRA~1/R or C:/PROGRA~1/? Is this normal/expected? If I solve this, I can probably resolve my R error too. Thanks.
*Here is the full original error in R:
Error: Failed to install 'package' from GitHub:
create process 'C:/PROGRA~1/R/R-40~1.3/bin/x64/Rcmd.exe' (system error 267, The directory name is invalid.
) #win/processx.c:1040 (processx_exec)
Edit: My investigation revealed that it might be related to the direction of slashes... So for instance, C:/PROGRA~1\R (or even C:/PROGRA~1\) works in Windows Explorer, but only as long as the second slash is a backslash... Can this be of any help in resolving this issue? Doesn't seem like R wants to put that second slash as backslash...

R Studio crashing not at initialization. Error: Error occurred during transmission

Some context on my environment:
I am running R Studio in a docker container called rocker/verse.
I downloaded this dataset from Kaggle, which has about 470 MB.
When working with it, at some point RStudio restart. It does't happen after a specific call, and I've seen the same problem when working with other projects. Though it is not related to my code, I am posting it bellow.
library(data.table)
fraud<- fread("path.csv")
fraud1<- sort(sample(nrow(fraud), nrow(fraud)*.7))
train<- fraud[fraud1, ]
test<-fraud[-fraud1, ]
Usually on the console this message is printed:
Error: Error occurred during transmission
And, this pop up is also showed:
I have no idea what is causing it. I would appreciate any help.
Delete the .Rhistory files associated with the installation and any open project.
You have a problem with your user data files for Rstudio. Follow the hints given here: https://community.rstudio.com/t/rstudio-server-error-occurred-during-transmission/84258 and here: https://support.rstudio.com/hc/en-us/articles/218730228-Resetting-a-user-s-state-on-RStudio-Server.

JEdit plugin error while loading Isabelle

I am working with a Windows 10 device and after some work with Isabelle I get the following error:
The following plugin could not be loaded:
C:\Users\PC\Desktop\Isabelle2018\src\Tools\jEdit\dist\jars\Isabelle-jEdit.jar:
Cannot start:
*** [line 1 of "preferences"] error: bad input
I note this problem appears in this version and in a previous Windows 8 version when not switching off properly the machine.
In the Isabelle list I got an answer to this problem:
The error indicates that the $ISABELLE_HOME_USER/etc/preferences file is in a bad state: the file is written each time Isabelle/jEdit shuts down, and switching off the computer in the middle might have corrupted it.
You can try to repair or delete that file. The location of $ISABELLE_HOME_USER on Windows is usually something like C:\Users\my_name.isabelle\Isabelle2018.
I think this problem may be encountered by other people in the community and this answer may save some time to them.

Error installing Oracle on windows - inverted path bars

I know nothing at all about ORACLE.
I'm trying to install Oracle database 11 on windows 7 64 bit.
After following this tutorial
http://o7planning.org/en/10211/installing-and-configuring-oracle-database-11g
I get this error message
Having absolutely no clue about what is going on, I added ORACLE_UNQNAME=orcl to the environment variable in "system properties>environment variable" graphic interface.
I also ran this command on a command line window:
c:\> set ORACLE_UNQNAME=orcl
then I ran the command asked in the first error window:
emctl status dbconsole
and I got this answer:
C:\app\THIS-PC\product\11.2.0\dbhome_1\BIN>emctl status dbconsole
OC4J Configuration issue. C:\app\THIS-PC\product\11.2.0\dbhome_1/oc4j/j2ee/OC4J_D
BConsole_THIS-PC_orcl not found.
Notice that the path in the last error has linux bars "/", which are inverted with respect to windows path bars: "\".
Off course it will not find anything on that path.
I'm absolutely clueless on how to fix this. Can you help me?

How can I resurrect my Windows Store app after several packages fail to load?

The last time I had my Windows Store app open (last night), I had a XAML error in it. I (tried to) open it tonight to try to fix it, but got all kinds of errors about things not being able to be loaded. Here are the important excerpts from the ActivityLog.xml file:
460
2014/12/25 01:39:17.198
Error
VisualStudio
SetSite failed for package [LocalHistoryPackage]
{3A6E8827-8C64-42EC-B83A-9CA32DA7BBF5}
80131500
No exports were found that match the constraint:
ContractName Microsoft.VisualStudio.Text.ITextDocumentFactoryService
RequiredTypeIdentity Microsoft.VisualStudio.Text.ITextDocumentFactoryService
. . .
935
2014/12/25 01:43:39.091
Error
VisualStudio
SetSite failed for package [LocalHistoryPackage]
{3A6E8827-8C64-42EC-B83A-9CA32DA7BBF5}
80131500
No exports were found that match the constraint:
ContractName
Microsoft.VisualStudio.Text.ITextDocumentFactoryService
RequiredTypeIdentity
Microsoft.VisualStudio.Text.ITextDocumentFactoryService
. . .
937
2014/12/25 01:43:39.092
Warning
VisualStudio
Package failed to load; error message suppressed by skip flag
{3A6E8827-8C64-42EC-B83A-9CA32DA7BBF5}
. . .
966
2014/12/25 01:43:52.147
Error
VisualStudio
SetSite failed for package [Microsoft.VisualStudio.Editor.Implementation.EditorPackage]
{E269B994-EF71-4CE0-8BCD-581C217372E8}
80131500
No exports were found that match the constraint:
ContractName
Microsoft.VisualStudio.Utilities.IContentTypeRegistryService
RequiredTypeIdentity
Microsoft.VisualStudio.Utilities.IContentTypeRegistryService
I shut VS down, reopened it and the project and, although I didn't see all those err msgs, and the project was ostensibly open, there was nothing in the Solution Explorer (no files displayed). I tried opening MainPage via File > Open, but that just resulted in another err msg.
The only other thing that changed the last time I had the project open was that I updated SQLite from version 3.8.7.1 to 3.8.7.2
What could be the solution (no pun intended)?
UPDATE
On trying to shut down Visual Studio, I got over and over again: "No exports were found that match the constraint...(bla bla bla)" until I had to stop it via Ctrl+Alt+Del
UPDATE 2
Here's what's even more bizarre: I can open the project and, although Solution Explorer is completely empty/no files
visible, if I build the project via Ctrl+Shift+B, it does give me the errors in the Error List (XAML errors in MainPage.xaml).
2-clicking them brings up nothing in the editor, though.
If I try to open MainPage.xaml, I get this:
But, although I just saved this file (the screen shot above), the date on it is 10/19/2014 - more than two months in the past. What the...?!?
What must I do to get this back to normal?
UPDATE 3
I do see this with the Team Explorer tab open (this app is not under version control):
Page '3185ed96-1cbd-4381-a439-636973542e50' not found.
I fixed the XAML issue by opening MainPage.xaml in Notepad ++ and changing the XAML around. I was then able to successfully build the app in Visual Studio, but trying to run the app caused VS to crash and then start up again (still with no files in Solution Explorer).
UPDATE 4
Now I get, "Package Designer Package failed to load" when I try to open MainPage.xaml via File > Open in VS 2013...
UPDATE 5
Now I can run the app (sort of); F5 causes the splash screen to display, and then it just goes gray-black. When I Alt+F4 to shut that down, VS starts back up again (apparently after shutting down - I intended to only shut down my running app, not Visual Studio.
AutoHistory tells me:
An exception was encountered while constructing the content of this frame. This information is also logged in "C:\Users\Clay\AppData\Roaming\Microsoft\VisualStudio\12.0\ActivityLog.xml".
Exception details:
System.Exception: Exception of type 'System.Exception' was thrown.
at Microsoft.VisualStudio.Shell.Interop.IVsShell5.LoadPackageWithContext(Guid& packageGuid, Int32 reason, Guid&
context)
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.GetPackage()
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent()
Anyway, I then notice that I do have a (literal) red flag, and mashing it shows me an "Renew your developer license" message.
I was able to update my dev license, but my solution is still wacky in the same ways as before.
UPDATE 6
Answering Walt Ritscher, I get this in AutoHistory on starting VS (no solution opened):
An exception was encountered while constructing the content of this frame. This information is also logged in "C:\Users\Clay\AppData\Roaming\Microsoft\VisualStudio\12.0\ActivityLog.xml".
Exception details:
System.Exception: Exception of type 'System.Exception' was thrown.
at Microsoft.VisualStudio.Shell.Interop.IVsShell5.LoadPackageWithContext(Guid& packageGuid, Int32 reason, Guid& context)
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.GetPackage()
at Microsoft.VisualStudio.Platform.WindowManagement.WindowFrame.ConstructContent()
Then, when opening another project that was working fine the last time I had it open, it, too, shows no files in the Solution Explorer. If I try to run it, I get that same "No exports were found" err msg.
So VS itself is hosed, it seems. What need I do? Uninstall/reinstall?
It seems likely that your VS install is hosed. You can try a repair first, before doing a reinstall.
last week I have faced the similar problem with my Visual Studio . I think these problems occurs due to the Pc Cleaners/Pc problem fixer and others like that. I just reinstalled the windows and visual studio and the same code executed fine.
So VS itself is hosed, it seems. What need I do? Uninstall/reinstall?
I would definitely try that. However, first I would copy the project to another machine with VS installed and try there. If it works on another machine then there is a problem on the first machine, possibly VS, possibly some extension or add-in. If it doesn't work on another machine then there is a problem with the code.

Resources