Comments (9)
Fixed in ef21f1b
from stalker.
Mmm, that's weird. I just wanted to read the database (created in Stalker 0.2.17.6) in version 02.18 and got an error. I checked again with opening a database created with Stalker 0.2.15.1 (just to be sure) and got the same error. This is when using db.setup()
. So it seems to do exactly what you would like it to do. Strange that you didn't get this. This is the traceback I got:
----> 1 db.setup()
/Volumes/data/src/project_management/stalker/stalker/db/__init__.py in setup(settings)
70 # check alembic versions of the database
71 # and raise an error if it is not matching with the system
---> 72 check_alembic_version()
73
74 # create the database
/Volumes/data/src/project_management/stalker/stalker/db/__init__.py in check_alembic_version()
213 if current_alembic_version and current_alembic_version != alembic_version:
214 raise ValueError(
--> 215 'Please update the database to version: %s' % alembic_version
216 )
217
ValueError: Please update the database to version: 31b1e22b455e
from stalker.
@fredrikaverpil what is the alembic_version
of the database that you are trying to connect with Stalker 0.2.18.
from stalker.
I don't have access to that database until maybe tomorrow, as I'm working from home due to an Internet outage at our studio. But looking at #51, it should be f2005d1fbadc
.
from stalker.
Is this issue still present, can we close it or does it need further investigation.
from stalker.
I can check today if 0.2.20 can read a 0.2.18 database and will report back.
from stalker.
This issue can be closed!
When attempting to connect to a 0.2.18 db with Stalker 0.2.20, I get this:
Please update the database to version: ed0167fff399
from stalker.
Thanks
from stalker.
I found that upon connecting to an older database, even that Stalker is raising a ValueError
(where it should be raising some database related error) the session remains open, so this issue is not closed yet. I'll commit a fix soon.
from stalker.
Related Issues (20)
- User.password = <str> vs <unicode> HOT 14
- Database created with Python 3.5 cannot be read with Python 2.7 HOT 25
- Error on "alembic upgrade head" HOT 14
- DetachedInstanceError HOT 7
- date_updated attribute off by one hour (we are UTC+1) HOT 7
- "pip install" fails when stalker exists as dependency HOT 2
- Querying all projects, sorted by client name and then by project name HOT 7
- Postgres pubsub for near-realtime updates HOT 10
- Error in main Readme? HOT 1
- Delete a project with tasks and versions HOT 5
- Cockroach db HOT 2
- Help with SQL query HOT 16
- project creation from help file not working anymore HOT 9
- stalker_pyramid 0.1.0.b1 install error HOT 2
- Please, recreate the WorkingHours for all Studio instances! HOT 2
- Require psycopg2-binary rather than psycopg2 HOT 1
- Will Stalker run fine on postgres v11.5? HOT 2
- ``Version.take_name`` should be renamed to ``Version.variant``
- ``Scene`` should derive from ``Task``
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 stalker.