Ticket #99 (closed defect: fixed)

Opened 9 years ago

Last modified 7 years ago

"Unable to Access the Directory" error in 0.4.5

Reported by: dan.capper@gmail.com Owned by: alamaison
Priority: critical (affects core workflow) Milestone: 0.30 Better dialogues
Component: installer Version: 0.4.5
Keywords: RQicQBwutganxMe Cc:

Description

Trying to map to an SSH instance on a non-standard port

Had the same issue as #94 on 0.4.4

Now the error message says


Swish [X]


(X) Unable to access the directory

You might not have permission.

Hide details [ OK ]

Interface not registered


Windows 7 SP2 x64

Change History

comment:1 Changed 9 years ago by alamaison

  • Component changed from authentication to backend

I've seen this a couple of times before and it appears to be a problem with the upgrade process. Can you try uninstalling Swish, rebooting, reinstalling Swish, rebooting again, and then trying to connect.

If that doesn't work, we will have to dig deeper.

comment:2 follow-up: ↓ 3 Changed 9 years ago by ubergeeknz

Can I just say, your bug trac system is REALLY difficult to get a login working for!

Regardless - I tried the steps you suggested, and I still have the same symptoms.

I have also tried a server on the local lan with a standard SSH port, to no avail :(

Any useful information I can gather?

comment:3 in reply to: ↑ 2 ; follow-up: ↓ 4 Changed 9 years ago by alamaison

  • Status changed from new to accepted

Replying to ubergeeknz:

Can I just say, your bug trac system is REALLY difficult to get a login working for!

I wasn't aware. In what way? Is the captcha playing up?

Regardless - I tried the steps you suggested, and I still have the same symptoms.

I have also tried a server on the local lan with a standard SSH port, to no avail :(

I doubt this would make a difference as the 'Interface not registered' error means that one of the DLLs failed to register when it was installed.

The next thing to try is registering them manually. To do this, open a command-line window as Administrator and change to Program Files\Swish. Then type regsvr32 provider-com_dll.dll. If this works, try using Swish to connect to your server again. If not, do regsvr32 interfaces_dll.dll and finally regsvr32 shell_folder-com_dll.dll.

These registrations should all succeed. If they do and you still get 'Interface not registered' we'll have to do some more digging.

Any useful information I can gather?

Do you have UAC disabled?

comment:4 in reply to: ↑ 3 ; follow-up: ↓ 6 Changed 9 years ago by ubergeeknz

  • Status changed from accepted to closed
  • Resolution set to fixed

Replying to alamaison:

Replying to ubergeeknz:

Can I just say, your bug trac system is REALLY difficult to get a login working for!

I wasn't aware. In what way? Is the captcha playing up?

Sorry, it was late and I was tired... mostly the captcha is terrible, I had real difficulty reading it (and my eyesight is above average). Should try recaptcha or something. Would be nice to accept OpenID too.

Regardless - I tried the steps you suggested, and I still have the same symptoms.

I have also tried a server on the local lan with a standard SSH port, to no avail :(

I doubt this would make a difference as the 'Interface not registered' error means that one of the DLLs failed to register when it was installed.

The next thing to try is registering them manually. To do this, open a command-line window as Administrator and change to Program Files\Swish. Then type regsvr32 provider-com_dll.dll. If this works, try using Swish to connect to your server again. If not, do regsvr32 interfaces_dll.dll and finally regsvr32 shell_folder-com_dll.dll.

These registrations should all succeed. If they do and you still get 'Interface not registered' we'll have to do some more digging.

I registered all three and that has fixed the issue! Wonderful.

Any useful information I can gather?

Do you have UAC disabled?

No - it is enabled. I noted that the installer didn't do the UAC thing, maybe this was why the DLLs did not register :)

I've noticed a new problem though, which I will log seperately :)

comment:5 Changed 9 years ago by alamaison

  • Priority changed from major to critical
  • Resolution fixed deleted
  • Status changed from closed to reopened
  • Component changed from backend to installer

I've completely borked the installer. Luckily, I know how to fix it so we should have a new release out shortly. Meanwhile, I've withdrawn version 0.4.5 because it won't work for any new users.

The workaround I gave above forces the DLLs to self-register with the system but the installer should be doing this for them.

comment:6 in reply to: ↑ 4 Changed 9 years ago by alamaison

Replying to ubergeeknz:

Replying to alamaison:

Replying to ubergeeknz:

Can I just say, your bug trac system is REALLY difficult to get a login working for!

I wasn't aware. In what way? Is the captcha playing up?

Sorry, it was late and I was tired... mostly the captcha is terrible, I had real difficulty reading it (and my eyesight is above average). Should try recaptcha or something. Would be nice to accept OpenID too.

Yes, it is terrible. Unfortunately, it's the only plugin for trac that does captcha for new user registration. I'm waiting for someone to come up with a better one but not seen anything yet.

I installed the OpenID plugin but couldn't get it to work. If I have some free time I may play with it again.

comment:7 Changed 9 years ago by alamaison

I've just released 0.4.6 which should fix the problem. Please try it and let me know how you get on but before you install it, please undo the workaround I mentioned earlier so we get a truer picture.

Open a command-line window as Administrator and change to Program Files\Swish. Then type regsvr32 /u provider-com_dll.dll followed by regsvr32 /u interfaces_dll.dll' and regsvr32 /u shell_folder-com_dll.dll`. Note the /u which undoes the registration.

Then install 0.4.6 and let us know how it goes.

comment:8 Changed 9 years ago by alamaison

  • Status changed from reopened to closed
  • Resolution set to fixed

Closing as no reports that the issue still exists in 0.4.6.

comment:9 Changed 7 years ago by Amber

  • Keywords RQicQBwutganxMe added
  • Milestone set to 0.30 Better dialogues

That's an ingenious way of thniinkg about it.

Note: See TracTickets for help on using tickets.