Comments (5)
I'm not sure this will work as described above. Windows will probably complain about PermissionError or similar if you try and update the same files that are currently in memory.
However, I can see this working if the Help->Update Toolbox
button first closes toolbox, and then updates the Git files.
from spine-toolbox.
Windows will probably complain about PermissionError or similar if you try and update the same files that are currently in memory.
I think Python actually uses the .pyc
files while running so the .py
files should remain modifiable.
That being said, I believe many updaters are actually separate programs from the main one so perhaps that is what we need to implement in the end as well.
from spine-toolbox.
I think we had this feature a long long time ago. I don't remember if we updated the whole spine toolbox or just some part of it. I think it was dropped because it did not work reliably on Windows, so that's why I'm a bit hesitant with this one. @manuelma may remember more?
That being said, I believe many updaters are actually separate programs from the main one so perhaps that is what we need to implement in the end as well.
Good point. Maybe this approach works better than what we previously had.
from spine-toolbox.
The big picture here is that once we can update Toolbox from within itself (maybe using a separate updater), we could try to implement an installer that would install the latest Toolbox (Git head or latest version tag). If Toolbox was able to update itself, we would not need to release updates to the installer, at least not too often.
from spine-toolbox.
Some application updater frameworks readily exist for Python, for example tufup. PyUpdater, on the other hand, seems to have become unmaintained.
from spine-toolbox.
Related Issues (20)
- Entity groups for N-D entity classes HOT 1
- Toolbox silent exit when refreshing DB
- Activating and deactivating scenario filters in db breaks graph view
- QSpinBoxes are unusable on Win11 HOT 1
- Default Python on bundled app should point to the embedded Python HOT 1
- Ship a Python kernel with the bundled app HOT 1
- Entity tree clears when adding new entity
- Spine-engine update fails in subprocess HOT 12
- Error on commit after removing alternative from scenario
- Importer does not import metadata
- Results database does not show parameter values HOT 1
- Importer specification with individual cells HOT 2
- Disappearing importer specifications
- Dock widgets not visisible HOT 9
- Jupyter Consoles do not work in the bundled app HOT 2
- Traceback when entity item is selected and imported with purge
- Traceback when stopping tool execution
- Support numpy 2.0
- Get rid of all hamburger menus HOT 1
- Clear all filters doesn't reset checked state of items in dialog
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 spine-toolbox.