Comments (9)
It looks like I get either an invalid start byte
or invalid continuation byte
any time I inadvertently scroll up past the top of the text, whether it's in the main view, or in the About text view.
from oe2ssle.
Hello,
thank you for your report.
I do not have a Mac, so it is difficult for me to test this code on MacOS.
It seems that you were doing correctly.
I identified 2 issues related to you comment:
- the first one is the fact that the Open/Import functions were not working
- the second one is the fact that mouse scroll makes the application crash
I performed two commits:
- the first one bb0e376 is fixing an issue on MacOs X (and probably on Linux x64: I do not have checked that application is working on linux yet). I use
struct
module to load and save binary data. I was not familiar with this and assumed that unsigned long int ('L'
format string) were 32bits (as on windows, and as indicated in the python struct documentation). But reading in more details the documentation, it says that
"By default, C types are represented in the machine’s native format and byte order, and properly aligned by skipping pad bytes if necessary (according to the rules used by the C compiler).". And on Linux x64, and it seems as well as on MacOs X, C type unsigned long int are 64bits. So, I replaced unsigned long int by int ('I'
format string) to have 32bits values.
It would solve the first issue. - the second one 3c873cb is temporarily disabling the possibility to use mouse scroll on MacOS. It would solve the second issue. I'll try to investigate and I'll restore the mouse scrolling when I'll have found a solution. But until then the application should be usable now on MacOS
from oe2ssle.
Thanks for these fixes. I'm able to run the app successfully without the crashes now, but I'm running into another issue now, and that's that the window just goes mostly black (except for the corners) after I attempt to load a .all
file.. Nothing shows up in the terminal, so I'm not sure what to do to attempt to debug this further
from oe2ssle.
It's possible that this issue is what's mentioned on the python page for tkinter
Particularly:
If you are using OS X 10.9 Mavericks and a Python from a python.org 64-bit/32-bit installer, application windows may not update properly due to a Tk problem.
from oe2ssle.
Well, installing 8.5.18.0 didn't solve the problem, nor did installing 8.6, and the whole thing is crashing when I try to set a breakpoint inside of a UI handler. Unfortunately, I'm not sure if I know enough about tkinter
to know where else to look on this one.
from oe2ssle.
Adding a sample .all
file here so that I can point to it when I ask a question about this on Stack Overflow.
from oe2ssle.
I think I have found the problem of the black screen. I realized that I had the same problem as you when using your file (but not using the ones I generated myself). There was a problem with character encoding of the sample name.
Check commit 99a3e1a that should fix it.
from oe2ssle.
The mouse scroll seems to work properly, now.
I restored it.
from oe2ssle.
The Unicode Decode Error issue is still present on some versions of MacOS when scrolling with mouse.
A solution is as you pointed out, and as also detailed here: https://www.python.org/download/mac/tcltk/
to install ActiveTcl 8.5.18.0, and an official release of python (version 3.5.3 for instance) that is linking to this version of tcl/tk.
from oe2ssle.
Related Issues (20)
- Unhandled exception when increasing sample number HOT 1
- App crashes when playing a sample while another sample is still playing HOT 1
- Add smpl chunk to RIFF when exporting HOT 6
- Slice points are wrong if you have a not zero start point HOT 1
- Add options for import and export of samples HOT 1
- Error importing single cycle waveforms HOT 5
- MacOSX / Usage of pad scrolling crashes Oe2SLE HOT 7
- Stereo checkbox won't update until panel scrolled HOT 3
- Windows binary is blocked by Antivirus HOT 4
- exporting an one individual wavs HOT 2
- Crash on window scroll HOT 1
- Number gaps between samples HOT 4
- The receiver jonathan.taquet<AT>gmail.com does not accept payments in this Currency HOT 2
- pledgie.com link dead in README HOT 1
- Crop sample HOT 4
- Donation link doesn't work HOT 3
- not sure if i've messed up my install or can't compile HOT 1
- Warn for unwanted electribe behavior
- How to store cue points in .wav for sliced loops? (e.g. for auto slicing) HOT 1
- Error message:\'int' object is not iterable. HOT 6
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 oe2ssle.