Messages during indexing

View: New views
7 Messages — Rating Filter:   Alert me  

Messages during indexing

by Alan Iroff-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

What do these messages mean?

During indexing, I get a bunch of these:
"Wide Character during print at /usr/bin/gnump3d-index line 499"
and
"Use of unintialized value in string eq at /usr/share/perl5/gnump3d/mp3info.pm line 564, <$fh> line 1."

Thanks

_______________________________________________
Gnump3d-users mailing list
Gnump3d-users@...
http://lists.gnu.org/mailman/listinfo/gnump3d-users

Re: Messages during indexing

by slugman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Alan Iroff-2 wrote:
What do these messages mean?

During indexing, I get a bunch of these:
"Wide Character during print at /usr/bin/gnump3d-index line 499"
I too am receiving a bunch of these messages shortly after running gnump3d-index. What could be causing these error messages? The only option I changed in the /etc/gnump3d/gnump3d.conf file is the "root = _" option specifying my music directory. (This directory btw, is a few Gb in size, over a hundred or two, though I have tried specifying smaller sub-directories so i don't think size is the matter.) I've been scratching my head at this one for a while, any help is appreciated. I am on 12.2 slackware w/ 2.6.27.7 kernel.

Re: Messages during indexing

by Brandon Kuczenski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

slugman wrote:
>
> Alan Iroff-2 wrote:
>>
>> What do these messages mean?
>>
>> During indexing, I get a bunch of these:
>> "Wide Character during print at /usr/bin/gnump3d-index line 499"
>>
>

I would guess that message has something to do with file names (or id3
fields?) containing unicode characters.
e.g.: http://ahinea.com/en/tech/perl-unicode-struggle.html

I wouldn't worry about it, as it is a non-fatal error.  If you're a perl
hacker, you may be able to crank out a patch.

Regards,
-Brandon



_______________________________________________
Gnump3d-users mailing list
Gnump3d-users@...
http://lists.gnu.org/mailman/listinfo/gnump3d-users

Re: Messages during indexing

by slugman :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Thanks for the  quick reply. I let the indexing run through and lo n' behold I am now a happy gnump3 streaming camper. Setup port forwarding and tested the connection at my campus--works flawlessly. Now I am on to figure out how to patch this thing to work with http password.

Slug

Re: Messages during indexing

by thehobbit@maybrun.com :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> "Wide Character during print at /usr/bin/gnump3d-index line 499"

Line 599 is located within a foreach loop on %TAGS, where it's printing an
MP3's tags to the cachefile.  Looks like some of your metadata tags (e.g.
id3) contain wide/multibyte (e.g. unicode) characters.

I'm not too terribly familiar with handling Unicode (never comes up in my
job), but I believe adding the following code after line #407 should fix it.

        binmode (OUT, ':utf8') or $error = 1;

If there's anyone here with more experience in handling Unicode, feel free to
comment and/or correct me.


_______________________________________________
Gnump3d-users mailing list
Gnump3d-users@...
http://lists.gnu.org/mailman/listinfo/gnump3d-users

Re: Messages during indexing

by Steve Kemp-4 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Thu May 07, 2009 at 22:06:16 -0700, slugman wrote:

> Now I am on to figure out how
> to patch this thing to work with http password.

  Don't.

  Instead configure it to listen on 127.0.0.1:8888 and configure
 Apache to proxy to it - doing the HTTP auth in Apache.

Steve
--
Stop blog&forum spam
http://blogspam.net/


_______________________________________________
Gnump3d-users mailing list
Gnump3d-users@...
http://lists.gnu.org/mailman/listinfo/gnump3d-users

Re: Messages during indexing

by Brandon Kuczenski :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

slugman wrote:
> Thanks for the  quick reply. I let the indexing run through and lo n' behold
> I am now a happy gnump3 streaming camper. Setup port forwarding and tested
> the connection at my campus--works flawlessly. Now I am on to figure out how
> to patch this thing to work with http password.
>
> Slug

Don't bother-- htpassword support was removed in v3.0 as it was
completely ineffectual.  (since e.g. Winamp doesn't know how to enter a
password, only the directory listings were passworded, which provides
only minimal protection).

External access control (e.g. a firewall, perhaps one that uses MAC
addresses to limit access) is a better bet.  The machine you're using
for port-forwarding is an ideal candidate to implement this.  You could,
for example, construct an SSH tunnel instead of forwarding the port to
everyone.  Though, if I may ask, why bother?

-Brandon


_______________________________________________
Gnump3d-users mailing list
Gnump3d-users@...
http://lists.gnu.org/mailman/listinfo/gnump3d-users