Cache-folder name makes fluid simulation not working #76140

Open
opened 2020-04-27 00:12:41 +02:00 by Nikolaj · 17 comments

System Information
Operating system: Windows-10-10.0.18362-SP0 64 Bits
Graphics card: AMD Radeon R9 200 Series ATI Technologies Inc. 4.5.13586 Core Profile Context 20.1.3 26.20.15015.1007

Blender Version
Broken: version: 2.82 (sub 7), branch: master, commit date: 2020-03-12 05:06, hash: 375c7dc4ca
Worked: (optional)

Short description of error
Cache-folder name makes fluid simulation not working. My blend file (with fluid cache data) was in a folder named badeværelse and the fluid sim didn't work. Changed the folders name to badevaerelse and it worked.

Exact steps for others to reproduce the error
Make folder called "æ" (possibly "ø" and "å" too)
Make a blend file inside it and try to bake liquid sim and use the folder as cache directory for the fluid physics
See how no particles appear when you press bake

**System Information** Operating system: Windows-10-10.0.18362-SP0 64 Bits Graphics card: AMD Radeon R9 200 Series ATI Technologies Inc. 4.5.13586 Core Profile Context 20.1.3 26.20.15015.1007 **Blender Version** Broken: version: 2.82 (sub 7), branch: master, commit date: 2020-03-12 05:06, hash: `375c7dc4ca` Worked: (optional) **Short description of error** Cache-folder name makes fluid simulation not working. My blend file (with fluid cache data) was in a folder named badeværelse and the fluid sim didn't work. Changed the folders name to badevaerelse and it worked. **Exact steps for others to reproduce the error** Make folder called "æ" (possibly "ø" and "å" too) Make a blend file inside it and try to bake liquid sim and use the folder as cache directory for the fluid physics See how no particles appear when you press bake
Author

Added subscriber: @DanteTheDarant

Added subscriber: @DanteTheDarant

#98387 was marked as duplicate of this issue

#98387 was marked as duplicate of this issue
Member

Added subscriber: @ankitm

Added subscriber: @ankitm
Member

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'
Member

Cannot redo on macOS on f346fd3212
Can you try on a build from https://builder.blender.org
Also mention the filename tested.

Cannot redo on macOS on f346fd3212 Can you try on a build from https://builder.blender.org Also mention the filename tested.

Added subscribers: @sebbas, @brecht

Added subscribers: @sebbas, @brecht

Changed status from 'Needs User Info' to: 'Needs Triage'

Changed status from 'Needs User Info' to: 'Needs Triage'

This would be a Windows only bug, since macOS and Linux support UTF-8 by default.

Presumably there is some fopen or fstream usage in Mantaflow that needs to be fixed (see for example BLI_fopen).

This would be a Windows only bug, since macOS and Linux support UTF-8 by default. Presumably there is some `fopen` or `fstream` usage in Mantaflow that needs to be fixed (see for example `BLI_fopen`).

Changed status from 'Needs Triage' to: 'Needs User Info'

Changed status from 'Needs Triage' to: 'Needs User Info'

I just tried this on Windows with the latest master but I am not able to reproduce the issue. There was a problem with filenames in the past (#73770) but that should be fixed.

@DanteTheDarant Can you please try to reproduce the issue with a daily build? If the issue persists, please also upload a simple .blend file.

I just tried this on Windows with the latest master but I am not able to reproduce the issue. There was a problem with filenames in the past (#73770) but that should be fixed. @DanteTheDarant Can you please try to reproduce the issue with a daily build? If the issue persists, please also upload a simple `.blend` file.
Author

Test.zip
I'm sorry I can't test a daily build. Don't know how to bake fluid data (like where is the button) in the new versions and I don't have to time to learn new things now (I know its probably written somewhere but exams)

I have uploaded a zip file with a simple setup in a folder named "TestÆ" (path: E:\TestÆ according to windows.. dunno how it handles the "Æ") . I can reproduce the error by storing the fluid cache folders in "testÆ".
If I change the folder where it stores the cache to for example E:\tempfiles everything works as normal.

Pictures included of the scenario described above.

[Test.zip](https://archive.blender.org/developer/F8498246/Test.zip) I'm sorry I can't test a daily build. Don't know how to bake fluid data (like where is the button) in the new versions and I don't have to time to learn new things now (I know its probably written somewhere but exams) I have uploaded a zip file with a simple setup in a folder named "TestÆ" (path: E:\TestÆ according to windows.. dunno how it handles the "Æ") . I can reproduce the error by storing the fluid cache folders in "testÆ". If I change the folder where it stores the cache to for example E:\tempfiles everything works as normal. Pictures included of the scenario described above.
Nikolaj changed title from Folder name makes fluid simulation not working to Cache-folder name makes fluid simulation not working 2020-04-28 00:38:52 +02:00

@DanteTheDarant Thanks for the test file! On my end it seems to work fine. Question: When using "testÆ" as the cache directory, are there just no particles in the viewport or are there also no cache files being generated?

On a slightly related note, I discovered that having trailing whitespace characters in the cache directory gives a crash on Windows.

@DanteTheDarant Thanks for the test file! On my end it seems to work fine. Question: When using "testÆ" as the cache directory, are there just no particles in the viewport or are there also no cache files being generated? On a slightly related note, I discovered that having trailing whitespace characters in the cache directory gives a crash on Windows.

Also, it would be great if other people on Windows could test the issue with the latest master!

Also, it would be great if other people on Windows could test the issue with the latest master!

Changed status from 'Needs User Info' to: 'Confirmed'

Changed status from 'Needs User Info' to: 'Confirmed'

Was able to confirm the issue!

Was able to confirm the issue!

Mantaflow (fluid simulator) has no active developer at the moment. Moving those bugs as known issues so at least other users can find their issues already reported.

Mantaflow (fluid simulator) has no active developer at the moment. Moving those bugs as known issues so at least other users can find their issues already reported.
Member

Added subscribers: @Zelmoth, @PratikPB2123

Added subscribers: @Zelmoth, @PratikPB2123
Philipp Oeser removed the
Interest
Nodes & Physics
label 2023-02-10 08:46:50 +01:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
7 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#76140
No description provided.