[krita] [Bug 359255] OSX Japanese env: Krita3.0 prealpha assert on startup

2016-06-04 Thread Boudewijn Rempt via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=359255

--- Comment #28 from Boudewijn Rempt  ---
:-)

-- 
You are receiving this mail because:
You are watching all bug changes.


[krita] [Bug 359255] OSX Japanese env: Krita3.0 prealpha assert on startup

2016-06-04 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=359255

--- Comment #27 from guruguru...@outlook.jp ---
krita-9e17aff-3.0.dmg runs fine on Japanese OSX(templates load fine as well)!

-- 
You are receiving this mail because:
You are watching all bug changes.


[krita] [Bug 359255] OSX Japanese env: Krita3.0 prealpha assert on startup

2016-06-03 Thread Boudewijn Rempt via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=359255

Boudewijn Rempt  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |FIXED
 Status|NEEDSINFO   |RESOLVED
  Latest Commit||http://commits.kde.org/krit
   ||a/cc08247b1b6ed65514ae8b84f
   ||fc37019fc744110

--- Comment #26 from Boudewijn Rempt  ---
Git commit cc08247b1b6ed65514ae8b84ffc37019fc744110 by Boudewijn Rempt.
Committed on 03/06/2016 at 06:28.
Pushed by rempt into branch 'krita/3.0'.

See: http://doc.qt.io/qt-5/osx-issues.html which says:

 "Note: When OS X is set to use Japanese, a bug causes
 this sequence to fail and return an empty string.
 Therefore, always test the returned string."

M  +0-2libs/ui/KisOpenPane.cpp
M  +0-2libs/ui/KisTemplateTree.cpp
M  +26   -18   libs/widgetutils/KoResourcePaths.cpp

http://commits.kde.org/krita/cc08247b1b6ed65514ae8b84ffc37019fc744110

-- 
You are receiving this mail because:
You are watching all bug changes.


[krita] [Bug 359255] OSX Japanese env: Krita3.0 prealpha assert on startup

2016-06-02 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=359255

guruguru...@outlook.jp changed:

   What|Removed |Added

  Attachment #99324|0   |1
is obsolete||

--- Comment #25 from guruguru...@outlook.jp ---
Created attachment 99325
  --> https://bugs.kde.org/attachment.cgi?id=99325=edit
newest log

Hi boud. Yes! Now Krita does run, and it runs in Japanese. As you have said,
templates are not working and I see tags are not present(just "all"), but this
is a huge progress :) Thanks so much!
I attach the latest log.

-- 
You are receiving this mail because:
You are watching all bug changes.


[krita] [Bug 359255] OSX Japanese env: Krita3.0 prealpha assert on startup

2016-06-02 Thread Boudewijn Rempt via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=359255

--- Comment #24 from Boudewijn Rempt  ---
Another try: http://www.valdyas.org/~boud/krita-f0cbffc-v3-3.0.dmg (templates
are broken, that's known, but I'm curious how far this will get)

-- 
You are receiving this mail because:
You are watching all bug changes.


[krita] [Bug 359255] OSX Japanese env: Krita3.0 prealpha assert on startup

2016-06-02 Thread Boudewijn Rempt via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=359255

--- Comment #23 from Boudewijn Rempt  ---
Comment on attachment 99324
  --> https://bugs.kde.org/attachment.cgi?id=99324
new log

Thanks! I think we're getting close now -- the workaround for the Japanese OSX
bug in Qt worked, now I just need to make sure not to append the ../../.

-- 
You are receiving this mail because:
You are watching all bug changes.


[krita] [Bug 359255] OSX Japanese env: Krita3.0 prealpha assert on startup

2016-06-02 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=359255

guruguru...@outlook.jp changed:

   What|Removed |Added

  Attachment #99321|0   |1
is obsolete||

--- Comment #22 from guruguru...@outlook.jp ---
Created attachment 99324
  --> https://bugs.kde.org/attachment.cgi?id=99324=edit
new log

Tested the new build: still not finding the preset yet, but here I attach the
new log with more debug outputs.

-- 
You are receiving this mail because:
You are watching all bug changes.


[krita] [Bug 359255] OSX Japanese env: Krita3.0 prealpha assert on startup

2016-06-02 Thread Boudewijn Rempt via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=359255

--- Comment #21 from Boudewijn Rempt  ---
The git sha1 is the same, but it's an updated build.

-- 
You are receiving this mail because:
You are watching all bug changes.


[krita] [Bug 359255] OSX Japanese env: Krita3.0 prealpha assert on startup

2016-06-02 Thread Boudewijn Rempt via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=359255

--- Comment #20 from Boudewijn Rempt  ---
Could you check http://www.valdyas.org/~boud/krita-f0cbffc-3.0.dmg ?

-- 
You are receiving this mail because:
You are watching all bug changes.


