Re: Printing with CUPS seems to be broken within the GNUstep apps

2018-07-08 Thread Yavor Doganov
В Sun, 08 Jul 2018 19:26:02 +0200, Patrick CARDONA написа:

>> Ink[9530:9530] Loaded printing bundle at
>> /usr/lib/GNUstep/Bundles/GSPrinting/GSCUPS.bundle 2018-07-08
>> 18:55:03.940 Ink[9530:9530] The default printer name is
>> EPSON-XP-510-Series

> But the Print panel still don't show up...

Very odd... it seems like some method does not return or it gets stuck 
somewhere.  Could you please run it again like this:

$ Ink --GNU-Debug=NSPrinting

(No need to prepend "openapp" since the executable, or at least a symlink 
pointing to it, is in your PATH.)


___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep


Re: TextEdit : critical error prevents loading

2018-07-08 Thread Yavor Doganov
В Sun, 08 Jul 2018 18:08:09 +0200, Patrick CARDONA написа:

> When I try to start TextEdit, a critical error message is shown :
> 
> "NSInvalidArgumentException: Tried to add nil to array"

You didn't specify the version of TextEdit, I assume it is 5.0-2?
Does it happen if you move ~/GNUstep/Defaults/TextEdit.plist away?  If it 
doesn't, it is a bug that I attempted to fix (migrating some defaults to 
the new types) but apparently the fix is not complete.

If you still get the exception, this could be related to your printing 
problem since TextEdit does setup printing on startup (unlike Ink). Could 
you please install gdb, libgnustep-base1.25-dbgsym, libgnustep-gui0.26-
dbgsym, textedit.app-dbgsym, libobjc4-dbg and run the app like this (in a 
terminal):

$ gdb TextEdit
(gdb) break -[NSException raise]
...Answer "y" to the question...
(gdb) r

When you get back to the gdb prompt, type "bt" and send the output.
Thanks.


___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep


Re: Printing with CUPS seems to be broken within the GNUstep apps

2018-07-08 Thread Patrick CARDONA
Hi Yavor,

First, thanks for the quick answer.
I did what You suggested, et I got good info about the dialog with CUPS :

> $ openapp Ink --GNU-Debug=GSPrinting --GNU-Debug=GSCSP
> 2018-07-08 18:54:05.099 Ink[9530:9530] styleoffsets ... guessing offsets
> 2018-07-08 18:54:05.101 Ink[9530:9530] styleoffsets ... guessing offsets
> 2018-07-08 18:55:03.805 Ink[9530:9530] Bundle has not been loaded.  Loading 
> in progress...
> 2018-07-08 18:55:03.807 Ink[9530:9530] User did not set a printing bundle, 
> trying till something works
> 2018-07-08 18:55:03.807 Ink[9530:9530] Looking for GSCUPS.bundle
> 2018-07-08 18:55:03.821 Ink[9530:9530] Loaded printing bundle at 
> /usr/lib/GNUstep/Bundles/GSPrinting/GSCUPS.bundle
> 2018-07-08 18:55:03.940 Ink[9530:9530] The default printer name is 
> EPSON-XP-510-Series
>

But the Print panel still don't show up...

On 2018-07-08 17:58:11 +0200 Yavor Doganov  wrote:

> В Sun, 08 Jul 2018 17:45:45 +0200, Patrick CARDONA написа:
> 
>> - My context :
>> OS : GNU/Linux Ubuntu 18.04 (LTS)
>> WM : WindowMaker GNUstep - All packages from the official deb packages
>> of that distro :
>> Base : 1.25.1 Gui & Back : 0.26.2-3 Make : 2.7.0-3
> 
> Strange; I cannot reproduce on Debian unstable with approximately the same 
> versions (only -back is 0.26.2-4 but it has unrelated changes).
> 
>> Any Idea ?
> 
> Try running Ink with --GNU-Debug=GSPrinting or perhaps additionally with 
> --GNU-Debug=GSCUPS and see what it prints.
> 
> 
> ___
> Discuss-gnustep mailing list
> Discuss-gnustep@gnu.org
> https://lists.gnu.org/mailman/listinfo/discuss-gnustep
> 


___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep


TextEdit : critical error prevents loading

2018-07-08 Thread Patrick CARDONA

Hi All,

When I try to start TextEdit, a critical error message is shown :

"NSInvalidArgumentException: Tried to add nil to array"

And then, I must stop the app.

So, is TextEdit actually used by any of You ?

- My context :
OS : GNU/Linux Ubuntu 18.04 (LTS)
WM : WindowMaker
GNUstep - All packages from the official deb packages of that distro :
Base : 1.25.1
Gui & Back : 0.26.2-3
Make : 2.7.0-3

Bye !
Patrick


___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep


Re: Printing with CUPS seems to be broken within the GNUstep apps

2018-07-08 Thread Yavor Doganov
В Sun, 08 Jul 2018 17:45:45 +0200, Patrick CARDONA написа:

> - My context :
> OS : GNU/Linux Ubuntu 18.04 (LTS)
> WM : WindowMaker GNUstep - All packages from the official deb packages
> of that distro :
> Base : 1.25.1 Gui & Back : 0.26.2-3 Make : 2.7.0-3

Strange; I cannot reproduce on Debian unstable with approximately the 
same versions (only -back is 0.26.2-4 but it has unrelated changes).

> Any Idea ?

Try running Ink with --GNU-Debug=GSPrinting or perhaps additionally with 
--GNU-Debug=GSCUPS and see what it prints.


___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep


Printing with CUPS seems to be broken within the GNUstep apps

2018-07-08 Thread Patrick CARDONA

Hi All,

- General description :
When I try to print a document from any GNUstep app, the "print" menu 
is highlighted, but nothing happens... The Print panel is never shown. 
No error message.
Cups printing is working well with others apps (ImageMagick, 
Firefox...) but not in GNUstep.


- Steps to reproduce :
1) openapp GWorkspace
2) Select a .txt document in the FileViewer
3) Main menu : "print" or #p

IDEM with Ink :
1) openapp Ink
2) Open a txt document (#o)
3) When the document is loaded, main menu : "print" or #p

I tried to find a test in GSTest, but I did not find any matching the 
printing process.


- My context :
OS : GNU/Linux Ubuntu 18.04 (LTS)
WM : WindowMaker
GNUstep - All packages from the official deb packages of that distro :
Base : 1.25.1
Gui & Back : 0.26.2-3
Make : 2.7.0-3

Any Idea ?

Bye !

P.S. : I apologize my bad english. I hope to be clear enough.


___
Discuss-gnustep mailing list
Discuss-gnustep@gnu.org
https://lists.gnu.org/mailman/listinfo/discuss-gnustep