Tiny Core Linux

Tiny Core Extensions => TCE Bugs => Topic started by: jls on April 24, 2009, 04:29:24 PM

Title: 2.0alpha4 & skype
Post by: jls on April 24, 2009, 04:29:24 PM
when signing in in skype the program crashes:
Code: [Select]
QIconvCodec::convertFromUnicode: using ASCII for conversion, iconv_open failed
QIconvCodec::convertToUnicode: using ASCII for conversion, iconv_open failed
terminate called after throwing an instance of 'unsigned int'
Aborted
Title: Re: 2.0alpha4 & skype
Post by: alu on April 26, 2009, 08:18:58 AM
same issue here
Title: Re: 2.0alpha4 & skype
Post by: Juanito on April 26, 2009, 08:22:44 AM
Is this with the libiconv extension loaded?
Title: Re: 2.0alpha4 & skype
Post by: jls on April 26, 2009, 09:58:38 AM
Is this with the libiconv extension loaded?
no, should I try loading it?
Title: Re: 2.0alpha4 & skype
Post by: alu on April 26, 2009, 10:13:51 AM
same answer, same question
Title: Re: 2.0alpha4 & skype
Post by: jls on April 26, 2009, 12:40:48 PM
Code: [Select]
QIconvCodec::convertFromUnicode: using ASCII for conversion, iconv_open failed
QIconvCodec::convertToUnicode: using ASCII for conversion, iconv_open failed
Xlib:  extension "Generic Event Extension" missing on display ":0.0".
terminate called after throwing an instance of 'unsigned int'
Aborted

skype crashed when signes in.
Tryed also with libiconv extension loaded on tc2.0rc1
Title: Re: 2.0alpha4 & skype
Post by: alu on April 26, 2009, 02:26:31 PM
the issue remains with tc 2.0 rc1
Title: Re: 2.0alpha4 & skype
Post by: alu on April 26, 2009, 02:41:31 PM
i forgot one line more in the error message:

Xlib: extension "Generic Event Extension" missing on display ":0.0"

however, Xlibs_support.tclz has been mounted
Title: Re: 2.0alpha4 & skype
Post by: Juanito on April 26, 2009, 09:01:46 PM
Since  iconv() exists in glibc perhaps this is due to a glibc version mismatch?
Title: Re: 2.0alpha4 & skype
Post by: alu on April 27, 2009, 01:15:23 AM
i have the glib1 and glib2 installed (versions from the tc 2.x repository), and still have this issue with skype
Title: Re: 2.0alpha4 & skype
Post by: Juanito on April 27, 2009, 01:55:57 AM
I meant glibc, not glib - tinycore_1.x has glibc-2.3.6 whereas tinycore_2.x has glibc-2.9 - perhaps skype needs to be recompiled against the new glibc?
Title: Re: 2.0alpha4 & skype
Post by: alu on April 27, 2009, 03:13:11 AM
I have installed glibc for 2.6.29, and i have downloaded the skype-install script in order to do things from the beginning again. But I still have the issue with skype with same message as above.
Title: Re: 2.0alpha4 & skype
Post by: alu on April 27, 2009, 03:56:25 AM
from this post: http://lists.freedesktop.org/archives/xorg/2008-October/039132.html
it seems that Xlib was compiled with XGE, but not the x server in the TC core; could it be the problem?
Title: Re: 2.0alpha4 & skype
Post by: jpeters on April 27, 2009, 08:21:45 AM
I meant glibc, not glib - tinycore_1.x has glibc-2.3.6 whereas tinycore_2.x has glibc-2.9 - perhaps skype needs to be recompiled against the new glibc?

