This is the new home of the egghelp.org community forum.
All data has been migrated (including user logins/passwords) to a new phpBB version.


For more information, see this announcement post. Click the X in the top right-corner of this box to dismiss this message.

TV Programm error

Support & discussion of released scripts, and announcements of new releases.
Post Reply
d
darton
Op
Posts: 155
Joined: Sat Jan 21, 2006 11:03 am

TV Programm error

Post by darton »

Hello!
I downloaded the TV Programm from the TCL Archive. But my bot always say "Tcl error [pub_tv]: couldn't write file "/tmp/tv.txt": no such file or directory" when I want to have the TV program. What's wrong?
User avatar
De Kus
Revered One
Posts: 1361
Joined: Sun Dec 15, 2002 11:41 am
Location: Germany

Post by De Kus »

you need write permission to /tmp ?! if you cant have try to change from /tmp to tmp or ~/tmp and make sure there is a directory exists.
De Kus
StarZ|De_Kus, De_Kus or DeKus on IRC
Copyright © 2005-2009 by De Kus - published under The MIT License
Love hurts, love strengthens...
d
darton
Op
Posts: 155
Joined: Sat Jan 21, 2006 11:03 am

Post by darton »

Changing it to tmp or ~/tmp doesnt work. The same problem. How can I set to that directory a write permission.
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

Is this a Windrop?
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
d
darton
Op
Posts: 155
Joined: Sat Jan 21, 2006 11:03 am

Post by darton »

Yes
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

In the Windrop folder create a folder, tmp. In the conf you have to set a proper path to it:

Code: Select all

set temp-path "tmp/"
The default format (Unix) is inappropriate for Windows.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
d
darton
Op
Posts: 155
Joined: Sat Jan 21, 2006 11:03 am

Post by darton »

No change. Still the same error message. I set it to "tmp/" and to ".", but nothing works.
Maybe I also must give that directory write access with the party line of the bot?
User avatar
Alchera
Revered One
Posts: 3344
Joined: Mon Aug 11, 2003 12:42 pm
Location: Ballarat Victoria, Australia
Contact:

Post by Alchera »

In Windows all necessary permissions are normally set correctly. There is no reason why an error is being generated if you did as I suggested (and .rehash the bot after).

The script is probably at fault; it cannot create/find the file tv.txt. Recheck your script user settings.
Add [SOLVED] to the thread title if your issue has been.
Search | FAQ | RTM
Post Reply