• PabloDraw Linux

    From Black Panther@21:1/186 to All on Wed Dec 5 02:53:46 2018
    Hi All,

    So, I've been trying to do a little ANSI work, and for some reason PabloDraw
    is giving me problems. It will let me open the file, but when I go to edit
    it, the program crashes and I get the following:

    snip<=-

    Unhandled Exception:
    System.TypeInitializationException: The type initializer for 'System.Console' threw and exception. ---> System.TypeInitializationException: The type initializer for 'System.ConsoleDriver' threw an exception. ---> System. Exception: Magic number is wrong: 542

    snip<=-

    This was followed by a full screen of info, but...

    How can my magic number be wrong? Why do I have a magic number? :)

    Has anyone else seen this? I can run it fine on the Windows system, but I'd prefer to run it on this Linux system...


    ---

    Black Panther(RCS)
    a.k.a. Dan Richter
    Sysop - Castle Rock BBS
    telnet://bbs.castlerockbbs.com
    http://www.castlerockbbs.com
    The sparrows are flying again....

    --- Mystic BBS v1.12 A39 2018/04/21 (Linux/64)
    * Origin: Castle Rock BBS - bbs.castlerockbbs.com (21:1/186)
  • From apam@21:1/125 to Black Panther on Wed Dec 5 20:00:24 2018
    This was followed by a full screen of info, but...

    How can my magic number be wrong? Why do I have a magic number? :)

    Has anyone else seen this? I can run it fine on the Windows system,
    but I'd prefer to run it on this Linux system...

    PabloDraw crashes all the time on Linux, and most of the time on MacOS,
    it's really only stable on windows.

    Somethings I could do and make it crash, like click and drag backwards,
    other times it just randomly crashed. Maybe it depends on a particular
    version of mono as I think Pablodraw hasn't been updated in a while.

    I know I'd prefer to use it on Linux too, but you'll get much less
    frustration on windows.

    Andrew

    --- MagickaBBS v0.12alpha (Linux/x86_64)
    * Origin: The Fat Sandwich - sandwich.hopto.org:2023 (21:1/125)
  • From Vk3jed@21:1/109 to apam on Wed Dec 5 23:02:00 2018
    On 12-05-18 15:00, apam wrote to Black Panther <=-

    I know I'd prefer to use it on Linux too, but you'll get much less frustration on windows.

    I was going to suggest trying Windows as well. :)


    ... "Do you, Sysop, take this BBS, to be your wedded spouse?"
    === MultiMail/Win v0.51
    --- SBBSecho 3.03-Linux
    * Origin: Freeway BBS Bendigo,Australia freeway.apana.org.au (21:1/109)
  • From xqtr@21:1/111 to Black Panther on Wed Dec 5 22:20:15 2018
    So, I've been trying to do a little ANSI work, and for some reason PabloDraw is giving me problems. It will let me open the file, but when
    I go to edit it, the program crashes and I get the following:

    Same thing here... on a fresh install of lubuntu 18.10 with lxqt. But in my previous system with lubuntu 16.04 was working fine. :(

    .----- --- -- -
    | Another Droid BBS
    : Telnet : andr01d.zapto.org:9999 [UTC 11:00 - 20:00]
    . Contact : xqtr@gmx.com

    --- Mystic BBS v1.12 A39 2018/04/21 (Raspberry Pi/32)
    * Origin: Another Droid BBS # andr01d.zapto.org:9999 (21:1/111)
  • From Black Panther@21:1/186 to xqtr on Wed Dec 5 22:31:46 2018
    xqtr wrote to Black Panther <=-

    So, I've been trying to do a little ANSI work, and for some reason PabloDraw is giving me problems. It will let me open the file, but when
    I go to edit it, the program crashes and I get the following:

    Same thing here... on a fresh install of lubuntu 18.10 with lxqt. But
    in my previous system with lubuntu 16.04 was working fine. :(

    It seemed to work alright here under Ubuntu 18.04. It was after upgrading to 18.10 that I started having some issues with a few programs I was using... :(



    ---

    Black Panther
    A.K.A. - Dan Richter
    Sysop - Castle Rock BBS
    telnet://bbs.castlerockbbs.com
    http://www.castlerockbbs.com
    The sparrows are flying again...


    ... The BBS that boldly goes. We haven't figured out where yet...

    ___ MultiMail/Linux v0.51

    --- Mystic BBS/QWK v1.12 A39 2018/04/21 (Linux/64)
    * Origin: Castle Rock BBS - bbs.castlerockbbs.com (21:1/186)
  • From Black Panther@21:1/186 to apam on Wed Dec 5 23:20:58 2018
    On 12/05/18, apam said the following...

    Somethings I could do and make it crash, like click and drag backwards, other times it just randomly crashed. Maybe it depends on a particular version of mono as I think Pablodraw hasn't been updated in a while.

    This made me check to see what version of mono I had on here...

    mono --version
    Mono JIT compiler version 4.6.2 (Debian 4.6.2.7+dfsg-1ubuntu1)
    Copyright (C) 2002-2014 Novell, Inc, Xamarin Inc and Contributors. www.mono-project.com

    So, I went to their website, and found the current version to be 5.16.0.220 Stable. I'm wondering if perhaps an upgrade might help...

    I know I'd prefer to use it on Linux too, but you'll get much less frustration on windows.

    That would leave me with two options. Running on the Win7 system, or the Win7 VM on this system...


    ---

    Black Panther(RCS)
    a.k.a. Dan Richter
    Sysop - Castle Rock BBS
    telnet://bbs.castlerockbbs.com
    http://www.castlerockbbs.com
    The sparrows are flying again....

    --- Mystic BBS v1.12 A39 2018/04/21 (Linux/64)
    * Origin: Castle Rock BBS - bbs.castlerockbbs.com (21:1/186)
  • From xqtr@21:1/111 to Black Panther on Thu Dec 6 10:18:30 2018
    So, I've been trying to do a little ANSI work, and for some reason PabloDraw is giving me problems. It will let me open the file, but wh I go to edit it, the program crashes and I get the following:
    Same thing here... on a fresh install of lubuntu 18.10 with lxqt. But in my previous system with lubuntu 16.04 was working fine. :(
    It seemed to work alright here under Ubuntu 18.04. It was after
    upgrading to 18.10 that I started having some issues with a few programs
    I was using... :(

    I didn't notice what version of PabloDraw i was using in my old system, so i can't tell if the problem is in Ubuntu or Pablo. If PB hasn't been updated for a while.. then its Ubuntu's problem.

    Nevertheless, in 2018, we shouldn't depend on a Windows/Mono program to view/edit ANSI files :( I haven't used Wine for a long time and i was forced to, to use some ANSI viewers/editors.

    I have started making a simple ANSI viewer for my self, in Linux with Lazarus/Freepascal. If and when i have it on a certain level, i will release
    it for others too.

    .----- --- -- -
    | Another Droid BBS
    : Telnet : andr01d.zapto.org:9999 [UTC 11:00 - 20:00]
    . Contact : xqtr@gmx.com

    --- Mystic BBS v1.12 A39 2018/04/21 (Raspberry Pi/32)
    * Origin: Another Droid BBS # andr01d.zapto.org:9999 (21:1/111)
  • From Black Panther@21:1/186 to xqtr on Thu Dec 6 23:23:17 2018
    On 12/06/18, xqtr said the following...

    I didn't notice what version of PabloDraw i was using in my old system,
    so i can't tell if the problem is in Ubuntu or Pablo. If PB hasn't been updated for a while.. then its Ubuntu's problem.

    I'm thinking it's an issue with Ubuntu, as PabloDraw hasn't been updated
    since 2013...

    Nevertheless, in 2018, we shouldn't depend on a Windows/Mono program to view/edit ANSI files :( I haven't used Wine for a long time and i was forced to, to use some ANSI viewers/editors.

    I use wine occasionally here, but not too often.

    I have started making a simple ANSI viewer for my self, in Linux with Lazarus/Freepascal. If and when i have it on a certain level, i will release it for others too.

    I would love to help you test it out, if needed. :)


    ---

    Black Panther(RCS)
    a.k.a. Dan Richter
    Sysop - Castle Rock BBS
    telnet://bbs.castlerockbbs.com
    http://www.castlerockbbs.com
    The sparrows are flying again....

    --- Mystic BBS v1.12 A39 2018/04/21 (Linux/64)
    * Origin: Castle Rock BBS - bbs.castlerockbbs.com (21:1/186)
  • From apam@21:1/125 to Black Panther on Fri Dec 7 18:02:10 2018
    On 12/06/18, xqtr said the following...

    I didn't notice what version of PabloDraw i was using in my old s
    so i can't tell if the problem is in Ubuntu or Pablo. If PB hasn' updated for a while.. then its Ubuntu's problem.

    I'm thinking it's an issue with Ubuntu, as PabloDraw hasn't been
    updated since 2013...

    The problem is with PabloDraw, (or more specifically PabloDraw
    incompatibility with more recent mono) and to put my money where my mouth
    is, I tried to fix it.

    My version will only work on windows and Linux (No macos support). It
    seems to run fine with OpenSUSE with mono 5.10.

    I've upgraded all the libraries it depended upon. The server / client
    part may or may not work (It depends on Mono.Nat which has had some
    changes since PabloDraw was written).

    I'll upload it to your BBS, It's just an exe file in a zip file, if you
    can verify it works with Ubuntu, (Ubuntu has an outdated mono), that
    would be good.

    Andrew



    --- MagickaBBS v0.12alpha (Linux/x86_64)
    * Origin: The Fat Sandwich - sandwich.hopto.org:2023 (21:1/125)
  • From apam@21:1/125 to Black Panther on Fri Dec 7 18:09:20 2018
    My version will only work on windows and Linux (No macos support). It
    seems to run fine with OpenSUSE with mono 5.10.

    Actually it's not working entirely, the menu commands aren't working via
    their shortcuts - you have to use the menus. Not sure if that's because
    of using gtk-sharp3 instead of gtk-sharp2 I'll look into it.

    Andrew

    --- MagickaBBS v0.12alpha (Linux/x86_64)
    * Origin: The Fat Sandwich - sandwich.hopto.org:2023 (21:1/125)
  • From Black Panther@21:1/186 to apam on Fri Dec 7 01:16:21 2018
    On 12/07/18, apam said the following...

    I'll upload it to your BBS, It's just an exe file in a zip file, if you can verify it works with Ubuntu, (Ubuntu has an outdated mono), that
    would be good.

    Thank you. I gave it a try on the Ubuntu 18.10 system, and got this:

    snip<=-

    Unhandled Exception:
    System.InvalidOperationException: Could not detect platform. Are you missing a platform assembly?
    at Eto.Platform.get_Detect () [0x000d5] in <6384df4c00ec4832a975dd38dbadfffd>:0
    at PabloDraw.Program.Run () [0x001bb] in
    <0427025fe1684ac9bdf9ef4b313f1a8c>:0
    at PabloDraw.Startup.Main () [0x0000d] in <0427025fe1684ac9bdf9ef4b313f1a8c>:0
    [ERROR] FATAL UNHANDLED EXCEPTION:
    System.InvalidOperationException: Could not detect platform. Are you missing
    a platform assembly?
    at Eto.Platform.get_Detect () [0x000d5] in <6384df4c00ec4832a975dd38dbadfffd>:0
    at PabloDraw.Program.Run () [0x001bb] in
    <0427025fe1684ac9bdf9ef4b313f1a8c>:0
    at PabloDraw.Startup.Main () [0x0000d] in <0427025fe1684ac9bdf9ef4b313f1a8c>:0

    snip<=-

    I wonder if I try to upgrade to a newer version of mono...


    ---

    Black Panther(RCS)
    a.k.a. Dan Richter
    Sysop - Castle Rock BBS
    telnet://bbs.castlerockbbs.com
    http://www.castlerockbbs.com
    The sparrows are flying again....

    --- Mystic BBS v1.12 A39 2018/04/21 (Linux/64)
    * Origin: Castle Rock BBS - bbs.castlerockbbs.com (21:1/186)
  • From apam@21:1/125 to Black Panther on Fri Dec 7 18:18:13 2018
    On 12/07/18, apam said the following...

    I'll upload it to your BBS, It's just an exe file in a zip file,
    can verify it works with Ubuntu, (Ubuntu has an outdated mono), t would be good.

    Thank you. I gave it a try on the Ubuntu 18.10 system, and got this:

    try sudo apt-get install gtk-sharp3

    I didn't compile it with gtk-sharp2 support which the old version uses

    Andrew

    --- MagickaBBS v0.12alpha (Linux/x86_64)
    * Origin: The Fat Sandwich - sandwich.hopto.org:2023 (21:1/125)
  • From Black Panther@21:1/186 to apam on Fri Dec 7 01:47:19 2018
    On 12/07/18, apam said the following...

    Thank you. I gave it a try on the Ubuntu 18.10 system, and got this:

    try sudo apt-get install gtk-sharp3

    That seemed to do it. It working almost 100% now. There are still a few ANSI screens, when I try to view them, PB will throw an error message that starts with the 'magic number' being wrong. At least it doesn't crash the program
    like it did before.

    Great job!


    ---

    Black Panther(RCS)
    a.k.a. Dan Richter
    Sysop - Castle Rock BBS
    telnet://bbs.castlerockbbs.com
    http://www.castlerockbbs.com
    The sparrows are flying again....

    --- Mystic BBS v1.12 A39 2018/04/21 (Linux/64)
    * Origin: Castle Rock BBS - bbs.castlerockbbs.com (21:1/186)
  • From Apam@21:1/125.1 to Black Panther on Fri Dec 7 18:52:51 2018
    Re: Re: PabloDraw Linux
    By: Black Panther to apam on Thu Dec 06 2018 08:47 pm

    That seemed to do it. It working almost 100% now. There are still a few ANSI screens, when I try to view them, PB will throw an error message that starts with the 'magic number' being wrong. At least it doesn't crash the program like it did before.

    Hmm, would it be possible to send me those ansis? I can have a look and see if I can fix it.

    No promises though, it's a pretty complex program lol

    Andrew
    --- SBBSecho 3.06-Linux
    * Origin: The Positronic Brain - SBBS Test BBS (21:1/125.1)
  • From Black Panther@21:1/186 to Apam on Fri Dec 7 02:20:50 2018
    On 12/07/18, Apam said the following...

    Hmm, would it be possible to send me those ansis? I can have a look and see if I can fix it.

    I just uploaded them to The Fat Sandwich. What I just noticed though, is if I get the error message, then try another file, then go back to the one that
    gave the error, it will load. (I hope that made sense...) :)

    No promises though, it's a pretty complex program lol

    You've already done more than expected... Much appreciated... :)


    ---

    Black Panther(RCS)
    a.k.a. Dan Richter
    Sysop - Castle Rock BBS
    telnet://bbs.castlerockbbs.com
    http://www.castlerockbbs.com
    The sparrows are flying again....

    --- Mystic BBS v1.12 A39 2018/04/21 (Linux/64)
    * Origin: Castle Rock BBS - bbs.castlerockbbs.com (21:1/186)
  • From Apam@21:1/125.1 to Black Panther on Fri Dec 7 19:34:35 2018
    Re: Re: PabloDraw Linux
    By: Black Panther to Apam on Thu Dec 06 2018 09:20 pm

    I just uploaded them to The Fat Sandwich. What I just noticed though, is if I get the error message, then try another file, then go back to the one that gave the error, it will load. (I hope that made sense...) :)

    Yeah that makes sense. It seems to happen with the Copy and Move commands too, if I select an area and select Copy from the menu, next time the C shortcut will work.

    Strangley all those ANSI files worked fine for me, so that screenshot will be helpful, thankyou.

    You've already done more than expected... Much appreciated... :)

    No worries, thanks to the guy who wrote it for making it opensource.

    Andrew
    --- SBBSecho 3.06-Linux
    * Origin: The Positronic Brain - SBBS Test BBS (21:1/125.1)
  • From apam@21:1/125 to Black Panther on Fri Dec 7 19:38:44 2018
    That seemed to do it. It working almost 100% now. There are still a
    few ANSI screens, when I try to view them, PB will throw an error
    message that starts with the 'magic number' being wrong. At least it doesn't crash the program like it did before.

    A quick google.. apparently that's a mono bug. To get around it type:

    export TERM=xterm
    mono PabloDraw.exe

    Hope that helps.

    Andrew

    --- MagickaBBS v0.12alpha (Linux/x86_64)
    * Origin: The Fat Sandwich - sandwich.hopto.org:2023 (21:1/125)
  • From Black Panther@21:1/186 to apam on Fri Dec 7 03:01:11 2018
    On 12/07/18, apam said the following...

    A quick google.. apparently that's a mono bug. To get around it type:

    export TERM=xterm
    mono PabloDraw.exe

    Hope that helps.

    That did help. I added that to the startup script I wrote for PB, and just
    went through the entire mystic/text directory, and was able to view every
    ANSI file.

    I also just found something interesting about PB. I didn't know it was able
    to view JPG and GIF files... I hit one on accident, and it displayed it...
    How awesome is that... :) It doesn't let you edit them though...

    Thanks again,


    ---

    Black Panther(RCS)
    a.k.a. Dan Richter
    Sysop - Castle Rock BBS
    telnet://bbs.castlerockbbs.com
    http://www.castlerockbbs.com
    The sparrows are flying again....

    --- Mystic BBS v1.12 A39 2018/04/21 (Linux/64)
    * Origin: Castle Rock BBS - bbs.castlerockbbs.com (21:1/186)
  • From xqtr@21:1/111 to Black Panther on Fri Dec 7 22:27:17 2018
    A quick google.. apparently that's a mono bug. To get around it type: export TERM=xterm
    mono PabloDraw.exe
    That did help. I added that to the startup script I wrote for PB, and
    just went through the entire mystic/text directory, and was able to view every ANSI file.

    I confirm, with Lubuntu 18.10.

    Thank you apam! :)

    .----- --- -- -
    | Another Droid BBS
    : Telnet : andr01d.zapto.org:9999 [UTC 11:00 - 20:00]
    . Contact : xqtr@gmx.com

    --- Mystic BBS v1.12 A39 2018/04/21 (Raspberry Pi/32)
    * Origin: Another Droid BBS # andr01d.zapto.org:9999 (21:1/111)