New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"+"s removed from device URIs. Causes, "client-error-not-possible". #208
Comments
Hi @Greatnessguru Eddie, thank you for reporting this issue! I personally don't have any gutenprint supported printer, would you mind testing a following patch?
You can just add the change to your I'm able to test if Thank you in advance! |
I only have "newprinter.cpython-37.pyc" and similar "Python bytecode".
It is in /usr/share/system-config-printer/_pycache_.
My text editor does not like it.
I am not set up to do any compiling, but I could substitute that pyc file
if someone can do the compiling for me.
Thanks, Eddie.
…On Tue, Jan 19, 2021 at 12:32 AM zdohnal ***@***.***> wrote:
Hi @Greatnessguru <https://github.com/Greatnessguru> Eddie,
thank you for reporting this issue!
I personally don't have any gutenprint supported printer, would you mind
testing a following patch?
--- a/newprinter.py
+++ b/newprinter.py
@@ -2941,7 +2941,7 @@ class NewPrinterGUI(GtkGUI):
entry.set_text(new_text)
def on_entNPTDevice_changed(self, ent):
- allowed_chars = string.ascii_letters+string.digits+'_-./:%[]()@?=&'
+ allowed_chars = string.ascii_letters+string.digits+'_-./:%[]()@?=&+'
self.entry_changed(ent, allowed_chars)
self.setNPButtons()
You can just add the change to your newprinter.py you have installed -
f.e. it is in /usr/share/system-config-printer dir in Fedora.
I'm able to test if + is not removed if I enter the whole uri (it works
with this patch), but I'm not sure if it is applied during device discovery
in s-c-p (I would need a device for it).
Thank you in advance!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#208 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADUBK7OWPGNHQA2EBZXE6ULS2UKNLANCNFSM4WGJKEBQ>
.
--
Thank you,
Eddie Maddox
greatnessguru@gmail.com
Greatness: "Find a way to serve the many.",
Jim Rohn, based on the Bible.
|
@Greatnessguru IMO the easiest way for you would be to clone the repo and compile it by itself, because I don't have python3.7 here. |
I have the time on my hands to learn this. I'm not a raw beginner,
but I have a ways to go.
I found "def on_entNPTDevice_changed(self, ent):" on line 2943
of system-config-printer <https://github.com/zdohnal/system-config-printer>/
newprinter.py
of the master branch.
I only see 1.4.x and libsecret branches, no plus_in_uris branch.
I have git and Python 3.7 already installed.
(RPi OS tracks the Debian Buster releases pretty closely.
I do upgrades weekly.)
I'll try to figure out how to clone the master branch.
If you can supply the Git command for that, it might help.
Thanks.
…On Tue, Jan 19, 2021 at 4:44 AM zdohnal ***@***.***> wrote:
@Greatnessguru <https://github.com/Greatnessguru> IMO the easiest way for
you would be to clone the repo and compile it by itself, because I don't
have python3.7 here.
I pushed the change to branch called plus_in_uris.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#208 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADUBK7LANR75C64A6PXVBALS2VH6DANCNFSM4WGJKEBQ>
.
--
Thank you,
Eddie Maddox
greatnessguru@gmail.com
Greatness: "Find a way to serve the many.",
Jim Rohn, based on the Bible.
|
I found it!
https://github.com/OpenPrinting/system-config-printer/blob/plus_in_uris/newprinter.py
I see your added "+", too.
On Tue, Jan 19, 2021 at 11:11 AM Eddie Maddox <greatnessguru@gmail.com>
wrote:
… I have the time on my hands to learn this. I'm not a raw beginner,
but I have a ways to go.
I found "def on_entNPTDevice_changed(self, ent):" on line 2943
of system-config-printer
<https://github.com/zdohnal/system-config-printer>/newprinter.py
of the master branch.
I only see 1.4.x and libsecret branches, no plus_in_uris branch.
I have git and Python 3.7 already installed.
(RPi OS tracks the Debian Buster releases pretty closely.
I do upgrades weekly.)
I'll try to figure out how to clone the master branch.
If you can supply the Git command for that, it might help.
Thanks.
On Tue, Jan 19, 2021 at 4:44 AM zdohnal ***@***.***> wrote:
> @Greatnessguru <https://github.com/Greatnessguru> IMO the easiest way
> for you would be to clone the repo and compile it by itself, because I
> don't have python3.7 here.
> I pushed the change to branch called plus_in_uris.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub
> <#208 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/ADUBK7LANR75C64A6PXVBALS2VH6DANCNFSM4WGJKEBQ>
> .
>
--
Thank you,
Eddie Maddox
***@***.***
Greatness: "Find a way to serve the many.",
Jim Rohn, based on the Bible.
--
Thank you,
Eddie Maddox
greatnessguru@gmail.com
Greatness: "Find a way to serve the many.",
Jim Rohn, based on the Bible.
|
I found, "https://github.com/OpenPrinting/system-config-printer.git"
and used that in "git clone". The "+" is missing, though!
Also, how do I compile and test?
On Tue, Jan 19, 2021 at 11:25 AM Eddie Maddox <greatnessguru@gmail.com>
wrote:
… I found it!
https://github.com/OpenPrinting/system-config-printer/blob/plus_in_uris/newprinter.py
I see your added "+", too.
On Tue, Jan 19, 2021 at 11:11 AM Eddie Maddox ***@***.***>
wrote:
> I have the time on my hands to learn this. I'm not a raw beginner,
> but I have a ways to go.
>
> I found "def on_entNPTDevice_changed(self, ent):" on line 2943
> of system-config-printer
> <https://github.com/zdohnal/system-config-printer>/newprinter.py
> of the master branch.
> I only see 1.4.x and libsecret branches, no plus_in_uris branch.
>
> I have git and Python 3.7 already installed.
> (RPi OS tracks the Debian Buster releases pretty closely.
> I do upgrades weekly.)
> I'll try to figure out how to clone the master branch.
> If you can supply the Git command for that, it might help.
>
> Thanks.
>
>
> On Tue, Jan 19, 2021 at 4:44 AM zdohnal ***@***.***> wrote:
>
>> @Greatnessguru <https://github.com/Greatnessguru> IMO the easiest way
>> for you would be to clone the repo and compile it by itself, because I
>> don't have python3.7 here.
>> I pushed the change to branch called plus_in_uris.
>>
>> —
>> You are receiving this because you were mentioned.
>> Reply to this email directly, view it on GitHub
>> <#208 (comment)>,
>> or unsubscribe
>> <https://github.com/notifications/unsubscribe-auth/ADUBK7LANR75C64A6PXVBALS2VH6DANCNFSM4WGJKEBQ>
>> .
>>
>
>
> --
> Thank you,
> Eddie Maddox
> ***@***.***
> Greatness: "Find a way to serve the many.",
> Jim Rohn, based on the Bible.
>
--
Thank you,
Eddie Maddox
***@***.***
Greatness: "Find a way to serve the many.",
Jim Rohn, based on the Bible.
--
Thank you,
Eddie Maddox
greatnessguru@gmail.com
Greatness: "Find a way to serve the many.",
Jim Rohn, based on the Bible.
|
Possible github bug?
Clone, HTTPS addresses:
master: https://github.com/OpenPrinting/system-config-printer.git
plus_in_uris: https://github.com/OpenPrinting/system-config-printer.git
They are the same. That can't be right. That explains why I did not see
your "+" you added.
On Tue, Jan 19, 2021 at 11:46 AM Eddie Maddox <greatnessguru@gmail.com>
wrote:
… I found, "https://github.com/OpenPrinting/system-config-printer.git"
and used that in "git clone". The "+" is missing, though!
Also, how do I compile and test?
On Tue, Jan 19, 2021 at 11:25 AM Eddie Maddox ***@***.***>
wrote:
> I found it!
> https://github.com/OpenPrinting/system-config-printer/blob/plus_in_uris/newprinter.py
> I see your added "+", too.
>
> On Tue, Jan 19, 2021 at 11:11 AM Eddie Maddox ***@***.***>
> wrote:
>
>> I have the time on my hands to learn this. I'm not a raw beginner,
>> but I have a ways to go.
>>
>> I found "def on_entNPTDevice_changed(self, ent):" on line 2943
>> of system-config-printer
>> <https://github.com/zdohnal/system-config-printer>/newprinter.py
>> of the master branch.
>> I only see 1.4.x and libsecret branches, no plus_in_uris branch.
>>
>> I have git and Python 3.7 already installed.
>> (RPi OS tracks the Debian Buster releases pretty closely.
>> I do upgrades weekly.)
>> I'll try to figure out how to clone the master branch.
>> If you can supply the Git command for that, it might help.
>>
>> Thanks.
>>
>>
>> On Tue, Jan 19, 2021 at 4:44 AM zdohnal ***@***.***>
>> wrote:
>>
>>> @Greatnessguru <https://github.com/Greatnessguru> IMO the easiest way
>>> for you would be to clone the repo and compile it by itself, because I
>>> don't have python3.7 here.
>>> I pushed the change to branch called plus_in_uris.
>>>
>>> —
>>> You are receiving this because you were mentioned.
>>> Reply to this email directly, view it on GitHub
>>> <#208 (comment)>,
>>> or unsubscribe
>>> <https://github.com/notifications/unsubscribe-auth/ADUBK7LANR75C64A6PXVBALS2VH6DANCNFSM4WGJKEBQ>
>>> .
>>>
>>
>>
>> --
>> Thank you,
>> Eddie Maddox
>> ***@***.***
>> Greatness: "Find a way to serve the many.",
>> Jim Rohn, based on the Bible.
>>
>
>
> --
> Thank you,
> Eddie Maddox
> ***@***.***
> Greatness: "Find a way to serve the many.",
> Jim Rohn, based on the Bible.
>
--
Thank you,
Eddie Maddox
***@***.***
Greatness: "Find a way to serve the many.",
Jim Rohn, based on the Bible.
--
Thank you,
Eddie Maddox
greatnessguru@gmail.com
Greatness: "Find a way to serve the many.",
Jim Rohn, based on the Bible.
|
For your branch I did Code > Download Zip and extracted it.
I saw: def on_entNPTDevice_changed(self, ent):
allowed_chars = string.ascii_letters+string.digits+'_-./:%[]()@?=&+'
Do we need to file a bug report with Github about having the wrong
Code > Clone, HTTPS address for your branch, but the correct Zip file?
On Tue, Jan 19, 2021 at 1:12 PM Eddie Maddox <greatnessguru@gmail.com>
wrote:
… Possible github bug?
Clone, HTTPS addresses:
master: https://github.com/OpenPrinting/system-config-printer.git
plus_in_uris: https://github.com/OpenPrinting/system-config-printer.git
They are the same. That can't be right. That explains why I did not see
your "+" you added.
On Tue, Jan 19, 2021 at 11:46 AM Eddie Maddox ***@***.***>
wrote:
> I found, "https://github.com/OpenPrinting/system-config-printer.git"
> and used that in "git clone". The "+" is missing, though!
>
> Also, how do I compile and test?
>
> On Tue, Jan 19, 2021 at 11:25 AM Eddie Maddox ***@***.***>
> wrote:
>
>> I found it!
>> https://github.com/OpenPrinting/system-config-printer/blob/plus_in_uris/newprinter.py
>> I see your added "+", too.
>>
>> On Tue, Jan 19, 2021 at 11:11 AM Eddie Maddox ***@***.***>
>> wrote:
>>
>>> I have the time on my hands to learn this. I'm not a raw beginner,
>>> but I have a ways to go.
>>>
>>> I found "def on_entNPTDevice_changed(self, ent):" on line 2943
>>> of system-config-printer
>>> <https://github.com/zdohnal/system-config-printer>/newprinter.py
>>> of the master branch.
>>> I only see 1.4.x and libsecret branches, no plus_in_uris branch.
>>>
>>> I have git and Python 3.7 already installed.
>>> (RPi OS tracks the Debian Buster releases pretty closely.
>>> I do upgrades weekly.)
>>> I'll try to figure out how to clone the master branch.
>>> If you can supply the Git command for that, it might help.
>>>
>>> Thanks.
>>>
>>>
>>> On Tue, Jan 19, 2021 at 4:44 AM zdohnal ***@***.***>
>>> wrote:
>>>
>>>> @Greatnessguru <https://github.com/Greatnessguru> IMO the easiest way
>>>> for you would be to clone the repo and compile it by itself, because I
>>>> don't have python3.7 here.
>>>> I pushed the change to branch called plus_in_uris.
>>>>
>>>> —
>>>> You are receiving this because you were mentioned.
>>>> Reply to this email directly, view it on GitHub
>>>> <#208 (comment)>,
>>>> or unsubscribe
>>>> <https://github.com/notifications/unsubscribe-auth/ADUBK7LANR75C64A6PXVBALS2VH6DANCNFSM4WGJKEBQ>
>>>> .
>>>>
>>>
>>>
>>> --
>>> Thank you,
>>> Eddie Maddox
>>> ***@***.***
>>> Greatness: "Find a way to serve the many.",
>>> Jim Rohn, based on the Bible.
>>>
>>
>>
>> --
>> Thank you,
>> Eddie Maddox
>> ***@***.***
>> Greatness: "Find a way to serve the many.",
>> Jim Rohn, based on the Bible.
>>
>
>
> --
> Thank you,
> Eddie Maddox
> ***@***.***
> Greatness: "Find a way to serve the many.",
> Jim Rohn, based on the Bible.
>
--
Thank you,
Eddie Maddox
***@***.***
Greatness: "Find a way to serve the many.",
Jim Rohn, based on the Bible.
--
Thank you,
Eddie Maddox
greatnessguru@gmail.com
Greatness: "Find a way to serve the many.",
Jim Rohn, based on the Bible.
|
I decided to check all branches for Code > Clone, HTTPS addresses.
They were all the same as for master.
Code > Clone, GitHub CLI addresses were also all the same as for master.
I hope someone can confirm my findings, that it's not an error on my part.
On Tue, Jan 19, 2021 at 1:35 PM Eddie Maddox <greatnessguru@gmail.com>
wrote:
… For your branch I did Code > Download Zip and extracted it.
I saw: def on_entNPTDevice_changed(self, ent):
allowed_chars =
string.ascii_letters+string.digits+'_-./:%[]()@?=&+'
Do we need to file a bug report with Github about having the wrong
Code > Clone, HTTPS address for your branch, but the correct Zip file?
On Tue, Jan 19, 2021 at 1:12 PM Eddie Maddox ***@***.***>
wrote:
> Possible github bug?
> Clone, HTTPS addresses:
> master: https://github.com/OpenPrinting/system-config-printer.git
> plus_in_uris: https://github.com/OpenPrinting/system-config-printer.git
>
> They are the same. That can't be right. That explains why I did not see
> your "+" you added.
>
> On Tue, Jan 19, 2021 at 11:46 AM Eddie Maddox ***@***.***>
> wrote:
>
>> I found, "https://github.com/OpenPrinting/system-config-printer.git"
>> and used that in "git clone". The "+" is missing, though!
>>
>> Also, how do I compile and test?
>>
>> On Tue, Jan 19, 2021 at 11:25 AM Eddie Maddox ***@***.***>
>> wrote:
>>
>>> I found it!
>>> https://github.com/OpenPrinting/system-config-printer/blob/plus_in_uris/newprinter.py
>>> I see your added "+", too.
>>>
>>> On Tue, Jan 19, 2021 at 11:11 AM Eddie Maddox ***@***.***>
>>> wrote:
>>>
>>>> I have the time on my hands to learn this. I'm not a raw beginner,
>>>> but I have a ways to go.
>>>>
>>>> I found "def on_entNPTDevice_changed(self, ent):" on line 2943
>>>> of system-config-printer
>>>> <https://github.com/zdohnal/system-config-printer>/newprinter.py
>>>> of the master branch.
>>>> I only see 1.4.x and libsecret branches, no plus_in_uris branch.
>>>>
>>>> I have git and Python 3.7 already installed.
>>>> (RPi OS tracks the Debian Buster releases pretty closely.
>>>> I do upgrades weekly.)
>>>> I'll try to figure out how to clone the master branch.
>>>> If you can supply the Git command for that, it might help.
>>>>
>>>> Thanks.
>>>>
>>>>
>>>> On Tue, Jan 19, 2021 at 4:44 AM zdohnal ***@***.***>
>>>> wrote:
>>>>
>>>>> @Greatnessguru <https://github.com/Greatnessguru> IMO the easiest
>>>>> way for you would be to clone the repo and compile it by itself, because I
>>>>> don't have python3.7 here.
>>>>> I pushed the change to branch called plus_in_uris.
>>>>>
>>>>> —
>>>>> You are receiving this because you were mentioned.
>>>>> Reply to this email directly, view it on GitHub
>>>>> <#208 (comment)>,
>>>>> or unsubscribe
>>>>> <https://github.com/notifications/unsubscribe-auth/ADUBK7LANR75C64A6PXVBALS2VH6DANCNFSM4WGJKEBQ>
>>>>> .
>>>>>
>>>>
>>>>
>>>> --
>>>> Thank you,
>>>> Eddie Maddox
>>>> ***@***.***
>>>> Greatness: "Find a way to serve the many.",
>>>> Jim Rohn, based on the Bible.
>>>>
>>>
>>>
>>> --
>>> Thank you,
>>> Eddie Maddox
>>> ***@***.***
>>> Greatness: "Find a way to serve the many.",
>>> Jim Rohn, based on the Bible.
>>>
>>
>>
>> --
>> Thank you,
>> Eddie Maddox
>> ***@***.***
>> Greatness: "Find a way to serve the many.",
>> Jim Rohn, based on the Bible.
>>
>
>
> --
> Thank you,
> Eddie Maddox
> ***@***.***
> Greatness: "Find a way to serve the many.",
> Jim Rohn, based on the Bible.
>
--
Thank you,
Eddie Maddox
***@***.***
Greatness: "Find a way to serve the many.",
Jim Rohn, based on the Bible.
--
Thank you,
Eddie Maddox
greatnessguru@gmail.com
Greatness: "Find a way to serve the many.",
Jim Rohn, based on the Bible.
|
Code > Download Zip filenames for all branches are all different
and correspond to their branch names.
On Tue, Jan 19, 2021 at 4:45 PM Eddie Maddox <greatnessguru@gmail.com>
wrote:
… I decided to check all branches for Code > Clone, HTTPS addresses.
They were all the same as for master.
Code > Clone, GitHub CLI addresses were also all the same as for master.
I hope someone can confirm my findings, that it's not an error on my part.
On Tue, Jan 19, 2021 at 1:35 PM Eddie Maddox ***@***.***>
wrote:
> For your branch I did Code > Download Zip and extracted it.
> I saw: def on_entNPTDevice_changed(self, ent):
> allowed_chars =
> string.ascii_letters+string.digits+'_-./:%[]()@?=&+'
>
> Do we need to file a bug report with Github about having the wrong
> Code > Clone, HTTPS address for your branch, but the correct Zip file?
>
> On Tue, Jan 19, 2021 at 1:12 PM Eddie Maddox ***@***.***>
> wrote:
>
>> Possible github bug?
>> Clone, HTTPS addresses:
>> master:
>> https://github.com/OpenPrinting/system-config-printer.git
>> plus_in_uris: https://github.com/OpenPrinting/system-config-printer.git
>>
>> They are the same. That can't be right. That explains why I did not see
>> your "+" you added.
>>
>> On Tue, Jan 19, 2021 at 11:46 AM Eddie Maddox ***@***.***>
>> wrote:
>>
>>> I found, "https://github.com/OpenPrinting/system-config-printer.git"
>>> and used that in "git clone". The "+" is missing, though!
>>>
>>> Also, how do I compile and test?
>>>
>>> On Tue, Jan 19, 2021 at 11:25 AM Eddie Maddox ***@***.***>
>>> wrote:
>>>
>>>> I found it!
>>>> https://github.com/OpenPrinting/system-config-printer/blob/plus_in_uris/newprinter.py
>>>> I see your added "+", too.
>>>>
>>>> On Tue, Jan 19, 2021 at 11:11 AM Eddie Maddox ***@***.***>
>>>> wrote:
>>>>
>>>>> I have the time on my hands to learn this. I'm not a raw beginner,
>>>>> but I have a ways to go.
>>>>>
>>>>> I found "def on_entNPTDevice_changed(self, ent):" on line 2943
>>>>> of system-config-printer
>>>>> <https://github.com/zdohnal/system-config-printer>/newprinter.py
>>>>> of the master branch.
>>>>> I only see 1.4.x and libsecret branches, no plus_in_uris branch.
>>>>>
>>>>> I have git and Python 3.7 already installed.
>>>>> (RPi OS tracks the Debian Buster releases pretty closely.
>>>>> I do upgrades weekly.)
>>>>> I'll try to figure out how to clone the master branch.
>>>>> If you can supply the Git command for that, it might help.
>>>>>
>>>>> Thanks.
>>>>>
>>>>>
>>>>> On Tue, Jan 19, 2021 at 4:44 AM zdohnal ***@***.***>
>>>>> wrote:
>>>>>
>>>>>> @Greatnessguru <https://github.com/Greatnessguru> IMO the easiest
>>>>>> way for you would be to clone the repo and compile it by itself, because I
>>>>>> don't have python3.7 here.
>>>>>> I pushed the change to branch called plus_in_uris.
>>>>>>
>>>>>> —
>>>>>> You are receiving this because you were mentioned.
>>>>>> Reply to this email directly, view it on GitHub
>>>>>> <#208 (comment)>,
>>>>>> or unsubscribe
>>>>>> <https://github.com/notifications/unsubscribe-auth/ADUBK7LANR75C64A6PXVBALS2VH6DANCNFSM4WGJKEBQ>
>>>>>> .
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> Thank you,
>>>>> Eddie Maddox
>>>>> ***@***.***
>>>>> Greatness: "Find a way to serve the many.",
>>>>> Jim Rohn, based on the Bible.
>>>>>
>>>>
>>>>
>>>> --
>>>> Thank you,
>>>> Eddie Maddox
>>>> ***@***.***
>>>> Greatness: "Find a way to serve the many.",
>>>> Jim Rohn, based on the Bible.
>>>>
>>>
>>>
>>> --
>>> Thank you,
>>> Eddie Maddox
>>> ***@***.***
>>> Greatness: "Find a way to serve the many.",
>>> Jim Rohn, based on the Bible.
>>>
>>
>>
>> --
>> Thank you,
>> Eddie Maddox
>> ***@***.***
>> Greatness: "Find a way to serve the many.",
>> Jim Rohn, based on the Bible.
>>
>
>
> --
> Thank you,
> Eddie Maddox
> ***@***.***
> Greatness: "Find a way to serve the many.",
> Jim Rohn, based on the Bible.
>
--
Thank you,
Eddie Maddox
***@***.***
Greatness: "Find a way to serve the many.",
Jim Rohn, based on the Bible.
--
Thank you,
Eddie Maddox
greatnessguru@gmail.com
Greatness: "Find a way to serve the many.",
Jim Rohn, based on the Bible.
|
@Greatnessguru https links don't change regarding the branch you pulled - meaning 'plus_in_uris' branch is under the same link. You can pull the remote branches this way (or any other google result of Then follow the steps in INSTALL file (the new system-config-printer will be installed in /usr/local, so it will overshadow your original s-c-p), test the change and uninstall the testing version by 'make uninstall'. You will need some development packages for python3, cups and glib2, then packages containing intltool, automake, autoconf and xmlto. The actual package names can be different - it depends on your distro. |
For cloning I'll just be Downloading the Zip file for a branch. THAT works.
The INSTALL file seems to be missing. :(
…On Wed, Jan 20, 2021 at 2:53 AM zdohnal ***@***.***> wrote:
@Greatnessguru https links don't change regarding the branch you pulled - meaning 'plus_in_uris' branch is under the same link.
You can pull the remote branches this way (or any other google result of git how to get remote branches) after you cloned the repo or just apply the change on master branch, which is downloaded by default.
Then follow the steps in INSTALL file (the new system-config-printer will be installed in /usr/local, so it will overshadow your original s-c-p), test the change and uninstall the testing version by 'make uninstall'.
You will need some development packages for python3, cups and glib2, then packages containing intltool, automake, autoconf and xmlto. The actual package names can be different - it depends on your distro.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
--
Thank you,
Eddie Maddox
greatnessguru@gmail.com
Greatness: "Find a way to serve the many.",
Jim Rohn, based on the Bible.
|
this way you get the correct branch via git. Aha, I'm sorry about INSTALL file - it is generated after So I updated README.md now with the correct steps for compilation and installation - README.md is the zip :) or you can read it here on github. |
pi@raspberrypi:~/CUPS $ cd system-config-printer
pi@raspberrypi:~/CUPS/system-config-printer $ ./bootstrap
./bootstrap: 2: ./bootstrap: intltoolize: not found
./bootstrap: 3: ./bootstrap: aclocal: not found
./bootstrap: 4: ./bootstrap: automake: not found
./bootstrap: 5: ./bootstrap: autoconf: not found
pi@raspberrypi:~/CUPS/system-config-printer $
Using the Add/Remove Software utility I searched for:
"intltoolize": "No results were found."
"aclocal": "Autotools support for Eclipse CDT"
"automake": "Tool ... Makefiles"
"autoconf": "... script builder"
I Added autoconf, which also added automake. No errors.
I Added aclocal. No errors.
pi@raspberrypi:~/CUPS/system-config-printer $ ./bootstrap
./bootstrap: 2: ./bootstrap: intltoolize: not found
configure.ac:5: warning: macro 'AM_GNU_GETTEXT_VERSION' not found in library
configure.ac:6: warning: macro 'AM_GNU_GETTEXT' not found in library
configure.ac:66: installing './compile'
configure.ac:3: installing './missing'
Makefile.am: installing './depcomp'
parallel-tests: installing './test-driver'
configure.ac:5: error: possibly undefined macro: AM_GNU_GETTEXT_VERSION
If this token and others are legitimate, please use m4_pattern_allow.
See the Autoconf documentation.
configure.ac:6: error: possibly undefined macro: AM_GNU_GETTEXT
pi@raspberrypi:~/CUPS/system-config-printer $
Now what?
…On Thu, Jan 21, 2021 at 12:54 AM zdohnal ***@***.***> wrote:
$ git clone https://github.com/OpenPrinting/system-config-printer.git
$ cd system-config-printer
$ git fetch origin plus_in_uris
$ git checkout plus_in_uris
this way you get the correct branch via git.
Aha, I'm sorry about INSTALL file - it is generated after ./bootstrap
step, so it is even missing in github and it is correct behavior - I was
looking into my local git, where I had generated files...
So I updated README.md now with the correct steps for compilation and
installation - README.md is the zip :) or you can read it here on github.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#208 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADUBK7LOA5VHCS67QXVYNMLS266QXANCNFSM4WGJKEBQ>
.
--
Thank you,
Eddie Maddox
greatnessguru@gmail.com
Greatness: "Find a way to serve the many.",
Jim Rohn, based on the Bible.
|
Please read the README.md here or in the zip - intltool should be somewhere in the OS. It will not compile unless you install build dependencies. Or report this bug for your OS and the package maintainer can provide you with updated package for testing. |
"intltool": "... scripts ... XML"
I Added intltool. No errors.
pi@raspberrypi:~/CUPS/system-config-printer $ ./bootstrap
You should update your 'aclocal.m4' by running aclocal.
pi@raspberrypi:~/CUPS/system-config-printer $
pi@raspberrypi:~/CUPS/system-config-printer $ aclocal
pi@raspberrypi:~/CUPS/system-config-printer $
pi@raspberrypi:~/CUPS/system-config-printer $ ./bootstrap
pi@raspberrypi:~/CUPS/system-config-printer $
pi@raspberrypi:~/CUPS/system-config-printer $ ./configure
...
./configure: line 7005: cups-config: command not found
...
pi@raspberrypi:~/CUPS/system-config-printer $
"cups-config": "No results were found."
Now what?
…On Thu, Jan 21, 2021 at 9:28 AM zdohnal ***@***.***> wrote:
Please read the README.md here or in the zip - intltool should be somewhere in the OS. It will not compile unless you install build dependencies.
Or report this bug for your OS and the package maintainer can provide you with updated package for testing.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or unsubscribe.
--
Thank you,
Eddie Maddox
greatnessguru@gmail.com
Greatness: "Find a way to serve the many.",
Jim Rohn, based on the Bible.
|
@Greatnessguru Now please read the README.md file, as I suggested before. Every project has some build dependencies, which need to be install before compiling. |
cups-config I think is supposed to be supplied by CUPS, which is installed
already.
How do I troubleshoot this?
…On Fri, Jan 22, 2021 at 12:11 AM zdohnal ***@***.***> wrote:
Now what? Now please read the README.md file. Every project has some build
dependencies, which need to be install before compiling.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#208 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADUBK7JISP57TMQZGAFBN33S3ECGXANCNFSM4WGJKEBQ>
.
--
Thank you,
Eddie Maddox
greatnessguru@gmail.com
Greatness: "Find a way to serve the many.",
Jim Rohn, based on the Bible.
|
It is supplied by CUPS project, but it doesn't mean it is supplied in |
Reading through the CUPS package names, nothing identifies itself as being
for
developing.
…On Fri, Jan 22, 2021 at 12:33 AM zdohnal ***@***.***> wrote:
It is supplied by CUPS project, but it doesn't mean it is supplied in cups
package. OS usually divides a project into several packages based on
purpose of programs shipped in the package. The most common split during
packaging is to separate files which are needed by common users, and which
are needed by developers.
If you check the README.md file, you will know you need a development
packages. It depends on your OS how those packages are called, you need to
find that by yourself.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#208 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADUBK7LBGUST6ZMGBDRWE5LS3EE4JANCNFSM4WGJKEBQ>
.
--
Thank you,
Eddie Maddox
greatnessguru@gmail.com
Greatness: "Find a way to serve the many.",
Jim Rohn, based on the Bible.
|
pi@raspberrypi:~ $ apt list | grep cups
WARNING: apt does not have a stable CLI interface. Use with caution in scripts.
apcupsd-cgi/stable 3.14.14-2 armhf
apcupsd-doc/stable 3.14.14-2 all
apcupsd/stable 3.14.14-2 armhf
bluez-cups-dbgsym/testing 5.50-1.2~deb10u1+rpt2 armhf
bluez-cups/testing 5.50-1.2~deb10u1+rpt2 armhf
cups-backend-bjnp/stable 2.0.1-1 armhf
cups-browsed-dbgsym/testing 1.21.6-5+rpt1 armhf
cups-browsed/testing,now 1.21.6-5+rpt1 armhf [installed,automatic]
cups-bsd/stable 2.2.10-6+deb10u4 armhf
cups-client/stable,now 2.2.10-6+deb10u4 armhf [installed,automatic]
cups-common/stable,now 2.2.10-6+deb10u4 all [installed,automatic]
cups-core-drivers/stable,now 2.2.10-6+deb10u4 armhf [installed,automatic]
cups-daemon/stable,now 2.2.10-6+deb10u4 armhf [installed,automatic]
cups-filters-core-drivers-dbgsym/testing 1.21.6-5+rpt1 armhf
cups-filters-core-drivers/testing,now 1.21.6-5+rpt1 armhf [installed,automatic]
cups-filters-dbgsym/testing 1.21.6-5+rpt1 armhf
cups-filters/testing,now 1.21.6-5+rpt1 armhf [installed,automatic]
cups-ipp-utils/stable,now 2.2.10-6+deb10u4 armhf [installed,automatic]
cups-pk-helper-dbgsym/testing 0.2.6-1+rpi1 armhf
cups-pk-helper/testing,now 0.2.6-1+rpi1 armhf [installed,automatic]
cups-ppdc/stable,now 2.2.10-6+deb10u4 armhf [installed,automatic]
cups-server-common/stable,now 2.2.10-6+deb10u4 all [installed,automatic]
cups-tea4cups/stable 3.14~alpha0+svn3576-1 all
cups-x2go/stable 3.0.1.4-1 all
cups/stable,now 2.2.10-6+deb10u4 armhf [installed,automatic]
gnuspool-cupspy/stable 1.7 all
libcups2-dev/stable 2.2.10-6+deb10u4 armhf
libcups2/stable,now 2.2.10-6+deb10u4 armhf [installed,automatic]
libcupsfilters-dev/testing 1.21.6-5+rpt1 armhf
libcupsfilters1-dbgsym/testing 1.21.6-5+rpt1 armhf
libcupsfilters1/testing,now 1.21.6-5+rpt1 armhf [installed,automatic]
libcupsimage2-dev/stable 2.2.10-6+deb10u4 armhf
libcupsimage2/stable,now 2.2.10-6+deb10u4 armhf [installed,automatic]
libnet-cups-perl/stable 0.64-1+b1 armhf
printer-driver-cups-pdf/stable 3.0.1-5+b14 armhf
printer-driver-hpcups/stable,now 3.18.12+dfsg0-2+b2 armhf [installed,automatic]
python-cups/stable 1.9.73-2+b1 armhf
python3-cups/stable,now 1.9.73-2+b1 armhf [installed,automatic]
python3-cupshelpers/stable,now 1.5.11-4 all [installed,automatic]
pi@raspberrypi:~ $
…On Fri, Jan 22, 2021 at 12:42 AM Eddie Maddox ***@***.***> wrote:
Reading through the CUPS package names, nothing identifies itself as being for
developing.
On Fri, Jan 22, 2021 at 12:33 AM zdohnal ***@***.***> wrote:
>
> It is supplied by CUPS project, but it doesn't mean it is supplied in cups package. OS usually divides a project into several packages based on purpose of programs shipped in the package. The most common split during packaging is to separate files which are needed by common users, and which are needed by developers.
> If you check the README.md file, you will know you need a development packages. It depends on your OS how those packages are called, you need to find that by yourself.
>
> —
> You are receiving this because you were mentioned.
> Reply to this email directly, view it on GitHub, or unsubscribe.
--
Thank you,
Eddie Maddox
***@***.***
Greatness: "Find a way to serve the many.",
Jim Rohn, based on the Bible.
--
Thank you,
Eddie Maddox
greatnessguru@gmail.com
Greatness: "Find a way to serve the many.",
Jim Rohn, based on the Bible.
|
@Greatnessguru *-dev? |
pi@raspberrypi:~ $ apt list | grep *-dev
WARNING: apt does not have a stable CLI interface. Use with caution in
scripts.
pi@raspberrypi:~ $
…On Fri, Jan 22, 2021 at 1:37 AM zdohnal ***@***.***> wrote:
@Greatnessguru <https://github.com/Greatnessguru> *-dev?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#208 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADUBK7ICFFYEQU2RROTJWF3S3EMJ5ANCNFSM4WGJKEBQ>
.
--
Thank you,
Eddie Maddox
greatnessguru@gmail.com
Greatness: "Find a way to serve the many.",
Jim Rohn, based on the Bible.
|
@Greatnessguru no, I meant it as a hint for you how development packages look like in your (seems like some Ubuntu/Debian clone) OS. They have '-dev' as the suffix. |
Raspberry Pi OS is a port of Debian. I just left a note on the RPi forums
asking about the development packages.
…On Fri, Jan 22, 2021 at 2:09 AM zdohnal ***@***.***> wrote:
@Greatnessguru <https://github.com/Greatnessguru> no, I meant it as a
hint for you how development packages look like in your (seems like some
Ubuntu/Debian clone) OS. They have '-dev' as the suffix.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#208 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ADUBK7KVN7QCQLBL4NIR6GDS3EQEHANCNFSM4WGJKEBQ>
.
--
Thank you,
Eddie Maddox
greatnessguru@gmail.com
Greatness: "Find a way to serve the many.",
Jim Rohn, based on the Bible.
|
-> libcups2-dev/stable 2.2.10-6+deb10u4 armhf
|
I Added libcups2-dev. No errors.
pi@raspberrypi:~/CUPS/system-config-printer $ ./configure
(No errors.)
pi@raspberrypi:~/CUPS/system-config-printer $ make
...
make[1]: Leaving directory '/home/pi/CUPS/system-config-printer/po'
make[1]: Entering directory '/home/pi/CUPS/system-config-printer'
xmlto man -o man man/system-config-printer.xml
/bin/bash: xmlto: command not found
make[1]: *** [Makefile:2033: .stamp-man-pages-built] Error 127
make[1]: Leaving directory '/home/pi/CUPS/system-config-printer'
make: *** [Makefile:1300: all-recursive] Error 1
pi@raspberrypi:~/CUPS/system-config-printer $
I Added xmlto. No errors.
pi@raspberrypi:~/CUPS/system-config-printer $ make
(Only "Warn"s and "Note"s about "AUTHOR ..."s.)
pi@raspberrypi:~/CUPS/system-config-printer $
I now need to do all this for the plus_in_uris branch.
…--
Thank you,
Eddie Maddox
greatnessguru@gmail.com
Greatness: "Find a way to serve the many.",
Jim Rohn, based on the Bible.
|
I did, "$ ./bootstrap $ ./configure $ make", with no errors,
on the plus_in_uris branch.
Before doing the "sudo make install", should I Remove (uninstall)
the stock system-config-printer from my system to
avoid any conflicts? Or does it matter?
|
I Removed system-config-printer 1.5.11.
pi@raspberrypi:~/CUPS/system-config-printer-plus_in_uris $ sudo make install
(No obvious errors.)
pi@raspberrypi:~/CUPS/system-config-printer-plus_in_uris $
No desktop menue entry found.
pi@raspberrypi:~/CUPS/system-config-printer-plus_in_uris $ cd ..
pi@raspberrypi:~/CUPS $ cd ..
pi@raspberrypi:~ $ system-config-printer
"Print Settings - localhost" gui box appeared showing my two printers,
Canon_SELPHY... and an HP.
"Help" > "About": system-config-printer 1.5.15
I "Delete"d the Canon_SELPHY....
I hooked up power and USB cables to a Canon SELPHY CP800 and turned on
the CP800.
CP800 screen showed USB was connected.
pi@raspberrypi:~ $ lsusb
Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
Bus 001 Device 004: ID 046d:c045 Logitech, Inc. Optical Mouse
Bus 001 Device 003: ID 1e54:2030 TypeMatrix 2030 USB Keyboard
Bus 001 Device 006: ID 04a9:3214 Canon, Inc. SELPHY CP800
Bus 001 Device 002: ID 2109:3431 VIA Labs, Inc. Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
pi@raspberrypi:~ $
"Server" > "New" > "Printer"
"Select Device": "Canon CP800"
I Selected the CP800.
Forward
"Describe Printer": as expected.
Apply
"Would you like to print a test page?"
"Print Test Page" selected
"Submitted ... job 767", CP800 made some noise!
CP800 screen also complained of a technical error on it's end
I already knew about that prevents printing for now.
But that all means: SUCCESS! system-config-printer 1.5.15.plus_in_uris works!
The "+" added allowed the CP800 driver to load without error!
"Properties" > "Settings" > "Device URI":
gutenprint53+usb://canon-cp800/G200081700003253
I repeated all the above for my Canon SELPHY CP1300.
Test page printed fine. More SUCCESS!!
"Properties" > "Settings" > "Device URI":
gutenprint53+usb://canon-cp1300/B620111123382351
Remember: no entry appeared in the desktop menues that I could find.
Many thanks, everyone,
Eddie Maddox
…--
Thank you,
Eddie Maddox
greatnessguru@gmail.com
Greatness: "Find a way to serve the many.",
Jim Rohn, based on the Bible.
|
Remember: no entry appeared in the desktop menues that I could find.
Correction: I now see the desktop menue entry. It's where the one for
1.5.11 was.
…--
Thank you,
Eddie Maddox
greatnessguru@gmail.com
Greatness: "Find a way to serve the many.",
Jim Rohn, based on the Bible.
|
Now "Print Settings" desktop menue entry does nothing.
pi@raspberrypi:~ $ system-config-printer
Traceback (most recent call last):
File "/usr/local/share/system-config-printer/system-config-printer.py",
line 63, in <module>
import cups
ModuleNotFoundError: No module named 'cups'
pi@raspberrypi:~ $
CUPS 2.2.10 is still installed.
I did my weekly software maintainance yesterday.
What should I do now?
…--
Thank you,
Eddie Maddox
greatnessguru@gmail.com
Greatness: "Find a way to serve the many.",
Jim Rohn, based on the Bible.
|
My weekly software maintainance:
pi@raspberrypi:~ $ sudo apt update
pi@raspberrypi:~ $ sudo apt full-upgrade
pi@raspberrypi:~ $ sudo apt autoremove
pi@raspberrypi:~ $ sudo apt clean
|
pi@raspberrypi:~/CUPS/system-config-printer-plus_in_uris $ sudo make uninstall
...
pi@raspberrypi:~/CUPS/system-config-printer-plus_in_uris $ sudo make install
...
pi@raspberrypi:~/CUPS/system-config-printer-plus_in_uris $ system-config-printer
Traceback (most recent call last):
File "/usr/local/share/system-config-printer/system-config-printer.py",
line 63, in <module>
import cups
ModuleNotFoundError: No module named 'cups' (Same result.)
pi@raspberrypi:~/CUPS/system-config-printer-plus_in_uris $ sudo make uninstall
...
pi@raspberrypi:~/CUPS/system-config-printer-plus_in_uris $ system-config-printer
bash: /usr/local/bin/system-config-printer: No such file or directory
pi@raspberrypi:~/CUPS/system-config-printer-plus_in_uris $ cd ..
pi@raspberrypi:~/CUPS $ cd sy*er
pi@raspberrypi:~/CUPS/system-config-printer $ sudo make install (master branch)
...
pi@raspberrypi:~/CUPS/system-config-printer $ system-config-printer
Traceback (most recent call last):
File "/usr/local/share/system-config-printer/system-config-printer.py",
line 63, in <module>
import cups
ModuleNotFoundError: No module named 'cups' (Same result!)
pi@raspberrypi:~/CUPS/system-config-printer $ sudo make uninstall
...
pi@raspberrypi:~/CUPS/system-config-printer $ system-config-printer
bash: /usr/local/bin/system-config-printer: No such file or directory
pi@raspberrypi:~/CUPS/system-config-printer $
Next I Extracted the plus_in_uris branch to a new directory.
I did the bootstrap, configure, make, make install, system-config-printer again.
Still the same result!!: ModuleNotFoundError: No module named 'cups'
|
I Added python3-cups. That fixed the missing cups module.
I have also checked and Added other Runtime requirements,
but I am stuck with what to do about this:
pi@raspberrypi:~ $ system-config-printer
Traceback (most recent call last):
File "/usr/local/share/system-config-printer/system-config-printer.py",
line 84, in <module>
import jobviewer
File "/usr/local/share/system-config-printer/jobviewer.py", line 29,
in <module>
gi.require_version('Notify', '0.7')
File "/usr/lib/python3/dist-packages/gi/__init__.py", line 129, in
require_version
raise ValueError('Namespace %s not available' % namespace)
ValueError: Namespace Notify not available
pi@raspberrypi:~ $
|
Thank you for testing it - it confirms it works with the real device, I'll commit the fix.
Don't do any software maintenance if you have testing stuff on your PC unless you know what are you doing. You removed all runtime dependencies of system-config-printer, that's the reason for the errors you got. Please remove the testing system-config-printer, install the s-c-p from Raspberry OS (it will have the bug, but you can do your sw maintenance at your will) and report the issue to Raspberry OS to let them know to update their packaged system-config-printer with the fix from here. |
Fixed with commit 1afdab2 |
Bug: system-config-printer removes "+" from the device URI.
system-config-printer will not let me enter the missing "+", either.
Result when loading driver: "client-error-not-possible".
Not able to print anything with CUPS.
Impact: everything that needs a "+" in the device URI.
Example: gutenprint53+usb...
CUPS 2.2.10, system-config-printer 1.5.11.
Raspberry Pi OS current as of 15 JAN 2021.
$ lpinfo -v
... gutenprint53+usb://canon-cp800/G200081700003253 (Canon SELPHY CP800, USB cable)
... gutenprint53+usb://canon-cp1300/B620111123382351 (Canon SELPHY CP1300, USB cable)
Main RPi system menu > Preferences > Print Settings (system-config-printer)
... gutenprint53usb://canon-cp800/G200081700003253 (Missing "+" before "usb".)
... gutenprint53usb://canon-cp1300/B620111123382351 (Missing "+" before "usb".)
CUPS gui (localhost:631), USB cable
Description: Canon CP800
Location:
Driver: Canon SELPHY CP800 - CUPS+Gutenprint v5.3.1 (color)
Connection: gutenprint53+usb://canon-cp800/G200081700003253
Defaults: job-sheets=none, none media=jpn_hagaki_100x148mm sides=one-sided
(system-config-printer now shows same/correct device URI with "+".)
(Test prints: good.)
Description: Canon SELPHY CP1300
Location:
Driver: Canon SELPHY CP1300 - CUPS+Gutenprint v5.3.1 (color)
Connection: gutenprint53+usb://canon-cp1300/B620111123382351
Defaults: job-sheets=none, none media=jpn_hagaki_100x148mm sides=one-sided
(system-config-printer now shows same/correct device URI with "+".)
(Test print: good.)
The text was updated successfully, but these errors were encountered: