Comments (9)
π looking
from mage-ai.
So sorry for the inconvenience and issues. Our team is looking at this and will get it resolved ASAP.
Weβll keep you updated on our progress.
from mage-ai.
As far as I can tell this appears to be a bug (?) in jinjas template splitting function which seems to be incompatible with windows "\" directory seperator.
The bug doesn't appear with transformers and sensors since their functions don't use os.path.join(template_folder, 'default.jinja')
but rather generate the path with forward slashes, which don't break jinja (e.g., template_path = 'transformers/default.jinja'
)
I could create an issue in the jinja repo to see if this behavior is intentional, but could also create a PR that fixes the problem regardless of whether this interaction is wanted from jinja's side
from mage-ai.
Wow, thank you so much for figuring out the root cause.
"I could create an issue in the jinja repo to see if this behavior is intentional, but could also create a PR that fixes the problem regardless of whether this interaction is wanted from jinja's side"
^ +1 to that. This would be amazing, thank you so much! π
from mage-ai.
So I've done some digging in the jinja issues and found this thread pallets/jinja#1378 (comment)
To me, it seems like they intend this behavior, meaning that paths that use the split_template_path
function should probably be sanitized (maybe just with a simple path.replace("\\", "/")
?)
from mage-ai.
I have the same issue on windows, did you find a solution? This is quite a problem as you can't create python files from the UI
from mage-ai.
@lucafaggianelli weβre working on this fix, so sorry for the inconvenience.
from mage-ai.
@Travior @lucafaggianelli This bug has been fixed in version 0.7.19. Let us know if you still have template loading issue in windows.
from mage-ai.
PR: #1476
from mage-ai.
Related Issues (20)
- [BUG] Block status when trigger pipelines (DBTs) are wrong
- [BUG] support mssql for metadata db
- HubSpot line items added to HubSpot source
- [BUG] free -t -m command not compatible with Windows shell
- Option to stop slack notifications for pipeline timed out error
- Flexible Dependency Pinning to avoid conflict with user additional dependencies
- [BUG] Path traversal in version control app
- Integrate plugin for GCP/BigQuery that would allow to show lineage inside Bigquery
- [MongoSource] Error reading from MongoDB: Circular reference detected HOT 12
- [BUG] - Pipeline stuck on running status and downstream blocks as "initial" after some blocks fails
- Local python to K8s transformer
- [BUG] - kwargs.get('logger') always print info statements on behalf of first block
- [BUG] Oracle DB data integration not working HOT 2
- Multi-value filters for Status value on pipeline run pages HOT 1
- Add support for Google Dataproc as an executor for PySpark
- [BUG] Pipelines fail in ECS when too many blocks are created at the same time through ecs executor
- A Block Runs page within the UI
- [BUG] : initial status checks doesn't account for lack of jobs/scheduler.. HOT 2
- [BUG] gbk Encoding error HOT 1
- [BUG] - Error when recreating pod with MAGE_BASE_PATH and persistent volume HOT 1
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 mage-ai.