forum.vmspython.org Forum Index forum.vmspython.org
Forum system
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

mercurial merge fails with fork error

 
Post new topic   Reply to topic    forum.vmspython.org Forum Index -> Python for OpenVMS
View previous topic :: View next topic  
Author Message
misterwavey



Joined: 11 Feb 2014
Posts: 2

PostPosted: Tue Feb 11, 2014 5:05 pm    Post subject: mercurial merge fails with fork error Reply with quote

JAKA[WAVEY.BUCKS]>hg merge
merging BUYSCREEN.C
** unknown exception encountered, please report by visiting
** http://mercurial.selenic.com/wiki/BugTracker
** Python 2.7.6 (default, Nov 15 2013, 12:45:17) [DECC]
** Mercurial Distributed SCM (version 2.8.1)
** Extensions loaded:
Traceback (most recent call last):
File "/mercurial_root/hg", line 14, in <module>
mercurial.dispatch.run()
File "/mercurial_root/mercurial/dispatch.py", line 28, in run
sys.exit((dispatch(request(sys.argv[1:])) or 0) & 255)
File "/mercurial_root/mercurial/dispatch.py", line 69, in dispatch
ret = _runcatch(req)
File "/mercurial_root/mercurial/dispatch.py", line 133, in _runcatch
return _dispatch(req)
File "/mercurial_root/mercurial/dispatch.py", line 806, in _dispatch
cmdpats, cmdoptions)
File "/mercurial_root/mercurial/dispatch.py", line 585, in runcommand
ret = _runcommand(ui, options, cmd, d)
File "/mercurial_root/mercurial/dispatch.py", line 897, in _runcommand
return checkargs()
File "/mercurial_root/mercurial/dispatch.py", line 868, in checkargs
return cmdfunc()
File "/mercurial_root/mercurial/dispatch.py", line 803, in <lambda>
d = lambda: util.checksignature(func)(ui, *args, **cmdoptions)
File "/mercurial_root/mercurial/util.py", line 512, in check
return func(*args, **kwargs)
File "/mercurial_root/mercurial/commands.py", line 4304, in merge
return hg.merge(repo, node, force=opts.get('force'))
File "/mercurial_root/mercurial/hg.py", line 482, in merge
stats = mergemod.update(repo, node, True, force, False)
File "/mercurial_root/mercurial/merge.py", line 766, in update
stats = applyupdates(repo, actions, wc, p2, pa, overwrite)
File "/mercurial_root/mercurial/merge.py", line 518, in applyupdates
r = ms.resolve(fd, wctx, mctx)
File "/mercurial_root/mercurial/merge.py", line 89, in resolve
r = filemerge.filemerge(self._repo, self._local, lfile, fcd, fco, fca)
File "/mercurial_root/mercurial/filemerge.py", line 330, in filemerge
(a, b, c, back))
File "/mercurial_root/mercurial/filemerge.py", line 268, in _xmerge
out=ui.fout)
File "/mercurial_root/mercurial/util.py", line 486, in system
env=env, cwd=cwd)
File "/python_root/lib/subprocess.py", line 522, in call
return Popen(*popenargs, **kwargs).wait()
File "/python_root/lib/subprocess.py", line 709, in __init__
errread, errwrite)
File "/python_root/lib/subprocess.py", line 1222, in _execute_child
self.pid = os.fork()
AttributeError: 'module' object has no attribute 'fork'

I've managed to get pull and push working via https rather than ssh (same fork error) but can't see a way around the merge fork. Any ideas?

AlphaServer DS10L, OpenVMS 8.4

JFPLIB0006A
JFPPY0510A
Back to top
View user's profile Send private message
jfp



Joined: 12 Jul 2004
Posts: 618

PostPosted: Fri Feb 14, 2014 9:04 am    Post subject: Reply with quote

Hello,

Correct, ssh is not supported, so you need to use http/https.

But merge should work.

I will take a look.

Thanks,

JF
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jfp



Joined: 12 Jul 2004
Posts: 618

PostPosted: Fri Feb 14, 2014 9:47 am    Post subject: Reply with quote

Found, the problem.

The kit, on AXP was incorrectly built...

Mercurial part doesn't contains all the VMS patches.

I will put online a new LD image later.

JF
Back to top
View user's profile Send private message Send e-mail Visit poster's website
jfp



Joined: 12 Jul 2004
Posts: 618

PostPosted: Fri Feb 14, 2014 12:39 pm    Post subject: Reply with quote

I have put online a updated version of the image LD:
jfppy0510a_276_updated.zip;

Hope this will fixed the problem.

JF
Back to top
View user's profile Send private message Send e-mail Visit poster's website
misterwavey



Joined: 11 Feb 2014
Posts: 2

PostPosted: Sun Feb 16, 2014 11:35 pm    Post subject: Reply with quote

hey, thanks Smile

I'll give it a go.
Back to top
View user's profile Send private message
jfp



Joined: 12 Jul 2004
Posts: 618

PostPosted: Wed Feb 19, 2014 12:48 pm    Post subject: Reply with quote

Ok,

let me know if this solve the problem.

JF
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vmspython.org Forum Index -> Python for OpenVMS All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group