Comments (11)
Hi @KFSchlager,
For the "+ Browse for databases path" button bug, we have fixed it for the GUI but you would have to manually update it on your end for now, without having to reinstall it.
You can extract the attached file and replace the app.asar
file that is found in your CEA installation path:
e.g.
C:\Users\foobar\Documents\CityEnergyAnalyst\dashboard\resources\app.asar
Let me know if that works for you.
from cityenergyanalyst.
Hi @reyery
yes, that worked. Thank you very much!
from cityenergyanalyst.
Hi @reyery
the PermissionError still occurs, but the "+ Browse for databases path" button works now.
from cityenergyanalyst.
Hi @KFSchlager, would you mind sharing me the whole log of the script that produces the error? I am not able to reproduce it on my end.
from cityenergyanalyst.
I will close this issue for now. Let me know if it is still an issue.
from cityenergyanalyst.
Hej!
This is also an issue for me, and it does not work to replace the app.asar for me, when I try it then I can't open the CEA dashboard anymore. Only way to get back into the CEA is to re-install it, but face the same issue when I try to import any database.
This is the error:
Job Output for 1 - data-initializer
City Energy Analyst version 3.35.4
Running `cea data-initializer` with the following parameters:
- general:scenario = C:\Users\moma0061\Videos\reference-case-open\TEST0307\test1
(default: {general:project}\{general:scenario-name})
Traceback (most recent call last):
File "C:\Users\moma0061\Videos\dependencies\micromamba\envs\cea\lib\site-packages\setuptools\_distutils\file_util.py", line 33, in _copy_file_contents
os.unlink(dst)
PermissionError: [WinError 32] Det går inte att komma åt filen eftersom den
används av en annan process: 'C:\\Users\\moma0061\\Videos\\reference-case-open\\TEST0307\\test1\\inputs\\technology\\archetypes\\CONSTRUCTION_STANDARD.xlsx'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Users\moma0061\Videos\dependencies\micromamba\envs\cea\lib\site-packages\cea\worker.py", line 146, in worker
run_job(config, job, server)
File "C:\Users\moma0061\Videos\dependencies\micromamba\envs\cea\lib\site-packages\cea\worker.py", line 108, in run_job
script(config=config, **parameters)
File "C:\Users\moma0061\Videos\dependencies\micromamba\envs\cea\lib\site-packages\cea\api.py", line 60, in __call__
self._runner.__call__(*args, **kwargs)
File "C:\Users\moma0061\Videos\dependencies\micromamba\envs\cea\lib\site-packages\cea\api.py", line 38, in script_runner
script_module.main(config)
File "C:\Users\moma0061\Videos\dependencies\micromamba\envs\cea\lib\site-packages\cea\datamanagement\data_initializer.py", line 70, in main
data_initializer(locator=locator,
File "C:\Users\moma0061\Videos\dependencies\micromamba\envs\cea\lib\site-packages\cea\datamanagement\data_initializer.py", line 42, in data_initializer
copy_tree(complete_databases_path, complete_output_directory)
File "C:\Users\moma0061\Videos\dependencies\micromamba\envs\cea\lib\site-packages\setuptools\_distutils\dir_util.py", line 185, in copy_tree
copy_file(
File "C:\Users\moma0061\Videos\dependencies\micromamba\envs\cea\lib\site-packages\setuptools\_distutils\file_util.py", line 163, in copy_file
_copy_file_contents(src, dst)
File "C:\Users\moma0061\Videos\dependencies\micromamba\envs\cea\lib\site-packages\setuptools\_distutils\file_util.py", line 35, in _copy_file_contents
raise DistutilsFileError(
distutils.errors.DistutilsFileError: could not delete 'C:\Users\moma0061\Videos\reference-case-open\TEST0307\test1\inputs\technology\archetypes\CONSTRUCTION_STANDARD.xlsx': Det går inte att komma åt filen eftersom den
används av en annan pro- data-initializer:databases-path = C:\Users\moma0061\Videos\dependencies\micromamba\envs\cea\lib\site-packages\cea\databases\CH
(default: )
- data-initializer:databases = ['archetypes', 'assemblies', 'components']
(default: ['archetypes', 'assemblies', 'components'])
Running data-intializer with scenario = C:\Users\moma0061\Videos\reference-case-open\TEST0307\test1
Running data-intializer with databases located in = C:\Users\moma0061\Videos\dependencies\micromamba\envs\cea\lib\site-packages\cea\databases\CH
Copying databases from C:\Users\moma0061\Videos\dependencies\micromamba\envs\cea\lib\site-packages\cea\databases\CH
Copying databases to C:\Users\moma0061\Videos\reference-case-open\TEST0307\test1\inputs\technology
from cityenergyanalyst.
Hi @moaapplepie
Thanks for raising this.
It looks like it is not a unique case now..
Currently, @reyery tried a few times to replicate the error and we still could not..We will dig into it.
During the installation process, did you select "install for everyone" or "install for me only"?
from cityenergyanalyst.
Hej @ShiZhongming and @reyery.
Thank you for your swift response, and help with this issue! I think I chose "install for me only" :)
from cityenergyanalyst.
Hi,
I think i chose "install for me only" too
from cityenergyanalyst.
My error log is the following:
City Energy Analyst version 3.35.4
Running cea data-initializer
with the following parameters:
- general:scenario = C:\Users\user\Downloads\08032024test\1test
(default: {general:project}{general:scenario-name})
Traceback (most recent call last):
File "C:\Program Files\CityEnergyAnalyst\dependencies\micromamba\envs\cea\lib\site-packages\setuptools_distutils\file_util.py", line 33, in _copy_file_contents
os.unlink(dst)
PermissionError: [WinError 32] Der Prozess kann nicht auf die Datei zugreifen, da sie von einem anderen Prozess verwendet wird: 'C:\Users\user\Downloads\08032024test\1test\inputs\technology\components\CONVERSION.xlsx'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "C:\Program Files\CityEnergyAnalyst\dependencies\micromamba\envs\cea\lib\site-packages\cea\worker.py", line 146, in worker
run_job(config, job, server)
File "C:\Program Files\CityEnergyAnalyst\dependencies\micromamba\envs\cea\lib\site-packages\cea\worker.py", line 108, in run_job
script(config=config, **parameters)
File "C:\Program Files\CityEnergyAnalyst\dependencies\micromamba\envs\cea\lib\site-packages\cea\api.py", line 60, in call
self._runner.call(*args, **kwargs)
File "C:\Program Files\CityEnergyAnalyst\dependencies\micromamba\envs\cea\lib\site-packages\cea\api.py", line 38, in script_runner
script_module.main(config)
File "C:\Program Files\CityEnergyAnalyst\dependencies\micromamba\envs\cea\lib\site-packages\cea\datamanagement\data_initializer.py", line 70, in main
data_initializer(locator=locator,
File "C:\Program Files\CityEnergyAnalyst\dependencies\micromamba\envs\cea\lib\site-packages\cea\datamanagement\data_initializer.py", line 48, in data_initializer
copy_tree(complete_databases_path, complete_output_directory)
File "C:\Program Files\CityEnergyAnalyst\dependencies\micromamba\envs\cea\lib\site-packages\setuptools_distutils\dir_util.py", line 185, in copy_tree
copy_file(
File "C:\Program Files\CityEnergyAnalyst\dependencies\micromamba\envs\cea\lib\site-packages\setuptools_distutils\file_util.py", line 163, in copy_file
_copy_file_contents(src, dst)
File "C:\Program Files\CityEnergyAnalyst\dependencies\micromamba\envs\cea\lib\site-packages\setuptools_distutils\file_util.py", line 35, in _copy_file_contents
raise DistutilsFileError(
distutils.errors.DistutilsFileError: could not delete 'C:\Users\user\Downloads\08032024test\1test\inputs\technology\components\CONVERSION.xlsx': Der Prozess kann nicht auf die Datei zugreifen, da sie von einem anderen Prozess verwendet wird
- data-initializer:databases-path = C:\Program Files\CityEnergyAnalyst\dependencies\micromamba\envs\cea\lib\site-packages\cea\databases\CH
(default: ) - data-initializer:databases = ['archetypes', 'assemblies', 'components']
(default: ['archetypes', 'assemblies', 'components'])
Running data-intializer with scenario = C:\Users\user\Downloads\08032024test\1test
Running data-intializer with databases located in = C:\Program Files\CityEnergyAnalyst\dependencies\micromamba\envs\cea\lib\site-packages\cea\databases\CH
Copying databases from C:\Program Files\CityEnergyAnalyst\dependencies\micromamba\envs\cea\lib\site-packages\cea\databases\CH
Copying databases to C:\Users\user\Downloads\08032024test\1test\inputs\technology
from cityenergyanalyst.
This should be resolved in the new version v3.35.5. Let me know if it is still an issue.
from cityenergyanalyst.
Related Issues (20)
- Radiation error: "Terrain provided does not cover all geometries." HOT 5
- Electric radiator HOT 3
- Energy Demand too low TABULA Germany HOT 5
- Biomass Boiler error - DE TABULA Database HOT 1
- archtypes-mapper IndexError: HOT 2
- Results of CEA UX Research Study’24 - Teaching/Research
- Spaces in Project and Scenario Names are causing problems: we should enforce naming convention rules
- Difference between "individual_PV".csv and PV_total_buildings values. HOT 5
- Optimisation: Multiple Consecutive Runs Mix in Results HOT 1
- An automated archetypes mapper in the background?
- Visualising polygons with z-values using CEA Dashboard's Input Editor
- It's best we relax the formality requirement for user-defined input data for import
- Thermal Network Simulation on Apple Silicon HOT 7
- Error: Building solar radiation (simplified, beta)
- Unable to plot optimization results HOT 2
- Radiation will not run if path has whitespaces and user has no write persmissions to root of disk drive
- CEA installation with .exe reported error and failed
- error runing the demand "TypeError: can only concatenate str (not "float") to str" HOT 2
- surrounding helper distance resets
- KeyError: 'primary_components' when running optimization-new HOT 2
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 cityenergyanalyst.