Cleanup failed to process the following, can’t move svn-work to svn-base, access is denied.

Had this error a lot, we only seemed to have a problem when we were committing images though, so I thought it was a problem with that.

Cleanup failed to process the following paths:
- \\ourServer\ourDirectory\
In directory ‘\\ourServer\ourDirectory\images’
Error processing command ‘committed’ in ‘\\ourServer\ourDirectory\images’
Can’t move ‘\\ourServer\ourDirectory\images\.svn\props\imageName.jpg.svn-work’
to
‘\\ourServer\ourDirectory\images\.svn\prop-base\imageName.jpg.svn-base’:
Access is denied

We run VisualSVN server on Win7, serving up a local (Win 7) repository. All our files are checked out using Tortoise to a samba share under Debian. After some googling it turns out that a particular version of samba causes this error. To solve it I did a few things

  1. Established what version of Samba we were running by running
    smbstatus
  2. I then updated our samba by running
    apt-get update
    apt-get upgrade samba
  3. I then edited smb.conf following the discussion at http://tortoisesvn.tigris.org/ds/viewMessage.do?dsForumId=4061&dsMessageId=989775, what to do can be found at http://tortoisesvn.tigris.org/faq.html#samba but basically
    nano /etc/samba/smb.conf
    find the line [global] and underneath add
    delete readonly = yes
  4. Restart samba with
    /etc/init.d/samba restart

And things played nicely ever since!

If this helped you please check out the business directory I work for, for example here are Computer Consultants in Taunton, Somerset. You can get a free advert with us!

Leave the first comment

AVG & Spotify – Runtime packed themida multiple threat detected

Started getting a “Multiple threat detection” warning from AVG Antivirus today. I guess something updated with AVG and now it finds spotify a problem. I trust spotify so I’m going to add it to my list of AVG exceptions. This is how you do it

  1. Open AVG
  2. Double click Resident Shield
  3. Click Manage Exceptions
  4. On the left click Excluded Files
  5. On the right click Add
  6. Browse to C:\Program Files\Spotify\spotify.exe and Open that
  7. OK that screen
  8. Cancel the next screen

Now AVG won’t be look at spotify.exe any more.

If this helped you please check out the free advertising directory I work for – The National Pages.

2 comments so far, add yours

Get Thunderbird 3 working with Lightning and Google Provider

I just moved from Thunderbird 2 to 3, using the excellent mozbackup tool to backup/restore (I was also changing machine as well).

Lightning only works in beta with Thunderbird 3, and Google Provider fails. I followed various guides, but none worked, until I used the en_US version of things from

http://releases.mozilla.org/pub/mozilla.org/calendar/lightning/releases/1.0b1rc1/win32/en-US/

Just grab the two .xpi files and add them to your Thunderbird 3 addons.

Leave the first comment

British English Dictionary for Thunderbird 3

The British English dictionary for Thunderbird 3 wasn’t working, I’ve hacked it about a bit so it’s now version 3.0.* compatible, you can download the .xpi from me here at

http://russtaylor.co.uk/files/british_english_dictionary-1.19-fx+zm+tb-version-3-compatible.xpi

The original file can be found at https://addons.mozilla.org/en-US/firefox/addon/3366

14 comments so far, add yours

FUNCTION databasename.CONCAT does not exist

Got this error in MySQL on my dev box, but not online, despite running MySQL 5+ on both machines.

Turns out in some versions of MySQL you cannot have a space between a function name and it’s parameters, e.g.

CONCAT (MyField, ‘ some text’) <-BAD
CONCAT(MyField, ‘ some text’) <-GOOD

So good practice is to never put a space in ;)

One comment so far, add another

Error when importing to subversion repository – “The requested operation cannot be performed on a file with a user-mapped section open”

I wanted to move a Subversion repository from a flat structure into the more desirable

My Repository
/trunk
/ branch
/ tag

folder structure. I found the easiest way to do this was to dump the repository to a file, then import it again in the correct location, something like

svnadmin dump C:\Repositories\OldRepo > OldRepoDumpFile
svnadmin load –parent-dir /trunk C:\Repositories\NewRepo < OldRepoDumpFile

On the load though I got the following error, at different times during the import

The requested operation cannot be performed on a file with a user-mapped section open.

This literally means the file is open somewhere else, where??? AVG Anti-Virus (or your virus scanner of choice). I went into AVG, disabled the Resident Shield (temporarily) and the file loaded absolutely fine (and a lot faster to boot).

6 comments so far, add yours

Loaderlock was detected error in VS 2008

I keep getting this error and forgetting how to solve it, so time to blog.

When debugging in Visual Studio 2008 I sometimes get

Loaderlock was detected

DLL ‘c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\root\f8542944\24ca7c20\assembly\dl3\83245f41\feb88c06_9e6eca01\someNaughty.DLL’ is attempting managed execution inside OS Loader lock. Do not attempt to run managed code inside a DllMain or image initialization function since doing so can cause the application to hang.

The solution is to switch off the Managed Debug Assistant (MDA) for Loaderlocks.

Debug -> Exceptions -> Managed Debug Assistants and uncheck the LoaderLock item.

Thanks to Simon Harriyott post here for solving it.

2 comments so far, add yours

Fatal error: Maximum execution time of 300 seconds exceeded under MySQL CLI

I received this error a few times, and variations of it, when trying to import some sql at the command prompt (CLI).

ERROR 1064 (42000) at line 3499917: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ‘Fatal error: Maximum execution time of 300 seconds exceeded in /usr/share/phpmyadmin/libraries/export/sql.php on line 757

Lots of googling kept pointing to changing the maximum execution time of Apache or PHP, by default Apache is 300 seconds (as per my error) and PHP 30 seconds. It didn’t make sense as I was doing am import at the CLI, which doesn’t use Apache or PHP. The mistake I made was using phpmyadmin to export the sql file I was trying to import. Despite the sql file downloading correctly from phpmyadmin and not reporting any errors, the last lines in my sql file was

[End of file snippet ...]
(3566987, 1225461, 4, 52530, ‘2009-05-00′),
(3566988, 1225464, 4, 52530, ‘2009-05-00′),
(3566989, 1577089, 4, 4422, ‘2009-05-00′),
(3566990, 1762231, 8, 4422, ‘2009-05-00′),
(3566991, 1768654, 8, 4422, ‘2009-05-00′)<br />
<b>Fatal error</b>:  Maximum execution time of 300 seconds exceeded in <b>/usr/share/phpmyadmin/libraries/export/sql.php</b> on line <b>757</b><br />

The solution is of course to do things properly and use mysqldump -u [USERNAME] -p [DATABASE NAME] [TABLE] > [OUTPUT FILE NAME].sql.

Leave the first comment

1969 Triumph T120

1969_Triumph_T120_front
1969_Triumph_T120_rear
1969_Triumph_T120_left
1969_Triumph_T120_right

Leave the first comment

Datsun Fairlady Roadster 2000 SR311

I think it’s the SR311 I want, not the 310, either way…

Fairlady Roadster

Leave the first comment
Get Adobe Flash playerPlugin by wpburn.com wordpress themes