10-07-2019, 10:57 AM | #1741 |
Addict
Posts: 224
Karma: 10
Join Date: Jul 2012
Device: Kindle
|
Thanks...that solved the problem.
I had been through that a long time ago and had set gmail to accept 'less secure' apps. How it changed I do not know as I did not intentionally change it. Anyway, it is now working COPS also still relies on an 'older' module in python. When QNAP does a firmware update, it often messes up my install of python in opkg. Then I get the error trying to run COPS: Code:
ImportError: No module named CGIHTTPServer So, I keep trying the new COPS versions, hoping against hope that he has updated to the newer python modules. So far, no cigar... Again, thanks for checking that! That feature is very popular with many of my COPS users as they prefer the ease of simply having the ebook show up in their Kindle or Kindle compatible device through the Amazon send-to-email account setup. Monty |
10-07-2019, 11:35 AM | #1742 |
Guru
Posts: 719
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
As far as I know (but correct me if I'm wrong) COPS does not list Python as a dependency.
The module CGIHTTPServer does exist in Python 2.7 that is deprecated in the latest linux releases This might be a problem in the future. Maybe that's why my LAN server still runs Debian Jessie (8) instead of the latest and greatest. However COPS still runs fine on Debian Buster (10). So I'm not to worried yet. |
Advert | |
|
10-07-2019, 11:42 AM | #1743 | |
Addict
Posts: 224
Karma: 10
Join Date: Jul 2012
Device: Kindle
|
Quote:
My bad...I use two packages, COPS and Ubooquity for user access to various media. Since COPS does not handle audio book, music, and wallpaper image files, I use Uboo for those. It is Uboo that has the python dependency, not COPS. Thanks for that correction! |
|
10-07-2019, 12:32 PM | #1744 |
Guru
Posts: 719
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
...... but .... isn't Ubooquity(.jar) java? Not Python?.....
I have Ubooquity installed, It's nice, but I don't use it much. |
11-10-2019, 11:28 PM | #1745 | |
Addict
Posts: 224
Karma: 10
Join Date: Jul 2012
Device: Kindle
|
Quote:
Code:
python /share/Web/cops111/pagekite.py --daemonize --optfile=/share/Web/cops111/pagekite.rc mywebsite.pagekite.me Anyway, assuming I can't budge the Pagekite developer off his seeming refusal to get up to date with python2 and python3 modules, does anyone here have any experience with using a ddns service with COPS on Linux? Pagekite's script eliminates any port forwarding issues altogether, so setup and configuration in the QNAP is straight forward as the above startup script shows. Anyone have experience with something similar? I pay a few bucks a month for Pagekite as a 'donation', and it has been worth it for many years, but I am looking for something that isn't hung up on an old python module, LoL. Thanks for any tips! monty |
|
Advert | |
|
03-05-2020, 11:55 AM | #1746 |
Junior Member
Posts: 4
Karma: 10
Join Date: Mar 2020
Device: Kindle
|
Hello folks!
A have a quick question: is there a way to switch between case sensitive / case insensitive search in COPS? |
03-06-2020, 09:16 AM | #1747 |
Guru
Posts: 719
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
@stefanak
The only setting in COPS (that I am aware of) is (in config_local.php): Code:
/* * WARNING NOT READY FOR PRODUCTION USE * Make the search better (don't care about diacritics, uppercase should work on Cyrillic) but slower. * 1 : Yes (enable) * 0 : No */ $config ['cops_normalized_search'] = "0"; |
03-06-2020, 09:37 AM | #1748 | |
Junior Member
Posts: 4
Karma: 10
Join Date: Mar 2020
Device: Kindle
|
Quote:
|
|
03-06-2020, 12:58 PM | #1749 |
Guru
Posts: 719
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
Interesting.......
I'm running cops with apache on Windows 10 and Debian Linux and I get the same search results whether I search for "Francis" or "francis" or "FRANCIS". (When searching for Francis.) I used Firefox as browser. Can you give an example where this does not work for you? Last edited by mariosipad; 03-06-2020 at 01:12 PM. |
03-06-2020, 01:19 PM | #1750 |
Junior Member
Posts: 4
Karma: 10
Join Date: Mar 2020
Device: Kindle
|
I'm using COPS on Synology NAS Webstation (Apache). The COPS configuration is the default one, except the localization and library directory. BUT, there is difference between linux, Linux and LINUX - I get different corresponding results???
|
03-06-2020, 03:18 PM | #1751 |
Guru
Posts: 719
Karma: 10738
Join Date: Nov 2012
Device: iPad & iPhone with Marvin 2 + 3 & Kobo Glo HD
|
What localization have you set?
I have not set it. It’s the only relevant COPS difference between our setups I can think of. |
03-10-2020, 02:29 PM | #1752 | |
Junior Member
Posts: 4
Karma: 10
Join Date: Mar 2020
Device: Kindle
|
Quote:
Thank you very much for your cooperation and replies. The problem was in the results in Cyrillic. But now everything is fine and is working properly. I suppose it was my mistake by the configuration files. Thanks |
|
08-23-2020, 05:09 AM | #1753 |
Junior Member
Posts: 6
Karma: 10
Join Date: Feb 2014
Device: Kindle
|
I am moving to a new Synology NAS and the first thing I wanted to move was my COPS library.
I wanted to avoid the Synocommunity package because it is an older version. I also wanted to use Apache 4.4 and PHP 7.3, so I:
checkconfig.php doesn't give me any error Can anyone suggest what I am doing wrong? Thanks in advance |
08-23-2020, 05:31 AM | #1754 |
Junior Member
Posts: 6
Karma: 10
Join Date: Feb 2014
Device: Kindle
|
I seem to have found the solution: there are some difference in the config_default.php, so I rebuilt it from the sample in the distribution.
I don't know which differences are meaningful (is it critical that quoted text use a different kind of quote?), but now everything works |
09-02-2020, 04:08 AM | #1755 |
Junior Member
Posts: 4
Karma: 10
Join Date: Sep 2020
Device: Kindle
|
Salut,
Merci pour Cops, ça fonctionne parfaitement et je l'utilise depuis plusieurs années (version 1.0.1). Une petite question quand même, j'arrive à 100.000 ebooks et l'affichage de certaines pages est très long, y a t-il une astuce pour l’accélérer ? Merci GoogleTrad Hello, Thanks for Cops, it works perfectly and I have been using it for several years (version 1.0.1). A small question anyway, I get to 100,000 ebooks and the display of some pages is very long, is there a trick to speed it up? Thank you |
Tags |
calibre opds, dns, kobo aura, synology |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Calibre OPDS server with windows apps? | nickdma | Related Tools | 10 | 03-03-2024 02:53 PM |
[Old Thread] Android FBreader and Calibre OPDS server question | kalex | Calibre | 5 | 12-24-2015 10:16 PM |
PHP+Apache web server for calibre ... | chaley | Related Tools | 254 | 04-28-2014 08:18 PM |
External OPDS catalogue in Calibre | bolton | Calibre | 1 | 09-05-2012 06:14 AM |
Calibre Command Line usage with PHP | artoros | Related Tools | 13 | 07-01-2010 09:57 AM |