Comments (4)
There are a number of ways that your zip file might have been created. We have a make file that runs a Python script to determine which files belong in the zip file. The command in the makefile is:
SOURCES = $(shell python cellblender_source_info.py)
That should run the python script named "cellblender_source_info.py" which returns a list of all the source files to be included in the zip file. That file does include "cellblender_utils.py", so I'm not sure why that file is not being included in the zip file that you have. Can you unzip the file and post a directory listing of the files at the top level (in the "cellblender" directory)? If so, that might help.
Also, for your information, here are the links to the two files I mentioned in github:
https://github.com/mcellteam/cellblender/blob/development/makefile
https://github.com/mcellteam/cellblender/blob/development/cellblender_source_info.py
from cellblender.
@cnlbob I just now downloaded the latest ZIP from the Development branch of your repository. The same error is given. Must any work be done to the files before Importing to Blender?
Again, I have no issue importing the ZIP from the Master branch of your repository. The error emerges only with the Development branch, which I would like to use for the included Data Model Scripting capabilities as referenced (by you?) here: http://mmbios.org/mcell-cellblender-forum/model-creation-mcell/69-mcell-output
Below are the top level files after unzipping:
CHANGELOG.md cellblender_scripting.py
LICENSE.txt cellblender_simulation.py
META-INF cellblender_source_info.py
README.md cellblender_surface_classes.py
SimControl.c cellblender_surface_regions.py
SimControl.java cellblender_utils.py
init.py data_model.py
bng data_plotters
cellblender_glyphs.py developer_utilities
cellblender_id.py git_hooks
cellblender_initialization.py glyph_library.blend
cellblender_legacy.py icons
cellblender_main.py io_mesh_mcell_mdl
cellblender_meshalyzer.py libMCell
cellblender_mol_viz.py makefile
cellblender_molecules.py mdl
cellblender_objects.py object_surface_regions.py
cellblender_partitions.py parameter_system.py
cellblender_preferences.py run_simulations.py
cellblender_project.py run_wrapper.py
cellblender_reaction_output.py sim_runner_queue.py
cellblender_reactions.py test_suite
cellblender_release.py
from cellblender.
First, here's the tldr to fix your problem:
- unzip cellblender-development.zip
- rename cellblender-development to cellblender (on linux, do this:
mv cellblender-development cellblender
) - zip renamed cellblender directory (on linux:
zip -r cellblender.zip cellblender
) - now you can install it through Blender like you normally would
Now here's the long explanation of why this is happening if you're interested. CellBlender itself expects its directory name to be cellblender. When you grab the zip file of a specific branch directly from github, it automatically renames the directory by appending a hyphen and the branch name (hence you end up with cellblender-development). When python is importing modules (e.g. import cellblender.cellblender_utils), it can't find cellblender, since it is now cellblender-development.
A second point I should probably mention is that, although the method I outlined for installing CellBlender should work, this is not how we create a zip of CellBlender for regular distribution. There is a makefile in the main cellblender directory that generates the zip file. If you run into other small issues, it might be related to this fact.
from cellblender.
Thank you, this has fixed my issue. Admittedly a simple one!
from cellblender.
Related Issues (20)
- Add Python 2.6 support for sim runner
- Creating model objects fails [Blender 2.69 backcompat issue] HOT 2
- missing license file HOT 1
- allow users to manually set project_files directory HOT 1
- Fix Parameter Search and Sort capabilites HOT 1
- Allow export of ASCII viz data
- Export geometry doesn't auto-triangulate meshes HOT 1
- Plotting issue on cluster. Requesting start_time.txt file
- Defining 'extracellular' molecules HOT 3
- Blender not showing CellBlender's "Scene" or "Object" Properties HOT 2
- MCell only using 5% of my CPU power. HOT 1
- Tutorial to find CellBlender panel in Blender 2.93
- Visualize Neurons from NeuPrint in Blender
- Cannot install the add-on in blender 3.2 - macOS 12.4 Monterey
- Issue when trying to import BNGL model into CellBlender 2.93 HOT 2
- Potential bug when trying to run BNG model
- Conflicts in MDL String Reaction Output
- Page Numbers on QRG PDF HOT 2
- Deleting molecules can make errors difficult to fix
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cellblender.