We're using a static binary.  I'm not sure what's been recompiled in the appsdirectory.  Is alsa supposed to work at this stage?  I don't get sound. 
Title: Re: 2.0alpha4 & skype
Post by: alu on April 27, 2009, 09:41:17 AM
i get sound with alsa; the Xlib message seems to be a warning message only, not an issue as such, so that skype should work with or without this warning... but it does not work.
Title: Re: 2.0alpha4 & skype
Post by: jpeters on April 27, 2009, 11:15:36 AM
The xlib error message also appear when loading firefox, although it loads.  For sure, the static skype binary is fairly robust...it was surprising that it worked with the old glibc.  Of course, glib, xlibs, etc,  have to be compiled against the new glibc or things aren't going to work.  Alsa modules load okay on my setup, but the sound test fails to produce any sound. 
Title: Re: 2.0alpha4 & skype
Post by: Jason W on April 27, 2009, 11:47:44 AM
Alsa more or less works in 2.x but there are still issues to be worked out.
Title: Re: 2.0alpha4 & skype
Post by: alu on April 28, 2009, 06:19:47 AM
i have made a fresh install of tc-2.0 with all new libs, as well as the skype extension. I get rid of the Xlib warning message, but the skype issue still persists. It doesn't load at boot with the message "terminate called after ...." etc.
Title: Re: 2.0alpha4 & skype
Post by: crim on April 29, 2009, 08:09:49 AM
Hi, thanks for your hard work - tinycore2 is working well for me (a linux newbie) so far apart from Skype. I got it installed ok but I have the same problem and the same messages as the first post. Skype gets as far as the sign in window but crashes once 'sign in' is clicked. The messages seemed to suggest iconv was missing so I installed libiconv. Didn't make any difference.
I had tinycore 2.0rc1, skype.tce, skype_support.tcel, alsa (which works fine), xlibs_support.tce and libiconv 1.11 all installed on an ext2 usbdrive on an eeepc 701.
I wasn't sure if skype_support duplicated xlibs_support so deleted skype_support.tce. Skype still won't work. Are both necessary?
Keep up the great work, it's appreciated.
Title: Re: 2.0alpha4 & skype
Post by: jpeters on April 29, 2009, 08:27:26 AM

I wasn't sure if skype_support duplicated xlibs_support so deleted skype_support.tce. Skype still won't work. Are both necessary?
Keep up the great work, it's appreciated.


no...skype_support was renamed to xlibs_support since the files were useful to other apps besides skype.
Title: Re: 2.0alpha4 & skype
Post by: tobiaus on April 29, 2009, 12:34:46 PM
i've never been able to use any version of skype in tc. i suspect there's something i need to do that i haven't done. i often look to the .info file, but there have been times this wasn't enough.

maybe the instructions are clear enough, maybe they aren't. without getting skype working i couldn't say if it's the instructions or not, but i see people do have trouble with it.
Title: Re: 2.0alpha4 & skype
Post by: crim on May 01, 2009, 06:01:27 AM
Can I ask if anyone has skype working under 2.0rc1? I've tried everything I can, reinstalling skype and dependencies but still cant get past the skype 'sign in' screen. The install instructions work for me. It is obviously installed and works up to the point of signing in to skype. I can see 'skype options', 'about skype' and  I can enter a username and password but everything vanishes when I click 'sign in'. I did have skype working under tc1.3 - up to a point - it opened ok, I could sign in, messaging worked, test calls worked but I couldn't get my 'mic out' to work (my bad mixer settings I think). Any clues?
Title: Re: 2.0alpha4 & skype
Post by: jpeters on May 03, 2009, 01:34:54 AM
well...at least everyone is having the exact same problem.  Here it is again (with a .trace attachment)

https://developer.skype.com/jira/browse/SCL-353%3Bjsessionid=2D79FDADCA0A5D5592200EFCC93185EE?page=history


I do have skype-1.2.0.18.tcz which works fine, although I'm not allowed to post it, right??  :) 
BTW it's also half the size, and that's self-contained....





Title: Re: 2.0alpha4 & skype
Post by: crim on May 04, 2009, 07:46:35 AM
That skype bug report seems to date back to April 2008 so I'm not optimistic.
If anybody does get skype working on TC2.0 maybe their success story will show up here some time soon. Thanks for taking the trouble to investigate
Title: Re: 2.0alpha4 & skype
Post by: tobiaus on May 04, 2009, 09:20:20 AM
I do have skype-1.2.0.18.tcz which works fine, although I'm not allowed to post it, right??  :) 

gotta love old-fashioned licenses.
Title: Re: 2.0alpha4 & skype
Post by: jpeters on May 04, 2009, 11:22:43 AM
I do have skype-1.2.0.18.tcz which works fine, although I'm not allowed to post it, right?? :)

gotta love old-fashioned licenses.
With over 1 million people downloading Skype for iPhone in the first 36 hours, I'm sure they really care if tc posts a working extension on it's site.  It's too ridiculous for them to even  bother responding to emails......

That said, the static version should work.  I'd like to see the Xlib issue addressed, and see if that does it.   
Title: Re: 2.0alpha4 & skype
Post by: tobiaus on May 04, 2009, 12:53:41 PM
I'm sure they really care if tc posts a working extension on it's site.  It's too ridiculous for them to even  bother responding to emails......

