Giter VIP home page Giter VIP logo

Comments (9)

zniavre avatar zniavre commented on June 7, 2024

hello again, after looking inside i hav found the new icon naming for trayicon, i deleted the fr.po ...

just upnp thingy who still does not work , i got new error messages in english so it's better for you i guess:

zniavre@zniavre:~/Téléchargements/nicotine-plus-master$ ./nicotine
mer. 07:30 UPnP exception: Failed to map the external WAN port: Invalid Args
mer. 07:30 Failed to automate the creation of UPnP Port Mapping rule.
WARNING: Could not find transfer <pynicotine.transfers.Transfer object at 0x7fb3387f8bd0>.
WARNING: Could not find transfer <pynicotine.transfers.Transfer object at 0x7fb3387f8c10>.
WARNING: Could not find transfer <pynicotine.transfers.Transfer object at 0x7fb3441c1fd0>.
WARNING: Could not find transfer <pynicotine.transfers.Transfer object at 0x7fb338535050>.
WARNING: Could not find transfer <pynicotine.transfers.Transfer object at 0x7fb338535c50>.
WARNING: Could not find transfer <pynicotine.transfers.Transfer object at 0x7fb3387f8d90>.
WARNING: Could not find transfer <pynicotine.transfers.Transfer object at 0x7fb3387d0290>.
WARNING: Could not find transfer <pynicotine.transfers.Transfer object at 0x7fb3387d0890>.
WARNING: Could not find transfer <pynicotine.transfers.Transfer object at 0x7fb338535050>.
WARNING: Could not find transfer <pynicotine.transfers.Transfer object at 0x7fb338535a10>.
WARNING: Could not find transfer <pynicotine.transfers.Transfer object at 0x7fb338535090>.
WARNING: Could not find transfer <pynicotine.transfers.Transfer object at 0x7fb338535310>.
WARNING: Could not find transfer <pynicotine.transfers.Transfer object at 0x7fb3387d0e90>.
WARNING: Could not find transfer <pynicotine.transfers.Transfer object at 0x7fb3387d0d50>.
/home/zniavre/Téléchargements/nicotine-plus-master/pynicotine/gtkgui/frame.py:1306: Warning: Source ID 19685 was not found when attempting to remove it
gobject.source_remove(self.awaytimer)

it works regulary with 1.2.17svn

it looks also like upload are not working quite well they stay 'cannot connect' states

hope it s helpfull ... thank you

from nicotine-plus.

 avatar commented on June 7, 2024

Hi @zniavre ,

Yes I remove the way to switch from the UI to other locales because most applications aren't doing this but the major reason was because of unreliable Windows support. For the last few years each version of Windows has come with a different naming scheme for locales. Locales definition also depends on what VisualStudio version python was compiled with. To be short: a nightmare to be able to determine what the locale name should be... At least with Win10 they seems to have come to their senses and it's now similar to what linux does. I think this function might be reintroduced when we managed to switch to python3 since it's compiled with VS2015 if my memory serves well.

There's at least two ways to have the english version:

  • In the command line with LC_ALL=en_US.UTF-8 nicotine
  • Like you did removing the fr.mo does the trick too.
  • I think you can all modify a local .desktop file (not tested) as describe here

For UPnP:
Do you have the python bindings for miniupnpc (python-miniupnpc package) installed or do you use the binary (miniupnpc package) ? Can you also provide the version you're using ?
I suppose you fall back to using static port redirection with your router ? If not it would explain the uploads having problems.

Trayicon: You were trying to change the trayicon right ? Yes sorry I changed the icons names to be more clear about their functions because lots of them were reused everywhere without indication and I had to scan the source code to find out what icon was used for what purpose.

from nicotine-plus.

eLvErDe avatar eLvErDe commented on June 7, 2024

from nicotine-plus.

zniavre avatar zniavre commented on June 7, 2024

hello thank you answering

1/ im using ubuntu 16.10
2/ i got python-miniupnpc 1.9.2014010-2ubuntu2 (from repos)
miniupnpc 1.9.20140610-ubuntu2 (from repos)
libminiupnpc10 1.9.2014610-ubuntu2 (from repos)
all installed (but using nic+ as executable)
3/ any chance to port nic+ to python3 and gtk+3 ?

thank you again
salut à vous !

<((((*>

from nicotine-plus.

 avatar commented on June 7, 2024

@eLvErDe :
The problem is not to detect a locale but to set one :)
Python 2.7 is compiled with VS2008, so to switch to another locale you must now the target "language string" under windows. Until VS2012 it was quite a nightmare and require some ugly hack with hardcoded mapping arrays like this: https://gist.github.com/schlamar/4130239
Python 3.5 and onwards is compiled with VS2015 so the locales names are identical to what Unixes does.

For a full deep dive explanation see this comment.

@zniavre :
1 + 2 ) ok I'll look into this this week.
3) I've seen your comment on IRC. Yes it's on the roadmap.

from nicotine-plus.

 avatar commented on June 7, 2024

Hi @zniavre

I find out what the bug is with UPnP.
The problem was in the code that was trying to find the local IP address of the box.
I'll send a patch tomorrow once I've tested it on all platforms.

from nicotine-plus.

 avatar commented on June 7, 2024

@zniavre: I've just pushed the fix for UPnP on master.

Could you check if it's working for you ?

from nicotine-plus.

zniavre avatar zniavre commented on June 7, 2024

it looks like it works as before

slsktest:
IP: 82.250.70.139 Port: 15000/tcp open. Your router and Soulseek client is configured correctly.

pastebin debug log from nic+:
http://pastebin.com/DLqyersW

thank you

from nicotine-plus.

 avatar commented on June 7, 2024

Great. That's also what I'm seeing on all OSes I've tested (fedora 25, ubuntu 16.04 + 16.10, debian stable, arch, win7, win10). Closing this issue.

from nicotine-plus.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.