libretime icon indicating copy to clipboard operation
libretime copied to clipboard

Error during upload new tracks

Open cybicz opened this issue 3 years ago • 8 comments

Hi guys, after long time I need to upload new tracks to my LibreTime, but I'm getting error....

Steps:

  1. Click on upload
  2. Draging mp3 file (44100, 320 kbps cbr) to upload window
  3. An error occurred while processing your upload. Please try again in a few minutes. pops out

LibreTime version: 3.0.0 alpha 10, 3.0.0 alpha 9

Installation method:

  • OS: Debian 10 Buster
  • Method: downloading libretime-3.0.0-alpha.10.tar.gz, then bash install -fiap

Client

  • OS: Windows 10 (PC1), OSX (NTB)
  • Browser: Chrome on PC1, Chrome and Safari on NTB

Additional context When I'm trying open status page (/systemstatus), I'm getting ,,Oops! Something went wrong!''

cybicz avatar Feb 02 '22 10:02 cybicz

Could you post the analyzer and zendphp log files please ?

jooola avatar Feb 02 '22 10:02 jooola

Here: airtime_analyzer.log zendphp.log

Thanks!

cybicz avatar Feb 02 '22 11:02 cybicz

Have you set the rabbitMQ password or changed the password in the config file? Looks like the various components can't communicate to RabbitMQ

paddatrapper avatar Feb 02 '22 12:02 paddatrapper

Nope, I'm using the same password for this instance of LibreTime all the time..

[rabbitmq] host = 127.0.0.1 port = 5672 user = airtime password = dnbtv****** vhost = /airtime

cybicz avatar Feb 02 '22 12:02 cybicz

cybi@test2:/etc/airtime# sudo -u www-data airtime_analyzer
sudo: unable to resolve host test2: Name or service not known
/usr/local/lib/python3.7/dist-packages/pkg_resources/__init__.py:119: PkgResourcesDeprecationWarning: 7.5.3-deb10u1 is an invalid version and will not be supported in a future release
  PkgResourcesDeprecationWarning,
Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/pkg_resources/__init__.py", line 573, in _build_master
    ws.require(__requires__)
  File "/usr/local/lib/python3.7/dist-packages/pkg_resources/__init__.py", line 891, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/local/lib/python3.7/dist-packages/pkg_resources/__init__.py", line 782, in resolve
    raise VersionConflict(dist, req).with_context(dependent_req)
pkg_resources.ContextualVersionConflict: (PyGObject 3.42.0 (/usr/local/lib/python3.7/dist-packages), Requirement.parse('PyGObject<=3.36.1'), {'airtime-analyzer'})

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/bin/airtime_analyzer", line 4, in <module>
    __import__('pkg_resources').run_script('airtime-analyzer==0.1', 'airtime_analyzer')
  File "/usr/local/lib/python3.7/dist-packages/pkg_resources/__init__.py", line 3256, in <module>
    @_call_aside
  File "/usr/local/lib/python3.7/dist-packages/pkg_resources/__init__.py", line 3231, in _call_aside
    f(*args, **kwargs)
  File "/usr/local/lib/python3.7/dist-packages/pkg_resources/__init__.py", line 3269, in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/local/lib/python3.7/dist-packages/pkg_resources/__init__.py", line 575, in _build_master
    return cls._build_from_requirements(__requires__)
  File "/usr/local/lib/python3.7/dist-packages/pkg_resources/__init__.py", line 588, in _build_from_requirements
    dists = ws.resolve(reqs, Environment())
  File "/usr/local/lib/python3.7/dist-packages/pkg_resources/__init__.py", line 777, in resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'rgain3==1.0.0' distribution was not found and is required by airtime-analyzer

cybicz avatar Feb 02 '22 12:02 cybicz

Any other tips? Thanks

cybicz avatar Feb 07 '22 11:02 cybicz

Try upgrade LibreTime to the code currently in main, though do note the BREAKING CHANGE notices in the commit messages. There has been work to replace rgain3 and silan with ffmpeg

paddatrapper avatar Feb 07 '22 11:02 paddatrapper

I have same issue in alpha12 when upload 1 hour long mp3 files. Short standart tracks uploads successfully.

esbobkov avatar May 21 '22 10:05 esbobkov

Сan not reproduce after upgrade to 3.0.0-beta.0

esbobkov avatar Sep 20 '22 06:09 esbobkov

Closing as outdated, @cybicz please let us know if this still happens on the latest version of LibreTime, we can then reopen.

jooola avatar Sep 21 '22 09:09 jooola