That said, the static version should work.  I'd like to see the Xlib issue addressed, and see if that does it.   

mmmm, all the more reason for them to allow redistribution in the license. i applaud/approve of robert's strict following of licenses in the repository. sometimes it is annoying, but i blame the people that write the licenses for that.

i'm also glad that it's possible to make download scripts for non-free software. i hate to use them, though for flash it still matters. i probably would use skype if the linux version did video conferencing.
Title: Re: 2.0alpha4 & skype
Post by: jpeters on May 08, 2009, 04:52:45 PM
Good news....Skype runs with wine very well (I think better than the static linux version). I checked out an older version
3.1.0.52 which I have up and running right now.  I haven't checked out video calls, but it's a possibility.   

http://www.oldapps.com/skype.php?old_skype=62#Download
Title: Re: 2.0alpha4 & skype
Post by: tobiaus on May 08, 2009, 05:11:44 PM
I haven't checked out video calls, but it's a possibility.   

when did that get added to the linux version?
Title: Re: 2.0alpha4 & skype
Post by: jpeters on May 08, 2009, 05:48:17 PM
I haven't checked out video calls, but it's a possibility.   

when did that get added to the linux version?

When did we ever use wine to load the linux version?  (I didn't mean "while drinking wine"   :)  )
http://www.skype.com/allfeatures/videocall/
Title: Re: 2.0alpha4 & skype
Post by: crim on May 09, 2009, 09:41:58 AM
Thanks for suggesting this wine/skype workaround as an alternative until linux-skype is working on tc2.

I'm using an eeepc 701 and half of the wine config screens are cut in half by the small screen. I don't know how to resize them. There are no scroll bars and I can't get at the wine settings to change them or access the apply/save butttons.
I carried on regardless with 'wine  skype-setup.exe'  - but the skype-setup.exe window tells me that there is 0 space allocated to the c: drive and won't go any further. I'm guessing there is an offscreen setting in winecfg that needs changing, but I can't get to it.

Has anybody successfully used wine on an eeepc 701 in tc2? How do I change window sizes? I've tried the usual alt-left click but that doesn't work in wine for me. Thanks for any assistance.
Title: Re: 2.0alpha4 & skype
Post by: jpeters on May 09, 2009, 09:47:07 AM

I carried on regardless with 'wine skype-setup.exe' - but the skype-setup.exe window tells me that there is 0 space allocated to the c: drive and won't go any further. I'm guessing there is an offscreen setting in winecfg that needs changing, but I can't get to it.

I got that but ignored it. It's about 30M, and defaults to .wine/drive_c/Program Files/ . I'm sure there's a wine download configuration somewhere. edit: make .wine into a link to your harddrive ??
Title: Re: 2.0alpha4 & skype
Post by: tobiaus on May 09, 2009, 11:19:56 PM
there are two ways around the issue (this is on the forum somewhere.) one is to use other media, i just installed the windows software to usb. the other is to use a different form of "tmpfs" than tc usually uses.
Title: Re: 2.0alpha4 & skype
Post by: crim on May 10, 2009, 12:39:59 PM
Thanks for the suggestions. I don't know how to make .wine a link to my hard-drive or how to change tmpfs and both sound complicated so I went for the 'use other media' suggestion.

I managed to get skype to open and messaging works. The skypecall functions are there as well but audio doesn't work for me ('soundcard doesn't support direct access'). It feels a bit fragile though, has thrown several exception faults when opening and doesn't seem to exit properly when closed (I have to ctl-z to exit wine).

However I've been able to use it for messaging and it didn't crash once it was up and running which is good enough for me at the moment. It also survived a reboot and still works. Thanks.

Here's what I did if anyone else using an eeepc 701 is interested, bear in mind that I know nothing about Linux, Windows or computing and I'm 100% sure better ways exist but, this is what worked for me.

I installed skype to a windows formatted SD card from within TC using wine;

1. Downloaded the old version of skype from oldapps.com as recommended in the post above. - After downloading I had a file called Skype-setup-3.1.0.152.exe in my /home/tc/Desktop folder.

2. I downloaded and installed wine.tce using the appbrowser.

3. I mounted the sd card and with emelfm created a directory on it called /tcskype

4. I opened a terminal and typed 'winecfg', a window opened. I clicked on the 'drives' tab and then 'Add...' It created a D: drive for me, which I selected, I then Browsed to find the mounted sd card which was /mnt/sdc1/tcskype in my case. This told wine where my new 'windows' D: drive lives.

