PRECIS support forum

It is currently Mon Aug 21, 2017 12:56 am

All times are UTC




Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: Tcl Error
PostPosted: Mon Jul 24, 2017 7:33 am 
Offline

Joined: Mon Jul 24, 2017 7:22 am
Posts: 9
Hi Tech support,

I am getting the error below when saving domain on Ubuntu 16.04. Please let me know how to resolve it. Thanks. Onesmus.

Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<! \\) \${ <-- HERE (\w+)}/ at /home/ruirie/um/vn4.5/utils/perl/PrecisGeneral.pm line 314.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<! \\) \${ <-- HERE (\w+) :-(.*?)}/ at /home/ruirie/um/vn4.5/utils/perl/PrecisGeneral.pm line 317.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<! \\) \${ <-- HERE (\w+) :=(.*?)}/ at /home/ruirie/um/vn4.5/utils/perl/PrecisGeneral.pm line 319.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<! \\) \${ <-- HERE (\w+):\+(.*?)}/ at /home/ruirie/um/vn4.5/utils/perl/PrecisGeneral.pm line 321.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<! \\) \${ <-- HERE (\w+)}/ at /home/ruirie/um/vn4.5/utils/perl/PrecisGeneral.pm line 314.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<! \\) \${ <-- HERE (\w+) :-(.*?)}/ at /home/ruirie/um/vn4.5/utils/perl/PrecisGeneral.pm line 317.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<! \\) \${ <-- HERE (\w+) :=(.*?)}/ at /home/ruirie/um/vn4.5/utils/perl/PrecisGeneral.pm line 319.
Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/(?<! \\) \${ <-- HERE (\w+):\+(.*?)}/ at /home/ruirie/um/vn4.5/utils/perl/PrecisGeneral.pm line 321.
while executing
"exec cat $env(TMPDIR)/mask.opt | $env(UIDIR)/make_map "
(procedure "writeMask" line 41)
invoked from within
"writeMask"
(procedure "exit_lampos" line 4)
invoked from within
"exit_lampos"
invoked from within
".tl.mou.exit invoke"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list $w invoke]"
(procedure "tkButtonUp" line 7)
invoked from within
"tkButtonUp .tl.mou.exit
"
(command bound to event)


Top
 Profile  
 
 Post subject: Re: Tcl Error
PostPosted: Wed Jul 26, 2017 3:34 pm 
Offline

Joined: Mon Sep 26, 2016 7:30 am
Posts: 11
Hi Onesmus
There is a bug in some versions of perl

To fix.

copy $UMDIR/vn4.5/utils/perl/PrecisGeneral.pm to $UMDIR/vn4.5/utils/perl/PrecisGeneral.pm.backup
edit $UMDIR/vn4.5/utils/perl/PrecisGeneral.pm
and change all of instances of

m/(?<! \\) \${
to
m/(?<! \\) \$\{

where indicated by the error messages. There should be 4 instances.

If there are still issues you may need to change { to \{ and } to \} where indicated by the error message.

hopefully this will fix your problem.

Saeed


Top
 Profile  
 
 Post subject: Re: Tcl Error
PostPosted: Thu Jul 27, 2017 8:37 am 
Offline

Joined: Mon Jul 24, 2017 7:22 am
Posts: 9
The error is now as below,

cp: cannot stat '/home/ruirie/precis_expt/tmp/new.gif': No such file or directory
while executing
"exec cat $env(TMPDIR)/mask.opt | $env(UIDIR)/cp_to_region $rname "
(procedure "save_region" line 10)
invoked from within
"save_region"
(procedure "Nbind" line 7)
invoked from within
"Nbind $tcs "
(procedure "overwrite_region" line 12)
invoked from within
"overwrite_region eaf .dcs "
invoked from within
".dcs.par.over invoke"
("uplevel" body line 1)
invoked from within
"uplevel #0 [list $w invoke]"
(procedure "tkButtonUp" line 7)
invoked from within
"tkButtonUp .dcs.par.over
"
(command bound to event)


Top
 Profile  
 
 Post subject: Re: Tcl Error
PostPosted: Thu Jul 27, 2017 9:48 am 
Offline

Joined: Mon Sep 26, 2016 7:30 am
Posts: 11
Hi Onesmus
Are you getting this error when trying to save your domain as before or doing a different action?


Top
 Profile  
 
 Post subject: Re: Tcl Error
PostPosted: Thu Jul 27, 2017 11:41 am 
Offline

Joined: Mon Jul 24, 2017 7:22 am
Posts: 9
Hi Saeed,

Yes, I am getting this error when saving domain.

Regards
Onesmus


Top
 Profile  
 
 Post subject: Re: Tcl Error
PostPosted: Thu Jul 27, 2017 8:15 pm 
Offline

Joined: Mon Sep 26, 2016 7:30 am
Posts: 11
Hi Onesmus

could you please check and see if the directory that the /home/ruirie/precis_expt/tmp/ directory exists and if so what are its content?

thanks,

Saeed


Top
 Profile  
 
 Post subject: Re: Tcl Error
PostPosted: Fri Jul 28, 2017 8:25 am 
Offline

Joined: Mon Jul 24, 2017 7:22 am
Posts: 9
Hi Saeed,

The error "cp: cannot stat '/home/ruirie/precis_expt/tmp/new.gif': No such file or directory while executing" is NOW RESOLVED, but I can't explain how/why.

Here is what I did:
I imported the kenyan domain from the server into my laptop, loaded it into precis from regions folder, I was able to edit it and save. After which, I am able to define new domains and save.

The original error of m/(?<! \\) \${ was resolved by what you suggested, changing to m/(?<! \\) \$\{ or in short basically { to \{

Many thanks for the help.

Regards
Onesmus


Top
 Profile  
 
 Post subject: Re: Tcl Error
PostPosted: Fri Jul 28, 2017 9:00 am 
Offline

Joined: Mon Sep 26, 2016 7:30 am
Posts: 11
Hi Onesmus,
glad to hear that the problem is sorted. I also saw your email with the screenshot attachment of the /tmp directory and looked alright, difficult to say what exactly could have caused it possible a temporarily system glitch!

Regards,

Saeed


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


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 post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group