Jan, That is wishful thinking, there are no backslashes in URLs. Furthermore, the drive is not a host, but is part of the path, hence you need 3 backslashes: Try: 'filetree:///C:/Users/User/Pharo/ourproject/repository' asUrl. 'file:///C:/Users/User/Pharo/ourproject/repository' asUrl asFileReference. See: http://en.wikipedia.org/wiki/File_URI_scheme Sven
On 25 Feb 2015, at 15:53, Jan B. <bliznjan@fit.cvut.cz> wrote:
Hello
I use Windows 7 with Pharo 4 (latest image and VM) and I have our project in filetree on disc, repository is not yet created in monticello. When I run following code in playground, which should create and load it, I get error ZnPortNotANumber
Metacello new baseline: 'OurProject'; repository: 'filetree://C:\Users\User\Pharo\ourproject\repository'; load.
Screenshot: https://monosnap.com/file/HuHMjxAfVa53eZAev3KAXL4J7bTjGW.png
I would gladly provide any other information, or try anything, if needed.
Jan
-- View this message in context: http://forum.world.st/Filetree-repository-from-string-error-tp4807598.html Sent from the Pharo Smalltalk Users mailing list archive at Nabble.com.