[Wien] problem when running berrypi

halim said halim_said04 at yahoo.fr
Fri Sep 8 04:40:45 CEST 2017


Dear Prof Oleg,

Thank you for your suggestion, I don't work on personal computer and Python2.6 version is installed.Is it ok? please find config.py as attached file.
Your suggestion is very much appreciated.
Looking forward for your answer.
All my best,
Halim  

    Le Jeudi 7 septembre 2017 21h49, "Rubel, Oleg" <rubelo at mcmaster.ca> a écrit :
 

 Ok. Can you reply with config.py file attached?

I remember python being picky about single quote signs for the text variable enclosures.

...
#fix for location of python file locations when executing from the python commandline
DEFAULT_BIN_PATH='/home/rubel/BerryPI'

#Fix for python path to make sure it grabs the latest version
DEFAULT_PYTHON_PATH='/software/CentOS-6/tools/python-2.7.3/bin/python’
…

Also check
[rubel at lg-1r14-n04 GaN-W]$ which berrypi

Here is what I have:
alias berrypi='/software/CentOS-6/tools/python-2.7.3/bin/python /home/rubel/BerryPI/berrypi'
    /software/CentOS-6/tools/python-2.7.3/bin/python

Thanks
Oleg

> On Sep 7, 2017, at 14:28, halim said <halim_said04 at yahoo.fr> wrote:
> 
> Dear Prof Oleg,
> 
> Thank you for your answer. I changed the path in config.py and set it  as in the mentioned folder, also the folder home/ha/SRC_BerryPI/BerryPI
> exists.
> 
> The same error occurs after changing the path, please what to do to solve the problem?
> 
> I appreciate your help.
> 
> Halim
> 
> 
> Le Jeudi 7 septembre 2017 19h23, "Rubel, Oleg" <rubelo at mcmaster.ca> a écrit :
> 
> 
> Please check that the folder /home/ha/SRC_BerryPI/BerryPI
> really exists. Your error message suggests that it can be /home/ha/WIEN2k/SRC_BerryPI/BerryPI
> In this case you should edit DEFAULT_BIN_PATH in config.py
> 
> I hope it will fix your problem
> Oleg
> 
> > On Sep 7, 2017, at 12:11, halim said <halim_said04 at yahoo.fr> wrote:
> > 
> > Dear Wien2k  users community,
> > 
> > I am facing problem when running berrypi, i followed the example of GaN, but i am getting this error. How to solve it.
> > 
> > gan> berrypi -k6:6:6
> > Traceback (most recent call last):
> >  File "/home/ha/WIEN2k/SRC_BerryPI/BerryPI/berrypi", line 25, in <module>
> >    import submoduleProcess as b_PySubProcess
> >  File "/home/ha/WIEN2k/SRC_BerryPI/BerryPI/submoduleProcess.py", line 11, in <module>
> >    from config import BERRY_DEFAULT_CONSOLE_PREFIX as DEFAULT_PREFIX
> >  File "/home/ha/WIEN2k/SRC_BerryPI/BerryPI/config.py", line 14
> >    DEFAULT_BIN_PATH=/home/ha/SRC_BerryPI/BerryPI
> >                      ^
> > SyntaxError: invalid syntax
> > 
> > 
> > 
> > I would be thankful for your suggestion and answer to solve the problem.
> > 
> > Looking forward your answer.
> > 
> > Halim Said
> 
> > 
> > 
> > 
> > 
> > 
> > _______________________________________________
> > Wien mailing list
> > Wien at zeus.theochem.tuwien.ac.at
> > http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
> > SEARCH the MAILING-LIST at:  http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html
> 
> _______________________________________________
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at
> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
> SEARCH the MAILING-LIST at:  http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html
> 
> 
> 
> _______________________________________________
> Wien mailing list
> Wien at zeus.theochem.tuwien.ac.at
> http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
> SEARCH the MAILING-LIST at:  http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html

_______________________________________________
Wien mailing list
Wien at zeus.theochem.tuwien.ac.at
http://zeus.theochem.tuwien.ac.at/mailman/listinfo/wien
SEARCH the MAILING-LIST at:  http://www.mail-archive.com/wien@zeus.theochem.tuwien.ac.at/index.html


   
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://zeus.theochem.tuwien.ac.at/pipermail/wien/attachments/20170908/38d63613/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: config.py
URL: <http://zeus.theochem.tuwien.ac.at/pipermail/wien/attachments/20170908/38d63613/attachment.ksh>


More information about the Wien mailing list