[krita] [Bug 359255] OSX Japanese env: Krita3.0 prealpha assert on startup

2016-06-02 Thread Boudewijn Rempt via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=359255

--- Comment #19 from Boudewijn Rempt  ---
http://doc.qt.io/qt-5/osx-issues.html says:

Note: When OS X is set to use Japanese, a bug causes this sequence to fail and
return an empty string. Therefore, always test the returned string.

So that's the issue -- I'll try and find a workaround...

-- 
You are receiving this mail because:
You are watching all bug changes.


[krita] [Bug 359255] OSX Japanese env: Krita3.0 prealpha assert on startup

2016-06-02 Thread Boudewijn Rempt via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=359255

--- Comment #18 from Boudewijn Rempt  ---
Yes, I agree that that's likely the culprit. I'll make the build with more
debug info.

-- 
You are receiving this mail because:
You are watching all bug changes.


[krita] [Bug 359255] OSX Japanese env: Krita3.0 prealpha assert on startup

2016-06-01 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=359255

--- Comment #17 from guruguru...@outlook.jp ---
Created attachment 99321
  --> https://bugs.kde.org/attachment.cgi?id=99321=edit
log file

Tested the build - Krita does seem to find Japanese locale resource, but it
still quits saying "It can't find any presets"
I attach the console log - I still think this line is looking
incorrect(incorrect XDG_DATA_DIRS setting causing preset load fail?):
Setting XDG_DATA_DIRS "/../../share"

-- 
You are receiving this mail because:
You are watching all bug changes.


[krita] [Bug 359255] OSX Japanese env: Krita3.0 prealpha assert on startup

2016-06-01 Thread Boudewijn Rempt via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=359255

--- Comment #16 from Boudewijn Rempt  ---
Could you try

http://www.valdyas.org/~boud/krita-f0cbffc-3.0.dmg

This has the stuff in the Resources folder and the share a link to that. If
that doesn't work, I'll make a version with more debug output.

-- 
You are receiving this mail because:
You are watching all bug changes.


[krita] [Bug 359255] OSX Japanese env: Krita3.0 prealpha assert on startup

2016-06-01 Thread Boudewijn Rempt via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=359255

--- Comment #15 from Boudewijn Rempt  ---
I'll make an instrumented build of krita to test tonight, with more debug
output.

-- 
You are receiving this mail because:
You are watching all bug changes.


[krita] [Bug 359255] OSX Japanese env: Krita3.0 prealpha assert on startup

2016-06-01 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=359255

--- Comment #14 from guruguru...@outlook.jp ---
Hi Boud. Sorry I was testing with both
- copying "share/krita" to "User//Library/Application Support/"
*and*
- copying "share" content to "resources"

When I re-test with deleting "User//Library/Application Support/"
Krita tries to launch in Japanese, yet it fails to load presets and quits.

Anyway, I think I found one suspicious difference  in console log. 
XDG_DATA_DIRS setting seems to be wrong when I'm using Japanese as System
preferred language.

When I'm using Japanese as MacOS language:
Setting XDG_DATA_DIRS "/../../share"

When I switch to English:
Setting XDG_DATA_DIRS "/Applications/krita.app/Contents/share"

-- 
You are receiving this mail because:
You are watching all bug changes.


[krita] [Bug 359255] OSX Japanese env: Krita3.0 prealpha assert on startup

2016-06-01 Thread Boudewijn Rempt via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=359255

--- Comment #13 from Boudewijn Rempt  ---
Hum, that gives exactly the error you were getting, which is not too strange...

-- 
You are receiving this mail because:
You are watching all bug changes.


[krita] [Bug 359255] OSX Japanese env: Krita3.0 prealpha assert on startup

2016-06-01 Thread Boudewijn Rempt via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=359255

--- Comment #12 from Boudewijn Rempt  ---
That is strange... Why would a japanese version of OSX look in a different
place than the US English version? I'll test that change locally, though, and
use it in the next release if it works.

-- 
You are receiving this mail because:
You are watching all bug changes.


[krita] [Bug 359255] OSX Japanese env: Krita3.0 prealpha assert on startup

2016-05-31 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=359255

--- Comment #11 from guruguru...@outlook.jp ---
I found moving all of krita.app/share contents to krita.app/Resource folder
makes Krita work, including UI localization.

-- 
You are receiving this mail because:
You are watching all bug changes.


[krita] [Bug 359255] OSX Japanese env: Krita3.0 prealpha assert on startup

2016-05-31 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=359255

--- Comment #10 from guruguru...@outlook.jp ---
This is still happening on 3.0 on my Mac and there is a report from another
Japanese Krita user on twitter as well.

I tested some more and it seems, Krita is looking at User//Library/Application Support/krita/paintoppresets and says "There is no
preset" and quits.

I copied a preset from the application package(krita.app/share/krita) to
User//Library/Application Support/krita/paintoppresets then Krita
does run - while most of the resources(non QT ui labels etc) are still missing.

