Giter Club home page Giter Club logo

Comments (5)

ilstam avatar ilstam commented on July 16, 2024

Hello,
I'll need some feedback for this.

  1. Which version of ffmulticonverter did you install?
  2. Have you ever installed a previous version?
  3. Your python version.
  4. The output of:
    ls /usr/share/ffmulticonverter
    ls /usr/local/share/ffmulticonverter
    ls ~/.config/ffmulticonverter
  5. Try import the presets list (the ffmulti/share/presets.xml file) and please provide me with any terminal output.

Thanks in advance and thanks for reporting.

from ff-multi-converter.

PinkPlasticBeach avatar PinkPlasticBeach commented on July 16, 2024

Hey There, back I am - been busy with life :] got the logs from that other Computer now

i DID try to install it with a .deb-package for the wrong (testing - i think its "Jessie") debian-version.
I thought i've purged but im not all sure

Here's a file anyway including python version and everything - hope it helps
I did a find *multiconverter in the end because /usr/share/ff... didnt exist
'FFMulticonverter 1.6.0

Python 3.2.3 - Qt 4.2.8 PyQt 4.9.3 on Linux

~$ ffmulticonverter 
<< Open Presets (Menu > Presets)
Traceback (most recent call last):
  File "/usr/lib/python3.2/xml/etree/ElementTree.py", line 1668, in feed
    self._parser.Parse(data, 0)
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 34, column 70

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.2/dist-packages/ffmulticonverter/presets_dlgs.py", line 124, in load_xml
    self.tree = etree.parse(self.current_presets_file)
  File "/usr/lib/python3.2/xml/etree/ElementTree.py", line 1223, in parse
    tree.parse(source, parser)
  File "/usr/lib/python3.2/xml/etree/ElementTree.py", line 678, in parse
    parser.feed(data)
  File "/usr/lib/python3.2/xml/etree/ElementTree.py", line 1670, in feed
    self._raiseerror(v)
  File "/usr/lib/python3.2/xml/etree/ElementTree.py", line 1543, in _raiseerror
    raise err
xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 34, column 70

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.2/dist-packages/ffmulticonverter/presets_dlgs.py", line 125, in load_xml
    except (etree.ParseError, FileNotFoundError):
NameError: global name 'FileNotFoundError' is not defined
Traceback (most recent call last):
  File "/usr/local/lib/python3.2/dist-packages/ffmulticonverter/presets_dlgs.py", line 153, in fill_presListWidget
    for i in sorted([y.tag for y in self.root]):
AttributeError: 'ShowPresets' object has no attribute 'root'

<< End Open Presets
<< Start Add Preset
Traceback (most recent call last):
  File "/usr/local/lib/python3.2/dist-packages/ffmulticonverter/presets_dlgs.py", line 189, in add_preset
    index = sorted([i.tag for i in self.root] + [dialog.name_text])\
AttributeError: 'ShowPresets' object has no attribute 'root'

<< End Add Preset

<< Import ~/.config/ffmulticonverter/presets.xml

Traceback (most recent call last):
  File "/usr/lib/python3.2/xml/etree/ElementTree.py", line 1668, in feed
    self._parser.Parse(data, 0)
xml.parsers.expat.ExpatError: not well-formed (invalid token): line 34, column 70

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.2/dist-packages/ffmulticonverter/presets_dlgs.py", line 124, in load_xml
    self.tree = etree.parse(self.current_presets_file)
  File "/usr/lib/python3.2/xml/etree/ElementTree.py", line 1223, in parse
    tree.parse(source, parser)
  File "/usr/lib/python3.2/xml/etree/ElementTree.py", line 678, in parse
    parser.feed(data)
  File "/usr/lib/python3.2/xml/etree/ElementTree.py", line 1670, in feed
    self._raiseerror(v)
  File "/usr/lib/python3.2/xml/etree/ElementTree.py", line 1543, in _raiseerror
    raise err
xml.etree.ElementTree.ParseError: not well-formed (invalid token): line 34, column 70

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.2/dist-packages/ffmulticonverter/presets_dlgs.py", line 125, in load_xml
    except (etree.ParseError, FileNotFoundError):
NameError: global name 'FileNotFoundError' is not defined
Traceback (most recent call last):
  File "/usr/local/lib/python3.2/dist-packages/ffmulticonverter/presets_dlgs.py", line 153, in fill_presListWidget
    for i in sorted([y.tag for y in self.root]):
