Bug 241310 - www/py-flexget SQLAlchemy error
Summary: www/py-flexget SQLAlchemy error
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: amd64 Any
: --- Affects Only Me
Assignee: Jan Beich
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-10-17 13:51 UTC by Fotis Zabaras
Modified: 2019-10-17 14:48 UTC (History)
1 user (show)

See Also:
bugzilla: maintainer-feedback? (jbeich)
jbeich: maintainer-feedback? (sunpoet)


Attachments
Flexget output (2.49 KB, text/plain)
2019-10-17 13:51 UTC, Fotis Zabaras
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Fotis Zabaras 2019-10-17 13:51:50 UTC
Created attachment 208387 [details]
Flexget output

With the latest version of flexget I get this error when I run it:

AttributeError: module 'sqlalchemy.util' has no attribute 'deprecated_params'

I managed to fix it changing the 
${PYTHON_PKGNAMEPREFIX}sqlalchemy12>0:databases/py-sqlalchemy12@${PY_FLAVOR} \

to

${PYTHON_PKGNAMEPREFIX}sqlalchemy13>0:databases/py-sqlalchemy13@${PY_FLAVOR} \

in Makefile of the port
Comment 1 Jan Beich freebsd_committer 2019-10-17 14:22:48 UTC
I can't reproduce. The error occurs within sqlalchemy files i.e., likely not a flexget bug. Can you show versions of installed packages? 

Below is example ~/.flexget/config.yml. If it doesn't trigger the error try bisecting your config.

tasks:
  bsdnow_mp3:
    rss: https://feeds.feedburner.com/BsdNowMp3
    accept_all: yes
    limit_new: 1
    exec: fetch -qo "/tmp/{{title}}.mp3" "{{url}}"
Comment 2 Fotis Zabaras 2019-10-17 14:48:40 UTC
so 

#pkg info -dx py36-flexget
py36-flexget-2.21.25,1:
	py36-requests-2.21.0
	py36-html5lib-1.0.1
	py36-flask-restplus-0.10.1
	py36-Flask-RESTful-0.3.6
	py36-Flask-Login-0.4.1
	py36-Flask-Cors-2.1.2
	py36-Flask-Compress-1.4.0
	py36-Flask-1.1.1
	py36-cherrypy-5.4.0_3
	py36-beautifulsoup-4.8.0
	py36-terminaltables-3.1.0
	py36-rss2gen-1.1
	py36-feedparser-5.2.1
	py36-colorclass-2.2.0
	py36-plumbum-1.6.7
	py36-zxcvbn-4.4.28
	py36-pynzb-0.1.0_2
	py36-guessit-2.1.4
	py36-progressbar-2.5
	python36-3.6.9
	py36-yaml-5.1
	py36-setuptools-41.2.0
	py36-rebulk-0.9.0
	py36-pyparsing-2.4.1.1
	py36-path.py-11.5.2
	py36-jsonschema-3.0.2
	py36-future-0.17.1_1
	py36-dateutil-2.8.0
	py36-apscheduler-3.6.1
	py36-rpyc-3.3.0_1
	py36-Jinja2-2.10.1
	py36-sqlalchemy13-1.3.8