Python/Flexget Something has changed

Problems with packages? Post here, using [tags] of the package name.

Re: Python/Flexget Something has changed

Postby kmihelich » Wed Mar 23, 2011 2:40 pm

Allow me to introduce you to one of my friends, pacpan. Nice utility for rolling cpan modules into a package.
Arch Linux ARM exists and continues to grow through community support, please donate today!
kmihelich
Developer
 
Posts: 1133
Joined: Tue Jul 20, 2010 6:55 am
Location: aka leming #archlinuxarm

Re: Python/Flexget Something has changed

Postby pepedog » Wed Mar 23, 2011 4:43 pm

Pity there is no pacpip
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Python/Flexget Something has changed

Postby pepedog » Sat Mar 26, 2011 12:19 pm

I just noticed, the sqlite db has changed, look at the flexget log and it tells you what to run to fix the accumulated db
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Python/Flexget Something has changed

Postby pepedog » Mon Apr 04, 2011 9:34 am

Just to let you know that flexget broke again. Easy to fix-
$this->bbcode_second_pass_code('', 'pacman -Sf python2-yaml')
Seems python-yaml is nor good enough any more
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Python/Flexget Something has changed

Postby twaddle » Wed May 18, 2011 9:23 am

Looks like I'm in a similar boat, did the upgrade and now notice two things:

When I attempt to run flexget, I get:

[root@Arch Linux ARM install /]# flexget --debug
Traceback (most recent call last):
File "/usr/bin/flexget", line 5, in <module>
from pkg_resources import load_entry_point
File "/usr/lib/python3.2/site-packages/pkg_resources.py", line 2672, in <module>
working_set.require(__requires__)
File "/usr/lib/python3.2/site-packages/pkg_resources.py", line 655, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/lib/python3.2/site-packages/pkg_resources.py", line 553, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: FlexGet==1.0r1581

And it appears my config.yml is gone... any ideas folks?
twaddle
 
Posts: 9
Joined: Thu Oct 28, 2010 8:40 pm

Re: Python/Flexget Something has changed

Postby pepedog » Wed May 18, 2011 1:07 pm

You are picking up python3, not python2
Did you-
pacman -Sf python2-yaml
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Python/Flexget Something has changed

Postby twaddle » Wed May 18, 2011 2:02 pm

I did, should it work without restarting?
twaddle
 
Posts: 9
Joined: Thu Oct 28, 2010 8:40 pm

Re: Python/Flexget Something has changed

Postby twaddle » Wed May 18, 2011 2:04 pm

this is what happens if I try re-running that line:


[root@Arch Linux ARM install .flexget]# pacman -Sf python2-yaml
warning: python2-yaml-3.09-3 is up to date -- reinstalling


edit: same result after a reboot
twaddle
 
Posts: 9
Joined: Thu Oct 28, 2010 8:40 pm

Re: Python/Flexget Something has changed

Postby pepedog » Wed May 18, 2011 4:04 pm

Try this command (Note it's a cap V)
python2 flexget -V
How did you install flexget?
pepedog
Developer
 
Posts: 2431
Joined: Mon Jun 07, 2010 3:30 pm
Location: London UK

Re: Python/Flexget Something has changed

Postby twaddle » Wed May 18, 2011 5:40 pm

If I run that from ~ I get


[root@Arch Linux ARM install ~]# python2 flexget -V
python2: can't open file 'flexget': [Errno 2] No such file or directory

If I go to /usr/bin which is the result of 'which flexget' I get:


[root@Arch Linux ARM install bin]# [root@Arch Linux ARM install ~]# python2 flexget -V
-bash: [root@Arch Linux ARM install: command not found
twaddle
 
Posts: 9
Joined: Thu Oct 28, 2010 8:40 pm

PreviousNext

Return to Packages

Who is online

Users browsing this forum: No registered users and 36 guests