Xcode & Gitlab : An unknown error occurred when cloning an existing project - ios

I have been trying to clone a project using XCode. And I keep on getting this error.
An unknown error occurred.
invalid Content-Type: text/html; charset="UTF-8" (-1)
My link looks something like this.
http://192.123.123.123:30000/ABC/ios/my-example-app
Could you tell me what causes this problem and how to fix it?

That link looks incorrect. It should be formatted similar to one of the following:
http://<IP_ADDR>/<GROUP_NAME>/<PROJECT_NAME>.git
or
git#<IP_ADDR>:<GROUP_NAME>/<PROJECT_NAME>.git
It seems that your link could be fixed by appending ".git" to the end of the string, i.e.
http://192.123.123.123:30000/ABC/ios/my-example-app.git

Related

Error reading resource.. access to path is denied(CS1566)

I have created a binding library in iOS and when I try to rebuild the solution the build fails with the error message as " Error CS1566: Error reading resource 'SampleFramework' -- 'Access to the path '/Users/leonrodrigues/Projects/SampleFramework' is denied.' (CS1566) (SampleFramework.Binding).
anyone with any inputs on this as to how can we fix it ??
You are trying to add wrong path as native reference, may be parent folder. add the framework exact location

Encounter RequestBroker--ParseUri

When I request this API:
GET https://graph.microsoft.com/v1.0/users/{uid}/mailFolders/{mid}/messages/delta
encountered this specific error
HttpCode: 400
err_code: RequestBroker--ParseUri
err_message: Could not find a property named 'ChangeKdy' on type 'Microsoft.OutlookServices.Message'.
request_id: 3f4a92df-3085-4c8c-a7bb-48b6fd6343ac
date: 2019-07-30T02:35:06
But it seems to be fixed at this related issue:
https://github.com/microsoftgraph/microsoft-graph-docs/issues/1888
Thanks!
As mentioned in the the GitHub issue, this was a temporary issue with the Microsoft Graph that has since been resolved.

I got error message "operation is not valid due to the current state of the object" when I try to generated specflow Step Definition Report

I got above error message when I try to use specflow.exe to generate specflow Step Definition Report, the command I used is:
specflow.exe stepdefinitionreport ..\\..\\..\MyProject\MyProject.csproj"
Any ideas and suggestions, Thank you!
I had this issue when I was using StepDefinition instead of Given-When-Then in my step definitions. By switching back to Given-When-Then it started working.
Instead of using the [StepDefinition(#"...")] use a [Given(#"...")] for example:
[Given("I take a screenshot")]
[When("I take a screenshot")]
[Then("I take a screenshot")]
public void takeScreenshot()
{
screenShots.Add(((ITakesScreenshot)driver).GetScreenshot());
}

Xcode 5 Documentation Error

I wanted to describe my code like this
/** Loads and parses the XML file*/
+(NSMutableArray *)loadXML:(NSString *)table;
But when I try to use the quick help for loadXML: Xcode crashes with this Error:
ASSERTION FAILURE in /SourceCache/IDEPlugins/IDEPlugins-5064/IDEQuickHelp/Models/IDEQuickHelpContentCreator.m:321
Details: Error creating XML document from clang-parsed comment block: Error Domain=NSXMLParserErrorDomain Code=73 "Line 1: invalid character in attribute value
Line 1: attributes construct error
Line 1: Couldn't find end of Start Tag Function
" UserInfo=0x7fc78fb98500 {NSLocalizedDescription=Line 1: invalid character in attribute value
Line 1: attributes construct error
Line 1: Couldn't find end of Start Tag Function
}
Could anyone help me please?
Sorry for my bad english
Delete the "LaunchScreen.xib" from your project and you are done.
Sounds like it's time to submit a bug report to Apple's bug reporter.
If you restart your computer and re-launch Xcode, does the crash occur again?

Magento - Fatal error: Maximum function nesting level of '100' reached, aborting

I don't know what is causing this error. I was working on a custom module on my Magento store and didn't check the homepage of the store regularly. Out of the blue today I am getting this error on my homepage.
Fatal error: Maximum function nesting level of '100' reached, aborting! in C:\Program Files\EasyPHP-5.3.8.0\www\indieswebs\lib\Zend\Db\Adapter\Pdo\Mysql.php on line 1045
The funny thing is there is NO 1045 line number in this file! So I am guessing it's some sort of looping error. But I don't know what is causing it. Can anyone help me figure out what might be causing this particular error and how can I remove it?
Edit:I deleted the cache from the store and reloaded the homepage. The error has changed now. It says:
Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 261904 bytes) in C:\Program Files\EasyPHP-5.3.8.0\www\indieswebs\lib\Zend\Db\Select.php on line 281
Does anyone know how to resolve this?
The error only come when you installed xdebug.
Use following setting in php.ini
xdebug.max_nesting_level = 200
I was able to resolve a related issue (that causes the same error message) by checking the files in [webroot]/app/etc/
It was happening (on enterprise edition) because
config.xml
enterprise.xml
were missing from that directory. Once I put them back, that fixed this problem.
I also read elsewhere that a malformed local.xml might cause this issue.
On enterprise edition, use something like:
<default_setup>
<connection>
<host><![CDATA[localhost]]></host>
<username><![CDATA[some_user]]></username>
<password><![CDATA[some_pass]]></password>
<dbname><![CDATA[database_name]]></dbname>
<active>1</active>
</connection>
</default_setup>
On CE, use something like:
<default_setup>
<connection>
<host><![CDATA[localhost]]></host>
<username><![CDATA[your_user]]></username>
<password><![CDATA[your_pass]]></password>
<dbname><![CDATA[your_db]]></dbname>
<initStatements><![CDATA[SET NAMES utf8]]></initStatements>
<model><![CDATA[mysql4]]></model>
<type><![CDATA[pdo_mysql]]></type>
<pdoType><![CDATA[]]></pdoType>
<active>1</active>
</connection>
</default_setup>
I got this in my Collection.php model, and the culprit turned out to be the call to parent::__construct(). Once I remmed it out the error went away. PS: Raising xdebug nesting level limit did not work.

Resources