IanniX
                                
                                 IanniX copied to clipboard
                                
                                    IanniX copied to clipboard
                            
                            
                            
                        Saved scores are always 0 bytes
To reproduce:
- open iannix
- draw a curve
- save the score The file size is 0 bytes.
This is on linux, git 46714c2, self compiled.
Is there a Iannix version where saving works? or is there a workarkound, like serializing to json?
Thanks
I'm sorry to ask, but do you recognize it as a bug and do you plan to try to fix it someday? I know time is hard to find to fix bugs, but I can't understand the point of using IanniX if you can't save.
saving works here.
I'm using the version that comes with Debian (0.9.17~dfsg0-3, which is 0.9.17 with some additional patches, most of which have been included in upstream).
If you are using a Debian based distribution (e.g. ubuntu), i'd suggest using the packaged version.
i am experiencing the same saving issues building from source also. this project is really interesting! thanks for sharing. im going be exploring the codebase and will try to grok how to get the save feature working. if you can give me any pointers i would be appreciative!
@jobez which system? which Qt?
i figured it out! @umlaeute i am using nixos, which packaged the executable without preserving a functional location of the template file, which was causing the save issues. making sure the file was where the executable expected remedies the problem :dancer:
@jobez can you be more specific about the template file please? where should it be loacted? Thanks
@cyberic99 IIRC, the template files must be in ./Tools/Templates/, relative to the iannix executable.
both the make install target is quite broken (as it requires a folder /usr/local/bin/Tools/Templates/) and you won't be able to use an out-of-tree build (e.g. if you build in build/, so you end up having an executable IanniX/build/iannix but the templates really live in IanniX/Tools/Templates/ then yo uare out of luck).
see also #22, #23
It really has to look somewhat like:
[email protected]:~/src/IanniX$ ls -l iannix Tools/Templates/
-rwxr-xr-x 1 foobar foobar 3563056 Oct 12 16:29 iannix
Tools/Templates/:
total 24
-rw-r--r-- 1 foobar foobar 16522 May 20 01:02 Cosmosf.txt
-rw-r--r-- 1 foobar foobar  3421 May 20 01:02 _IanniX.txt
Thanks @umlaeute for writing!
I tried copying the Tools/ folder to the right location but that is not enough:
I also need to start the application from the command line from the folder where iannix is found.
If I just run it from QtCreator the Tools folder seem to have no effect, saving produces 0 bytes files and using undo deletes everything (https://github.com/buzzinglight/IanniX/issues/48)