SVN export leads to E020024: Error resolving case - linux

I've been having a very weird error using svn export. Calling this command from within a powershell script:
svn export svnFilePath \\abcd.aa.bb\aaa_b_c6$\abcdef\Abcdef\abcdef
which leads to
svn: E020024: Error resolving case of \\abcd.aa.bb\aaa_b_c6$\abcdef\Abcdef\abcdef
Now i've tried reversing the slashes like this
svn export svnFilePath //abcd.aa.bb/aaa_b_c6$/abcdef/Abcdef/abcdef
or using single quotation and double quotation marks but the end result is the same. I believe it has something to do with the server \\abcd.aa.bb\ because the same command works if it's used on another server \\xyz.aa.bb\. I don't have access to these Servers, as they're managed by someone else, to check for any differences unfortunately. Is there any way to fix this problem?

There is a chance that the error svn: E020024: Error resolving case of indicates that the network share is inaccessible by the user account under which you run svn export. I suggest double-checking access permissions configured on the network share and the UNC path you enter.

Related

Weird message when interacting with Azure via Powershell using username and password

Whenever I interact with Azure via PowerShell 7 using username and password, I get a weird message that Im not sure what it means. Ive googled it and havent really found anything about it. Also, im running powershell on RHEL 8. Interestingly, the script works regardless of the mesagae. Has anyone else experienced this and know what it means and how to resolve?
** Message: <time>: Remote error from secret service: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.secrets was not provided by any .service files
In ~/.subversion/config uncomment the password-stores entry and set it blank, the gnome and kde keyrings won't be used then (these are the programs giving you those errors).
You had to have either
password-stores=
or
password-stores =
One of them works, the other gives an error.
I tried with the password-stores = uncommenting and setting it to blank and worked fine.
Note: The %APPDATA%Subversion directory houses the runtime configuration settings for Subversion. The files are servers and configuration.

How to correctly construct path to local folder when scp from remote to local

I'm trying to download a file from my remote server on DigitalOcean, to my local machine on Windows. I haven't been able to figure out how to correctly specify the path to my local destination without getting a "No such file or directory" error. My Windows user is "Firstname Lastname" and some error messages seem to indicate that it doesn't know how to handle the space in the name. This questions has been asked multiple times, but they all use example paths. Here are some example I have tried to do not work:
user#ipaddress:/var/www/html/wp-content/themes/akd/css/overwrite.css C:/Users/Firstname Lastname/Desktop
C:/Users/FirstnameLastname/Desktop
/Users/Firstname Lastname/Desktop
Users/Firstname Lastname/Desktop
Does anyone know the correct way to handle this situation?

Connection string with %USERPROFILE% to access DB through Box drive

I am trying to make connection from Microsoft Excel to Access database file on Box drive installed on computer. But I am not able to connect to Access DB file.
I want to replace C:\Users\raghavgupta\ with %USERPROFILE% in connection below, but not able to connect and follow the below process. Can you assist me in this?
Here is the error message:
Assuming the fixed path actually works, try %USERPROFILE%. Keep in mind that % may be a special character in the context you are trying to use it and needs to be escaped.

Brackets error: failed to connect to NodeJs

I am facing brackets error after installing an extension brackets-npm-registry. Its prompting Failed to connect to NodeJs.
How to solve this error ?
This is a known issue on the brackets-git repo. There may be workarounds/solutions on the linked issue page.
This comment by #anukanth has been reported (in a linked issue) useful to fix the issue.
You have to manually edit C:/windows/system32/drivers/etc/host with notepad and enter a line without any comment sign (#) and enter the following line without any add on like comma or anything.
127.0.0.1 localhost

While committing I get the following errors

When I try to commit, I get the following error. If any one faced this type of issue, please post workaround below.
Command: Commit Error: Commit failed (details follow): Error:
Server sent unexpected return value (403 Forbidden) in response to
MKACTIVITY Error: request for
'/svn/!svn/act/3b83fce9-ef52-f148-8f08-f84f900e99dd' Finished!:
This error means that your credentials do not have write access to the path you're attempting to commit to. Subversion's path-based authorization rules are case-sensitive, but not all OSes that Subversion runs on are.
On servers where read access has been enabled for all users, it's quite common with Windows servers for people to check out from a URL that matches the spelling of the path (and the path is then found), but not the case (so the path isn't found in the authorization file). As a result, you can check out, but not commit.
Example:
You have checked out from http://svn.mycompany.com/svn/Code/project1/TRUNK but the URL is actually http://svn.mycompany.com/svn/Code/Project1/trunk. The authorization rule specifies [Code:/Project1/trunk] and as a result, it can't be matched and your commit is rejected.
You need to talk to your server admin to see if the URL you've checked out from (visible in the Properties dialog for your working copy, or via svn info) matches what the server expects.
This problem is often about different permissions for different SVN
paths.
If you get
Commit failed (details follow): Server sent unexpected return value
(403 Forbidden) in response to MKACTIVITY request for
'/svn/reponame/your/path'
First, try to write to another SVN path on the server. If that is also
not possible, admin maybe needs to check IP based restrictions, or
LDAP-based restrictions.
In the case you cant write to that specific Dir,
it is very likely your user has no write permission for the path
/svn/your/path. I.e. path based permissions configuration issue.
Check:
1. Go to command line;
2. do svn ls svn://your.server/svn/reponame/your/path (the full URL of the path);
3. Enter credentials if needed. If you have no access, you user can’t even read the path
4. If you can list the path, user can read, but probably can’t write
Next thing is to contact the SVN Admin. And for Admin is to check the
svnaccess privileges
(See here
http://svnbook.red-bean.com/en/1.1/ch06s04.html#svn-ch-6-sect-4.4.2)
The reason you cannot read the path may be that the svnaccess file
which has restriction for your user or your group.
[reponame:/some/path] SomeuserOrGroup = r
Admin could probably test that by commenting out the line
AuthzSVNAccessFile /path/to/access/file
in httpd.conf
From: http://www.thinkplexx.com/blog/commit-failed-details-follow-server-sent-unexpected-return-value-403-forbidden-in-response-to-mkactivity-possible-reasons-what-to-do
If don't help you can look too:
http://www.kodkast.com/blogs/svn/server-sent-unexpected-return-value-403-forbidden-in-response-to-mkactivity-request
http://www.wandisco.com/svnforum/threads/37608-Server-sent-unexpected-return-value-%28403-Forbidden%29
svn: MKACTIVITY 403 Forbidden

Resources