Compile 0.5.2 ?

Get help with all aspects of SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
jmjay
Newbie
Newbie
Posts: 11
Joined: May 5th, 2010, 2:46 pm

Compile 0.5.2 ?

Post by jmjay »

Hi guys,

regarding my earlier topic of having the RSS Feed names to be used also as the job names I was trying to fiddle around a little bit with the source codes... I think I got what I want and I am now looking into doing a compile for windows...

Basically I found some guides/hints in the wiki and all but I can't seem to be able to check-out the 0.5.2 from svn?

Also, in the 0.5.2. source code no real setup.py is included... is there a reason for that?

I would be great if somebody could nudge me in the right direction here...

Cheers,

JMjay
jmjay
Newbie
Newbie
Posts: 11
Joined: May 5th, 2010, 2:46 pm

Re: Compile 0.5.2 ?

Post by jmjay »

Whoops, sorry for the confusion...

I somehow missed that you guys moved from sourceforge to assembla to launchpad... but this makes more sense now and I guys by using the package.py it will get me somewhere...

Cheers,

JMJay
jmjay
Newbie
Newbie
Posts: 11
Joined: May 5th, 2010, 2:46 pm

Re: Compile 0.5.2 ?

Post by jmjay »

Okay.. talking to myself, but still... here goes:

the launchpad bazaar checkout did the trick and although I get a "http cannot do a mkdir" error my "dist" directory seems to work like a charm... *sigh*

@shypike: I switched line 435 in rss.py to "nzbname = misc.sanitize_foldername(title)" same as 437 instead of "nzbname=none" and now I have nice RSS feed title names for my downloads...

Cheers,

JMJay
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Compile 0.5.2 ?

Post by shypike »

Which branch are you looking at?
Better not use the default (or 0.6.x), it's not very stable and may trash your queue.
Stick to 0.5.x.

Which issue are you referring to?
jmjay
Newbie
Newbie
Posts: 11
Joined: May 5th, 2010, 2:46 pm

Re: Compile 0.5.2 ?

Post by jmjay »

Hi shypike,

yes, I got the 0.5.x branch.

I am referring to my issue that I had with nzbs retrieved from nzbindex.nl which had most of the time sucky naming conventions, inlcuding the "3-digit" episode naming style, e.g. MyShow.522.XviD....

I resolved that problem by piping the NZBindex.nl feed through yahoo pipes (and sort out duplicates along the way) and by changing that one line I have now my perfectly formatted RSS feed item titles instead of the sucky nzb names.

Now I only have to figure out why my own compile is crashing on my htpc box but working on my notebook with a problem in ntdll.dll  :-(

All the best,

JMJay
jmjay
Newbie
Newbie
Posts: 11
Joined: May 5th, 2010, 2:46 pm

Re: Compile 0.5.2 ?

Post by jmjay »

Hi,

I finally managed to get almost everything sorted out...

I have a working version of the 0.5.x branch, compiled with Python 2.5 on windows with almost all modules. Seems now I have only one slight issue left:

During startup I get the infamous ""_yenc module... NOT found!" message. I tried to compile this, but as I do not have visual studio on my box it does not seems to compile. I tried to copy the _yenc.pyd into the final compile, but this did not seem to work.

As I am not too experienced with this whole setup it would be great if you could take a second and point me in the right direction (maybe you could PM me some compiled version for win32?)

Thank you all and all the best!

JMJay
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Compile 0.5.2 ?

Post by shypike »

You need both the _yenc.pyd and the yenc.py file.
jmjay
Newbie
Newbie
Posts: 11
Joined: May 5th, 2010, 2:46 pm

Re: Compile 0.5.2 ?

Post by jmjay »

Hi shypike,

thanks for the info... but again I have to ask: where exactly do they go?

If I run sabnzbd.py with pyton (uncompiled/packaged) I see in the console that yenc has been found, but it does not get picked up when I build the package and it (the _yenc.pyd) is missing in the lib directory...

Sorry for the stupid question, but thanks a million for the quick replies!

Cheers,

JMJay
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Compile 0.5.2 ?

Post by shypike »

Lib\site-packages
jmjay
Newbie
Newbie
Posts: 11
Joined: May 5th, 2010, 2:46 pm

Re: Compile 0.5.2 ?

Post by jmjay »

Hmm... that was somehow not it... I placed it there already :-(

As I said, during the python run with "python SABnzbd.py" it gets listed as being present, but is somehow not being inlcuded when built as binary with the package.py.

Hmm... maybe a little too much of try and error on my part :-( Any other last ideas? Thanks!

Cheers,

JMJay
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Compile 0.5.2 ?

Post by shypike »

Last suggestion.
Add the attached file (yenc-0.3-py2.6.egg-info) to the same folder.
Remove the ".txt" extension, that was only for uploading.
Post Reply