Comments (9)
Please, go to the location where nodezator is installed and inside the "nodezator" folder there should be a "logs" folder with the logs from your session.
from nodezator.
Please, also try, to update your installation using pip install --upgrade nodezator
(in my machine it only works when called 02 times), or download from github again, if you didn't install). Then, try the same steps you made again. This time a dialog should appear instead of the app crashing.
If you locate the logs upload them here so I can take a look, please.
from nodezator.
Updating to 1.0.5 allows selecting a filepath on Windows. Thanks!
from nodezator.
Oh, really? That's great news! May I close this issue then?
from nodezator.
Actually, I'm getting an error:
which then says:
So I guess I need a UTF8 text file --- perhaps that requirement should be made a part of the node?
from nodezator.
I believe I get the problem now. The node is fine, it even has a field where you can specify the encoding. The problem is that the widget has to load the file in order to show you a preview and it does so using a 'utf-8' encoding. To solve this I guess I'll have to either analyse the file and then choose the appropriate encoding used to load it for the preview or just keep using the utf-8 encoding by use a more lenient loading method that ignore unicode errors (the pathlib.Path.read_text() method has a parameter to allow this if I'm not mistaken).
I'll look into this right away and upload a new patch.
from nodezator.
Ok, please, try updating your Nodezator version to 1.0.6 now, and repeat the steps that led to your original problem. See if no errors are raised anymore.
Also, if the text is previewed in the widget, click the preview and see if the file is displayed in the text viewer inside the app, some characters should probably not render well, but apart from that it should be fine.
from nodezator.
That worked!
I'd suggest making the encoding entry a pop-up, and having the program determine the valid options and only afford them.
from nodezator.
Yes, setting the errors parameter to ignore encoding errors was just a stopgap measure to prevent the app to crash on the users and allow them to keep working. I'll think of a better solution. and put this problem in my to-do list.
Since I believe the problem (crashing) was solved, if you don't mind I'll be closing this issue.
from nodezator.
Related Issues (20)
- corrupted file loading handling HOT 2
- crash while selecting HOT 2
- 'PathObject' object has no attribute 'text' HOT 5
- Temporary broken Python exporting HOT 1
- Overlapping submenu drawing HOT 1
- Documentation doesn't clearly explain how to get started quickly HOT 4
- Crash when clicking on read_text_file when no file is selected HOT 5
- Feature: Reload local nodes HOT 1
- Can't freely input text in widgets from `eval` nodes HOT 3
- Confusion on installing node packages HOT 2
- pygame version to be used HOT 2
- Performance: Font caching redundantly executing Font.size() HOT 6
- Unable to execute the graph HOT 3
- Inconsistent category folder handling HOT 2
- Same class but imported twice from different nodes will not be recognized as same HOT 6
- Script viewing can't handle TAB characters HOT 1
- Dialogs can overflow the screen HOT 5
- Restart is needed after installing/changing editable packages HOT 2
- Classes with inheritance as main_callable will be called with the parent __init__, not the overriden one. HOT 3
- Unable to delete any connection HOT 5
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 nodezator.