Hi Strainu, I don't think there's a very simple solution to this, but there are two main options: - hack around the oauth login to not use the paws oauth data, or - download and copy all files
I think the latter is probably the easiest solution: - Open a terminal (new » terminal), - tar -cvjf files.tar.bz2 * - close the terminal; in the jupyterhub file tree, click on files.tar.bz2 to download it - log out, log in as correct user - upload the files.tar.bz2 file - open a terminal - tar -xvjf files.tar.bz2 - done! Best, Merlijn On 1 April 2017 at 10:03, Strainu <[email protected]> wrote: > Hi, > > I'm trying to move some of my scripts to PAWS. Without realizing, I > logged in to PAWS with my normal username, not my bot username, so > when I try to change the username from user-config.py, I get the > error: > > pywikibot.exceptions.NoUsername: Logged in on wikipedia:ro via OAuth > as Strainu, but expect as Strainubot > > Is there any way I can change the username or do I need to create > another notebook? If the latter, how can I easily move my files > between notebooks? > > Thanks, > Strainu > > _______________________________________________ > pywikibot mailing list > [email protected] > https://lists.wikimedia.org/mailman/listinfo/pywikibot >
_______________________________________________ pywikibot mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/pywikibot
