pmik76 / rtgui

Automatically exported from code.google.com/p/rtgui
0 stars 0 forks source link

Warning: disk_free_space() [function.disk-free-space]: No such file or directory #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
- What steps will reproduce the problem?
1. vi ~/.rtorrent.rc
2. directory = ./.rtorrent/downloading
3. /etc/init.d/rtorrent restart

- What is the expected output? What do you see instead?
No errors, free disk space value.

- What version of the product are you using? On what operating system?
rtGui v0.2.3 - Debian Etch - rTorrent 0.8.0/0.12.0

- Please provide any additional information below.
Setting "directory" to full path such as:
directory=/home/user/.rtorrent/downloading
fixes the problem, possibly running web server(apache/lighttpd) as same
user as rtorrent would fix it too.

When running
./xmlrpc localhost get_directory
does not provide full path, but real value from "directory", such as
"./.rtorrent/downloading".

Original issue reported on code.google.com by dvvzrrjx...@mailinator.com on 12 Mar 2008 at 4:19

GoogleCodeExporter commented 9 years ago
Solution: use absolute, not relative paths.
See http://code.google.com/p/rtgui/issues/detail?id=3&can=1

Original comment by lemonbe...@gmail.com on 12 Mar 2008 at 8:00