Bzr Error Unable To Create Symlink On This Platform
to Milestone Bazaar Edit In Progress High Parth Malwankar Edit You need to log in to change this bug's status. Affecting: Bazaar Filed here by: Nicholas Allen When: 2007-01-26 Confirmed: 2009-05-28 Assigned: 2012-02-20 Started work: 2012-02-25 Target Distribution Baltix BOSS Juju Charms Collection Elbuntu Guadalinex Guadalinex Edu Kiwi Linux nUbuntu PLD Linux Tilix tuXlab Ubuntu Ubuntu Linaro Evaluation Build Ubuntu RTM Package (Find…) Project (Find…) Status Importance In Progress High Assigned to Me Parth Malwankar (parthm) Comment on this change (optional) Email me about changes to this bug report Also affects project (?) Also affects distribution/package Nominate for series Bug Description Windows does not support symlinks but there is a plugin for bzr that emulates this behavior. If the plugin is installed then this works. I think this should be a core feature of bzr and not a plugin. Also displaying a stack trace is not a useful error message for the user so even if it is decided to keep it as a plugin this is not the correct behavior. When checking out a branch that uses symlinks on Windows the following exception is raised: bzr branch http://panoramicfeedback.com/opensource/bzr/be BugsEverywhere ................................................................................................................................................................................................................................................................................................................................................................................................. bzr: ERROR: exceptions.AttributeError: 'module' object has no attribute 'symlink' Traceback (most recent call last): File "bzrlib\commands.pyc", line 626, in run_bzr_catch_errors File "bzrlib\commands.pyc", line 588, in run_bzr File "bzrlib\commands.pyc", line 292, in run_argv_aliases File "bzrlib\builtins.pyc", line 756, in run File "bzrlib\bzrdir.pyc", line 688, in sprout File "bzrlib\bzrdir.pyc", line 914, in create_workingtree File "bzrlib\workingtree.pyc", line 2113, in initialize File "bzrlib\transform.pyc", line 1008, in build_tree File "bzrlib\transform.pyc", line 1093, in new_by_entry File "bzrlib\transform.pyc", line 904, in new_symlink File "bzrlib\transform.pyc", line 318, in create_symlink AttributeError: 'module' object has no attribute 'symlink' bzr 0.13.0ca
this platform It seems that bazaar try to create a symbolic link. I'm working under Windows XP. Is it a bug from Bazaar? Question information Language: English Edit question Status: Answered For: Bazaar Edit question Assignee: No assignee Edit question Last query: 2009-01-05 Last reply: 2010-01-12 Related bugs Bug #81689: Branches with symlinks can't be checked out on Windows Link existing bug Remove bug link Related FAQ: None Link to a FAQ ChrisD (xuard) said on 2009-01-06: #1 I have the same problem. THirsch (thirsch) said on 2010-01-11: #2 I have the same problem and would love to see https://bugs.launchpad.net/bugs/81689 an 'integrated' solution. - at least for Vista/Win7, as there is the possibility of real symlinks - see http://schinagl.priv.at/nt/hardlinkshellext/hardlinkshellext.html for an util allready making use of it). - Bazaar Symlinks for Win32 Plugin seems to be outdated/unmaintained and 'buggy' - in the plugin doc text i found "The recommended solution for symlinks on Windows is to run bzr under Cygwin" offering a solution to this. But this https://answers.launchpad.net/bzr/+question/56422 will add complexity to the windows install... =;-( (Thus hindering me to force all of my coworkers to use it right away.... - we want to control some asterisk configs/installations from our windows workstations, but currently can't, because of this restriction). is there an option '--ignore-symlinks' or elst that I am unaware of to get get a checkout/branch without the symlinks? Regards Thomas I found Martin Pool (mbp) said on 2010-01-12: #3 Hi, this is an open bug 81689. At the moment using cygwin is the best workaround I know of. If you can in that bug point to the MSDN documentation to make symlinks or even better some python code to do it, that would help. Can you help with this problem? Provide an answer of your own, or ask ruddy32 for more information if necessary. History Link existing bug Link to a FAQ Create a new FAQ To post a message you must log in. Ask a question Edit question Subscribers Subscribe Subscribe someone else • Take the tour • Read the guide © 2004-2016 CanonicalLtd. • Terms of use • Contact Launchpad Support • Blog • Careers • System status • r18217 (Get the code!)
merges. (#202830) Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] Andreas Deininger пишет: > Hi, > > on my Windows box, https://lists.ubuntu.com/archives/bazaar/2008q2/040273.html I just tried to use bazaar to checkout a branch > that resides on a unix server and ran into the following error: > > E:\>bzr co bzr+ssh://myusre@14.xx.xx.xx/my/path/to/repo > Connected (version 2.0, client OpenSSH_4.7) > Authentication (password) successful! > Secsh channel 1 opened. > bzr: ERROR: Unable to create symlink 'files/ex/images/abc.jpg' on this platform > > I'm aware of the following document that deals with bzr error this issue: > http://bazaar-vcs.org/WindowsSymlinkSupport > > My questions are now: > * how far has development come concerning this issue? > * can I effectively use bazaar on WIndows to checkout a branch that > contains symlinks? I'm aware of the Bazaar Symlinks for Win32 Plugin: > https://launchpad.net/bzr-win32symlinks > > However, I wasn't not able to successfully install that plugin with > the latest bzr error unable bzr version 1.3: > > C:\>bzr plugins > Unable to load plugin 'bzr_win32symlinks' from 'C:\\Program > Files\\Python25\\lib\\site-packages\\bzrlib\\plugins' > bzrtools 1.3.0 > Various useful plugins for working with bzr. > > launchpad > Launchpad.net integration plugin for Bazaar. > > I'm aware of the fact that there is a ~/.bazaar.log file under Unix to > resolev that kind of problems. However, I couldn't find such a file on > my Windows installation, so I couldn't track it down further. It should be in My Documents folder on your machine. Also you should see exact location in output of `bzr version` command: Bazaar (bzr) 1.3 Python interpreter: C:\Program Files\Bazaar\python25.dll 2.5.2.final.0 Python standard library: C:\Program Files\Bazaar\lib\library.zip bzrlib: C:\Program Files\Bazaar\lib\library.zip\bzrlib Bazaar configuration: C:\Documents and Settings\F1\Application Data\bazaar\2.0 Bazaar log file: C:\work\Documents\.bzr.log Copyright 2005, 2006, 2007, 2008 Canonical Ltd. http://bazaar-vcs.org/ bzr comes with ABSOLUTELY NO WARRANTY. bzr is free software, and you may use, modify and redistribute it under the terms of the GNU General Public License version 2 or later. The line started with "Bazaar log file:". Could you post what it said about inability of load the plugin. Probably you missing some library for Python. D