May 22, 2013, 10:32:48
Welcome,
Guest
. Please
login
or
register
.
Did you miss your
activation email?
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Home
Help
Search
Login
Register
URD Forum
>
General Category
>
Technical Problems
>
rar files that end *.001
Pages: [
1
]
« previous
next »
Print
Author
Topic: rar files that end *.001 (Read 3892 times)
River Trent
Posts: 52
rar files that end *.001
«
on:
June 26, 2009, 08:53:00 »
Ubuntu 8.04 URD 0.6.1
I found a bug involving rar files that end *.001 upto whatever eg *.040, they don't decompress correctly, if i manual extract them they're fine.
I've attached an example nzb file for you to try.
This has been a long term bug that i mentioned before here
http://urdland.com/forum/index.php?topic=53.0
. At first i thought it was to do with 7z, but now I know it's to do with rar files.
Hope you can help as when i encounter this problem i have to re-download and extract manually, it's a pain!
Thanks for all your great work
Logged
spearhead
Administrator
Posts: 1038
Re: rar files that end *.001
«
Reply #1 on:
June 26, 2009, 12:46:21 »
.001 etc files are assumed to be file split (eg x.avi.001 - x.avi.099) and not compressed, unless they are .7z.001. But I'll look into the code and see if I can do something about it.
In the mean time you might disable the option to delete files (either per transfer or in preferences) so that you don't have to re-download.
Logged
River Trent
Posts: 52
Re: rar files that end *.001
«
Reply #2 on:
June 26, 2009, 13:11:46 »
They're usually an iso file that have been split (eg *.001 to *.040). Try the nzb I attached to see what happens.
Thanks for your mighty quick repy
Logged
Styck
Administrator
Posts: 125
Re: rar files that end *.001
«
Reply #3 on:
July 01, 2009, 11:49:45 »
I'm wondering if we could use the `file` command to see what type of file it is, then process it accordingly?
Logged
spearhead
Administrator
Posts: 1038
Re: rar files that end *.001
«
Reply #4 on:
July 01, 2009, 12:15:15 »
Quote from: Styck on July 01, 2009, 11:49:45
I'm wondering if we could use the `file` command to see what type of file it is, then process it accordingly?
It's on the todo already ...
one of the problems probably is that this will only work for file .001 (or 000 where ever you start counting).
I'll look into it later...
Logged
River Trent
Posts: 52
Re: rar files that end *.001
«
Reply #5 on:
July 01, 2009, 19:10:13 »
Cool, that's great.
Thanks
Logged
spearhead
Administrator
Posts: 1038
Re: rar files that end *.001
«
Reply #6 on:
July 23, 2009, 00:37:30 »
I fixed up some code and it worked for the NZB you sent a while back.
You can try out the latest SVN version or wait for the new release.... which may be in a couple of weeks (some feedback on the new features would be cool tho!)
(there is some stuff that I have to do... such as not relying on path settings to find the "file" utility. But it should work tho.)
Anyway, let me know if you run in to any trouble or whatever....
Logged
River Trent
Posts: 52
Re: rar files that end *.001
«
Reply #7 on:
July 28, 2009, 22:25:06 »
I haven't tried the svn, here's an link to nzb that doesn't work with 0.62, hope it helps with testing.
https://www.binsearch.info/?q=xbox+rangers&max=250&adv_age=365&server=
Also I've recently acquired a netbook (Dell Mini 9), great with ubuntu netbook remix, but because of the small screen the layout with urd is terrible, can't see progress or access the logs.
Just thought I'd let you know.
Cheers for the great work!
Logged
spearhead
Administrator
Posts: 1038
Re: rar files that end *.001
«
Reply #8 on:
July 28, 2009, 23:32:40 »
I try it out later.
What is the resolution of the netbook? Maybe we can fix some stuff. Some screengrabs may help as well.
Thanx tho! Cheers
Logged
spearhead
Administrator
Posts: 1038
Re: rar files that end *.001
«
Reply #9 on:
July 29, 2009, 23:40:12 »
Quote from: River Trent on July 28, 2009, 22:25:06
I haven't tried the svn, here's an link to nzb that doesn't work with 0.62, hope it helps with testing.
https://www.binsearch.info/?q=xbox+rangers&max=250&adv_age=365&server=
It worked perfectly!
Logged
River Trent
Posts: 52
Re: rar files that end *.001
«
Reply #10 on:
July 31, 2009, 01:32:33 »
I guess I should have started this somewhere else, oh well!
That's good news that the rar file thingy is now working.
The Display Size for the mini 9 is 8.9" 1024 X 600,
Here's a couple of screen shots, as you can see, I cvan't even get to the Log!
«
Last Edit: July 31, 2009, 01:41:31 by River Trent
»
Logged
spearhead
Administrator
Posts: 1038
Re: rar files that end *.001
«
Reply #11 on:
July 31, 2009, 10:25:57 »
thanx for the screen dumps... I see now what the problem is. Maybe we can fix it in the current template.
However, we are considering a whole new template that shouldn't have these problems, but that my take a while...
Logged
River Trent
Posts: 52
Re: rar files that end *.001
«
Reply #12 on:
July 31, 2009, 17:33:09 »
Cool, I'll wait and see what happens with 0.63
Thanks
Logged
spearhead
Administrator
Posts: 1038
Re: rar files that end *.001
«
Reply #13 on:
August 01, 2009, 23:56:10 »
I made a quick fix to the menu so it will show on 600 px too:
replace the code in the div with id="subtable" with the following code in head.tpl
Code:
<div id="subtable">
{counter start=0 skip=1 assign="offset"}
{section name=x loop=$menu}
{assign var='mainmenuname' value=$menu[x][0]}
{if $mainmenuname != ''}
{assign var='size' value=$menu[x][2]}
{math equation="max (0, z - y/2 + 1) " z=$offset y=$size assign="offset_2"}
<table class="menutable hidden" id="submenu_{$offset}">
{* Offset determines the number of empty TR's we lead with, to position the submenu's next to the main menu item: *}
{section name=foo loop=$offset_2}
<tr class="menutr"><td class="invisiblesubmenutab"> </td></tr>
{/section}
{foreach key=link item=subitemname from=$menu[x][1]}
<tr class="menutr"><td class="submenutab menutabgen buttonlike" onclick="javascript:document.location='{$link}'">{$subitemname}</td></tr>
{/foreach}
</table>
{/if}
{counter}
{/section}
</div>
and replace the function generate_menu in web_functions.php with this code:
Code:
function generate_menu(array $LN)
{
global $isadmin, $db;
$do_viewfiles = FALSE; // don't show viewfiles if dbpath isn't set yet
// Default directory for viewfiles:
try {
if (isset($db)) {
$dlpath = get_dlpath($db);
$done = $dlpath . DONE_PATH;
$do_viewfiles = TRUE;
}
} catch (exception $e) {
$do_viewfiles = FALSE;
}
if (isset($_SESSION['urd_username']) && isset($_SESSION['urd_pass']))
$username = $_SESSION['urd_username'];
else if (isset($_COOKIE['urd_username']) && isset($_COOKIE['urd_pass'])) // it's always in the session but check the cookie anyway
$username = $_COOKIE['urd_username'];
$menu = array();
$item = array('', array('transfers.php' => $LN['menudownloads']), 1);
$menu[] = $item;
$item = array($LN['menubrowsesets'], array(
'browse.php' => $LN['menugroupsets']
)
,1
);
$menu[] = $item;
$item = array($LN['menu_overview'], array(
'newsgroups.php' => $LN['menunewsgroups'])
,1 );
$menu[] = $item;
if ($do_viewfiles === TRUE && isset($username)) {
$pv_path = urlencode($dlpath . PREVIEW_PATH . $username);
$nzb_path = urlencode($dlpath . NZB_PATH . $username);
$item = array($LN['menuviewfiles'], array(
'viewfiles.php' => $LN['menuviewfiles_downloads'],
'viewfiles.php?dir=' .$nzb_path =>$LN['menuviewfiles_nzbfiles'],
'viewfiles.php?dir=' . $pv_path =>$LN['menuviewfiles_previews']
), 3
);
$menu[] = $item;
}
$item = array('', array('prefs.php' => $LN['menupreferences']), 1);
$menu[] = $item;
$item = array('', array('stats.php' => $LN['menustats']), 1);
$menu[] = $item;
if (isset($isadmin) AND $isadmin) {
$item = array($LN['menuadmin'], array(
'admin_config.php'=> $LN['menuadminconfig'],
'admin_usenet_servers.php'=> $LN['menuadminusenet'],
'admin_control.php' => $LN['menuadmincontrol'],
'admin_tasks.php' => $LN['menuadmintasks'],
'admin_jobs.php' => $LN['menuadminjobs'],
'admin_users.php' => $LN['menuadminusers'],
'admin_buttons.php' => $LN['menuadminbuttons'],
'admin_log.php' => $LN['menuadminlog']
), 8);
$menu[] = $item;
}
$item = array($LN['menuhelp'], array(
'manual.php' => $LN['menumanual'],
'faq.php' => $LN['menufaq'],
'about.php' => $LN['menuabout'],
'licence.php' => $LN['menulicence'],
'http://urdland.com/forum/' => $LN['menuforum'],
'debug.php' => $LN['menudebug']
), 6);
$menu[] = $item;
if (isset($username)){
$item = array('', array('logout.php' => $LN['menulogout'] . '(' .$username . ')'), 1);
$menu[] = $item;
} else {
$item = array('', array('login.php' => $LN['menulogin']), 1);
$menu = array ($item);
}
return $menu;
}
(or use the svn version instead)
Logged
Pages: [
1
]
Print
« previous
next »
Jump to:
Please select a destination:
-----------------------------
General Category
-----------------------------
=> General Discussion
=> Recruitment
=> Technical Problems
=> Features
Loading...