Sample Header Ad - 728x90

Unix & Linux Stack Exchange

Q&A for users of Linux, FreeBSD and other Unix-like operating systems

Latest Questions

2 votes
1 answers
43 views
MATE Terminal with `--save-config`: "Failed to handle options ... when starting the factory process"
I've been trying to find a way to get MATE Terminal to remember my open tabs, as otherwise all of my state is lost whenever I have to restart the PC. The platform I'm using is Ubuntu 24.04. I installed MATE afterwards, so it's not quite the same as Ubuntu MATE. [This answer](https://askubuntu.com/qu...
I've been trying to find a way to get MATE Terminal to remember my open tabs, as otherwise all of my state is lost whenever I have to restart the PC. The platform I'm using is Ubuntu 24.04. I installed MATE afterwards, so it's not quite the same as Ubuntu MATE. [This answer](https://askubuntu.com/questions/310705/some-fast-way-to-save-and-restore-tabs-of-terminal/310750#310750) on Ask Ubuntu described command line options for Gnome Terminal which also existed for MATE Terminal, so I decided to try them. But when I tried to launch it from a different terminal emulator:
$ mate-terminal --save-config=/home/mclauam/mate-terminal.cfg
Failed to handle options: Cannot use "--save-config" when starting the factory process
Because of the reference to a "factory process" I tried adding --disable-factory to the command line. Regardless of where I put it, MATE Terminal still failed to launch, although for some reason the error text now begins "Error handling options" instead of "Failed to handle options":
$ mate-terminal --disable-factory --save-config=/home/mclauam/mate-terminal.cfg
Error handling options: Cannot use "--save-config" when starting the factory process
$ mate-terminal --save-config=/home/mclauam/mate-terminal.cfg --disable-factory
Error handling options: Cannot use "--save-config" when starting the factory process
I tried sudo, but it made no difference. I used an option which I knew to be invalid, just to confirm that the above wasn't the usual error message when trying a nonexistent option:
$ mate-terminal --underlay
Failed to parse arguments: Unknown option --underlay
I don't even know what is meant by "the factory process", or why it would render one of the application's own command-line options invalid! The [manpage](https://manpages.ubuntu.com/manpages/noble/man1/mate-terminal.1.html) gave no indication that this option might be invalid or interact poorly with a "factory process". How can I launch mate-terminal with --save-config and/or --load-config?
AJM (295 rep)
Mar 31, 2025, 10:13 AM • Last activity: Apr 22, 2025, 02:51 PM
0 votes
0 answers
242 views
How to automatically start mate-terminal the CLI way on every system start?
UPDATE2 Best approach as of now: Mirroring of the GUI way. Problem: emacs launched along the way is restricted by being bound to the terminal-session: What do you do, when you're like "Okay, done with emacs, for now, wanna enter some bash commands now." ? You suspend emacs by typing in Ctrl+z. That...
UPDATE2 Best approach as of now: Mirroring of the GUI way. Problem: emacs launched along the way is restricted by being bound to the terminal-session: What do you do, when you're like "Okay, done with emacs, for now, wanna enter some bash commands now." ? You suspend emacs by typing in Ctrl+z. That makes emacs go into the background and stop until you resume it from there once again. But not, if you start mate-terminal & emacs like described here! Even more: In reaction to that unwanted outcome, if you then head for alternative route by ending emacs with Ctrl-x Ctrl-c, not only emacs is ended, but also the mate-terminal-session! Unwanted #2. There is a walk-around, but it's a bit hacky - there MUST be better ways to handle this than doing the following:
Ctrl-alt-t (another mate-terminal-tab opens)
Ctrl-x Ctrl-c (end emacs and in the course of that weirdly also the 1st mate-terminal-tab)
emacs -nw (start emacs again, this time explicitely, manually causing it to be invoked as a "real, usual" session, also capable of responding to stop signals like typing in Ctrl+z)
Do you have any idea how to fix that last 2 problems? That would be highly appreciated. ---- UPDATE - replies to the comment section - base posting after that: I really wanna do it the CLI way - reducing my GUI dependence as a user. So, you think I'd better head into the direction of utilizing rc.local as desired? Haven't tried that, yet, just had it on my TODO list as plan B, in case the crontab approach can't work - assumed so far, that it can work with crontab. Why can't it, if crontab has dedicated elements for my use case, like '@reboot', and the 'reboot cronjob date' test ballon did work?! Btw, did the system user attempt on recommendation of internet video 'Linux Crash Course - Scheduling Tasks with Cron' - https://yewtu.be/watch?v=7cbP7fzn0D8 . BASE POSTING: I know! It sounds so simple, but I just can't make it work - although I've tried so many things. You might think, 'duh, just add this line to your logged-in user, and that's it!'
@reboot mate-terminal
But it's not that simple. What am I doing wrong? Where's that last part to complete the puzzle? What I've tried and found out: 1st attempt: The GUI way
Trisquel-start-button in the left desktop corner at the bottom >
System >
Preferences >
Personal >
Startup Applications >
Tab 'Startup Programs' >
'add' >
Edit Startup Program
Name: Mate Terminal
Command: mate-terminal --full-screen --hide-menubar
Comment: Terminal >
Save >
Ensuring the activation box next to the new entry is checked
And you know what? It works. Kind of. Not very good:
System starts >
Gui with log-in window appears >
logging-in >
Desktop appears, with mate-terminal being right open >
screen blinks 2, 3 times with white screen >
mate-terminal is not the active window,
it's at the top of the desktop, covers everything by full-screen-mode,
but typing doesn't go into the terminal,
so, first I need to select mate-terminal by Alt+TAB,
making it the active window,
and only then what I'm typing goes into mate-terminal as input
and appears on the screen as output
That sub-optimal turn out made me dig deeper into the issue in the first place! 2nd attempt: Crontab This is a small compilation of my many attempts, aiming to clarify things, which are important for crontab to work as desired or showcasing the degree to which things actually work out pretty well Logged-in user
user@TechnoethicalX200T:~$ whoami
user
sudo-membership
user@TechnoethicalX200T:~$ cat /etc/group | grep sudo
sudo:x:27:user,automat
Availability of mate-terminal
user@TechnoethicalX200T:~$ which mate-terminal
/usr/bin/mate-terminal
Executing mate-terminal - it works
user@TechnoethicalX200T:~$ mate-terminal
(> new mate-terminal window popping up)
Availability of date - for comparism, we'll get to that
user@TechnoethicalX200T:~$ which date
/bin/date
crontab of logged-in user 'user'
# Edit this file to introduce tasks to be run by cron.
#
# Each task to run has to be defined through a single line
# indicating with different fields when the task will be run
# and what command to run for the task
#
# To define the time you can provide concrete values for
# minute (m), hour (h), day of month (dom), month (mon),
# and day of week (dow) or use '*' in these fields (for 'any').#
# Notice that tasks will be started based on the cron's system
# daemon's notion of time and timezones.
#
# Output of the crontab jobs (including errors) is sent through
# email to the user the crontab file belongs to (unless redirected).
#
# For example, you can run a backup of all your user accounts
# at 5 a.m every week with:
# 0 5 * * 1 tar -zcf /var/backups/home.tgz /home/
#
# For more information see the manual pages of crontab(5) and cron(8)
#
# m h  dom mon dow   command

# @reboot date >> /tmp/test-file-date-collection
# Before un-commenting:
# - (File not existing)
# After un-commenting: Works!
# user@TechnoethicalX200T:~$ cat /tmp/test-file-date-collection
# Thu 23 Nov 08:54:30 CET 2023
# user@TechnoethicalX200T:~$ who -b
#          system boot  2023-11-23 08:54
# Conclusion:
# The logged-in user 'user' is capable of setting up a working reboot cronjob,
# with just specifying command name - not explicitely [full path]/[command name]

# Failed - syslog
# user@TechnoethicalX200T:~$ grep -C5 "mate-terminal" /var/log/syslog
# Nov 24 18:25:06 TechnoethicalX200T systemd: Starting Permit User Sessions...
# Nov 24 18:25:06 TechnoethicalX200T cron: (CRON) INFO (Running @reboot jobs)
# Nov 24 18:25:06 TechnoethicalX200T systemd: Starting LSB: MD monitoring daemon...
# Nov 24 18:25:06 TechnoethicalX200T systemd: Started D-Bus System Message Bus.
# Nov 24 18:25:06 TechnoethicalX200T dbus-daemon: Unknown username "whoopsie" in message bus configuration file
# Nov 24 18:25:06 TechnoethicalX200T CRON: (user) CMD (mate-terminal)
# Nov 24 18:25:06 TechnoethicalX200T dbus: [system] AppArmor D-Bus mediation is enabled
# Nov 24 18:25:06 TechnoethicalX200T avahi-daemon: Successfully called chroot().
# Nov 24 18:25:06 TechnoethicalX200T avahi-daemon: Successfully dropped remaining capabilities.
# Nov 24 18:25:06 TechnoethicalX200T systemd: Started Avahi mDNS/DNS-SD Stack.
# Nov 24 18:25:06 TechnoethicalX200T avahi-daemon: No service file found in /etc/avahi/services.
@reboot mate-terminal
(<<< newline character behind last line - both, of the whole crontab and of each active cronjob in it
That detail turned out to be important for crontab to work properly, and not on all systems that automatically gets added,
I had to input it manually)
And to make a long story short, which also can be deduced from the fact, that the test ballon 'reboot cronjob date' worked: Yes, cron.service on my system is enabled and activated (currently running, as always) I've also created a system user, gave it sudo priviledge and let it do the cronjob -
automat:x:1001:1001::/home/automat:/usr/sbin/nologin
in vein.
user@TechnoethicalX200T:~$ grep -C5 "mate-terminal" /var/log/syslog
Nov 24 18:25:06 TechnoethicalX200T systemd: Starting Permit User Sessions...
Nov 24 18:25:06 TechnoethicalX200T cron: (CRON) INFO (Running @reboot jobs)
Nov 24 18:25:06 TechnoethicalX200T systemd: Starting LSB: MD monitoring daemon...
Nov 24 18:25:06 TechnoethicalX200T systemd: Started D-Bus System Message Bus.
Nov 24 18:25:06 TechnoethicalX200T dbus-daemon: Unknown username "whoopsie" in message bus configuration file
Nov 24 18:25:06 TechnoethicalX200T CRON: (user) CMD (mate-terminal)
Nov 24 18:25:06 TechnoethicalX200T dbus: [system] AppArmor D-Bus mediation is enabled
Nov 24 18:25:06 TechnoethicalX200T avahi-daemon: Successfully called chroot().
Nov 24 18:25:06 TechnoethicalX200T avahi-daemon: Successfully dropped remaining capabilities.
Nov 24 18:25:06 TechnoethicalX200T systemd: Started Avahi mDNS/DNS-SD Stack.
Nov 24 18:25:06 TechnoethicalX200T avahi-daemon: No service file found in /etc/avahi/services.
--
Nov 24 18:38:47 TechnoethicalX200T systemd: Started inputattach for Wacom ISDv4-compatible serial devices.
Nov 24 18:38:47 TechnoethicalX200T systemd: Starting Avahi mDNS/DNS-SD Stack...
Nov 24 18:38:47 TechnoethicalX200T systemd: Starting LSB: daemon to balance interrupts for SMP systems...
Nov 24 18:38:47 TechnoethicalX200T avahi-daemon: Found user 'avahi' (UID 109) and group 'avahi' (GID 118).
Nov 24 18:38:47 TechnoethicalX200T systemd: Starting Login Service...
Nov 24 18:38:47 TechnoethicalX200T CRON: (automat) CMD (mate-terminal)
Nov 24 18:38:47 TechnoethicalX200T systemd: Starting Console System Startup Logging...
Nov 24 18:38:47 TechnoethicalX200T avahi-daemon: Successfully dropped root privileges.
Nov 24 18:38:47 TechnoethicalX200T avahi-daemon: avahi-daemon 0.6.32-rc starting up.
Nov 24 18:38:47 TechnoethicalX200T avahi-daemon: Successfully called chroot().
Nov 24 18:38:47 TechnoethicalX200T systemd: Starting LSB: Start the GNUstep distributed object mapper...
So, where's the problem? Seriously, why doesn't it work? Why after reboot just the desktop appears - without a mate-terminal window? Doesn't make sense to me.
futurewave (213 rep)
Nov 24, 2023, 06:06 PM • Last activity: Feb 8, 2024, 11:37 AM
1 votes
1 answers
646 views
Left mouse select in MATE-terminal stopped working!
I left town for a few weeks, but kept the desktop running, including many open terminals -- MATE-terminal v 1.24.1. Upon return, I found that left-mouse-button select (highlight-select, for cut-n-paste) stopped working ... for mate-terminal only! Highlight-select works great in the the web browser,...
I left town for a few weeks, but kept the desktop running, including many open terminals -- MATE-terminal v 1.24.1. Upon return, I found that left-mouse-button select (highlight-select, for cut-n-paste) stopped working ... for mate-terminal only! Highlight-select works great in the the web browser, it works in xterm, it works in gnome-terminal. Just not in mate-terminal. (In other words, this shows that mouse kernel dev drivers and X11 seems to be working fine.) The time-stamps on /usr/bin/mate-terminal show that it was not updated while I was away... so I am stumped.
Linas (205 rep)
Mar 31, 2022, 06:12 PM • Last activity: Mar 31, 2022, 06:23 PM
1 votes
0 answers
248 views
I can't bind keys in ZSH / Where can I get escape sequence for the key in SHELL?
I try to bind Left / Right keys in ZSH, but it seems 1. the escape sequences are wrong or 2. terminal (but all of them? mate xterm, st) is blocking these `\E` sequences. I can bind for example Ctrl + Left , Shift + Left , Home , End , but I don't know how to bind Shift + Home / End and Left / Right...
I try to bind Left / Right keys in ZSH, but it seems 1. the escape sequences are wrong or 2. terminal (but all of them? mate xterm, st) is blocking these \E sequences. I can bind for example Ctrl+Left, Shift+Left, Home, End, but I don't know how to bind Shift+Home / End and Left / Right. I've tested following escape sequences: "left" "\eOD" "right" "\eOC" "shome" "\E[1;2~" "send" "\E[4;2~" Is there any command "write \e sequence for the key $key"? Thanks.
Fantastic Mr. Fox (51 rep)
Sep 5, 2021, 03:21 PM • Last activity: Sep 6, 2021, 01:35 PM
0 votes
1 answers
254 views
How to send messages to a window
I've got a hung window "Set Title" in Ubuntu mate-terminal that doesn't react to input. I can move the window, but it doesn't render properly (with text box and "Ok" button), nor can I click the window icon on the top left. I can click the [x] on the top right, but nothing happens for a few seconds...
I've got a hung window "Set Title" in Ubuntu mate-terminal that doesn't react to input. I can move the window, but it doesn't render properly (with text box and "Ok" button), nor can I click the window icon on the top left. I can click the [x] on the top right, but nothing happens for a few seconds until I get a dialog asking whether I want to kill the unresponsive application. I don't want that since it'll terminate all my mate-terminal instances which would make me very sad. I can still spawn new terminals. Is it possible to send that window a message (WM_CLOSE?) to just go away as if the ESC key had been pressed, and if so, how (I know xprop, but that's just for displaying window properties)? Bonus points if I can do that on the command line, but compiling a simply C program would be ok too. Thanks.
Weiss Schnee (1 rep)
Jan 5, 2021, 01:01 PM • Last activity: Jan 5, 2021, 01:32 PM
1 votes
0 answers
543 views
How to fix gnome terminal search function - it doesn't find anything
After upgrading my system, my MATE version is 1.24.0; the previous version was 1.22.2. When I use the mate-terminal and try the Search function (ctrl+shift+f) and search for a word or string, it doesn't find or highlight anything as like there is no match. Prior to the upgrade, it was finding and hi...
After upgrading my system, my MATE version is 1.24.0; the previous version was 1.22.2. When I use the mate-terminal and try the Search function (ctrl+shift+f) and search for a word or string, it doesn't find or highlight anything as like there is no match. Prior to the upgrade, it was finding and highlighting string or part of a string that is searched for and currently somewhere in the shell.
Dimes.U (11 rep)
Apr 8, 2020, 05:31 PM • Last activity: Aug 23, 2020, 02:01 PM
1 votes
1 answers
2249 views
Mate terminal change background transparency programmatically?
I've decided to experiment with making my life more beautiful by having background images scraped from *flickr* that change every 30 minutes together with transparent terminal and editor windows. However, this has some downsides. Occasionally the images are too visible and impede editing, so I want...
I've decided to experiment with making my life more beautiful by having background images scraped from *flickr* that change every 30 minutes together with transparent terminal and editor windows. However, this has some downsides. Occasionally the images are too visible and impede editing, so I want to tweak transparency. Thus I want a quick way to change transparency in my editor (emacs: done) and my terminal (mate-terminal, not-done). This appears to be possible in *gnome-terminal* (https://unix.stackexchange.com/questions/24616/changing-gnome-terminal-transparency-with-a-command-in-ubuntu#24618) . My understanding was that mate-terminal was forked from gnome-terminal. " You can use gconftool with the key /apps/gnome-terminal/profiles/Default/background_type (you might have to use a different profile name than "Default"): " But I don't seem to be able to find any settings that change when I change background. meld <( { gconftool -R / | sort ; gsettings list-schemas | xargs -n 1 gsettings list-recursively | sort } ) <( { sleep 20 ; gconftool -R / | sort ; gsettings list-schemas | xargs -n 1 gsettings list-recursively | sort } ) # Source code I tried reading some sort code. This looks like a good starting point: https://github.com/mate-desktop/mate-terminal/blob/078d0b1fdac2e50dfa4411b612e78a4be134e47d/src/terminal-screen.c#L1111 The profile looks to get found like so
= g_value_get_object (value);
The reference manual for this function call can be found [here](https://developer.gnome.org/gobject/unstable/gobject-Standard-Parameter-and-Value-Types.html#g-value-get-object) but the [documentation for GValue](https://developer.gnome.org/gobject/unstable/gobject-Generic-values.html#GValue) seems a little opaque. Anyway yes, does anyone know enough to get an answer for this? # Possible lines of attack * Use *btrfs* snapshots to discover exactly what changed * Use *strace *to work out what is going on (strace output is a bit noisy because of this being an X application) * Read the code mode # Alternatives * Switch to gnome-terminal. I'm disinclined to do this because something that is unlikely to change. My understanding is that MATE was forked because gnome was changing too fast so this seems like a good choice. * Switch to another terminal. I'm not open to this. But don't really know which terminal to switch to * Intelligently render backgrounds to ensure that they are tinted correctly * Have keybindings that modify the *background* rather than the terminal
Att Righ (1412 rep)
Aug 22, 2018, 01:57 PM • Last activity: Nov 11, 2018, 04:37 PM
1 votes
1 answers
640 views
Copy terminal scrollback buffer preserving ANSI escape sequences, but without pre-starting script/screen
I have a live running mate-terminal whose scrollback buffer already contains a lot of text with color/bolding, but (unfortunately) no screen management/capture program (like `script`/`screen`/`tmux`) was started on the terminal. Is it possible to copy the existing scrollback buffer contents to a fil...
I have a live running mate-terminal whose scrollback buffer already contains a lot of text with color/bolding, but (unfortunately) no screen management/capture program (like script/screen/tmux) was started on the terminal. Is it possible to copy the existing scrollback buffer contents to a file, *preserving all escape sequences*? There is an answer to this problem for xterm by Thomas Dickey, but even in that solution the color escape sequences are not getting saved to the file specified by the printerCommand resource. but I am *looking for a solution for mate-terminal.* > **Edit note: It seems unlikely that a solution for this problem exists > for the mate-terminal; see the comments in Thomas Dickey's answer below.** Just to be clear, pre-starting a terminal screen management/capture program (like script or GNU screen or tmux) is not an option, because here we want to copy terminal output already produced before starting any such program.
adgadg (69 rep)
Aug 26, 2018, 09:50 PM • Last activity: Aug 26, 2018, 11:31 PM
0 votes
0 answers
213 views
error installing hplip on ubuntu mate
I am trying to install hplip in my Ubuntu Mate Zesty 17.04 machine from the terminal. The hardware is HP LaserJet 1020 plus. I had previously downloaded the plugin from hplipopensource.com. The plugin downloaded was hplip-3.17.6.run and then I followed the instructions given in http://hplipopensourc...
I am trying to install hplip in my Ubuntu Mate Zesty 17.04 machine from the terminal. The hardware is HP LaserJet 1020 plus. I had previously downloaded the plugin from hplipopensource.com. The plugin downloaded was hplip-3.17.6.run and then I followed the instructions given in http://hplipopensource.com/hplip-web/install/install/index.html I get the following error (see attachment) enter image description here
Upendra01 (547 rep)
Jun 12, 2017, 09:45 AM
1 votes
2 answers
1421 views
opening matlab on ubuntu
I have successfully installed Matlab 2011 on my Ubuntu Mate 17.04 machine. The installation directory is /home/matlab For instance, my installation directory looks like (see image below) [![enter image description here][1]][1] Now I read an article on Mathworks website that asks me to go to the bin...
I have successfully installed Matlab 2011 on my Ubuntu Mate 17.04 machine. The installation directory is /home/matlab For instance, my installation directory looks like (see image below) enter image description here Now I read an article on Mathworks website that asks me to go to the bin directory and type matlab to open the application The content of my bin directory looks like enter image description here I typed matlab The terminal output is /usr/bin/matlab: 1: /home/snow/matlab/bin/util/oscheck.sh: /lib/libc.so.6: not found /home/snow/matlab/bin/glnx86/MATLAB: error while loading shared libraries: libXp.so.6: cannot open shared object file: No such file or directory I tried other alternatives like . matlab bash matlab ./matlab etc. but was not able to open the application. Any help? I have also given full permission (using chmod 777) to all files present in the bin directory.
Upendra01 (547 rep)
Jun 7, 2017, 12:18 PM • Last activity: Jun 7, 2017, 03:47 PM
0 votes
1 answers
990 views
error in mounting drive on Ubuntu Mate terminal
I am trying to access files in the partition named "Envision" from the Ubuntu Mate terminal. The output of df -h is as follows Filesystem Size Used Avail Use% Mounted on udev 855M 0 855M 0% /dev tmpfs 175M 5.9M 169M 4% /run /dev/sda2 96G 28G 63G 31% / tmpfs 874M 1.6M 873M 1% /dev/shm tmpfs 5.0M 4.0K...
I am trying to access files in the partition named "Envision" from the Ubuntu Mate terminal. The output of df -h is as follows Filesystem Size Used Avail Use% Mounted on udev 855M 0 855M 0% /dev tmpfs 175M 5.9M 169M 4% /run /dev/sda2 96G 28G 63G 31% / tmpfs 874M 1.6M 873M 1% /dev/shm tmpfs 5.0M 4.0K 5.0M 1% /run/lock tmpfs 874M 0 874M 0% /sys/fs/cgroup tmpfs 175M 40K 175M 1% /run/user/1000 /dev/sdb1 30G 28G 2.1G 93% /media/snow/SanDisk-32GB /dev/sda3 126G 115G 12G 91% /media/snow/Envision /dev/sda6 76G 63G 13G 84% /media/snow/Softwares When I try to mount hard disk partition named "Envision", using sudo mount /dev/sda3 I get the following output mount: can't find /dev/sda3 in /etc/fstab Am I missing out on something? Kindly help.
Upendra01 (547 rep)
Jun 2, 2017, 02:30 AM • Last activity: Jun 2, 2017, 06:39 AM
0 votes
0 answers
553 views
error installing scikit-learn
I am trying to install scikit-learn on Ubuntu mate 16.10. For this I am following [this guide][1]. When I type `pip install -U scikit-learn` I get the following error message. Any idea? I have installed python-scipy, python-numpy etc. Exception: Traceback (most recent call last): File "/usr/lib/pyth...
I am trying to install scikit-learn on Ubuntu mate 16.10. For this I am following this guide . When I type pip install -U scikit-learn I get the following error message. Any idea? I have installed python-scipy, python-numpy etc. Exception: Traceback (most recent call last): File "/usr/lib/python2.7/dist-packages/pip/basecommand.py", line 215, in main status = self.run(options, args) File "/usr/lib/python2.7/dist-packages/pip/commands/install.py", line 328, in run wb.build(autobuilding=True) File "/usr/lib/python2.7/dist-packages/pip/wheel.py", line 750, in build self.requirement_set.prepare_files(self.finder) File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 370, in prepare_files ignore_dependencies=self.ignore_dependencies)) File "/usr/lib/python2.7/dist-packages/pip/req/req_set.py", line 522, in _prepare_file finder, self.upgrade, require_hashes) File "/usr/lib/python2.7/dist-packages/pip/req/req_install.py", line 268, in populate_link self.link = finder.find_requirement(self, upgrade) File "/usr/lib/python2.7/dist-packages/pip/index.py", line 442, in find_requirement all_candidates = self.find_all_candidates(req.name) File "/usr/lib/python2.7/dist-packages/pip/index.py", line 400, in find_all_candidates for page in self._get_pages(url_locations, project_name): File "/usr/lib/python2.7/dist-packages/pip/index.py", line 545, in _get_pages page = self._get_page(location) File "/usr/lib/python2.7/dist-packages/pip/index.py", line 648, in _get_page return HTMLPage.get_page(link, session=self.session) File "/usr/lib/python2.7/dist-packages/pip/index.py", line 757, in get_page "Cache-Control": "max-age=600", File "/usr/share/python-wheels/requests-2.10.0-py2.py3-none-any.whl/requests/sessions.py", line 487, in get return self.request('GET', url, **kwargs) File "/usr/lib/python2.7/dist-packages/pip/download.py", line 378, in request return super(PipSession, self).request(method, url, *args, **kwargs) File "/usr/share/python-wheels/requests-2.10.0-py2.py3-none-any.whl/requests/sessions.py", line 475, in request resp = self.send(prep, **send_kwargs) File "/usr/share/python-wheels/requests-2.10.0-py2.py3-none-any.whl/requests/sessions.py", line 585, in send r = adapter.send(request, **kwargs) File "/usr/share/python-wheels/CacheControl-0.11.5-py2.py3-none-any.whl/cachecontrol/adapter.py", line 46, in send resp = super(CacheControlAdapter, self).send(request, **kw) File "/usr/share/python-wheels/requests-2.10.0-py2.py3-none-any.whl/requests/adapters.py", line 403, in send timeout=timeout File "/usr/share/python-wheels/urllib3-1.15.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 623, in urlopen _stacktrace=sys.exc_info()) File "/usr/share/python-wheels/urllib3-1.15.1-py2.py3-none-any.whl/urllib3/util/retry.py", line 236, in increment total -= 1 TypeError: unsupported operand type(s) for -=: 'Retry' and 'int'
Upendra01 (547 rep)
May 19, 2017, 02:40 PM • Last activity: May 19, 2017, 03:06 PM
Showing page 1 of 12 total questions