
|
 |
 |
 |
 |
|
951
|
General Category / Features / Re: window.scrollTo()
|
on: September 13, 2008, 19:26:48
|
Ehm hang on, there are DB changes  (news server priority stuff) So upgrading needs manual db updating. The priority field was in the db already in 0.5.5. Until now there is one change and that is the removal of the active field. I also added an update.sql file now with all the changes to the db.
|
|
|
|
|
952
|
General Category / Features / Re: window.scrollTo()
|
on: September 13, 2008, 18:04:46
|
speahead ok... I will use diff on the files i am working from now in the 0.5.5 . Sometime this wk when I have time I;ll update my installation to the svn and work against them from now on. Your right, the code is complex... but I gotta hand it to you guys ... you document well and once I got a handle on smarty, its pretty well straightforward AJAX. Love the idea of Smarty tho... after I get this little enhancement going I am going to have a go at making a slightly different browse template. Since there won't be any functional difference I am thinking it should be "fairly" easy.
I keep an eye on my mailbox Updating to SVN should be pretty straightforward as there are no db updates (yet), so if you do a check out somewhere and then copy the config files (smarty_config.php, dbconfig.php and config.php) that should be it basically. And set the path to urdd.sh to the correct one in admin/config. Smarty is neat indeed. Some of the syntax stuff is a bit cranky, but I got used to it. If you're finished we can always add the template to our repository if it is maintained. Basically you can copy the default template to a new dir and then you can select the new template in the interface ... that should be it, really. Then you can change the new template all you want.
|
|
|
|
|
953
|
General Category / Features / Re: window.scrollTo()
|
on: September 13, 2008, 16:35:00
|
Spearhead. using 0.5.5. Although if you want I can use the svn and make the changes in those files instead and then e-mail you either the full files or the diff files( now that I know that utility exists :0
there hasn't been many changes since 0.5.5 to the browse pages, so it won't be a big issue (0.5.4 or earlier would be a very different story though  ) . Anyway if you use diff use the options -uN And yes the code is rather complex, no wonder you make errors.... try having a go at the daemon; I'm trying to clean that up ;-)
|
|
|
|
|
954
|
General Category / Features / Re: window.scrollTo()
|
on: September 13, 2008, 00:47:19
|
Actually, what version do you work on? I hope at least 0.5.4 but preferably 0.5.5 or better You'd best use the version from Subversion http://code.google.com/p/urd/source/checkout as that is the most up-to-date and you can get regular updates of everything we add to the repository. (even though it maybe a bit unstable as that is our working copy - numbered 0.5.6). It also saves us time to merge patches back in.
|
|
|
|
|
955
|
General Category / Features / Re: window.scrollTo()
|
on: September 12, 2008, 18:12:18
|
|
just mail me the files you changed as you have them (see PM). That'd probably be easiest.
and yea there is a tool it's actually called diff ;-)
BTW firefox has a js debug plugin too... haven't tried it, but maybe that helps
|
|
|
|
|
956
|
General Category / Features / Re: window.scrollTo()
|
on: September 12, 2008, 11:16:55
|
time to worry again  I have been playing. I have added a little bit of custom code to the end of the browse.tpl/php and js.js to re-open the div I was looking at when I click to preview . Basically it just re-runs ShowSetInfo when the page reloads. That works fine. I am now trying to get the page to automatically scroll down to the aforementioned div using window.scrollTo(x,y). I had gotten the x,y position of the open div and then called window.scrollTo() on that position ... however it doesn't work. So I took the code out and am now just testing with window.scrollTo in the tpl via a custom smarty variable I setup in browse.php. I have tried it in all sorts of different places in the page thinking that I am just not using it in the correct div but I am now at a loss. I just can't get the page to scroll period. Any ideas? Mr Johnathan Bravo Sounds useful. I'm not really a JS guru here... maybe styck knows. But be sure to post the code if you got it working so we can include it.
|
|
|
|
|
957
|
General Category / Technical Problems / Re: IPv6 question & 1 error
|
on: September 10, 2008, 23:53:52
|
I have just tried the above without a result. The error remains.
Did you restart the URD daemon when trying it out? Do you (still) use a version older than 0.5.5? I don't see the error in my logs anymore.
|
|
|
|
|
959
|
General Category / Technical Problems / Re: URDD Dies at 100%
|
on: September 09, 2008, 00:31:50
|
|
"Opening socket failed? Download not found" error is probably (and here is just an educated guess) because URDD cannot connect to mysql anymore... try setting the loglevel to DEBUG... that gives a list of function calls.
the warning is unrelated and innocuous ...
|
|
|
|
|
960
|
General Category / Technical Problems / Re: stuck in "About to start"
|
on: September 09, 2008, 00:26:35
|
I was talking about "downloads" I am using version 0.5.5 now, in the previous versions all It happens when I start, stop the urdd daemon in the middle of work. It is reproducible. I can send you whatever info you need, screenshot, log files ? Just let me know.
I think I know what the problem is edit the html/smarty/templates/default/transfers.tpl : change (line 81) {if $a->status == "paused"} into {if $a->status == "paused" OR $a->status == "ready"} Add the same to lines 77 and 73 gives you all the options back. let me know if that helps
|
|
|
|
|
961
|
General Category / Features / Re: New features for this great project.
|
on: September 08, 2008, 16:52:11
|
Option to supress all articles with less than XXX% percent availability would be nice to have. I am lazy  and I am not going to search all of these missing pieces for articles with bullets (balls) other than green or white. I would certainly appreciate ability to just hide sets unless % - percent is equal or above 100% This is in the latest svn revision. I added it as a global setting per user.
|
|
|
|
|
962
|
General Category / Technical Problems / Before you post any bugs here, read this!!
|
on: September 08, 2008, 16:48:49
|
If you run into any bugs or have any other technical problems, well things like that can happen. We or other users may be able to help you if you post your problems here. However some things to consider before posting here: - Always mention the version number you are using! If you use subversion to keep up to date also mention that and the revision you're using.
- Check if there are other posts with the same problem.
- include as many relevant information about the problem as possible. Note that there is a debug.php file (run it in the browser) that output all your settings. And set the log level to DEBUG in configuration. Post relevant section of that.
- If you run into any trouble, try running urdd from the command line and see if there are any problems (run: ./urdd.sh) or that the behaviour is the same
- Is your problem reproducible, describe what you did when the errors occur.
|
|
|
|
|
964
|
General Category / Technical Problems / Re: stuck in "About to start"
|
on: September 08, 2008, 11:03:22
|
i have couple of articles that stuck in "About to start" mode"
how to push them, to make them download ?
Actually I don't know  That's not a normal state for downloads to be in, except during the creation of the download.) BTW do you really mean "articles" as is newsgroup articles (you can't see them in URD only in the DB) or "downloads"? Anyway, you might try admin/control, press pause / continue or restarting the urd daemon. If neither helps... I don't now.... probably removing the download and starting it again should solve this... Did you do any thing special that caused it? is it reproducible?
|
|
|
|
|
965
|
General Category / Features / Re: New features for this great project.
|
on: September 04, 2008, 10:59:12
|
I would certainly appreciate ability to just hide sets unless % - percent is equal or above 100%
That will be in the next version. I was only contemplating to have that a global value or per newsgroup. Note orange sets should be ok to download too, if they have par files.
|
|
|
|
|
966
|
General Category / Technical Problems / Re: IPv6 question & 1 error
|
on: September 03, 2008, 22:46:33
|
When I run newsgroup updates, or downloads, I receive the following error: 2008-09-03 18:56:28 WARNING Warning on line 437 in file /var/www/urd/urdd/urdd.php: socket_select(): unable to select [4]: Interrupted system call (2) It's not a big issue, only anoying because it's filling my logs.
Weird that you getting an error code 2 (ENOENT) there... maybe the error code needs to be cleared. the select _does_ give an EINT (2). Anyway as a possible solution add this socket_clear_error(); // clear it just in case before the line that says $res = @socket_select($sq, $null_array, $null_array, $timeout, $timeout_us); in the file /var/www/urd/urdd/urdd.php (should be around line 437) Let me know if that helps.
|
|
|
|
|
967
|
General Category / Technical Problems / Re: IPv6 question & 1 error
|
on: September 03, 2008, 22:15:36
|
Hi,
All is working quite well. I'm running URD0.5.5 connected to the xs4all news server with an IPv6 tunnel. I had hoped for the benefit of higher bandwidth, or more simultaneous threads (?) with this config. Hopefully one of the Dutch developers could tell me more about about this.
When I run newsgroup updates, or downloads, I receive the following error: 2008-09-03 18:56:28 WARNING Warning on line 437 in file /var/www/urd/urdd/urdd.php: socket_select(): unable to select [4]: Interrupted system call (2) It's not a big issue, only anoying because it's filling my logs.
Thanx again, and best regards to this great devopment team!
Thanx. I'm not sure actually how many threads you can connect to newszilla6. But urdd tries that by itself. There is an upper limit in config/usenet_servers. Try and raise that and maybe that will add a few connections. I wonder too how stable that tunnel is anyway, as AFAIK it is a single BSD machine @ xs4all. Maybe if more people switch to use it, they'll invest in it. BTW newszilla6 is open to anybody, contrary to the ipv4 which is open to customers only. Do you have any problem with the bandwidth? I run it to the max connection speed, at both v4 and v6. Currently we are not supporting using multiple servers in parallel, but that is something we are looking into. Note that the tunnel is ipv6 in ipv4 so that spends some 40 bytes per ip packet extra. I'll look into the warning. It's not a serious error really. (basically it means that a signal was raised during the call to select() and it ended the select(), to be able to handle signal, afterwards the select() will be restarted). It should've been surpressed tho or at least not a warning, but info / notice.
|
|
|
|
|
968
|
General Category / Technical Problems / Re: Progress bars with empty title
|
on: September 03, 2008, 10:01:12
|
Anyways is there an easy way to update vs. reinstall ?
Not yet really... that's a todo item still. Upgrading by simply overwriting the files works unless there are changes to the database. They are usually slight so if your handy with mysql you can do it manually (run a diff on the old and new URD_db.sql).
|
|
|
|
|
970
|
General Category / Technical Problems / Re: No permissions for log file & can't create save directory
|
on: September 01, 2008, 19:56:41
|
Here's my output from running urdd.sh
2008-09-01 16:51:48 WARNING Warning: cannot set permissions on logfile 2008-09-01 16:51:48 NOTICE Starting urdd 2008-09-01 16:51:48 CRITICAL Opening socket failed? (~/downloads/)
I want to put my downloads in my home directory, but it wouldnt allow me. I also tried it with /home/USERNAME/downloads/, but it gives me the same output. Also in the configuration in the web envrionment, i still get the red hand, saying Error: could not make directory.
Thx in advance,
Chris
On ubuntu the webserver (www-data) needs to have read/write permissions on de directory it wants to create the download directory E.g. chgrp www-data /home/USERNAME/downloads/ chmod g+wr /home/USERNAME/downloads/ should do the trick. Other OSes may use other groups/users for the web server. Some as for the log file. It defaults to /tmp which is world writable. You either need to change the permissions on the exsiting log file or remove the log file (urdd.log)
|
|
|
|
|
|
|
 |
 |
 |
 |
Loading...
|

|