AttributeError: 'ShowPresets' object has no attribute 'root'

<< End Import


/usr/share/ffmulti dont exist
~$ ls /usr/local/share/ffmulticonverter/
presets.xml
~$ ls ~/.config/ffmulticonverter
FF Muli Converter.conf  logs  presets.xml

~$find /usr -path "*ffmulticonverter*"
/usr/local/bin/ffmulticonverter
/usr/local/share/man/man1/ffmulticonverter.1.gz
/usr/local/share/ffmulticonverter
/usr/local/share/ffmulticonverter/presets.xml
/usr/local/share/applications/ffmulticonverter.desktop
/usr/local/share/pixmaps/ffmulticonverter.png
/usr/local/lib/python3.2/dist-packages/ffmulticonverter
/usr/local/lib/python3.2/dist-packages/ffmulticonverter/utils.py
/usr/local/lib/python3.2/dist-packages/ffmulticonverter/qrc_resources.py
/usr/local/lib/python3.2/dist-packages/ffmulticonverter/presets_dlgs.py
/usr/local/lib/python3.2/dist-packages/ffmulticonverter/about_dlg.py
/usr/local/lib/python3.2/dist-packages/ffmulticonverter/__pycache__
/usr/local/lib/python3.2/dist-packages/ffmulticonverter/__pycache__/progress.cpython-32.pyc
/usr/local/lib/python3.2/dist-packages/ffmulticonverter/__pycache__/utils.cpython-32.pyc
/usr/local/lib/python3.2/dist-packages/ffmulticonverter/__pycache__/presets_dlgs.cpython-32.pyc
/usr/local/lib/python3.2/dist-packages/ffmulticonverter/__pycache__/preferences_dlg.cpython-32.pyc
/usr/local/lib/python3.2/dist-packages/ffmulticonverter/__pycache__/ffmulticonverter.cpython-32.pyc
/usr/local/lib/python3.2/dist-packages/ffmulticonverter/__pycache__/__init__.cpython-32.pyc
/usr/local/lib/python3.2/dist-packages/ffmulticonverter/__pycache__/qrc_resources.cpython-32.pyc
/usr/local/lib/python3.2/dist-packages/ffmulticonverter/__pycache__/about_dlg.cpython-32.pyc
/usr/local/lib/python3.2/dist-packages/ffmulticonverter/__init__.py
/usr/local/lib/python3.2/dist-packages/ffmulticonverter/preferences_dlg.py
/usr/local/lib/python3.2/dist-packages/ffmulticonverter/progress.py
/usr/local/lib/python3.2/dist-packages/ffmulticonverter/ffmulticonverter.py
/usr/local/lib/python3.2/dist-packages/ffmulticonverter-1.6.0.egg-info'

from ff-multi-converter.

ilstam avatar ilstam commented on July 16, 2024

Hello again,

Unfortunately I can't reproduce this and I don't have access to any debian machine. I tried on a fresh ubuntu installation, but I didn't had any problems with the presets.

I think that it might be a bug with the 1.6.0 version allowing user to insert invalid xml code to the presets file. The bug is now fixed.

It would be very helpful to tell me if you confront any problems with the new - coming very soon - version on that machine.

In order to do it:

  1. Remove the program with your package manager (if you finally installed it that way)
  2. git clone https://github.com/Ilias95/FF-Multi-Converter to get the latest version.
  3. Enter the downloaded folder and type ./uninstall.sh as root to remove all project related files from your system. You should also manually remove the ~/.config/ffmulticonverter directory where the program preferences are stored.
  4. Install the program from source by running python3 ./launcher install and check if everything is ok with the presets.

Thank you very much for all your feedback and looking forward to hear if the new version runs properly for you.

from ff-multi-converter.

ilstam avatar ilstam commented on July 16, 2024

I updated the uninstall script.

You should just run ./uninstall.sh as root and then remove the ~/.config/ffmulticonverter directory manually.

from ff-multi-converter.

ilstam avatar ilstam commented on July 16, 2024

Fixed: 62ee455

It was finally a small incompatibility with python version 3.2 that Debian stable uses.
Unfortunately it's not included in the latest stable, but you can use the upstream version by cloning this repo.

from ff-multi-converter.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.