5. Because an eeepc screen cuts off the wineconfig window halfway I couldn't get at the 'Apply' or 'Save' buttons. I had to tab through and guess when I was on the right button. I was lucky, I eventually hit the right button. This saved the configuration and wine remembered the D: drive.

6. From the terminal I then cd'd to the directory where Skype-setup-3.1.0.152.exe was saved- cd /home/tc/Desktop in my case.

7. In the terminal I typed 'wine Skype-setup-3.1.0.152.exe'

8. A Skype window opened! I chose my language, I accepted terms and conditions, I clicked on 'options' and deselected everything except 'install Skype extras manager'.

9. In the 'choose install location' I selected the D: drive and the /tcskype directory as the location to install skype to. I clicked install.

10. Skype unpacked and installed to the external sd card (expect to see a lot of messages in the terminal window).

11. I think when it finished installing it told me that it had installed correctly and then exited back to the terminal prompt.

12. At the terminal in TC I cd'd to the sd card and my /tcskype directory. The install had created a directory called 'Phone' which contained the Skype.exe. I cd'd into the Phone directory.

13. At the terminal I typed 'wine Skype.exe'

14. Skype opened. I chose not to install the Gecko Mozilla engine and just cancelled the window that asks for it. I could log in! It took a long time to connect, I waited! Eventually my contacts appeared.

I can send messages, I can't make calls though, they ring on the other end of the line but my sound isn't working. I have oss and alsa installed. Sound works on firefox and mplayer but not on this wine/Skype combo - the terminal messages say;

This soundcard does not support direct access
Direct sound HEL mode will be used instead.
Direct sound capture flag not set

Apologies for such a long description. It might help fellow newbies, it might not. Keep up the good work. Skype messaging is all I need at the moment.
Title: Re: 2.0alpha4 & skype
Post by: jpeters on May 10, 2009, 01:38:41 PM
Sound has to be turned on before loading skype (if that's the issue).  For OSS, that would be "sudo soundon" , which you can add to your wrapper, along with any other settings you want.  Here's an example; change the path to your own Skype.exe, of course.   (skype also requires libasound, which you should already have with alsa). Check ossxmix and see if skype is added to the volume controls..

edit: I get the same error as you, which doesn't seem cause problems:
Code: [Select]
This sound card's driver does not support direct access
The (slower) DirectSound HEL mode will be used instead.


Code: [Select]

#!/bin/bash
sudo soundon &>/dev/null
ossmix mic.rec ON
ossmix mic 75
ossxmix -b &
wine /mnt/hda3/skype_dynamic/Program\ Files/Skype/Phone/Skype.exe
Title: Re: 2.0alpha4 & skype
Post by: tobiaus on May 10, 2009, 02:37:29 PM
Sound has to be turned on before loading skype (if that's the issue).  For OSS, that would be "sudo soundon" , which you can add to your wrapper

no, only for tc 1.x, i'm using oss but i don't use sound on. (it's still there, because it hasn't been updated or because it's useful if you've used sound off.")
Title: Re: 2.0alpha4 & skype
Post by: jpeters on May 10, 2009, 02:44:50 PM
Sound has to be turned on before loading skype (if that's the issue).  For OSS, that would be "sudo soundon" , which you can add to your wrapper

no, only for tc 1.x, i'm using oss but i don't use sound on. (it's still there, because it hasn't been updated or because it's useful if you've used sound off.")

Skype doesn't aways load with soundon after a boot....that's why I added &>/dev/null in case it's already on.  And "yes", I'm talking about tc2.    :)
Title: Re: 2.0alpha4 & skype
Post by: grjack on June 06, 2009, 01:56:13 PM
Hi Crim

I have got an old version of skype running under wine on a EEE 701. Sound also works.


Downloaded wine-gl.tce and ran the winecfg(read the info under the tce in the appsbrowser) and then ran skype with wine.

I found a version of Skype (2.5091) that is only 11M(compared to > 20M of later versions, probably due to having no video, but it works for me. I just required voice and messages.

Got it here (thanks JPeters) http://www.oldapps.com/skype.php?old_skype=62#Download

Screen is fine and sound is fine, internal and external(pink) mic works. Used OSSMIX (under apps->OSS) and set the pulldown next to the mic to "input" (from default "c/lfe" usually), setting the mic volume lower gave better pickup

Very happy with TCL. Thanks to all..