runtime-error

Laravel Exception after page is refresh - OpenSSL extension is required

烈酒焚心 提交于 2019-12-10 10:43:12
问题 I am newbie in Laravel. I am using windows 7. I have downloaded and created a laravel project inside xampp inside htdocs folder.I have uncommented the statement, extension=php_openssl.dll inside php.ini . When I type the http://localhost/laravel/public/ in the browser, it shows the home page. When I refresh the page I get an exception like this. When I remove the cookies and session variables in the browser settings, it will show the home page for once and if I refresh the page after,it shows

Error because file libmpi.so.1 missing

耗尽温柔 提交于 2019-12-10 09:31:22
问题 I'm using Omnet++ and Veins for simulations and it was working fine until I upgraded from Ubuntu 15 to 16.04 LTS last night. Now, I get the following error when trying to run a simulation: error while loading shared libraries: libmpi.so.1: cannot open shared object file: No such file or directory I searched for libmpi.so.1 and it seems it is missing. There is a file libmpi.so and libmpi.so.12 in /usr/lib/openmpi/lib but not libmpi.so.1. I tried uninstalling and reinstalling the packages

AVAudioPlayer Error using iOS Simulator

若如初见. 提交于 2019-12-10 06:38:22
问题 following problem: <0xb03e7000> Error '!obj' trying to fetch default input device's sample rate <0xb03e7000> Error getting audio input device sample rate: '!obj' <0xb03e7000> AQMEIOManager::FindIOUnit: error '!dev' I found this problem already here on stackoverflow but none of the provided solutions worked for me. Code: #import "CJTActionViewController.h" @interface CJTActionViewController() @property NSURL *url; @property NSData *songFile; @property AVAudioPlayer *audioPlayer; @end

Why does Rust check array bounds at runtime, when (most) other checks occur at compile time?

耗尽温柔 提交于 2019-12-10 02:39:47
问题 Reading the basic introduction: If you try to use a subscript that is not in the array, you will get an error: array access is bounds-checked at run-time. Why does Rust check array bounds at runtime, when it seems most other checks occur at compile time? 回答1: Because checking indices at compile time is not feasible in the general case. Reasoning about the possible values of arbitrary variables is somewhere between hard and impossible even for small programs. Nobody wants to have to: formally

Error: “Program type already present: androidx.versionedparcelable.CustomVersionedParcelable”

末鹿安然 提交于 2019-12-10 01:50:14
问题 I am having trouble with the following Error --> Error: Program type already present: androidx.versionedparcelable.CustomVersionedParcelable When I click in Build errors it shows me this: AGPBI: {"kind":"error","text":"Program type already present: androidx.versionedparcelable.CustomVersionedParcelable","sources":[{}],"tool":"D8"} :app:transformDexArchiveWithExternalLibsDexMergerForDebug FAILED FAILURE: Build failed with an exception. I don't understand what it is causing this problem because

What is “Microsoft C++ Visual Runtime Library: Runtime error!” and how can I capture it?

我们两清 提交于 2019-12-10 00:31:06
问题 Seldom I receive a report from some user that the application has terminated itself with a following message box: Microsoft C++ Visual Runtime Library Runtime error! Program: XXXXX.exe This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. Unfortunately the application terminates silenly after showing the message. We have a crash dump generation on structured exceptions, but as there is no exception

Jenkins - java.lang.OutOfMemoryError: PermGen space -

你。 提交于 2019-12-09 13:30:23
问题 Environment: Linux/Windows7, Java 1.6.0.03/37 or 1.7 I downloaded jenkins.war and after the initial setup using the following script/command, I downloaded some plugins(10-15) and tried to restart Jenkins, it worked. Then, I got some more plugins (30-40 in total) and either I chose Install or download+then+install, Jenkins didn't come up. i.e. using startJenkins.sh (Linux only). Note: On Windows7 Jenkins started as a Windows service. #!/bin/bash export JAVA_HOME=/production/jenkinsAKS/java

Pygame2Exe Errors that I can't fix

本小妞迷上赌 提交于 2019-12-09 12:24:29
问题 I made a "Game". I love playing it, and I would like to distribute it to my friends without having to install Python and Pygame on their computers. I did a lot of research on Py2Exe and Pyinstaller. I looked through many tutorials, fixes, errors, but none of them seem to help me. Pyinstaller is useless because it doesn't like fonts in Pygame, and Py2exe wouldn't compile the built in modules, so I found Pygame2exe which is just a premade setup script for use with py2exe that includes pygame

Microsoft Visual C++ Runtime Error in Python

匆匆过客 提交于 2019-12-08 18:56:46
问题 I have a python program that runs in a server continuously and it puts some data into MYSQL dataBase and load some. It is also using TCP/IP connection. the problem is that after about 24 hrs it gives a runtime error: Microsoft Visual C++ Runtime Library! Runtime Error! Program: C:\python27\pythonw.exe This application has requested the Runtime to terminate it in an unusual way. And I hit OK python shell closes. And when I close all python files and check Windows Task Manager I see still there

System.Security.SecurityException: Request for the permission of type 'System.Security.Permissions.EnvironmentPermission, mscorlib' failed

萝らか妹 提交于 2019-12-08 16:12:15
问题 I get the following error when I tried to run a 'Published' local website. Server Error in '/' Application. Security Exception Description: The application attempted to perform an operation not allowed by the security policy. To grant this application the required permission please contact your system administrator or change the application's trust level in the configuration file. Exception Details: System.Security.SecurityException : Request for the permission of type 'System.Security