Welcome, Guest. Please login or register.
April 23, 2014, 09:22:46 AM
Home Help Search Calendar Login Register
Show unread posts since last visit.
News: Let Pardus-Anka become #1: Pardus-Anka Bug ReportPardus-Anka World Google+ | The Pardus wiki  | Visit Pardus-Anka official website  | Register as forum member?  Email the moderator!

+  Pardus Worldforum
|-+  General
| |-+  Wish list
| | |-+  [SOLVED] IDJC / Icecast
0 Members and 1 Guest are viewing this topic. « previous next »
Pages: 1 [2] 3 4 5 Go Down Print
Author Topic: [SOLVED] IDJC / Icecast  (Read 21735 times)
Michiel
Administrator
Pardus Guru
*****
Posts: 799



View Profile
« Reply #15 on: September 28, 2008, 12:52:57 PM »

Works now!

Great job of this nice Pardus developer.

He made my day  Grin

IDJC 0.7.10 PISI package will become available soon now I guess.
« Last Edit: September 28, 2008, 14:34:14 PM by Michiel » Logged

Former Pardus user, now on OpenSUSE 12.2 (KDE)
Michiel
Administrator
Pardus Guru
*****
Posts: 799



View Profile
« Reply #16 on: November 10, 2008, 21:12:23 PM »

http://paketler.pardus.org.tr/contrib-2008/idjc-0.7.11a-2-1.pisi

It has finally arrived!

I would appreciate if someone who has not yet installed IDJC on their Pardus OS (on my one it is already up and running, I don't want to spoil that)  give this pisi a test, does it install and function as expected?
Logged

Former Pardus user, now on OpenSUSE 12.2 (KDE)
atolboo
Pardus Guru
****
Posts: 2317



View Profile
« Reply #17 on: November 11, 2008, 13:43:45 PM »

........  give this pisi a test, does it install and function as expected?
No it doesn't even start after installation.  Huh?
The output in a Konsole:
Quote
atolboo@asrock-pardus ~ $ idjc
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/idjcgui.py", line 86, in <module>
    from ln_text import ln
  File "/usr/lib/python2.5/site-packages/idjc/ln_text.py", line 106, in <module>
    ln = _set()
  File "/usr/lib/python2.5/site-packages/idjc/ln_text.py", line 103, in _set
    return getattr(gns, lev)()
  File "/usr/lib/python2.5/site-packages/idjc/ln_text.py", line 57, in __init__
    self._load_text(cls)
  File "/usr/lib/python2.5/site-packages/idjc/ln_text.py", line 39, in _load_text
    mod = __import__(modulename)
ImportError: No module named nl_NL_text
atolboo@asrock-pardus ~ $
Logged
Michiel
Administrator
Pardus Guru
*****
Posts: 799



View Profile
« Reply #18 on: November 11, 2008, 14:15:45 PM »

That might be a bug related to (not yet existing translation file nl_NL), you might want to retry starting the installed IDJC from the Konsole using this code and see what happens then?

Code:
LANG=de_DE ./idjc

or

Code:
LANG=en_GB ./idjc

(or en_EN or en_US I do not remember at this time...)


The above command assumes you built IDJC with make local otherwise you should omit the ./ characters.
Logged

Former Pardus user, now on OpenSUSE 12.2 (KDE)
atolboo
Pardus Guru
****
Posts: 2317



View Profile
« Reply #19 on: November 11, 2008, 14:21:53 PM »

The answer is:
Quote
atolboo@asrock-pardus ~ $ LANG=de_DE ./idjc
bash: ./idjc: Bestand of map bestaat niet
atolboo@asrock-pardus ~ $
Logged
Michiel
Administrator
Pardus Guru
*****
Posts: 799



View Profile
« Reply #20 on: November 11, 2008, 15:40:39 PM »

Then omit the
Code:
./
and try once more please, thus:

Code:
LANG=de_DE idjc

Thanks for etsting BTW!
Logged

Former Pardus user, now on OpenSUSE 12.2 (KDE)
atolboo
Pardus Guru
****
Posts: 2317



View Profile
« Reply #21 on: November 11, 2008, 15:45:55 PM »

The answer is:
Quote
atolboo@asrock-pardus ~ $ LANG=de_DE idjc
Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/idjcgui.py", line 86, in <module>
    from ln_text import ln
  File "/usr/lib/python2.5/site-packages/idjc/ln_text.py", line 106, in <module>
    ln = _set()
  File "/usr/lib/python2.5/site-packages/idjc/ln_text.py", line 103, in _set
    return getattr(gns, lev)()
  File "/usr/lib/python2.5/site-packages/idjc/ln_text.py", line 57, in __init__
    self._load_text(cls)
  File "/usr/lib/python2.5/site-packages/idjc/ln_text.py", line 39, in _load_tex                                t
    mod = __import__(modulename)
ImportError: No module named nl_NL_text
atolboo@asrock-pardus ~ $
Logged
Michiel
Administrator
Pardus Guru
*****
Posts: 799



View Profile
« Reply #22 on: November 11, 2008, 15:56:54 PM »

Mmm, I will inform the bug handler, and perhaps come back on this this evening when I am at home.

I remember once having had such an error and then I renamed the en_EN file to nl_NL, which is of course a workaround but not the way it is meant to be.
« Last Edit: November 11, 2008, 16:02:04 PM by Michiel » Logged

Former Pardus user, now on OpenSUSE 12.2 (KDE)
Michiel
Administrator
Pardus Guru
*****
Posts: 799



View Profile
« Reply #23 on: November 11, 2008, 15:58:58 PM »

Ah here it is I encountered the same problem when I was asked to test the package:

Quote
Thanks again.

Well the GOOD news is I solved my problems and have IDJC 0.7.9 working now
(will try the newer version later on).

The problems that I had were mainly related to my personal setup:
1) I had -as said- a previous IDJC version installed locally, that's why when I
typed idjc in Konsole or clicked the menu entry, the "old" 0.7.8a version was
opened and not the new one located at /usr/bin/

