.local/share/data/qBittorrent/nova

Linux specific questions, problems.
Post Reply
neuron

.local/share/data/qBittorrent/nova

Post by neuron »

Hi,

.local/share/data/qBittorrent/nova
.local/share/data/qBittorrent/nova/engines/   
                        __init__.pyc
                        __init__.py
                        torrentz.pyc
                        torrentz.py
                        piratebay.pyc
                        piratebay.py

change some python files its normal?

After first installation ... the files don't change ?

Regards,
Neuron
ciaobaby

Re: .local/share/data/qBittorrent/nova

Post by ciaobaby »

change some python files its normal?
Probably, ... ... But what exactly are you asking about?

After first installation ... the files don't change ?
They are search engines 'plugins', why should they 'change'?

.py is the bare script source for the interpreter.

.pyc is the script pre-compiled to "byte code" [executable instructions] which the Python "virtual machine" can run.
neuron

Re: .local/share/data/qBittorrent/nova

Post by neuron »

ciaobaby wrote:
change some python files its normal?
Probably, ... ... But what exactly are you asking about?

After first installation ... the files don't change ?
They are search engines 'plugins', why should they 'change'?

.py is the bare script source for the interpreter.

.pyc is the script pre-compiled to "byte code" [executable instructions] which the Python "virtual machine" can run.
But they changed .....

                        __init__.pyc
                        __init__.py
                        torrentz.pyc
                        torrentz.py
                        piratebay.pyc
                        piratebay.py


-rw-rw-r-- 1 xxx xxx  151 2015-06-09 11:26 __init__.pyc
-rw-rw-r-- 1 xxx xxx    0 2015-06-09 11:26 __init__.py
-rw------- 1 xxx xxx 3940 2015-06-07 02:15 torrentz.pyc
-rw------- 1 xxx xxx 5198 2015-06-07 02:15 torrentz.py
-rw------- 1 xxx xxx 5884 2015-06-07 02:15 piratebay.pyc
-rw------- 1 xxx xxx 7595 2015-06-07 02:15 piratebay.py
-r--r--r-- 1 xxx xxx 1853 2015-06-02 17:45 btdigg.pyc
-r--r--r-- 1 xxx xxx 4098 2015-06-02 17:45 mininova.pyc
-r--r--r-- 1 xxx xxx 4406 2015-06-02 17:45 extratorrent.pyc
-r--r--r-- 1 xxx xxx 4483 2015-06-02 17:45 torrentreactor.pyc
-r--r--r-- 1 xxx xxx 4154 2015-06-02 17:45 legittorrents.pyc
-r--r--r-- 1 xxx xxx 2159 2015-06-02 17:45 kickasstorrents.pyc
-r--r--r-- 1 xxx xxx  278 2015-06-02 17:45 piratebay.png
-r--r--r-- 1 xxx xxx  252 2015-06-02 17:45 torrentreactor.png
...


This  ones ... changed last times I run qbit. Why?

The rest of python search engines Plugins don't have any changes.

and most have            -r--r--r--

-rw-------

This is a security breach in the program?

Regards,
Neuron
ciaobaby

Re: .local/share/data/qBittorrent/nova

Post by ciaobaby »

But they changed .....

                        __init__.pyc
                        __init__.py
                        torrentz.pyc
                        torrentz.py
                        piratebay.pyc
                        piratebay.py
So you use piratebay and torrentz search engines then.
This is a security breach in the program?
No. it means you have the search engine active with those two search engines enabled.
neuron

Re: .local/share/data/qBittorrent/nova

Post by neuron »

ciaobaby wrote:
But they changed .....

                        __init__.pyc
                        __init__.py
                        torrentz.pyc
                        torrentz.py
                        piratebay.pyc
                        piratebay.py
So you use piratebay and torrentz search engines then.
Yes and extratorrent, torrentreactor, legittorrents, kickasstorrents, torrentz, btdigg, mininova

I don't understand ... what is your point?

In "Search" tab you can see all this plugins.
I enter text ... "Ubuntu" and he use all plugins ...

This is a security breach in the program?
No. it means you have the search engine active with those two search engines enabled.
In your last comment:
"They are search engines 'plugins', why should they 'change'?"
I don't know ... but the date is different ... that's my question


Best Regards,
Neuron
Last edited by neuron on Thu Jun 11, 2015 10:22 pm, edited 1 time in total.
ciaobaby

Re: .local/share/data/qBittorrent/nova

Post by ciaobaby »

Python, the scripting language the search engines are written has a JIT (Just In Time) compiler that will, if necessary, compile and optimise the script language into 'byte code' [aka p-code] that will execute quicker and more efficiently than the interpreter can parse the script many times, because it uses system calls directly rather than having to 'interpret' and run every line of code.

The byte code is in the .pyc files and the script is in the .py. The .py files may be updated with client updates and/or you selecting [ Update Search Engines]. The JIT compiler MAY run each time you perform a search which will update the .pyc files.
neuron

Re: .local/share/data/qBittorrent/nova

Post by neuron »

[quote="ciaobaby"]
Python, the scripting language the search engines are written has a JIT (Just In Time) compiler that will, if necessary, compile and optimise the script language into 'byte code' [aka p-code] that will execute quicker and more efficiently than the interpreter can parse the script many times, because it uses system calls directly rather than having to 'interpret' and run every line of code.

The byte code is in the .pyc files and the script is in the .py. The .py files may be updated with client updates and/or you selecting [ Update Search Engines]. The JIT compiler MAY run each time you perform a search which will update the .pyc files.
[/quote]

Thank you very much for your info.

Yes if I "Update Search Engines" the files are update.

But I click ... and qbittorrent ... write ... "No UPDATE".

In .cache/qBittorrent/ is normal the files change
And .config/qBittorrent/qBittorrent* update every time I start and quit the application.

Regards,
Neuron
ciaobaby

Re: .local/share/data/qBittorrent/nova

Post by ciaobaby »

And .config/qBittorrent/qBittorrent* update every time I start and quit the application.
It will because it is updated EVERY time you close the client  to save the last known configuration AND it is updated if you make any changes to the client settings. Which includes resizing or repositioning the GUI window.
neuron

Re: .local/share/data/qBittorrent/nova

Post by neuron »

ciaobaby wrote:
And .config/qBittorrent/qBittorrent* update every time I start and quit the application.
It will because it is updated EVERY time you close the client  to save the last known configuration AND it is updated if you make any changes to the client settings. Which includes resizing or repositioning the GUI window.
Hi,

It's normal that this 2 update:
.cache/qBittorrent/
.config/qBittorrent/qBittorrent*

All programs use this folders.

My Q. was .local/share/data/qBittorrent/nova
I understand now.

In past I think you need a new version to update the plugins.
Now
      .pyc -> everytime you run a search update, optimize the code,
      .py  -> the user or the program (qbittorrent) update

Thank you for your comments and we are illuminate :-) :-) :-)

Neuron
Post Reply