Create a New Plone addon mrbob error - plone

I want to start developing of my first test addon. I have a problem on the basis of mr.bob. Any described ways have leaded to one result. my documentation
log image
Check
mrbob --help
do the same answer.
After I came to the conclusion the problem is in pre-installed Python2.7 with no worked mr.bobe and bobtemplates. I do not know how to make a working set.

Looking at your traceback I guess mr.bob is not fully supporting Windows.
The readline module on Windows is not available. There's some alternatives like pyreadline.
Seems it's a know issue: see https://github.com/domenkozar/mr.bob/issues/49

Don't know about mr.bob, but you could alternatively try adi.devgen (disclaimer: one of my add-ons). Install it with pip:
pip install adi.devgen
And then do:
devgen addOn yournamespace.youraddonname

Related

How to install the Heroku CLI without HomeBrew on MacOS

I would like to install the Heroku CLI in my Macbook without using HomeBrew. Is there a way to do this? Perhaps by using a native command via terminal? Or some other way that does not depend on another bit of software? I have searched online but have not found a way to do so.
Note: I have had issues with HomeBrew so I no longer use it, and hope to continue installing without it. I also did a search on Stackoverflow, as well as check the suggested similar questions while composing this one.
For anyone else seeking answers: I just figured out how to install Heroku without Brew or using npm. Use the command below (it is in Heroku's instructions page):
curl https://cli-assets.heroku.com/install.sh | sh

Error while loading the Code Generator toolbox in Scilab

I installed Scilab 5.5.2 on Windows 10, and then installed the Scilab Code Generator toolbox.
However, when I start Scilab, the following message appears and I can't use the toolbox. This problem occurs for every toolbox.
Start Scilab Code Generator
Version: 0.9.20190122
Load macros
atomsLoad: An error occurred while loading 'xcos_code_generator-0.9.20190122':
File "C:\Users\光\AppData\Roaming\Scilab\SCILAB~1.2\atoms\x64\XCOS_C~1\09E129~1.201\macros\names" does not exist or read access denied.
(光 is my username.)
I suppose the problem comes from "\Scilab\SCILAB~1.2" in the middle of the file path. In my computer, the only folder in "Scilab" is "scilab-5.5.2", so indeed the software cannot find the file it's looking for.
Does anyone have any ideas?
I need to use the toolbox at work soon, so any help is greatly appreciated. Thank you in advance.
Note: I'm not using the latest Scilab 6.0.2 because it fails to work on my computer. It closes immediately after I open it.
I solved the problem by myself.
It was my user name "光" that caused the problem. I found people saying that user names in full-width characters such as Japanese sometimes cause problems like this.
The solution is to create another user account with a name in half-width characters and install Scilab in that account. (Just changing the full-width user name doesn't work because it doesn't change the filenames that already exist.)
I couldn't find the solution until today because I was searching for solutions only in the context of Scilab, not in the context of software in general.
I hope this answer helps someone.
I'm not sure why you are using an outdated version of Scilab. The latest version is 6.0.2 on Windows. If the newer version doesn't work properly then that's the problem you need to fix first. To test your Scilab installation you may run it in the terminal. Find the installation folder. For me, it is C:\Program Files\scilab-6.0.2\bin the on cmd go to the path and run Scilex.exe. If not uninstall everything and install it in a proper way. My recommendation is to uninstall the old Scilab you already have. Then:
Install Chocolatey package manager
Open PowerShell as Admin and run choco update all -y, once in a while update your packages this way.
run choco install Scilab -y
then open the Scilab software
run the atomsInstall("xcos_code_generator") in the console
runt the atomsLoad("xcos_code_generator") to make sure your package is installed properly. You should see this as a result:
--> atomsInstall("xcos_code_generator")
Scanning repository http://atoms.scilab.org/6.0 ... Done
ans =
!xcos_code_generator 0.9.201901 user SCIHOME\atoms\x64\xcos_code_generator\0.9.201901 I !
--> atomsLoad("xcos_code_generator");
Start Scilab Code Generator
Version: 0.9.20190122
Load macros
Load help
Load demos

Silent command-line install of Gitahead?

Need to install gitahead via SCCM on our lab machines. Gitahead provides .exe installers, not .msi files. Need to find correct flags/parameters for silent install.
I've already tried /qn /q /silent /verysilent and the other common ones. They all still pop up the installer GUI.
Stackoverflow seems like a weird place to get support for a non-coding problem, but I'm doing as githead requests on their site: "Ask questions about using GitAhead on Stack Overflow by including the 'gitahead' tag." -okay, that's what I'm doing.
Looks like they use NSIS (an alternative to MSI technology). Silent installs need a /S or /SD switch and if I remember correctly it is case sensitive.
Thank you, Paul! Yes, that did the trick - silly of me to not have tried /S
Question resolved! I upvoted you but because I'm new here, it doesn't seem to have publicly shown.

Error while Using OpenAerostruct and OpenMDAO together

When I run the code given in the document on combined aero and structure I go this error:
AttributeError: 'module' object has no attribute 'matlib'
Based on the previous answer I had got, I tried to install the updated version of 'matplotlib' , but this has not solved the problem. Any help will greatly help me as I am a FORTRAN era person and a new convert to Python.
It looks like you're trying to use an intel compiled version of python and numpy can't find an necessary underlying library. Something is messed up in your python/numpy install.
This has nothing to do with OpenAeroStruct or OpenMDAO. If you can't fix your install, I suggest trying out the Anaconda python distribution, which should have everything precompiled correctly.
I don't have enough rep to comment, but please view this answer as a comment and I'll edit it once I can answer more properly.
That sounds like a numpy installation issue. Could you please post the entire error trace that you get when you try running the command?
Additionally, what system are you on (Windows, Mac, Linux), how did you install Python, and have you tried any other Python-based code that you can get to work successfully?
Edit: the most recent version of OpenAeroStruct has been modified to avoid this issue altogether.

dart_api.h not found when build library dart_sqlite

As i ask before, to use dart-sqlite, I must install dart-ext:sqlite first. But every time I try to build it, I found error= Can not found dart_api.h. how to fix it?
I install it on ubuntu 12.04.
Thank you
It sounds like you didn't follow the build instructions:
Either edit build.sh to point to the SDK, or set the environment variable DART_SDK.
Once you correctly point DART_SDK to the dart-sdk directory of your local Dart installation, the build system will find $DART_SDK/include/dart_api.h just fine.

Resources