flancy icon indicating copy to clipboard operation
flancy copied to clipboard

i keep getting flancy.start() is being used by another process

Open dotps1 opened this issue 9 years ago • 3 comments
trafficstars

this is super annoying everytime I try to use New-Flancy

The process cannot access the file because it is being used by another process
At C:\Users\dotps1\Documents\WindowsPowerShell\Modules\flancy\flancy.psm1:450 char:9
+         $flancy.start()
+         ~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], HttpListenerException
    + FullyQualifiedErrorId : HttpListenerException

dotps1 avatar Aug 02 '16 20:08 dotps1

so, this seemed to be an issue with the example of port 8001, once I changed that, it works. Is there some way to maybe test for the port and if its use, throw a useful error, because a file in use error was not helpful lol.

dotps1 avatar Aug 03 '16 15:08 dotps1

yeah poor error

toenuff avatar Aug 09 '16 00:08 toenuff

@toenuff looks like you have this fixed in the devel branch? I'm getting this for the current error:

Failed to listen on prefix 'http://localhost:8001/' because it conflicts with an existing registration on the machine.
At C:\Users\tiber\Documents\GitHub\flancy\flancy.psm1:450 char:9
+         $flancy.start()
+         ~~~~~~~~~~~~~~~
    + CategoryInfo          : NotSpecified: (:) [], HttpListenerException
    + FullyQualifiedErrorId : HttpListenerException

Tiberriver256 avatar Nov 08 '16 01:11 Tiberriver256