So somehow the correct default resources are not being loaded in Japanese
environment and causing this issue.

-- 
You are receiving this mail because:
You are watching all bug changes.


[krita] [Bug 359255] OSX Japanese env: Krita3.0 prealpha assert on startup

2016-04-27 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=359255

--- Comment #9 from guruguru...@outlook.jp ---
This still happens to me with beta.
ASSERT (krita): "allFiles.size() > 0" in file
/Users/boud/dev/krita/libs/ui/KisMainWindow.cpp, line 449

-- 
You are receiving this mail because:
You are watching all bug changes.


[krita] [Bug 359255] OSX Japanese env: Krita3.0 prealpha assert on startup

2016-04-08 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=359255

--- Comment #8 from guruguru...@outlook.jp ---
Testing with Krita3-2.99.89.dmg - a slightly different error message("Krita
cannot find any brush presets! Krita will quit now.") but still can't run.

-- 
You are receiving this mail because:
You are watching all bug changes.


[krita] [Bug 359255] OSX Japanese env: Krita3.0 prealpha assert on startup

2016-03-15 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=359255

--- Comment #7 from guruguru...@outlook.jp ---
Pre-alpha3(krita3-prealpha3-de0d43d.dmg) still does not run on OSX with
Japanese language mode. 
I do see Krita UI displayed, but then Krita shows "Krita cannot find the
configuration file! Krita will quit now" dialog, and it quits right away.

-- 
You are receiving this mail because:
You are watching all bug changes.


[krita] [Bug 359255] OSX Japanese env: Krita3.0 prealpha assert on startup

2016-02-12 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=359255

--- Comment #6 from guruguru...@outlook.jp ---
I think you need to add Japanese in OSX's System Preferences > Language & Text,
then put Japanese to the top of the preferred language list.(If I drag
"English" to the top of the list, crash does not happen)

For reference, similar "OSX Japanese locale crash" issue in other software.  
https://bugzilla.gnome.org/show_bug.cgi?id=683147
https://github.com/translate/virtaal/issues/3109

-- 
You are receiving this mail because:
You are watching all bug changes.


[krita] [Bug 359255] OSX Japanese env: Krita3.0 prealpha assert on startup

2016-02-11 Thread Boudewijn Rempt via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=359255

Boudewijn Rempt  changed:

   What|Removed |Added

 CC||b...@valdyas.org
 Resolution|--- |WAITINGFORINFO
 Status|UNCONFIRMED |NEEDSINFO

--- Comment #2 from Boudewijn Rempt  ---
Hm, I haven't been able to reproduce (though I noticed that the language
selection dialog has gone). That assert means that krita cannot find the xmlgui
file called krita.rc, which should be right there in the bundle. What is the
full path to the bundle when you tested it?

-- 
You are receiving this mail because:
You are watching all bug changes.


[krita] [Bug 359255] OSX Japanese env: Krita3.0 prealpha assert on startup

2016-02-11 Thread Boudewijn Rempt via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=359255

--- Comment #3 from Boudewijn Rempt  ---
Oh, the missing language dialog is simply because there aren't any translations
packaged yet.

-- 
You are receiving this mail because:
You are watching all bug changes.


[krita] [Bug 359255] OSX Japanese env: Krita3.0 prealpha assert on startup

2016-02-11 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=359255

--- Comment #4 from guruguru...@outlook.jp ---
To be clarify, I'm aware Krita3.0 is not having language selection because it
does not have the localized resource. I wanted to point out previous Krita2.9
did have resource loading issues.(Krita2.9 does include language resource, show
language selection, but selected language does not take effect when OSX is
Japanese mode)

To reproduce this, OSX's system language needs to be switched. I was using OSX
in English to workaround Krita2.9 OSX bug, that's why it took me a while to
discover this crash. I saw a Japanese twitter post that says pre-alphas
instantly crash that led me to test it.

I put Krita.app to Application folder...and I see krita.rc is included in the
package(share/krita).

-- 
You are receiving this mail because:
You are watching all bug changes.


[krita] [Bug 359255] OSX Japanese env: Krita3.0 prealpha assert on startup

2016-02-11 Thread Boudewijn Rempt via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=359255

--- Comment #5 from Boudewijn Rempt  ---
Yes, I tried to enable Japanese, but I didn't get the crash yet. I'll check
some more. Coffee first, through :-)

-- 
You are receiving this mail because:
You are watching all bug changes.


[krita] [Bug 359255] OSX Japanese env: Krita3.0 prealpha assert on startup

2016-02-10 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=359255

--- Comment #1 from guruguru...@outlook.jp ---
Created attachment 97142
  --> https://bugs.kde.org/attachment.cgi?id=97142=edit
assert dialog

-- 
You are receiving this mail because:
You are watching all bug changes.