2) I first had to remove my existing (hidden) ./idjc from my /home/michiel/
folder, otherwise my old profile was obviously in the way for getting 0.7.9 to
start. After this 0.7.9. generated a brand new .idjc folder.

3) The last problem remaing was then that I got this output:

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/idjcgui.py", line 84, in <module>
    from ln_text import ln
  File "/usr/lib/python2.5/site-packages/idjc/ln_text.py", line 106, in
<module>
    ln = _set()
  File "/usr/lib/python2.5/site-packages/idjc/ln_text.py", line 103, in _set
    return getattr(gns, lev)()
  File "/usr/lib/python2.5/site-packages/idjc/ln_text.py", line 57, in __init__
    self._load_text(cls)
  File "/usr/lib/python2.5/site-packages/idjc/ln_text.py", line 39, in
_load_text
    mod = __import__(modulename)
ImportError: No module named nl_NL_text

(hope it's OK that I post this here, it is not too long).

My Pardus is running in the dutch language. This could be a point of attention
for other users (e.g. people running in frnech). IDJC used to automatically
switch to en_GB when the called language could not be found. Somehow it didn't
this time. When I renamed both en_GB files in
/usr/lib/python2.5/site-packages/idjc/  IDJC started up fine!:

Code:
michiel at zandbelt idjc $ sudo mv en_GB_text.py nl_NL_text.py
michiel at zandbelt idjc $ sudo mv en_GB_text.pyo nl_NL_text.pyo
michiel at zandbelt idjc $ /usr/bin/idjc
Internet DJ Console Version 0.7.9
Copyright 2005-2008 Stephen Fairchild
Released under the GNU General Public License V3.0

Language translation: nl_NL
JACK compiled with System V SHM support.


(etcetc)


extract of comment #10 in the original bug request report
« Last Edit: November 11, 2008, 16:01:32 PM by Michiel » Logged

Former Pardus user, now on OpenSUSE 12.2 (KDE)
atolboo
Pardus Guru
****
Posts: 2317



View Profile
« Reply #24 on: November 11, 2008, 16:52:58 PM »

Code:
michiel at zandbelt idjc $ sudo mv en_GB_text.py nl_NL_text.py
michiel at zandbelt idjc $ sudo mv en_GB_text.pyo nl_NL_text.pyo

I don't have en_GB_text.pyo in /usr/lib/python2.5/site-packages/idjc.
The following en_GB_text.* files are present in /usr/lib/python2.5/site-packages/idjc:
Quote
en_GB_text.py
en_GB_text.pyc
because of this I did:
Quote
atolboo@asrock-pardus ~ $ sudo cp /usr/lib/python2.5/site-packages/idjc/en_GB_text.py /usr/lib/python2.5/site-packages/idjc/nl_NL_text.py
Wachtwoord:
atolboo@asrock-pardus ~ $ sudo cp /usr/lib/python2.5/site-packages/idjc/en_GB_text.pyc /usr/lib/python2.5/site-packages/idjc/nl_NL_text.pyc
atolboo@asrock-pardus ~ $
and started idjc with a "IDJC Launch Failed"  result as shown below.


* idjc-sound.png (51.84 KB, 495x514 - viewed 187 times.)
Logged
Michiel
Administrator
Pardus Guru
*****
Posts: 799



View Profile
« Reply #25 on: November 11, 2008, 17:07:07 PM »

you are one step further now  Grin

This error message happens more often and has as it states to do with the jack soundserver.

sometimes rebooting the entire system helps, sometimes you can also try to start jack from the Konsole (example is given in the error window) , or use the qjackctl graphical suer interface that controls jack and set the proper sound device and so on.

qjackctl can be installed from the pisi repositories if not already present.

Anyway the language error is now solved.

When you get jack up and running I guess IDJC will now start normally.
« Last Edit: November 11, 2008, 17:09:34 PM by Michiel » Logged

Former Pardus user, now on OpenSUSE 12.2 (KDE)
Michiel
Administrator
Pardus Guru
*****
Posts: 799



View Profile
« Reply #26 on: November 11, 2008, 17:08:35 PM »

Sometimes jackd cannot be started because the sound devices are currently being used by other applications (e.g. amarok, skype etce etc)
Logged

Former Pardus user, now on OpenSUSE 12.2 (KDE)
atolboo
Pardus Guru
****
Posts: 2317



View Profile
« Reply #27 on: November 11, 2008, 17:19:51 PM »

Amarok was playing a radio stream.
After stopping this stream Internet DJ Console is up and running.  Grin
Logged
Michiel
Administrator
Pardus Guru
*****
Posts: 799



View Profile
« Reply #28 on: November 11, 2008, 17:27:23 PM »

Thanks for testing atolboo, I appreciate that.

Now I am curious whether other Pardus users that e.g. have a native english or german or french language Pardus system encounter similar start problems or not, anyone?
Logged

Former Pardus user, now on OpenSUSE 12.2 (KDE)
Michiel
Administrator
Pardus Guru
*****
Posts: 799



View Profile
« Reply #29 on: November 11, 2008, 22:28:12 PM »

I am already on speaking terms again with the bug report coordinator  Cheesy

Quote
--- Comment #22 from Mehmet Nur Olcay <mnurolcay@gmail.com>  2008-11-11 23:11:35 ---
(In reply to comment #21)
...
>     mod = __import__(modulename)
> ImportError: No module named nl_NL_text
>

Looks like a code error, it's looking fr nl_NL language file while it's
supporting only de_DE, en_GB and en_US.  i'll also contact the author for the
problem.

Btw, i added a patch for this in my playground. Can you please try this and
inform me about the error again ?

Build the package with:

Code:
sudo pisi bi
http://svn.pardus.org.tr/pardus/playground/mnurolcay/applications/multimedia/idjc/pspec.xml -d
Quote
Then install it.

Logged

Former Pardus user, now on OpenSUSE 12.2 (KDE)
Pages: 1 [2] 3 4 5 Go Up Print 
« previous next »
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2013, Simple Machines Valid XHTML 1.0! Valid CSS!