You are not logged in.

#1 2014-04-09 10:09:08

meesum
Member
From: India
Registered: 2014-04-02
Posts: 6

wxmaxima not connecting without internet connection

wxmaxima works completely fine when connected to internet. It gives a "maxima started: waiting for connection" when i am offline.
maxima works fine on console.

i am running it on x86_64.

some pages suggested that i change my /etc/hosts  file to include the following

127.0.0.1     localhost

With this change i am getting the same errors.

the error i get on running wxmaxima (or "maxima -s 4010") from console is

> wxmaxima                                                  
Help! 11 nested errors. SB-KERNEL:*MAXIMUM-ERROR-DEPTH* exceeded.
Backtrace for: #<SB-THREAD:THREAD "main thread" RUNNING {10052E34B3}>

Offline

#2 2014-04-09 12:40:39

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,920

Re: wxmaxima not connecting without internet connection

try putting something like this in your /etc/hosts (replace your_hostname with the real hostname you set for your machine)

127.0.0.1	localhost.localdomain	localhost your_hostname
::1             localhost.localdomain           localhost your_hostname

( the ::1 is the ipv6 equivalent of 127.0.0.1 )

Last edited by Lone_Wolf (2014-04-09 12:41:23)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#3 2014-04-10 09:17:56

meesum
Member
From: India
Registered: 2014-04-02
Posts: 6

Re: wxmaxima not connecting without internet connection

Lone_Wolf wrote:

try putting something like this in your /etc/hosts (replace your_hostname with the real hostname you set for your machine)

127.0.0.1	localhost.localdomain	localhost your_hostname
::1             localhost.localdomain           localhost your_hostname

( the ::1 is the ipv6 equivalent of 127.0.0.1 )

not working with above changes. gives me same errors.

if it may be of any help, i use wicd to connect to the net.

Offline

#4 2014-04-10 16:34:45

meesum
Member
From: India
Registered: 2014-04-02
Posts: 6

Re: wxmaxima not connecting without internet connection

i found the source of error. i have a BCM43142 wireless, for which i use broadcom-wl-dkms package from aur. if i rmmod the wl module wxmaxima works fine.

i dont have a clue why this is happening.

Offline

#5 2014-04-11 10:20:15

Lone_Wolf
Member
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 11,920

Re: wxmaxima not connecting without internet connection

meesum,

that sounds like a bug between wxmaximi and the broadcom module, i think you should alert wxmaxima devs about this .

To clarify :

if you got wireless internet connection using the wl module , everything works ?

if you don't have internet connection and the wl module is loaded/active wxmaxima hangs ?


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.


(A works at time B)  && (time C > time B ) ≠  (A works at time C)

Offline

#6 2014-04-14 08:42:41

meesum
Member
From: India
Registered: 2014-04-02
Posts: 6

Re: wxmaxima not connecting without internet connection

Lone_Wolf,

thanks for helping.
i started a new issue with wxmaxima devs.

Offline

#7 2014-04-16 05:05:07

meesum
Member
From: India
Registered: 2014-04-02
Posts: 6

Re: wxmaxima not connecting without internet connection

i downloaded the source files for wxmaxima and maxima, and found that the bug is not in wxmaxima. it simply uses wxwidgets to open a socket for maxima. the bug is possibly in the "setup-client" defun or sbcl code in server.lisp in maxima/src (or sbcl could be buggy), i left it there as i dont understand lisp.

meanwhile, the workaround is to compile maxima using clisp. it works.
heres a link .

Offline

#8 2015-11-16 15:22:41

yanom
Member
Registered: 2013-06-30
Posts: 36

Re: wxmaxima not connecting without internet connection

Sorry for necro post.

But I installed maxima-ecl from pacman (thus removing maxima package, they conflict) which provides the maxima program but using ECL instead of SBCL. And it appears to not have this bug

Offline

Board footer

Powered by FluxBB